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 pendingPricing
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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | A text description of the video to generate |
seconds | JSON | 4 | Duration of the video in seconds |
aspect_ratio | JSON | portrait | Aspect ratio of the video. Portrait is 720x1280, landscape is 1280x720 |
openai_api_key | text | — | Optional: Your OpenAI API key. If you use your own OpenAI API key, you will be charged directly by OpenAI. |
input_reference | text | — | 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>"
}
}'