POST
https://zx1.deepwl.net
/
v1
/
videos
/
{video_id}
/
remix
视频Remix
curl --request POST \
  --url https://zx1.deepwl.net/v1/videos/{video_id}/remix \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "prompt": "<string>",
  "size": "<string>",
  "aspect_ratio": "<string>",
  "parent_post_id": "<string>"
}
'
{
  "id": "grok:48a67431-0708-46d1-9ab9-83cb84700153",
  "status": "processing",
  "status_update_time": 1762685256
}

视频Remix

OpenAI 格式入口。统一视频请使用 视频Remix(统一视频)POST /v1/video/remix,Body 传 task_id)。 在已有 Grok 视频任务基础上,通过 POST /v1/videos/{video_id}/remix 提交 remix 任务,用新的提示词与画幅参数生成变体。
  • 路径参数 video_id 为原始视频任务 ID。
  • 请求体为 JSON,需同时提供 modelpromptsizeaspect_ratio
  • 提交成功后返回新任务 idstatus,请用 Grok 任务查询 或统一视频的 查询任务 轮询(取决于原任务所属链路)。

方法与路径

POST /v1/videos/{video_id}/remix

请求示例

curl -X POST https://zx1.deepwl.net/v1/videos/grok:48a67431-0708-46d1-9ab9-83cb84700153/remix \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "model": "grok-video-3",
    "prompt": "play with another white cat",
    "aspect_ratio": "3:2",
    "size": "1080P",
    "parent_post_id": "5afc6f67-23fe-4a74-a073-727ff662f870"
  }'

响应示例

{
  "id": "grok:48a67431-0708-46d1-9ab9-83cb84700153",
  "status": "processing",
  "status_update_time": 1762685256
}

认证

Authorization: Bearer YOUR_API_KEY

Path Parameters

video_id
string
必填
源视频任务 ID,与 Grok 视频生成 或查询接口返回的 id 一致。

Body

model
string
必填
模型名称,例如 grok-video-3
prompt
string
必填
Remix 提示词,描述希望如何改写或延续原视频内容。
size
string
必填
分辨率规格,传 720P1080P
aspect_ratio
string
必填
视频比例,可选 2:33:21:1
parent_post_id
string
父任务 ID。

Response

id
string
新 remix 任务 ID。
status
string
任务状态,常见值包括 processingcompletedfailed
status_update_time
integer
状态最近更新时间(Unix 时间戳)。

相关接口