> ## 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 Music 2.5 Text to Music Task

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

Retrieve the status and result of a MiniMax Music 2.5 music generation task using the `task_info.id` returned from the POST request.


## OpenAPI

````yaml api-reference/endpoint/minimax/music-2.5/music-2.5.yaml GET /vendors/minimax/v1/music-2.5/text-to-music/generation/{task_id}
openapi: 3.1.0
info:
  title: MiniMax Music 2.5 API
  description: MiniMax Music 2.5 - Music Generation from Lyrics and Style Description
  version: 2.0.0
servers:
  - url: https://api.mulerouter.ai/
security:
  - bearerAuth: []
paths:
  /vendors/minimax/v1/music-2.5/text-to-music/generation/{task_id}:
    get:
      summary: Get Music Generation Task
      description: Retrieve the status and result of a music generation task.
      operationId: music_2_5_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/MusicGenerationResponse'
              example:
                audio: https://mulerouter.muleusercontent.com/public/xxx/result.mp3
                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:
    MusicGenerationResponse:
      type: object
      properties:
        audio:
          anyOf:
            - type: string
              format: uri
            - type: 'null'
          description: Generated music file URL.
        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

````