Loading...
Sora 2 Pro API
For complex, narrative-driven videos with remarkable consistency and realistic character-world interaction.
Endpoint
POST https://api.hedra.com/v3/models/sora-2-pro
Example request
curl -X POST "https://api.hedra.com/v3/models/sora-2-pro" \
-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. At most 5000 characters.
- aspect_ratiostringrequired
Output aspect ratio.
- resolutionstringrequired
Output resolution.
- duration_msintegerrequired
Duration in ms.
- start_image
Start frame (image-to-video). At most 10.4 MB.