Video V2

Create Video Regeneration Task

Create a video regeneration task: regenerate a source video that meets the MiniMax-H3 768P output specifications as a 2K video. Two input modes are supported; you must provide exactly one of source_task_id or content (with a base_video item) — providing both or neither returns a parameter error:

  • Regenerate by task ID (source_task_id): pass the source_task_id of an existing succeeded /v2/video_generation task to regenerate from its output. This mode requires whitelist access; the source task must be owned by the current account, in succeeded status, and still within the 7-day query window of /v2/query/video_generation. No content is needed.
  • Regenerate by source video (base_video): provide exactly one type=video_url, role=base_video source-video item in content, along with the other inputs used to generate that 768P video.

This is an asynchronous endpoint: on success it returns a task_id; poll Query Task for status. task_type is regeneration. Currently supported model: MiniMax-H3.

post/v2/video_regeneration

Request

Headers

Content-Type'application/json' required

Media type of the request body. Set it to application/json.

Request body

OR

Response

The create endpoint returns a task_id. Use this task_id with the Query Task endpoint to retrieve the task status and result.

Successful Query Task response example

{
  "task": {
    "id": "424010985738631",
    "model": "MiniMax-H3",
    "status": "succeeded",
    "created_at": 1785126000,
    "updated_at": 1785126300,
    "content": {
      "url": "https://your-cdn.example.com/h3-regenerated-2k-output.mp4"
    },
    "resolution": "2K",
    "duration": 5,
    "usage": {
      "total_seconds": 5,
      "input_seconds": 0,
      "output_seconds": 5,
      "input_image_count": 0
    },
    "ratio": "",
    "task_type": "regeneration",
    "modality": "video"
  }
}
task_idstring

ID of the task, used to query the task status and result later.

Example response

{
  "task_id": "424010985738629"
}

Changes

No recorded changes to this operation across all 1 revision of this API.