Core concepts
Video generation
Same gateway auth as chat. Video jobs can take several minutes — use a long timeout.
POST
https://api.rodiumai.io/v1/videos/generationsCall POST /v1/videos/generations with a Veo model id. The OpenAI JS/Python SDK may not expose videos.generate yet, so examples use cURL, fetch, and httpx with the same Bearer key.
Long-running jobs
Expect multi-minute latency. Increase client timeouts (e.g. 10+ minutes) and follow any URL returned in the response.
Examples
…Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Required | Video model id (e.g. google/veo-3.1-generate-preview). |
| prompt | string | Required | Text description of the video to generate. |
| duration_seconds | number | Optional | Clip length in seconds (alias: seconds). Default 8. |
| aspect_ratio | string | Optional | Optional aspect ratio when supported (e.g. "16:9"). |