Queue a new video generation request.
/video/quote to get a price estimate, then poll /video/retrieve with the returned queue_id until complete.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The model to use for image generation.
"wan-2.5-preview-image-to-video"
The prompt to use for video generation. The maximum length is 2500 characters.
1 - 2500"Commerce being conducted in the city of Venice, Italy."
The duration of the video to generate.
5s, 10s "5s"
For image to video models, the reference image to use for video generation. Must be either a URL (starting with "http://" or "https://") or a data URL (starting with "data:").
"data:image/png;base64,iVBORw0K..."
The negative prompt to use for video generation. The maximum length is 2500 characters.
2500"low resolution, error, worst quality, low quality, defects"
The aspect ratio of the video to generate.
"16:9"
The resolution of the video to generate.
1080p, 720p, 480p "720p"
For models which support audio generation and configuration, indicates if audio should be generated. Defaults to true.
true
For models that support audio input, the audio file to use as background music. Must be either a URL or a data URL. Supported formats: WAV, MP3. Max duration: 30s. Max size: 15MB.
"data:audio/mpeg;base64,SUQzBAA..."
For models that support video input, the video file to use as a reference. Must be either a URL or a data URL. Supported formats: MP4, MOV, WebM.
"data:video/mp4;base64,AAAAFGZ0eXA..."