> ## 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 Image-01-Live I2I

> [Core Function] MiniMax Image-01-Live I2I is a fast image-to-image generation model. [Strengths] It is optimized for rapid generation and style variations, particularly suited for stylized art and anime workflows. [Best For] Highly recommended for: quick style iterations, anime variations, and fast prototyping. [Limitations] Do NOT use this model if you need the absolute highest fidelity or complex physical reasoning, where the standard Image-01 model performs better. [Routing] Choose this model when speed or stylized/anime aesthetics are the primary priority for an image-to-image task.



## OpenAPI

````yaml /model-api/minimax/minimax-i2i.json post /minimax/minimax-image-01-live-i2i
openapi: 3.1.0
info:
  description: The image-to-image models API from MiniMax.
  version: 1.0.0
  contact:
    name: Modellix Support
    email: support@modellix.ai
  title: MiniMax Image-to-Image Models API
servers:
  - url: https://api.modellix.ai/api/v1
    description: The image-to-image models API from MiniMax.
security:
  - bearerAuth: []
paths:
  /minimax/minimax-image-01-live-i2i:
    post:
      summary: MiniMax Image-01-Live I2I
      description: >-
        [Core Function] MiniMax Image-01-Live I2I is a fast image-to-image
        generation model. [Strengths] It is optimized for rapid generation and
        style variations, particularly suited for stylized art and anime
        workflows. [Best For] Highly recommended for: quick style iterations,
        anime variations, and fast prototyping. [Limitations] Do NOT use this
        model if you need the absolute highest fidelity or complex physical
        reasoning, where the standard Image-01 model performs better. [Routing]
        Choose this model when speed or stylized/anime aesthetics are the
        primary priority for an image-to-image task.
      operationId: minimaxImage01LiveI2IAsync
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MinimaxImage01I2IRequest'
            examples:
              basic:
                summary: Basic fast image generation
                value:
                  prompt: Cyberpunk style portrait
                  subject_reference_images:
                    - https://example.com/reference.jpg
                  aspect_ratio: '1:1'
              with_seed:
                summary: With seed for reproducibility
                value:
                  prompt: Portrait in modern style
                  subject_reference_images:
                    - https://example.com/reference.jpg
                  width: 1024
                  height: 1024
                  seed: 42
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskResponse'
              example:
                code: 0
                message: success
                data:
                  status: pending
                  task_id: task-def456
                  model_id: model-123
                  get_result:
                    method: GET
                    url: https://api.modellix.ai/api/v1/tasks/task-def456
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    MinimaxImage01I2IRequest:
      type: object
      required:
        - prompt
        - subject_reference_images
      properties:
        prompt:
          type: string
          description: Image description text, supports Chinese and English
          minLength: 1
          maxLength: 1500
          example: A girl in futuristic style
        subject_reference_images:
          type: array
          description: >-
            Reference image URLs for image-to-image generation. Supports public
            HTTPS URLs or Base64 Data URLs
          minItems: 1
          maxItems: 10
          items:
            type: string
            description: >-
              Image URL or Base64 Data URL (data:image/jpeg;base64,...). Image
              requirements: JPG/JPEG/PNG format, <10MB, best with single
              front-facing portrait photo
            example: https://example.com/reference.jpg
          example:
            - https://example.com/reference.jpg
        aspect_ratio:
          type: string
          description: >-
            Image aspect ratio. If both aspect_ratio and width/height are
            provided, aspect_ratio takes priority
          default: '1:1'
          enum:
            - '1:1'
            - '16:9'
            - '4:3'
            - '3:2'
            - '2:3'
            - '3:4'
            - '9:16'
            - '21:9'
          example: '1:1'
        width:
          type: integer
          description: >-
            Image width in pixels (must be used with height). Must be divisible
            by 8. If aspect_ratio is provided, width/height will be ignored
          minimum: 512
          maximum: 2048
          example: 1024
        height:
          type: integer
          description: >-
            Image height in pixels (must be used with width). Must be divisible
            by 8. If aspect_ratio is provided, width/height will be ignored
          minimum: 512
          maximum: 2048
          example: 1024
        seed:
          type: integer
          description: >-
            Random seed for reproducible results. Use the same seed with same
            parameters to generate identical images
          minimum: 0
          example: 42
        'n':
          type: integer
          description: Number of images to generate per request
          default: 1
          minimum: 1
          maximum: 9
          example: 1
        prompt_optimizer:
          type: boolean
          description: Enable automatic prompt optimization to improve generation quality
          default: false
          example: false
    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 ''subject_reference'' is required'
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: 400
            message: >-
              Invalid parameters: parameter 'subject_reference_images' is
              required
    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: 10
        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: 10 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`.'

````