← Back to catalog

Sora 2 Pro

Live
videogen

Higher-quality OpenAI Sora 2 Pro text-to-video tier.

Endpoint

POSThttps://brahmand-api.bulletshorts.co/v1/video/sora-2-pro

Authenticate with the X-API-Key request header.

Pricing

39 credits / sec1 credit = ₹1. Billed on success: per second of output.
Price varies by resolution — pass resolution in your request. Credit cost per second:
resolutioncredits / secvs base
720p391×
1080p631.6×

List price. Volume / bulk customers get a discounted rate — contact us for account pricing.

Parameters

NameTypeRequiredDescriptionDefault / options
promptstringrequiredText prompt describing the desired output.
secondsnumberoptionalClip length in seconds.
default: 4
4812
orientationstringoptionalOutput orientation.
default: landscape
landscapeportrait
input_referencestringoptionalImage URL used as the first frame / conditioning reference.

Request

curl
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}'
request body (JSON)
{
  "prompt": "An astronaut riding a horse on Mars, photoreal",
  "seconds": 12
}

Response

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.

202 Accepted
{
  "job_id": "job_sora2pro_a1b2c3",
  "status": "queued"
}
GET /v1/jobs/{id} → succeeded
{
  "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.