Submit a video generation request
Submits a video generation request and returns a polling URL to check status
Authentication
AuthorizationBearer
API key as bearer token in Authorization header
Request
This endpoint expects an object.
model
prompt
aspect_ratio
Aspect ratio of the generated video
duration
Duration of the generated video in seconds
generate_audio
Whether to generate audio alongside the video. Defaults to true for models that support audio output, false otherwise.
input_references
Reference images to guide video generation
provider
Provider-specific passthrough configuration
resolution
Resolution of the generated video
seed
If specified, the generation will sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed for all providers.
size
Exact pixel dimensions of the generated video in “WIDTHxHEIGHT” format (e.g. “1280x720”). Interchangeable with resolution + aspect_ratio.
Response
Video generation request accepted
id
polling_url
status
error
generation_id
The generation ID associated with this video generation job. Available once the job has been processed.
unsigned_urls
usage
Usage and cost information for the video generation. Available once the job has completed.
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error