MiniMax Video API

The Video API from MiniMax — 3 operation(s) for video.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/minimax-ai-video-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

minimax-ai-video-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: MiniMax Files Video API
  description: MiniMax text generation API with support for chat completion and streaming output
  license:
    name: MIT
  version: 1.0.0
servers:
- url: https://api.minimax.io
security:
- bearerAuth: []
tags:
- name: Video
paths:
  /v1/video_generation:
    post:
      summary: Video Generation
      description: Generate video from text prompt
      operationId: videoGeneration
      tags:
      - Video
      requestBody:
        description: Video generation request parameters
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoGenerationReq'
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoGenerationResp'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/video_template_generation:
    post:
      summary: Video Template Generation
      description: Generate video using template
      operationId: videoTemplateGeneration
      tags:
      - Video
      requestBody:
        description: Video template generation request parameters
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoTemplateGenerationReq'
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoTemplateGenerationResp'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/query/video_template_generation:
    get:
      summary: Query Video Template Generation Task
      description: Query the status of a video template generation task
      operationId: queryVideoTemplateGenerationTask
      tags:
      - Video
      parameters:
      - name: task_id
        in: query
        required: true
        description: Task ID to query
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryVideoTemplateGenerationTaskResp'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    QueryVideoTemplateGenerationTaskResp:
      type: object
      properties:
        task_id:
          type: string
          description: Task ID
        status:
          $ref: '#/components/schemas/VideoProcessStatus'
        video_url:
          type: string
          description: Generated video URL
    Error:
      type: object
      required:
      - error
      - message
      properties:
        error:
          type: integer
          format: int32
          description: Error code
        message:
          type: string
          description: Error message
    SubjectReference:
      type: object
      required:
      - type
      - image
      properties:
        type:
          type: string
          description: Reference type
        image:
          type: array
          items:
            type: string
          description: Reference image URLs
    VideoProcessStatus:
      type: string
      enum:
      - Preparing
      - Queueing
      - Processing
      - Success
      - Fail
      description: Video processing status
    VideoGenerationResp:
      type: object
      properties:
        task_id:
          type: string
          description: Task ID for tracking video generation
    VideoGenerationReq:
      type: object
      required:
      - model
      properties:
        prompt:
          type: string
          description: Text prompt for video generation
        model:
          type: string
          description: Model to use for video generation
          enum:
          - MiniMax-Hailuo-02
          - T2V-01-Director
          - T2V-01
        prompt_optimizer:
          type: boolean
          description: Whether to optimize the prompt
        seed:
          type: integer
          format: int64
          description: Random seed for generation
        callback_url:
          type: string
          description: Callback URL for completion notification
        first_frame_image:
          type: string
          description: First frame image URL
        watermark:
          type: string
          description: Watermark settings
        subject_reference:
          type: array
          items:
            $ref: '#/components/schemas/SubjectReference'
          description: Subject reference images
        duration:
          type: integer
          format: int64
          description: Video duration in seconds
        resolution:
          type: string
          description: Video resolution
        aigc_watermark:
          type: boolean
          description: Whether to add AIGC watermark
        fast_pretreatment:
          type: boolean
          description: Whether to use fast pretreatment
        ignore_pretreatment_error:
          type: boolean
          description: Whether to ignore pretreatment errors
        user_translate:
          type: boolean
          description: Whether to use user translation
        last_frame_image:
          type: string
          description: Last frame image URL
        priority:
          type: integer
          format: int64
          description: Task priority
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT