Higher-quality OpenAI Sora 2 Pro text-to-video tier.
Authenticate with the X-API-Key request header.
resolution — pass resolution in your request. Credit cost per second:| resolution | credits / sec | vs base |
|---|---|---|
| 720p | 39 | 1× |
| 1080p | 63 | 1.6× |
List price. Volume / bulk customers get a discounted rate — contact us for account pricing.
| Name | Type | Required | Description | Default / options |
|---|---|---|---|---|
| prompt | string | required | Text prompt describing the desired output. | — |
| seconds | number | optional | Clip length in seconds. | default: 44812 |
| orientation | string | optional | Output orientation. | default: landscapelandscapeportrait |
| input_reference | string | optional | Image URL used as the first frame / conditioning reference. | — |
curl -X POST https://brahmand-api.bulletshorts.co/v1/video/sora-2-pro \
-H "X-API-Key: $TRINETRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"An astronaut riding a horse on Mars, photoreal","seconds":12}'{
"prompt": "An astronaut riding a horse on Mars, photoreal",
"seconds": 12
}Submitting a job returns 202 Accepted with a job id. Poll GET /v1/jobs/{id} until the job reaches a terminal state, or register a webhook to be notified.
{
"job_id": "job_sora2pro_a1b2c3",
"status": "queued"
}{
"id": "job_sora2pro_a1b2c3",
"model": "sora-2-pro",
"status": "succeeded",
"output": {
"outputs": [
{
"url": "https://cdn.trinetra.ai/out/sora-2-pro/a1b2c3.mp4",
"type": "video"
}
]
},
"credits_charged": 10
}Webhook: set a webhook_url on your API key to receive a POST with the terminal job document instead of polling.