sora-2-pro
能力: 1080p · 最长 20s · 文本 + image init · 通过 tasks API 异步
价格: 按秒计费,pro 级 (实时费率)
Sora 2 Pro 是视频本身就是交付物时用的。比 Sora 2 更高的基础保真度、
更长的最大时长(20s vs 10s)、更完整的 1080p 细节。代价是延迟 ——
5s 片段的端到端典型耗时 90–180 秒。迭代 / draft 阶段先用 Sora 2;
把 Pro 预算花在最终成品上。
Submit
Body 参数
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
model | string | yes | — | sora-2-pro |
prompt | string | yes | — | 针对英文调优。 |
duration_seconds | integer | yes | — | 1–20。 |
resolution | string | no | 1080p | 支持:720p、1080p。 |
aspect_ratio | string | no | 16:9 | 16:9 / 9:16 / 1:1。 |
seed | integer | no | — | 可复现性。 |
image_init | string | no | — | init image 的 URL,用于图生视频。 |
style_preset | string | no | — | 可选:cinematic、anime、documentary、none。 |
Submit 响应
queued 期间取消可以免费撤销。进入 running 之后,会按已渲染的
部分秒数计费。
Poll 等待完成
代码示例
错误
| Code | 触发条件 | 计费? |
|---|---|---|
| 400 | Body 校验(duration > 20、resolution 不支持) | 不计费 |
| 401 / 402 / 403 | 鉴权 / 钱包 / scope | 不计费 |
| 451 | prompt 被上游安全过滤拦截 | 不计费 |
| 5xx | 上游问题 | 不计费(自动重试) |
running 中的任务会按已渲染秒数部分计费。
何时选用
- 主视觉 / 终稿级片段 —— 1080p 和时长要紧。
- 从写实 init 帧出发的图生视频。
- draft / 迭代阶段,先用 Sora 2。
- 30s 周转的快速变体,见 Veo 3.1 Fast。
- 更低成本,见 Seedance 2.0 Pro。
限制
| 限制 | 值 |
|---|---|
| 最长时长 | 20s |
| 最短时长 | 1s |
| 分辨率 | 720p、1080p |
| 长宽比 | 16:9、9:16、1:1 |
| 支持 image init | 是 |
| 8s 片段典型延迟 | 120-180s |
| 通过 tasks API 异步 | 是 |