Video Generation
Submit a video generation request
Changed onSubmits a video generation request and returns a polling URL to check status
post/videos
Request
- Base URL: https://openrouter.ai/api/v1
- URL: https://openrouter.ai/api/v1/videos
- Auth: HTTP bearer
Request body
Example request
{
"aspect_ratio": "16:9",
"duration": 8,
"model": "google/veo-3.1",
"prompt": "A serene mountain landscape at sunset",
"resolution": "720p"
}Response
Video generation request accepted
Example response
{
"generation_id": "gen-vid-1789480874-Ab3dEf9hIjKlMnOpQrSt",
"id": "gen-vid-1789480874-Ab3dEf9hIjKlMnOpQrSt",
"polling_url": "/api/v1/videos/gen-vid-1789480874-Ab3dEf9hIjKlMnOpQrSt",
"status": "pending"
}Changes
- info
added the optional property
to the response with the status
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
- info