> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modellix.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MiniMax H3 Max I2V

> [Core Function] MiniMax H3 Max I2V generates video from reference images plus a text prompt. [Strengths] It accepts up to 9 reference images and optional reference audios, with 5-15 second duration, 480P or 768P output, optional aspect ratio defaulting to 16:9, and optional prompt_expansion_mode (disabled, balanced, or quality). [Best For] Highly recommended for: character or style consistency from stills, product look references, multi-image subject guidance, and prompt-driven scenes featuring a referenced subject. [Limitations] Do NOT use this model for first or last frame transitions, when the primary input is a reference video, or if you need 2K or a 4 second clip. prompt, duration, resolution, and reference_images are required. Do NOT send first_frame_image, last_frame_image, or reference_videos on this endpoint. [Routing] Choose MiniMax H3 Max I2V when the user provides reference stills. For start or end frames, use MiniMax H3 Max FL2V. For reference videos, use MiniMax H3 Max V2V. For text only, use MiniMax H3 Max T2V. For 2K or 4 second clips, use MiniMax H3 I2V.



## OpenAPI

````yaml /media-model-api/minimax/minimax-i2v.json post /minimax/minimax-h3-max-i2v
openapi: 3.1.0
info:
  description: The image-to-video models API from MiniMax.
  version: 1.0.0
  contact:
    name: Modellix Support
    email: support@modellix.ai
  title: MiniMax Image-to-Video Models API
servers:
  - url: https://api.modellix.ai/api/v1
    description: The image-to-video models API from MiniMax.
security:
  - bearerAuth: []
paths:
  /minimax/minimax-h3-max-i2v:
    post:
      summary: MiniMax H3 Max I2V
      description: >-
        [Core Function] MiniMax H3 Max I2V generates video from reference images
        plus a text prompt. [Strengths] It accepts up to 9 reference images and
        optional reference audios, with 5-15 second duration, 480P or 768P
        output, optional aspect ratio defaulting to 16:9, and optional
        prompt_expansion_mode (disabled, balanced, or quality). [Best For]
        Highly recommended for: character or style consistency from stills,
        product look references, multi-image subject guidance, and prompt-driven
        scenes featuring a referenced subject. [Limitations] Do NOT use this
        model for first or last frame transitions, when the primary input is a
        reference video, or if you need 2K or a 4 second clip. prompt, duration,
        resolution, and reference_images are required. Do NOT send
        first_frame_image, last_frame_image, or reference_videos on this
        endpoint. [Routing] Choose MiniMax H3 Max I2V when the user provides
        reference stills. For start or end frames, use MiniMax H3 Max FL2V. For
        reference videos, use MiniMax H3 Max V2V. For text only, use MiniMax H3
        Max T2V. For 2K or 4 second clips, use MiniMax H3 I2V.
      operationId: minimaxH3MaxI2VAsync
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MinimaxH3MaxI2VRequest'
            examples:
              basic:
                summary: Reference images
                value:
                  prompt: 'Character speaks: Follow the wind, live free.'
                  reference_images:
                    - https://example.com/ref1.png
                  duration: 5
                  resolution: 768P
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    MinimaxH3MaxI2VRequest:
      type: object
      required:
        - prompt
        - duration
        - resolution
        - reference_images
      properties:
        prompt:
          type: string
          minLength: 1
          maxLength: 7000
          description: Video content description.
        reference_images:
          type: array
          minItems: 1
          maxItems: 9
          description: Reference image URLs used to guide subject or style (1-9).
          items:
            type: string
            minLength: 1
        reference_audios:
          type: array
          maxItems: 3
          description: Optional reference audio URLs (up to 3).
          items:
            type: string
            minLength: 1
        duration:
          type: integer
          enum:
            - 5
            - 6
            - 7
            - 8
            - 9
            - 10
            - 11
            - 12
            - 13
            - 14
            - 15
          default: 5
          description: Required video duration in seconds. 4 seconds is not supported.
        resolution:
          type: string
          enum:
            - 480P
            - 768P
          default: 768P
          description: Required output resolution. 2K is not supported.
        ratio:
          type: string
          enum:
            - '21:9'
            - '16:9'
            - '4:3'
            - '1:1'
            - '3:4'
            - '9:16'
          default: '16:9'
          description: >-
            Optional video aspect ratio. One of the listed values. Default:
            16:9.
        prompt_expansion_mode:
          type: string
          enum:
            - disabled
            - balanced
            - quality
          default: balanced
          description: >-
            Optional prompt expansion. disabled turns expansion off; balanced is
            the default; quality prioritizes expansion quality.
    AsyncTaskResponse:
      type: object
      required:
        - code
        - message
        - data
      properties:
        code:
          type: integer
          description: Response code, 0 indicates success
          example: 0
        message:
          type: string
          description: Response message
          example: success
        data:
          type: object
          required:
            - status
            - task_id
            - model_id
          properties:
            status:
              type: string
              enum:
                - pending
                - processing
              description: Task status
              example: pending
            task_id:
              type: string
              description: Unique task identifier
              example: task-abc123
            model_id:
              type: string
              description: Model ID
              example: model-123
            get_result:
              type: object
              description: API information to query the task result
              properties:
                method:
                  type: string
                  description: HTTP method
                  example: GET
                url:
                  type: string
                  description: Full URL to query the task result
                  example: https://api.modellix.ai/api/v1/tasks/task-abc123
          description: Detailed data about the submitted asynchronous task.
    ErrorResponse:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          description: Error code (equals HTTP status code)
          example: 400
        message:
          type: string
          description: 'Error message in format ''Category: detail'''
          example: 'Invalid parameters: parameter ''prompt'' is required'
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            missing_first_frame:
              summary: Missing first and last frame
              value:
                code: 400
                message: >-
                  Invalid parameters: at least one of first_frame_image or
                  last_frame_image is required
            invalid_duration:
              summary: Invalid duration value
              value:
                code: 400
                message: 'Invalid parameters: duration must be one of [6, 10]'
            invalid_resolution:
              summary: Invalid resolution for duration
              value:
                code: 400
                message: >-
                  Invalid parameters: 10 seconds duration only supports 768P
                  resolution
            invalid_image:
              summary: Invalid image format or size
              value:
                code: 400
                message: >-
                  Invalid parameters: image size exceeds 20MB or format not
                  supported
    Unauthorized:
      description: Unauthorized - Invalid or missing API Key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 401
            message: 'Authentication failed: invalid API key'
    TooManyRequests:
      description: Too many requests - Rate limit exceeded
      headers:
        X-RateLimit-Limit:
          description: Maximum requests per minute
          schema:
            type: integer
            example: 100
        X-RateLimit-Remaining:
          description: Remaining quota in current window
          schema:
            type: integer
            example: 0
        X-RateLimit-Reset:
          description: Rate limit window reset time (Unix timestamp)
          schema:
            type: integer
            example: 1704067260
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 429
            message: >-
              Rate limit exceeded: 100 requests per minute, retry after 60
              seconds
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 500
            message: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API Key authentication. Format: `Bearer YOUR_API_KEY`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.