Create video generation
Video
Create video generation
POST /v1/videos/generations — submit an async video generation job.
POST
Create video generation
Video generation is asynchronous. Submit → receive
Response:
job_id → poll the status endpoint until complete.
Submit a job
Image-to-video
Pass a reference image viaimage_url or image_base64:
Supported models
Google Veo (3 and 2), OpenAI Sora, xAI (Grok Video), Alibaba Wan. See Models catalog.Storage
Completed videos are auto-mirrored to GCS — the returnedurl is signed and persists past the upstream provider’s ephemeral URLs. To reference a generated video later, use our GET /v1/files/:id/content pattern or keep the signed URL.Authorizations
API key in format: Bearer inf_***
Body
application/json
Model ID to use for generation
Text prompt describing the video to generate
Duration in seconds (model-specific, see /v1/models)
Video resolution (model-specific, see /v1/models)
Video aspect ratio (model-specific, see /v1/models)
Number of videos to generate
Reference image URL for image-to-video
Person generation policy (Google Veo models)
Available options:
dont_allow, allow_adult, allow_all Response
Video generation job submitted. Poll GET /v1/videos/generations/{jobId} until status === "succeeded".

