ReplicateVideoComing soon

openai/sora-2

openai/sora-2 is a 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.

Pricing

Coming soon

Price pending

Limits

Runs
In the background
Returns
video
Longest queue wait
1 hour
Run deadline
1 hour
Longest run, end to end
930 minutes
Largest inline input
1 MB
Largest input file
500 MB
Largest output
5 GB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—

A text description of the video to generate

secondsJSON4

Duration of the video in seconds

aspect_ratioJSONportrait

Aspect 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>"
    }
  }'