OpenAI Format

MiniMax Video Regeneration

Use `POST /v1/videos/{video_id}/remix` to regenerate a generated 768P video to 2K.

POSThttps://zx1.deepwl.net/v1/videos/{video_id}/remix
Request
curl -X POST https://zx1.deepwl.net/v1/videos/task_a1b2c3d4e5f6/remix \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '
{
  "model": "MiniMax-H3"
}'
Response
{
  "id": "task_a1b2c3d4e5f6",
  "task_id": "task_a1b2c3d4e5f6",
  "object": "video",
  "model": "MiniMax-H3",
  "status": "queued",
  "progress": 0,
  "created_at": 1785125529
}

Regenerates a generated 768P video to 2K; the output resolution is fixed at 2K. The unified video counterpart is Video Regeneration (Unified Video).

Two ways to provide the source video

MethodParameterprompt
By task ID (recommended)Path parameter video_idNot required
By source videometadata.base_videoRequired, must exactly match the original generation

When using the source video method, you must attach all inputs used to generate the 768P video (prompt, images, reference video/audio) unchanged; any mismatch may fail to achieve the expected result.

  • The upstream source_task_id is an internal identifier; the gateway looks it up by task ID and does not allow callers to specify or return it.
  • Only videos matching the MiniMax-H3 768P output specification can be regenerated. The task ID method requires an upstream whitelist, and the source task must be within the 7-day query window.

Request Headers

Authorizationstring必填

Authentication header. Uses a Bearer token, e.g. Bearer YOUR_API_KEY.

Content-Typestring必填

Request content type, must be application/json.

Path Parameters

video_idstring必填

The gateway task ID of the source video (the id returned by the creation API). The gateway converts it to the upstream task ID automatically.

Request Body

modelstring必填

Model name. Currently only supports MiniMax-H3.

promptstring

Prompt.

  • Not required when regenerating by task ID.
  • Required when regenerating via metadata.base_video, and must exactly match the final prompt actually sent to the model when generating the 768P source video.
durationinteger

Regenerated video duration in seconds, used for billing pre-deduction; should match the source video duration.

imagestring

The first-frame image of the original task. When using the base_video method and the original task was image-to-video, this must be attached unchanged.

imagesarray

The image inputs of the original task (first frame, last frame). Must match the generation when using the base_video method.

metadataobject

Extended configuration.

base_videostring

768P source video URL (regenerate by source video). Must meet the MiniMax-H3 768P output specification: with audio track, 24 fps, width and height divisible by 32, area up to 768×1344, total frames 107–362.

base_video_durationinteger

Source video duration in seconds, used for billing pre-deduction; must be passed by the caller.

reference_videostring

The reference video used by the original task. Must match the generation when using the base_video method.

reference_audiostring

The reference audio used by the original task. Must match the generation when using the base_video method.

aigc_watermarkboolean

Whether to add an AIGC watermark, default false.

Request Example

Response Example

After submission, poll the new returned id via MiniMax Task Query. Response fields are identical to the creation API; see MiniMax Video Generation.

Error Codes

Status CodeDescription
400Invalid parameters: no source video provided, or missing prompt when using base_video
401Authentication failed
402Insufficient quota
429Rate limited
500Internal server error