Methods:Documentation Index
Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
Use this file to discover all available pages before exploring further.
client.generateVideo()client.listVideos()client.getVideo()client.getVideoContent()client.getVideoDownloadUrl()client.cancelVideo()client.deleteVideo()client.listVideoModels()client.getAsyncJobWebSocketUrl("video", videoId, options)client.videos.websocketUrl(videoId, options)client.videos.create/list/get/content/downloadUrl/cancel/delete/listModels()
Example
Key parameters
model(required): Video-capable model id.prompt(required): Text description of the video.webhook(optional): Receive lifecycle notifications instead of polling only.output.access(optional): Control whether the job returns authenticated byte URLs, signed download URLs, or both.- Optional provider-specific controls (for example duration, aspect, audio, or quality) when the upstream supports them.
Returns
The create call returns an async video job object rather than raw video bytes.getVideo() can also surface content_url, download_url, outputs, and billing.
Use client.videos.websocketUrl(...) when you want to subscribe to the documented /v1/async/video/{id}/ws lifecycle stream instead of polling only.
Use client.getAsyncJobWebSocketUrl("video", job.id, options) when you already have a generic async job kind/id pair and do not want to go through the resource helper.
listVideos() returns the gateway list envelope:
cancelVideo() is exposed, but the public video cancel route currently returns a structured 501 not_implemented_yet error while provider-level cancellation is standardized.