1. Sora2
梧柏API使用文档
WHBAI · Sora2
  • WHBAI · Google Gemini 原生 (v1alpha)
  • WHBAI · Google Gemini 原生
  • WHBAI · Ideogram
  • WHBAI · Ideogram V3
  • WHBAI · Midjourney
  • WHBAI · Jimeng
  • WHBAI · Kling
  • WHBAI · Luma
  • WHBAI · Luma V1
  • WHBAI · Omni 视频
  • WHBAI · Pixverse
  • WHBAI · Runway
  • WHBAI · Sora2
  • WHBAI · 统一视频 VEO
  • WHBAI · Vidu
  • WHBAI · 豆包 Volc
  • WHBAI · Suno
  • WHBAI · Playground
  • WHBAI · 账号与令牌
  • WHBAI · 阿里 Pix
  • WHBAI · 阿里百炼
  • WHBAI · 私域人像
  • WHBAI · Fal.ai
  • WHBAI · Replicate
  • WHBAI · 腾讯云 VOD
  • WHBAI · MiniMax
  • WHBAI · 支持模型列表
  • WHBAI · Grok Imagine
  • WHBAI · Seedance 2.0
  • WHBAI · TypeSafe
  • WHBAI · OpenAI 兼容
  • Sora2
    • 创建 Sora2 角色
      POST
    • openai 下载视频
      GET
    • 创建一个来自上传视频的角色
      POST
    • openai 编辑视频
      POST
  • 数据模型
    • SoraSampleRequest
    • SoraSampleResponse
    • GetV1VideosIdContentResponse
    • NewApiError
  1. Sora2

openai 下载视频

GET
/v1/videos/{id}/content
Sora2 专属 · 下载已完成视频内容(GET /v1/videos/{id}/content)。

网站中的模型与调用示例#

openai 下载视频#

给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。
为提供的提示和参数创建完成

请求参数#

{
  "contentType": "multipart/form-data",
  "properties": {
    "messages": {
      "description": "至今为止对话所包含的消息列表。Python 代码示例。",
      "items": {
        "properties": {
          "content": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array",
      "x-i18n": {
        "en-US": {
          "description": "list of messages in the conversation so far. Python code example."
        }
      }
    },
    "model": {
      "description": "枚举值:\nveo2\nveo2-fast\nveo2-fast-frames\nveo2-fast-components\nveo2-pro\nveo3\nveo3-fast\nveo3-pro\nveo3-pro-frames",
      "type": "string",
      "x-i18n": {
        "en-US": {
          "description": "Enum:\nveo2\nveo2-fast\nveo2-fast-frames\nveo2-fast-components\nveo2-pro\nveo3\nveo3-fast\nveo3-pro\nveo3-pro-frames"
        }
      }
    },
    "stream": {
      "description": "默认为 false 如果设置,则像在 ChatGPT 中一样会发送部分消息增量。标记将以仅数据的服务器发送事件的形式发送,这些事件在可用时,并在 data: [DONE] 消息终止流。Python 代码示例。",
      "type": "boolean",
      "x-i18n": {
        "en-US": {
          "description": "defaults to false if set, sends partial message deltas like ChatGPT. tokens are sent as data-only server-sent events,as they become available; stream ends with data: [DONE]. Python code example."
        }
      }
    }
  },
  "required": [
    "model",
    "messages"
  ]
}

请求参数

Authorization
Bearer Token
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
or
Path 参数

Header 参数

Body 参数multipart/form-data

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/v1/videos/video_099c5197-abfd-4e16-88ff-1e162f2a5c77/content' \
--header 'Accept: application/json' \
--header 'X-Forwarded-Host: localhost:5173' \
--header 'Authorization: Bearer <token>'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "id": "string",
    "status": "string",
    "video_url": "string",
    "enhanced_prompt": "string",
    "status_update_time": 0
}
🟠400请求有误
🟠401没有权限
修改于 2026-10-24 18:33:19
上一页
创建 Sora2 角色
下一页
创建一个来自上传视频的角色
Built with