Loading...
Veo 3.1 API
For unparalleled detail and nuance, perfect for when your vision requires the best possible quality.
Endpoint
POST https://api.hedra.com/v3/models/veo-31
Example request
curl -X POST "https://api.hedra.com/v3/models/veo-31" \
-H "Authorization: Key $HEDRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": {"prompt": "a cinematic shot of a city at dusk"}}'Parameters
- num_outputsinteger
Number of outputs generated per job. Only 1 is supported.
- promptstringrequired
Generation prompt.
- aspect_ratiostringrequired
Output aspect ratio.
- resolutionstringrequired
Output resolution.
- duration_msinteger
Duration in ms.
- generate_audioboolean
Whether to generate native audio for the video.
- negative_promptstring
What to avoid in the generated video.
- start_image
Start frame (image-to-video). At most 20 MB.
- end_image
End frame (first-last-frame-to-video). At most 20 MB.
- source_video
Source video (video-to-video). From 1s to 30s and at most 524.2 MB.
- imagesarray
Reference images. 1 to 3 images, each at most 20 MB.
- seedinteger
Seed for reproducible output; omit for a random seed. From 0 to 4294967295.
- qualitystringrequired
Quality level to generate at.