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

# MiniMax H3 Reference to Video

> MiniMax H3 reference to video model with fixed 2K output

<Tip>
  1. Submit the request with `VIDGO_API_KEY`. After submission, a `task_id` is returned. If `callback_url` is provided, Vidgo sends the result after the task finishes or fails.
  2. You can always retrieve the result through the unified [Query Task Status](/api-manual/task-management/status) endpoint.
</Tip>

## Available Models

* **minimax/h3/reference-to-video** - MiniMax H3 reference to video generation with 2K output

## Capabilities

* **Reference To Video**: Guide generation with reference images, videos, and optional audio.
* **2K Output**: Output resolution is fixed at `2K`.

## Input Modes

* Provide at least one reference image or reference video. Reference audio cannot be used alone.
* All media URLs must be publicly accessible and directly downloadable.

## Parameter Notes

* `prompt` is required and accepts up to 2,000 characters.
* `duration` accepts an integer from `5` through `15` seconds and defaults to `5`.
* `resolution` accepts only `2K`.
* `aspect_ratio` supports `adaptive`, `21:9`, `16:9`, `4:3`, `1:1`, `3:4`, and `9:16`.
* Reference input accepts up to 9 images, 3 video clips, and 3 audio clips. Reference audio requires at least one reference image or reference video.

## Billing

Video generation is billed by duration. Each reference-video duration, rounded down separately, is added to output duration; reference images after the first five incur an additional usage charge.


## OpenAPI

````yaml api-manual/video-series/minimax-h3-reference-to-video.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - MiniMax H3 Reference to Video
  description: MiniMax H3 Reference to Video through the Vidgo unified generation API.
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: Production server
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - MiniMax H3 Reference to Video
      summary: Submit MiniMax H3 Reference to Video Task
      operationId: submitMinimaxH3ReferenceToVideoTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              default:
                summary: MiniMax H3 Reference to Video
                value:
                  model: minimax/h3/reference-to-video
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      A cinematic scene with natural lighting and coherent
                      motion
                    duration: 5
                    resolution: 2K
                    reference_image_urls:
                      - https://cdn.vidgo.ai/examples/reference-1.jpg
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: Invalid request parameters
        '401':
          description: Unauthorized
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - input
      additionalProperties: false
      properties:
        model:
          type: string
          description: Vidgo public model identifier.
          enum:
            - minimax/h3/reference-to-video
          example: minimax/h3/reference-to-video
        callback_url:
          type: string
          format: uri
          description: Optional webhook callback URL.
        input:
          type: object
          required:
            - prompt
          additionalProperties: false
          anyOf:
            - required:
                - reference_image_urls
            - required:
                - reference_video_urls
          properties:
            prompt:
              type: string
              description: Prompt describing the target video.
              minLength: 1
              maxLength: 2000
            duration:
              type: integer
              description: Output duration in seconds.
              minimum: 5
              maximum: 15
              default: 5
            resolution:
              type: string
              description: Output resolution is fixed at 2K.
              enum:
                - 2K
              default: 2K
            aspect_ratio:
              type: string
              description: Output aspect ratio. Not accepted for image-to-video.
              enum:
                - adaptive
                - '21:9'
                - '16:9'
                - '4:3'
                - '1:1'
                - '3:4'
                - '9:16'
            reference_image_urls:
              type: array
              description: >-
                Reference images. The first five are included in the duration
                price.
              minItems: 1
              maxItems: 9
              items:
                type: string
                format: uri
            reference_video_urls:
              type: array
              description: Reference videos whose durations are included in billing.
              minItems: 1
              maxItems: 3
              items:
                type: string
                format: uri
            reference_audio_urls:
              type: array
              description: Reference audio; requires a reference image or video.
              maxItems: 3
              items:
                type: string
                format: uri
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
            status:
              type: string
              enum:
                - not_started
                - running
                - failed
            created_time:
              type: string
              format: date-time
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'Use `Authorization: Bearer VIDGO_API_KEY`.'

````