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

# Retrieve a MiniMax video task

> Retrieve normalized status and output URLs for a MiniMax H3 video task.



## OpenAPI

````yaml openapi/minimax-video.yaml GET /contents/generations/tasks/{id}
openapi: 3.1.0
info:
  title: MiniMax video API
  version: 1.0.0
  description: >-
    Provider-specific GENGEN reference for MiniMax H3 and MiniMax H3 Max video
    generation.
servers:
  - url: https://gengen.farm/api/gengen/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /contents/generations/tasks/{id}:
    parameters:
      - name: id
        in: path
        required: true
        description: 'Public task ID with a minimaxh3: or minimaxh3max: prefix.'
        schema:
          type: string
        example: minimaxh3:task_123
    get:
      summary: Retrieve a MiniMax video task
      operationId: retrieveMiniMaxVideoTask
      responses:
        '200':
          description: Current normalized task state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoTask'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/UnexpectedError'
components:
  schemas:
    VideoTask:
      type: object
      required:
        - id
        - model
        - status
        - outputs
      properties:
        id:
          type: string
        model:
          type: string
        status:
          type: string
          enum:
            - pending
            - processing
            - succeeded
            - failed
            - cancelled
        outputs:
          type: object
          required:
            - videos
            - images
          properties:
            videos:
              type: array
              items:
                type: string
                format: uri
            images:
              type: array
              items:
                type: string
                format: uri
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        failureReason:
          type: string
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            params:
              type: object
              additionalProperties: true
  responses:
    Unauthorized:
      description: Missing or invalid GENGEN API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Task not found for the current API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    UnexpectedError:
      description: Upstream provider or internal error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: GENGEN API key

````