Create video
Changed onCreates a new asynchronous video generation job using an OpenAI-compatible request format.
post/v1/videos
Request
- Base URLhttps://api.llmgateway.io
- AuthHTTP bearer
Request body
Example request
{
"model": "veo-3.1-generate-preview",
"prompt": "A cinematic drone shot flying through a neon-lit futuristic city at night",
"size": "1280x720",
"callback_url": "https://example.com/webhooks/video",
"callback_secret": "whsec_test_secret",
"seconds": 8,
"audio": true,
"reference_images": [
{
"image_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
}
],
"reference_videos": [
{
"video_url": "https://example.com/reference-motion.mp4"
}
],
"video_task": "extend",
"reference_audios": [
{
"audio_url": "https://example.com/reference-track.mp3"
}
]
}Response
Video job created.
Changes
- info
added the new optional request property
- info
- info
added the new optional request property
- info
added the new optional request property
- info