1. Sora
Gemiai接口文档
  • 使用须知
  • 视频模型
    • Sora
      • 1.Create Video(通过文件创建视频)
        POST
      • 2.Create Video(通过url创建视频)
        POST
      • 3.Create Character(通过url创建角色)
        POST
      • 4.Create Character(通过任务创建角色--可创建真人角色)
        POST
      • 5.Remix Video(编辑视频)
        POST
      • 6.Retrieve Video(获取视频)
        GET
  • 数据模型
    • 示例数据模型
      • Pet
      • Category
      • Tag
  1. Sora

5.Remix Video(编辑视频)

POST
/v1/videos/{video_id}/remix
根据提示词和图片生成视频

请求参数

Path 参数

Header 参数

Body 参数application/json

示例
{
    "prompt": "带个帽子"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/v1/videos//remix' \
--header 'Authorization: {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
    "prompt": "带个帽子"
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "id": "video_a4d01f08-7806-475c-b735-4e5d8239aa33",
    "object": "video",
    "model": "sora-2",
    "status": "queued",
    "progress": null,
    "created_at": 1760856798,
    "completed_at": null,
    "expires_at": null,
    "size": "720x720",
    "seconds": null,
    "remixed_from_video_id": "video_e26591dd-7f89-410e-94ac-622d2007c206",
    "error": null
}
修改于 2026-01-10 10:44:00
上一页
4.Create Character(通过任务创建角色--可创建真人角色)
下一页
6.Retrieve Video(获取视频)
Built with