Request
This endpoint expects an object.
aspect_ratioenumOptional
Aspect ratio of the generated video
callback_urlstringOptionalformat: "uri"
URL to receive a webhook notification when the video generation job completes. Overrides the workspace-level default callback URL if set. Must be HTTPS.
durationintegerOptional>=1
Duration of the generated video in seconds
frame_imageslist of objectsOptional
Images to use as the first and/or last frame of the generated video. Each image must specify a frame_type of first_frame or last_frame.
generate_audiobooleanOptional
Whether to generate audio alongside the video. Defaults to the endpoint’s generate_audio capability flag, false if not set.
input_referenceslist of objectsOptional
Reference images to guide video generation
providerobjectOptional
Provider-specific passthrough configuration
resolutionenumOptional
Resolution of the generated video
seedintegerOptional
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.
sizestringOptional
Exact pixel dimensions of the generated video in “WIDTHxHEIGHT” format (e.g. “1280x720”). Interchangeable with resolution + aspect_ratio.
Response
Video generation request accepted
generation_idstring
The generation ID associated with this video generation job. Available once the job has been processed.
unsigned_urlslist of strings
usageobject
Usage and cost information for the video generation. Available once the job has completed.