Text prompt describing the subject, action, scene, camera movement, and style.Example: "A cat playing piano, camera slowly zooms in, cinematic quality"
Video aspect ratio. Available for text-to-video. When image_urls is provided, the output ratio is usually determined by the reference image.Common values: 16:9, 9:16, 1:1, 4:3, 3:4
{ "model": "viduq3-turbo", "prompt": "The person in the image slowly turns and smiles", "image_urls": ["https://example.com/portrait.jpg"], "duration": 5, "resolution": "720p"}
{ "model": "viduq3-mix", "prompt": "Keep the character consistent from the reference images, walking through a futuristic city street", "image_urls": [ "https://example.com/character-front.jpg", "https://example.com/character-side.jpg" ], "duration": 6, "resolution": "1080p", "metadata": { "generation_type": "reference2video" }}
Video generation is asynchronous. Use the Get Video Task Status endpoint to query progress and results.
curl --request POST \ --url https://toapis.com/v1/videos/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "viduq3-pro", "prompt": "A cat playing piano, camera slowly zooms in, cinematic quality", "duration": 8, "resolution": "1080p", "aspect_ratio": "16:9" }'