> ## 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.

# Hailuo 2.3 Pro Text to Video

> Generate short video scenes with Hailuo 2.3 Pro, with 1080p output and optional prompt refinement for written scene concepts.

<Tip>
  1. Submit the request with `VIDGO_API_KEY`. A `task_id` is returned immediately. Keep it until the task reaches `finished` or `failed`.
  2. Use [Query Task Status](/api-manual/task-management/status) to retrieve the result. If you provide a `callback_url`, Vidgo sends the result to your [webhook](/api-manual/task-management/webhooks) when the task finishes or fails.
</Tip>

# Hailuo 2.3 Pro Text to Video

Generate short video scenes with Hailuo 2.3 Pro, with 1080p output and optional prompt refinement for written scene concepts.

## Available Models

* **minimax/hailuo-2.3/pro/text-to-video** - Generate video scenes from text prompts.

## Duration Options

* **6 seconds** - Set `duration` as an integer. Optional. Default: **6 seconds**.

## Key Features

* Generate video scenes from text prompts.
* This model ID fixes the output resolution to `1080p`.

## Advanced Parameters

Set `model` and optional `callback_url` at the request root. Place all workflow parameters, including output options, inside `input`.

Send only the input fields supported by this workflow. JSON types are validated without converting strings to numbers or booleans; `prompt` must be a string and fractional durations are rejected. Unsupported `input` fields are rejected before credits are deducted.

### Prompt

* `prompt`: Required. Describe the scene and desired motion. Length: **1-5,000 characters**.
* The value must not be blank when supplied.

### Resolution

* `resolution`: Optional. Accepted values: `1080p`. Default: `1080p`.

### Prompt Optimizer

* `prompt_optimizer`: Optional. Control automatic prompt optimization. Use `true` or `false`. Omit this field to leave it unspecified upstream; no API default is imposed.

## Billing Factors

Billed per video using the Pro model tier. This endpoint fixes output resolution to `1080p` and duration to `6` seconds. Prompt optimization (`prompt_optimizer`) does not change the charge.

Credits are deducted on submission and refunded if the task fails.


## OpenAPI

````yaml api-manual/video-series/minimax-hailuo-2-3-pro-text-to-video.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Hailuo 2.3 Pro Text to Video
  description: >-
    Generate short video scenes with Hailuo 2.3 Pro, with 1080p output and
    optional prompt refinement for written scene concepts.
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Video Series
      summary: Hailuo 2.3 Pro Text to Video
      description: >-
        Send only the fields shown for this workflow. Parameters from other
        workflows are rejected before credits are deducted.


        prompt is required and must not be blank.


        This ID fixes `resolution` to `1080p`.


        No type coercion: numeric prompts, string booleans and fractional
        durations are rejected.


        Billed per video using the Pro model tier. This endpoint fixes output
        resolution to `1080p` and duration to `6` seconds. Prompt optimization
        (`prompt_optimizer`) does not change the charge.
      operationId: submit_minimax_hailuo_2_3_pro_text_to_video
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - model
                - input
              additionalProperties: true
              properties:
                model:
                  type: string
                  example: minimax/hailuo-2.3/pro/text-to-video
                input:
                  type: object
                  required:
                    - prompt
                  properties:
                    prompt:
                      type: string
                      maxLength: 5000
                      minLength: 1
                      description: >-
                        Required nonblank string, trimmed before validation.
                        Maximum 5,000 Unicode characters.
                    duration:
                      type: integer
                      enum:
                        - 6
                      default: 6
                      description: Output duration in seconds. Only 6 is supported.
                    resolution:
                      type: string
                      enum:
                        - 1080p
                      default: 1080p
                      description: Fixed to 1080p for this endpoint.
                    prompt_optimizer:
                      type: boolean
                      description: >-
                        Optional boolean. Omit to leave unspecified upstream. No
                        extra charge.
                  additionalProperties: false
                callback_url:
                  type: string
                  nullable: true
                  description: >-
                    Optional public HTTP(S) endpoint for task completion
                    notifications. HTTPS is recommended. Omit, use null, or use
                    an empty string to disable callbacks.
              description: >-
                Keep model and callback_url at the root. Unknown root fields are
                ignored; unsupported input fields are rejected.
            examples:
              basic:
                summary: Basic workflow
                value:
                  model: minimax/hailuo-2.3/pro/text-to-video
                  input:
                    prompt: >-
                      A quiet forest under soft morning light, with natural
                      detail.
                    duration: 6
                    resolution: 1080p
              callback:
                summary: Receive a completion callback
                value:
                  model: minimax/hailuo-2.3/pro/text-to-video
                  input:
                    prompt: >-
                      A quiet forest under soft morning light, with natural
                      detail.
                    duration: 6
                    resolution: 1080p
                  callback_url: https://your-domain.com/callback
      responses:
        '200':
          description: Task submitted
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - data
                properties:
                  code:
                    type: integer
                    enum:
                      - 200
                  data:
                    type: object
                    required:
                      - task_id
                      - status
                      - created_time
                    properties:
                      task_id:
                        type: string
                      status:
                        type: string
                        enum:
                          - not_started
                          - running
                          - finished
                          - failed
                      created_time:
                        type: string
                        format: date-time
              example:
                code: 200
                data:
                  task_id: task-unified-example
                  status: running
                  created_time: '2026-09-10T08:00:00'
        '400':
          description: >-
            Invalid input, unsupported tier, inaccessible media, or insufficient
            credits
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '401':
          description: Invalid credentials
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '404':
          description: Unknown or disabled model
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '408':
          description: Request timed out
          content:
            text/plain:
              schema:
                type: string
              example: Request timeout
        '422':
          description: Invalid JSON or non-object request body
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '429':
          description: Rate or API key credit limit exceeded
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '502':
          description: Unable to create the upstream generation task
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '503':
          description: Model configuration or capability is not approved
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Use VIDGO_API_KEY.

````