curl -X POST https://zx1.deepwl.net/v1/videos/task_a1b2xxxxx5f6/remix \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"MiniMax-H3"}'
import requests
resp = requests.post(
"https://zx1.deepwl.net/v1/videos/task_a1b2xxxxx5f6/remix",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"model": "MiniMax-H3"},
timeout=60,
)
print(resp.json())
const response = await fetch(
"https://zx1.deepwl.net/v1/videos/task_a1b2xxxxx5f6/remix",
{
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ model: "MiniMax-H3" }),
},
);
console.log(await response.json());
{
"id": "task_a1b2xxxxx5f6",
"task_id": "task_a1b2xxxxx5f6",
"object": "video",
"model": "MiniMax-H3",
"status": "queued",
"progress": 0,
"created_at": 1785125529
}
{
"code": "invalid_request",
"message": "video_id in path or metadata.base_video is required for remix",
"data": null
}
OpenAI Format
MiniMax-H3 2K Regeneration
Regenerate a MiniMax-H3 768P video as 2K with POST /v1/videos/{video_id}/remix.
POST
https://zx1.deepwl.net
/
v1
/
videos
/
{video_id}
/
remix
curl -X POST https://zx1.deepwl.net/v1/videos/task_a1b2xxxxx5f6/remix \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"MiniMax-H3"}'
import requests
resp = requests.post(
"https://zx1.deepwl.net/v1/videos/task_a1b2xxxxx5f6/remix",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"model": "MiniMax-H3"},
timeout=60,
)
print(resp.json())
const response = await fetch(
"https://zx1.deepwl.net/v1/videos/task_a1b2xxxxx5f6/remix",
{
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ model: "MiniMax-H3" }),
},
);
console.log(await response.json());
{
"id": "task_a1b2xxxxx5f6",
"task_id": "task_a1b2xxxxx5f6",
"object": "video",
"model": "MiniMax-H3",
"status": "queued",
"progress": 0,
"created_at": 1785125529
}
{
"code": "invalid_request",
"message": "video_id in path or metadata.base_video is required for remix",
"data": null
}
MiniMax-H3 2K Regeneration
Regenerates a 768P video that matches the MiniMax-H3 output specification into 2K. This is not a general-purpose upscaler for arbitrary videos.Method and Path
POST /v1/videos/{video_id}/remix
Source Video Passing Methods
| Method | Parameter | prompt |
|---|---|---|
| By task ID (recommended) | Path parameter video_id | Not required |
| By source video URL | metadata.base_video | Required, and must match the original generation request exactly |
curl -X POST https://zx1.deepwl.net/v1/videos/task_a1b2xxxxx5f6/remix \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"MiniMax-H3"}'
import requests
resp = requests.post(
"https://zx1.deepwl.net/v1/videos/task_a1b2xxxxx5f6/remix",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"model": "MiniMax-H3"},
timeout=60,
)
print(resp.json())
const response = await fetch(
"https://zx1.deepwl.net/v1/videos/task_a1b2xxxxx5f6/remix",
{
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ model: "MiniMax-H3" }),
},
);
console.log(await response.json());
Path Parameters
string
required
The gateway task ID of the source video, i.e. the
id returned by the create endpoint. The gateway converts it to the upstream task ID automatically.Body
string
required
Model name. Currently only
MiniMax-H3 is supported.string
Required when regenerating via
metadata.base_video, and must exactly match the final prompt used to generate the 768P source video.integer
Source video duration; should match the actual source duration.
string
The first-frame image of the original task. Required verbatim when using the
base_video method and the original task was image-to-video.array<string>
The image inputs of the original task. Must match the original request when using the
base_video method.string
768P source video URL. The source must contain an audio track, be 24 fps, have width and height both divisible by 32, an area ≤ 768×1344, and a total frame count of 107–362.
integer
Source video duration, provided by the caller when regenerating by source video URL.
string
The reference video used by the original task. Must match the original request when using the
base_video method.string
The reference audio used by the original task. Must match the original request when using the
base_video method.boolean
default:"false"
Whether to add an AIGC watermark.
Response Example
{
"id": "task_a1b2xxxxx5f6",
"task_id": "task_a1b2xxxxx5f6",
"object": "video",
"model": "MiniMax-H3",
"status": "queued",
"progress": 0,
"created_at": 1785125529
}
{
"code": "invalid_request",
"message": "video_id in path or metadata.base_video is required for remix",
"data": null
}
Response
string
Regeneration task ID.
string
Legacy task ID; same value as
id.string
Always
video.string
Model name used by the task.
string
Task status, initial value
queued.integer
Task progress percentage.
integer
Creation time, Unix timestamp (seconds).
Error Codes
| HTTP Status | Description |
|---|---|
400 | No valid source video provided, or prompt missing when using the base_video method |
401 | Authentication failed |
402 | Insufficient quota |
429 | Rate limited |
500 | Server error |