Skip to content

1. Model Description

MiniMax-H3 (Video Generation V2) supports text-to-video, image-to-video (with start and end frames), and multimodal reference-to-video, as well as H3-Context-IR prompt enhancement and 768P-to-2K regeneration.

2. Billing

2.1 Platform Billing Items and Usage Volume

2.2.1 Video Generation (task_type= generation)

chargeItemCode Chinese Name Dosage Calculation
output_video_2K
Output video in 2K
seconds
output_video_768P Output Video 768P seconds
output_video_480P Input Video 480p seconds
input_image_free Input Images (Free Quota)
Number of images
input_image Input images (metering will start after the free quota is used up) Number of images
input_video_2K Input Video 2K seconds
input_video_768P Input Video 768P seconds

2.2.2 Video Regeneration (task_type= regeneration)

chargeItemCode Chinese Name Dosage Calculation
output_regeneration Regenerate the output video seconds)
input_image_free_regeneration Regenerate the input image (free quota) Number of images
input_image_regeneration Regenerate the input image Number of images
input_video_regeneration Regenerate the input video seconds

2.2.3 H3-Context-IR (task_type=h3_context_ir)

chargeItemCode Chinese Name Dosage Calculation
in_token_context_ir Context-IR Input Token ~~Unit: million tokens~~
token
out_token_context_ir Context-IR Output Token ~~Unit: million tokens~~
token

3. Details of Functional Interfaces

Compatible with interface calls without the need to pass endpoints; however, for all interfaces that use POST requests, the model name, such as MaaS_Minimax_H3, must be filled in the model field of the body parameter.

3.1 Create a video generation task

Create a video generation task. The model generates a video based on the incoming multimodal information such as text, images, videos and audios. This interface is an asynchronous one, and it will return task_idafter successful creation. You need to polling the task status via the task query interface, and obtain the generated video once the task succeeds.

3.1.1 Request URL

POST https://genaiapi-m2.cloudsway.net/v1/ai/{YOUR_ENDPOINT}/minimax/video_generation

Supported compatible interfaces:

POST https://genaiapi-m2.cloudsway.net/v2/video_generation

3.1.2 Request Header

Parameter Name Field Type Required or not Description
Authorization string Yes Bearer {YOUR_AK}
Content-Type string
Yes
Please set the media type of the request body to application/json.

3.1.3 Request Body Parameters

Parameter Name Field Type Required or not Default value Description
model
string Conditions
When using a compatible interface, this field is required; valid values are as follows:
  • MaaS_Minimax_H3
  • MaaS_Minimax_H3_Max
content
array
Yes - An array of multimodal input content that describes the information used to generate a video. Each element is categorized by type via type (text / image_url / video_url / audio_url), and its purpose can be labeled via role.
resolution
string Yes 768P
Video resolution. Current available values:
  • MiniMax-H3: 768P, 2K
  • MiniMax-H3-Max : 480P , 768P (default 768P , not supporting 2K )
duration integer Yes - Video generation duration (in seconds), required, integer. Available values
  • MiniMax-H3: 4 – 15
  • MiniMax-H3-Max: 5 – 15 (4 seconds not supported)
ratio
string Conditions adaptive Specify the aspect ratio of the generated video; the default value is adaptive (automatic. The most suitable aspect ratio is automatically selected via input Self-Adaptation, and the actual ratio can be obtained from the ratio field of the query interface). Available values: adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16.
callback_url string No - The callback notification address for task status changes. After configuration, the MiniMax server will first send a verification request containing a challenge field (you need to return the challenge as-is within 3 seconds to complete the verification). Once the verification succeeds, the server will POST push notifications to this address whenever the task status changes, and the structure of the push payload is consistent with the response of the task query interface.
aigc_watermark boolean
No false
Whether to add an AIGC identification watermark to the generated video, the default is false.

Description of the content field:

Each request must include a non-empty text item (the prompt is required); omitting it results in a parameter error.

Supported input combinations (for different generation scenarios):
- Text-to-video: a single text element only.
- Image-to-video — first frame: text + 1 image_url (role=first_frame or omitted).
- Image-to-video — last frame: text + 1 image_url (role=last_frame).
- Image-to-video — first and last frames: text + 2 image_url elements (with roles first_frame and last_frame, respectively).
- Multimodal reference-to-video: a combination of text + reference images (role=reference_image) + reference videos (role=reference_video) + reference audio (role=reference_audio); audio cannot be the only media input. At least 1 reference video or image is required.

> Image-to-video and multimodal reference-to-video are mutually exclusive: if content contains any reference_image / reference_video / reference_audio role, it cannot also contain first_frame / last_frame (and vice versa). These two modes cannot be mixed.

See the tables below for input media limits (total request body size ≤ 64 MB; use public URLs rather than Base64 for large files).

Text-to-video (t2va, where content only contains text): ratiois required and cannot be set to adaptive; valid values are 21:9, 16:9, 4:3, 1:1, 3:4, 9:16.

Image-to-video (i2va, where content includes first_frame/ last_frameimages): The aspect ratio is determined by the input image, and ratiois always adaptive; passing other valid values will not throw an error, but will be ignored and processed as adaptive.

Multimodal reference-generated video (r2va, content includes reference_image/ reference_video/ reference_audio): ratiois optional, defaulting to adaptive; any of the specific ratios listed above can also be explicitly specified.

content[] element field

Parameter Name Field Type Required or not default value Description
type string Yes - The type of the input content. Enumeration values: text/ image_url/ video_url/ audio_url.
text string Conditions - Text prompt, required: A non-empty textdescribing the video to be generated must be included for all scenarios. The length is calculated by the number of characters, and a single textcan contain up to 7000 characters.
image_url object Conditions - The image object when type= image_url (refer to the content description above for restrictions on format, size, dimensions and quantity).
image_url.url string Yes - Image address, supported formats: public URL;mm_file://{file_id}(refer to existing files on the platform, e. g., file_id of uploaded or historical assets);data: image/<format>;base64,<Base64>data URI (<format>in lowercase).
video_url
object Conditions - When type= video_url, this refers to the video object (reference video, only for multimodal reference scenarios; refer to the content description above for format, size and duration restrictions).
video_url.url string Yes - Video address, supported formats: public network URL;mm_file://{file_id}(the file_id of an existing file on the platform);data: video/mp4;base64,<Base64>data URI. Note that the total size of the request body must be ≤ 64 MB; Base64 encoding increases the data size by approximately 33%, please use a public network URL or mm_file:// for large videos.
audio_url object Conditions - When type= audio_url, this is the audio object (reference audio, only for multimodal reference scenarios; refer to the content description above for format/size/duration restrictions).
audio_url.url string Yes - Audio address, supported formats: public URL;mm_file://{file_id}(file_id of an existing file on the platform);data: audio/<format>;base64,<Base64>data URI (<format>in lowercase).
role string Conditions - Position or purpose of the content, required conditionally: - first_frame: First frame image (for image-to-video; when only one image is provided and no role is filled, it will be processed as first_frame by default). - last_frame: Last frame image (for image-to-video with start and end frames, must be used in pairs with first_frame). - reference_image: Reference image (for multimodal reference-based video generation). - reference_video: Reference video (for multimodal reference-based video generation). - reference_audio: Reference audio (multimodal reference for video generation, cannot be input separately).

Image image_urlRestrictions

item Restrictions
Format JPG, JPEG, PNG, WEBP, HEIC, HEIF
Single file size ≤ 30 MB
Width and Height Range [256, 5760] px
Aspect Ratio (Width/Height) [0.4, 2.5]
Quantity First frame ≤ 1, last frame ≤ 1, reference images ≤ 9

Video video_url (for multimodal reference scenarios only)

Item restrictions
Container / Format MP4 (.mp4), MOV (.mov)
Encoding Video: H.264/AVC, H.265/HEVC; Audio: AAC, MP3
Single File Size ≤ 50 MB
number ≤ 3
Single segment duration [2,15] s; total duration ≤ 15 s
Width and Height Range [256, 5760] px
Aspect Ratio (Width/Height) [0.4, 2.5]
frame rate [23.976, 60]

Audio audio_url (for multimodal reference scenarios only)

Item restrictions
Format WAV, MP3
Single File Size ≤ 15 MB
number ≤ 3
Single segment duration [2,15] s; total duration ≤ 15 s

3.1.4 Response Parameters

Parameter Name Field Type Description
task_id
string
Task ID, which is used for subsequent queries of the task status and results.

3.1.5 Request Example

Text-to-Video:

curl --location 'https://genaiapi-m2.cloudsway.net/v1/ai/{YOUR_ENDPOINT}/minimax/video_generation' \
--header 'Authorization: Bearer {YOUR_AK}' \
--header 'Content-Type: application/json' \
--data '{
  "content": [
    {
      "type": "text",
      "text": "Epic space-opera teaser: a female captain stands alone before a vast observation window as the last fleet assembles and jumps away; searing light flashes, the bridge shakes, and she is left behind."
    }
  ],
  "resolution": "2K",
  "duration": 5,
  "ratio": "16:9"
}'

Image-to-Video (First Frame):

curl --location 'https://genaiapi-m2.cloudsway.net/v1/ai/{YOUR_ENDPOINT}/minimax/video_generation' \
--header 'Authorization: Bearer {YOUR_AK}' \
--header 'Content-Type: application/json' \
--data '{
  "content": [
    {
      "type": "text",
      "text": "Pull focus to the people in the background and add more steam to the ramen bowl."
    },
    {
      "type": "image_url",
      "image_url": {
        "url": "https://cdn.hailuoai.com/prod/hailuo_demo/testsets/H3_AA_I2VA/gallery/sr_v17_variants_seed42_43_20260724/inputs/4a3a90bf9100_KDmcbkhzYo5sjjxr9FqcVmWVnzb.png"
      },
      "role": "first_frame"
    }
  ],
  "resolution": "2K",
  "duration": 5,
  "ratio": "adaptive"
}'

3.1.6 Response Example

{
  "task_id": "424010985738629"
}

3.2 Create the H3-Context-IR Task

H3-Context-IR deeply understands multimodal contexts such as text, images, audio and videos, analyzes the relationships between creatives as well as between creatives and the target generation output, and conducts complex logical reasoning. The system converts the understanding results into structured expressions, and enriches semantic details while keeping the user's original intention as intact as possible. This interface only returns enhanced prompts and will not create video generation tasks.

3.2.1 Request URL

POST https://genaiapi-m2.cloudsway.net/v1/ai/{YOUR_ENDPOINT}/minimax/h3_context_ir

Supported compatible interfaces:

POST https://genaiapi-m2.cloudsway.net/v2/h3_context_ir

3.2.2 Request Header

Parameter Name Field Type Required or not Description
Authorization string Yes Bearer {YOUR_AK}
Content-Type string Yes Please set the media type of the request body to application/json.

3.2.3 Request Body Parameters

Parameter Name Field Type Required or not Default value Description
model string Conditions
When using a compatible interface, this field is required; valid values are as follows:
  • MaaS_Minimax_H3
content array Yes - A multimodal context input array used to describe the relationships between the target video and various creatives. Each element is categorized by type via type (text / image_url / video_url / audio_url), and its purpose can be labeled via role . Each request must contain a non-empty text item (prompt is required); a parameter error will be returned if it is missing. The supported input combinations, mutual exclusion rules and media restrictions are consistent with those specified in "3.1 Create Video Generation Task".
duration integer Yes - Duration of the target video (in seconds), required, integer. Available values: 4 ~ 15.
ratio string Conditions adaptive The aspect ratio of the target video, defaults to adaptive. Available values: adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 . Text-to-video (t2va, where content contains only text): ratio is required and cannot be adaptive; available values are 21:9, 16:9, 4:3, 1:1, 3:4, 9:16. Image-to-video (i2va, where the content includes first_frame and last_frame images): The aspect ratio is determined by the input image;ratio is always adaptive. Passing other valid values will not trigger an error, but they will be ignored and processed as adaptive. Multimodal reference-to-video generation (r2va, whose content includes reference_image / reference_video / reference_audio): ratio is optional and defaults to adaptive; any of the specific ratios mentioned above can also be explicitly specified.
callback_url string No -
The callback notification address for task status changes. Once configured, the MiniMax server will first send a verification request containing the challenge field (you need to return the challenge as-is within 3 seconds to complete the verification). After successful verification, a POST push will be sent to this address whenever the task status changes, and the structure of the push payload is consistent with the response of the task query interface. Callback status values: queued (queued), running (running), succeeded (succeeded), failed (failed), cancelled (cancelled).

content[]The element fields are the same as those in Section 3.1.3.

3.2.4 Response Parameters

Parameter Name Field Type Description
task_id string Task ID, which is used for subsequent queries of the task status and results.

3.2.5 Request Example

curl --location 'https://genaiapi-m2.cloudsway.net/v1/ai/{YOUR_ENDPOINT}/minimax/h3_context_ir' \
--header 'Authorization: Bearer {YOUR_AK}' \
--header 'Content-Type: application/json' \
--data '{
  "content": [
    {
      "type": "text",
      "text": "A boy playing basketball by the seaside"
    }
  ],
  "duration": 5,
  "ratio": "16:9"
}'

3.2.6 Response Example

{
  "task_id": "426586401755526"
}

3.3 Create a Video Regeneration Task

Reconstruct the source video that meets the output specifications of MiniMax-H3 768P into a 2K video. Two input modes are supported, and either source_task_idor content (including base_video) must be provided exclusively (a parameter error will be returned if both are provided or neither is provided):

  • Regenerate by task ID (source_task_id): Pass in the source_task_idof an existing successful video generation task to regenerate using its output as the source. This mode requires allowlist access; the source task must belong to the current account, have a status of succeeded, and still be within the 7-day query window for task queries. There is no need to pass contentanymore.

  • Regeneration based on source video (base_video): Provide one and only one contentitem in type= video_url, role= base_videoformat as the source video, and attach all the other inputs used for generating this 768P video as-is.

This interface is an asynchronous interface, and will return after successful creation task_id, you can query the task status via task polling;task_typeis regeneration.

3.3.1 Request URL

POST https://genaiapi-m2.cloudsway.net/v1/ai/{YOUR_ENDPOINT}/minimax/video_regeneration

Supported compatible interfaces:

POST https://genaiapi-m2.cloudsway.net/v2/video_regeneration

3.3.2 Request Header

Parameter Name Field Type Required or not Description
Authorization string Yes Bearer {YOUR_AK}
Content-Type string Yes Please set the media type of the request body to application/json.

3.3.3 Request Body Parameters

Parameter Name Field Type Required or not Default value Description
model string Conditions
When using a compatible interface, this field is required; valid values are as follows:
  • MaaS_Minimax_H3
source_task_id string Conditions - task_id of existing successfully completed video generation tasks , to regenerate based on their outputs. Usage restrictions: allowlist access is required; the source task must belong to the current account, be in succeeded status, and still be queryable via the task inquiry interface (created within the last 7 days). This parameter and content are mutually exclusive, and exactly one of them must be provided.
content array
Conditions - Array of input content for video regeneration (sorted by source video mode). Please include the following in the array: - All inputs actually fed into the model when generating the 768P source video must be submitted exactly as they are. Among them, text must use the final prompt that was actually fed into the model at that time, and the original prompt before H3-Context-IR processing cannot be used; all reference images, videos and audios must also be consistent with those used during generation. Any inconsistency in the inputs may lead to failure to achieve the expected regeneration effect - One 768P source video item, type= video_url and role= base_video ; there must be exactly one such item. base_video must comply with the following MiniMax-H3 768P output specifications. This interface does not support general regeneration of arbitrary videos. --- Input media restrictions: Total size of the request body ≤ 64 MB. For large files, please use a public network URL instead of Base64.The restrictions on the format, single file size, etc. of reference images/videos/audio are the same as those in "3.1 Create a Video Generation Task". Either source_task_id must and can only be provided.
resolution string Yes - The target resolution for video regeneration, required. Currently supported 2K.
callback_url string No - Callback URL for task status change, optional. Its behavior is the same as that of the callback_url when creating a video generation task.
aigc_watermark boolean No - Optional parameter specifying whether to add an AIGC watermark to the generated video; defaults to false.

base_video Specifications

Project Specifications
soundtrack Must include a soundtrack; videos without a soundtrack are not supported
frame rate 24 fps
Width / Height shall all be divisible by 32
Area (Width × Height) ≤ 768 × 1344 (1,032,192 pixels)
Total Frames Frames 107–362, in increments of 17 frames per step (approximately 4–15 seconds)

content[] Element Field (Regenerated)

Parameter Name Field Type Required or not Default value Description
type string Yes - The type of the input content. Enumeration values: text/ image_url/ video_url/ audio_url.
text
string Conditions - You must use the final prompt that was actually fed into the model when generating the 768P source video, and must not use the original prompt before H3-Context-IR processing. The length is calculated by the number of characters, and a single textcan have a maximum of 7000 characters.
image_url object Conditions - The image object when type= image_url (refer to the content description above for restrictions on format, size, dimensions and quantity).
image_url.url string Yes - Image address, supported formats: public URL;mm_file://{file_id}(refer to existing files on the platform, e. g., file_id of uploaded or historical assets);data: image/<format>;base64,<Base64>data URI (<format>in lowercase).
video_url object Conditions - When type= video_url, this refers to the video object (reference video, only for multimodal reference scenarios; refer to the content description above for format, size and duration restrictions).
video_url.url string Yes - Video address, supported formats: public network URL;mm_file://{file_id}(the file_id of an existing file on the platform);data: video/mp4;base64,<Base64>data URI. Note that the total size of the request body must be ≤ 64 MB; Base64 encoding increases the data size by approximately 33%, please use a public network URL or mm_file:// for large videos.
audio_url object Conditions - When type= audio_url, this is the audio object (reference audio, only for multimodal reference scenarios; refer to the content description above for format/size/duration restrictions).
audio_url.url string Yes - Audio address, supported: public network URL;mm_
file://{file_id}(the file_id of an existing file on the reference platform);data: audio/<format>;base64,<Base64>data URI (<format>in lowercase).
role string Conditions - Position or purpose of the content, required: - base_video: source video for video regeneration (for /v2/video_regenerationonly);this rolemust be explicitly set for the source video item, and there must be exactly 1 such item in content. - first_frame: first frame image (for image-to-video; when only one image is provided and no role is filled, it will be processed as first_frame by default). - last_frame: End frame image (for image-to-video - start and end frames, must be used in pair with first_frame). - reference_image: Reference image (for multimodal reference video generation). - reference_video: Reference video (for multimodal reference video generation). - reference_audio: Reference audio (for multimodal reference video generation, cannot be input separately).

3.3.4 Response Parameters

Parameter Name Field Type Description
task_id string Task ID, which is used for subsequent queries of the task status and results.

3.3.5 Request Example

curl --location 'https://genaiapi-m2.cloudsway.net/v1/ai/{YOUR_ENDPOINT}/minimax/video_regeneration' \
--header 'Authorization: Bearer {YOUR_AK}' \
--header 'Content-Type: application/json' \
--data '{
  "content": [
    {
      "type": "text",
      "text": "Epic space-opera teaser: a female captain stands alone before a vast observation window as the last fleet assembles and jumps away; searing light flashes, the bridge shakes, and she is left behind."
    },
    {
      "type": "video_url",
      "video_url": {
        "url": "https://your-cdn.example.com/h3-t2va-768p.mp4"
      },
      "role": "base_video"
    }
  ],
  "resolution": "2K"
}'

3.3.6 Response Example

{
  "task_id": "424010985738631"
}

3.4 Query Tasks

Query the status and results of a single video generation, H3-Context-IR, or video regeneration task within the last 7 days by task_id. After the task succeeds (status= succeeded), you can obtain the output from content: the video task returns content.url, and the H3-Context-IR task returns the enhanced prompt in content.prompt.

3.4.1 Request URL

GET https://genaiapi-m2.cloudsway.net/v1/ai/{YOUR_ENDPOINT}/minimax/query/video_generation/{task_id}

Supported compatible interfaces:

GET https://genaiapi-m2.cloudsway.net/v2/query/video_generation/{{minimaxTaskId}}

3.4.2 Request Header

Parameter Name Field Type Required or not Description
Authorization string Yes Bearer {YOUR_AK}

3.4.3 Path Parameters

Parameter Name Field Type Required or not Description
task_id string Yes The task ID to be queried (the task_idreturned when creating a task).

3.4.4 Response Parameters

Parameter Name Field Type Description
task object The task object returned by the H3 shared task query and list interface.
task.id string Task ID.
task.model string The name of the model used for the task, e. g. MiniMax-H3.
task.status string Task Status: - queued: Queued - running: Running - succeeded: Succeeded - failed: Failed - cancelled: Cancelled
task.error object Error message, not returned when the task succeeds; returned when the task fails codeand message.
task.error.code string Error code.
task.error.message string Error message.
task.created_at integer Unix timestamp (in seconds) indicating the task creation time.
task.updated_at integer Unix timestamp (in seconds) indicating when the task status was last updated.
task.content object Task output content, returned upon successful task completion.
task.content.url string The time-limited download URL for the video task output is provided below. Please download or save it in time; you can re-query to obtain a new one after it expires.
task.content.prompt string Structured augmented prompt generated by the H3-Context-IR task. Returned only when task_type= h3_context_irand the task succeeds.
task.resolution string The resolution of the task output.
task.duration integer Duration of the task output (in seconds).
task.usage object The billable usage for this request. Video tasks return a field measured in seconds; H3-Context-IR tasks return a token usage field.
task.usage.total_seconds integer Total seconds billed this time = Input seconds + Output seconds.
task.usage.input_seconds integer Enter the billed seconds of the reference video (including the timer for the reference video).
task.usage.output_seconds integer Output the billable seconds of the video.
task.usage.input_image_count integer The number of images involved in this billing.
task.usage.input_audio_seconds integer Enter the number of seconds of the reference audio (sum each segment and round to the nearest integer); no value will be returned when there is no reference audio.
task.usage.total_tokens integer The total number of tokens used in the H3-Context-IR task.
task.usage.prompt_tokens integer The number of input tokens for the H3-Context-IR task.
task.usage.completion_tokens integer The number of output tokens for the H3-Context-IR task.
task.ratio string The aspect ratio of the task product; may return an empty string when it is not applicable to the current task type.
task.task_type string Task types: - generation: Video generation - h3_context_ir: H3-Context-IR (/v2/h3_context_ir) - regeneration: Video regeneration (/v2/video_regeneration)
task.modality string Output modality. The video generation and video regeneration tasks return video; the H3-Context-IR task returns text.

3.4.5 Request Example

curl --location 'https://genaiapi-m2.cloudsway.net/v1/ai/{YOUR_ENDPOINT}/minimax/query/video_generation/{task_id}' \
--header 'Authorization: Bearer {YOUR_AK}'

3.4.6 Response Example

Video generated successfully:

{
  "task": {
    "id": "424010985738629",
    "model": "MiniMax-H3", // When calling via an endpoint, the endpoint locks the model; changing the model parameter has no effect.
    "status": "succeeded",
    "created_at": 1785125529,
    "updated_at": 1785125946,
    "content": {
      "url": "https://cdn.hailuoai.com/prod/hailuo_demo/testsets/h3_promo_eval_ref2va/gallery/sr_v2p26_trio_seed42_20260724/inputs/89f8c0bbee5b_denoise_ids_0_final.mp4"
    },
    "resolution": "2K",
    "duration": 5,
    "usage": {
      "total_seconds": 5,
      "input_seconds": 0,
      "output_seconds": 5,
      "input_image_count": 0
    },
    "ratio": "16:9",
    "task_type": "generation",
    "modality": "video"
  }
}

H3-Context-IR Success:

{
  "task": {
    "id": "426586401755526",
    "model": "MiniMax-H3", // When calling via an endpoint, the endpoint locks the model; changing the model parameter has no effect.
    "status": "succeeded",
    "created_at": 1785702855,
    "updated_at": 1785702884,
    "content": {
      "prompt": "integrated_multimodal_description: ..."
    },
    "duration": 5,
    "usage": {
      "total_tokens": 9090,
      "prompt_tokens": 5664,
      "completion_tokens": 3426
    },
    "ratio": "16:9",
    "task_type": "h3_context_ir",
    "modality": "text"
  }
}

3.5 Cancel or Delete Tasks

Cancel or delete video generation, H3-Context-IR and video regeneration tasks according to the current status of the tasks:

Task Status Perform the action Description
queued (queuing) cancelled
Cancel the task: the task has not started processing, and no fee will be deducted.
succeeded (success) deleted Delete task records
failed (failed) deleted Delete task records
running (in operation) — Operation not allowed, error returned (cancellation is not possible during processing)
cancelled (cancelled) — Not actionable, returns an error

3.5.1 Request URL

DELETE https://genaiapi-m2.cloudsway.net/v1/ai/{YOUR_ENDPOINT}/minimax/video_generation/{task_id}

Supported compatible interfaces:

DELETE https://genaiapi-m2.cloudsway.net/v2/video_generation/{{minimaxTaskId}}

3.5.2 Request Header

Parameter Name Field Type Required or not Description
Authorization string Yes Bearer {YOUR_AK}

3.5.3 Path Parameters

Parameter Name Field Type Required or not Description
task_id string Yes The ID of the task to be canceled or deleted.

3.5.4 Response Parameters

Parameter Name Field Type Description
task_id string The ID of the task to be operated on.
action string Actual operation performed: cancelled (cancellation, only for queued state) or deleted (delete task records regardless of success or failure).
status string Operation result status: cancelled (cancelled) or deleted (record deleted).

3.5.5 Request Example

curl --location --request DELETE 'https://genaiapi-m2.cloudsway.net/v1/ai/{YOUR_ENDPOINT}/minimax/video_generation/{task_id}' \
--header 'Authorization: Bearer {YOUR_AK}'

3.5.6 Response Example

{
  "task_id": "424010985738629",
  "action": "cancelled",
  "status": "cancelled"
}