ReplicateText to videoComing soon

openai/sora-2

openai/sora-2 is a text to video tool from Replicate that runs in the background and returns video. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
video
Longest queue wait
3600s
Run deadline
3600s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—A text description of the video to generate
secondsJSON4Duration of the video in seconds
aspect_ratioJSONportraitAspect ratio of the video. Portrait is 720x1280, landscape is 1280x720
openai_api_keytext—Optional: Your OpenAI API key. If you use your own OpenAI API key, you will be charged directly by OpenAI.
input_referencetext—An optional image to use as the first frame of the video. The image must be the same aspect ratio as the video.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "replicate",
    "model": "openai/sora-2",
    "input": {
      "prompt": "<prompt>"
    }
  }'