Skip to main content
POST
/
v1
/
videos
/
{video_id}
/
remix
混编视频
curl --request POST \
  --url https://api.deerapi.com/v1/videos/{video_id}/remix \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "Extend the scene with the cat taking a bow to the cheering audience"
}
'
{
  "id": "<string>",
  "object": "<string>",
  "model": "<string>",
  "status": "<string>",
  "progress": 123,
  "created_at": 123,
  "size": "<string>",
  "seconds": "<string>",
  "remixed_from_video_id": "<string>"
}
当前页用于对已经完成的官方格式视频做“定向修改”,而不是重新从零生成。

什么时候该用 Remix

  • 原视频整体结构已经对了,只想改一个局部方向,例如色调、灯光、服装、背景元素。
  • 你希望尽量保留主体、构图和镜头运动,不想从头再跑一遍。
如果你的需求是彻底改 prompt、改分辨率策略,或者原片本身就完全不对,通常直接回到 创建视频(官方格式) 重新生成更稳。

与 official / tech 的边界

  • 当前页只面向 sora-2sora-2-pro 的官方格式任务。
  • sora-2-allsora-2-pro-all 这类技术兼容入口不应默认沿用当前页的工作流。
  • 如果你第一次接 DeerAPI,并且还没确定用哪条路径,默认还是先从 创建视频(官方格式) 开始。

如何写 Remix prompt

  • 一次只改一个重点,成功率最高。
  • 明确写出“保留什么”和“修改什么”。
  • 不要把 Remix 当成完整重写器。变动越小,越容易保住原片的一致性。

查询方式

Remix 创建后同样会返回新的视频任务对象。后续状态请继续使用 检索视频(官方格式) 轮询。

常见限制

  • video_id 必须是已完成的视频任务,且应来自官方格式链路。
  • 内容审核仍然会生效,Remix prompt 同样可能被拦截。
  • 如果你想做大改动,Remix 往往不如重新创建稳定。

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your DeerAPI key.

Path Parameters

video_id
string
required

The identifier of the completed video to remix.

Body

application/json
prompt
string
required

更新的文本提示,用于引导混音生成。

Example:

"cry"

model
string
Example:

"sora-2"

Response

200 - application/json

Successful Response

id
string
required
object
string
required
model
string
required
status
string
required
progress
integer
required
created_at
integer
required
size
string
required
seconds
string
required
remixed_from_video_id
string
required