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

# MiniMax Speech 2.8 HD Text to Speech Task

> Retrieve the status and result of a speech generation task.

Retrieve the status and result of a MiniMax Speech 2.8 HD text-to-speech generation task using the `task_info.id` returned from the POST request.


## OpenAPI

````yaml api-reference/endpoint/minimax/speech-2.8-hd/speech-2.8-hd.yaml GET /vendors/minimax/v1/speech-2.8-hd/text-to-speech/generation/{task_id}
openapi: 3.1.0
info:
  title: MiniMax Speech 2.8 HD API
  description: MiniMax Speech 2.8 HD - High-Definition Text-to-Speech Generation
  version: 2.0.0
servers:
  - url: https://api.mulerouter.ai/
security:
  - bearerAuth: []
paths:
  /vendors/minimax/v1/speech-2.8-hd/text-to-speech/generation/{task_id}:
    get:
      summary: Get Speech Generation Task
      description: Retrieve the status and result of a speech generation task.
      operationId: speech_2_8_hd_get
      parameters:
        - name: task_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Task result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpeechGenerationResponse'
              example:
                audios:
                  - https://mulerouter.muleusercontent.com/public/xxx/result.mp3
                audio_length: 3.5
                audio_size: 56000
                usage_characters: 42
                word_count: 8
                task_info:
                  id: 8e1e315e-b50d-4334-a231-be7d19a372f4
                  status: completed
                  created_at: '2026-03-03T00:00:00Z'
                  updated_at: '2026-03-03T00:00:00Z'
components:
  schemas:
    SpeechGenerationResponse:
      type: object
      properties:
        audios:
          type: array
          items:
            type: string
            format: uri
          description: List of generated audio file URLs.
        audio_length:
          anyOf:
            - type: number
            - type: 'null'
          description: Audio duration in seconds.
        audio_size:
          anyOf:
            - type: integer
            - type: 'null'
          description: Audio file size in bytes.
        usage_characters:
          anyOf:
            - type: integer
            - type: 'null'
          description: Number of billable characters.
        word_count:
          anyOf:
            - type: integer
            - type: 'null'
          description: Word count in input text.
        task_info:
          $ref: '#/components/schemas/TaskInfoResponse'
    TaskInfoResponse:
      type: object
      required:
        - id
        - status
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - completed
            - pending
            - processing
            - failed
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        error:
          $ref: '#/components/schemas/TaskInfoErrorObject'
    TaskInfoErrorObject:
      type: object
      properties:
        code:
          type: integer
        title:
          type: string
        detail:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````