Video
Submit a task, then poll until it is ready.
curl https://api.rawroute.dev/v1/videos \
-H "Authorization: Bearer $RAWROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "veo-3.1", "prompt": "Slow dolly shot through a rainy neon street", "seconds": "8", "resolution": "720p"}'
# → returns a task id; poll it until the video is ready:
curl https://api.rawroute.dev/v1/videos/<task_id> -H "Authorization: Bearer $RAWROUTE_API_KEY"Models
- veo-3.1
- 720p–4K · per sec
- veo-3.1-fast
- 720p–4K · per sec
- gemini-omni-1.2-flash
- 720p–4K · per sec
- grok-imagine-video-1.5
- 480p–1080p · per sec
- wan3.0-video-prime
- 480p–1080p · per sec
- wan3.0-video
- 480p–1080p · per sec
- kling-4.0
- 720p–1080p · per sec
- kling-4.0-flash
- 720p · per sec
- seedance-2.5
- 480p–4K · per sec
- MiniMax-H3
- 768p–2K · per sec
Length
Clips with a fixed length: send exactly these seconds and this resolution, or leave both out.
Models per second bill the length you ask for.
Frames and references
Use first_frame and last_frame to anchor the shot. Use reference_images, reference_videos and reference_audios for media references, or keyframes and reference_voices where supported. Most models do not combine frames and references; see the model profile. Some inputs are only supported by the primary provider.
Reference media must use the source type listed for the model. Seedance 2.5 expects image and audio data URLs; in the Playground you can upload those files. Do not send an input video with an assumed duration or a separate edit, extension, HDR or draft mode.
Check video_inputs in the model catalog for ratios, supported options and limits. models.json