Generate high-quality videos from text using OpenAI Sora 2 Pro.
| Credits | 60 credits per second |
| Tool | create-video |
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Your API key |
Content-Type | string | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
tool | string | Yes | create-video |
input.model | string | Yes | sora-2-pro-text-to-video |
input.prompt | string | Yes | Text description of the video to generate |
input.aspect_ratio | string | No | Aspect ratio of the video. Options: 16:9, 9:16 |
input.duration | number | No | Duration in seconds. Options: 4, 8, 12 |