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

# Get Music Video Details

> Retrieve detailed information about a music video generation task, including status and download link.

### Status Descriptions

* PENDING: Task is waiting to be processed
* SUCCESS: Video generation completed successfully
* CREATE\_TASK\_FAILED: Failed to create the video task
* GENERATE\_MP4\_FAILED: MP4 generation failed
* CALLBACK\_EXCEPTION: Callback exception


## OpenAPI

````yaml suno-api/suno-api.json GET /api/v1/mp4/record-info
openapi: 3.0.0
info:
  title: intro
  description: API documentation for audio generation services
  version: 1.0.0
  contact:
    name: Technical Support
    email: support@api.box
servers:
  - url: https://apibox.erweima.ai
    description: API Server
security:
  - BearerAuth: []
tags:
  - name: Music Generation
    description: Endpoints for creating and managing music generation tasks
  - name: Lyrics Generation
    description: Endpoints for lyrics generation and management
  - name: WAV Conversion
    description: Endpoints for converting music to WAV format
  - name: Vocal Removal
    description: Endpoints for vocal removal from music tracks
  - name: Music Video Generation
    description: Endpoints for generating MP4 videos from music tracks
  - name: Account Management
    description: Endpoints for account and credits management
paths:
  /api/v1/mp4/record-info:
    get:
      summary: Get Music Video Details
      operationId: get-music-video-details
      parameters:
        - in: query
          name: taskId
          description: >-
            The task ID returned from the Create Music Video endpoint. Used to
            retrieve detailed information about the video generation task,
            including processing status and download URL.
          required: true
          example: taskId_774b9aa0422f
          schema:
            type: string
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ApiResponse'
                  - type: object
                    properties:
                      data:
                        type: object
                        properties:
                          taskId:
                            type: string
                            description: Task ID
                          musicId:
                            type: string
                            description: >-
                              The ID of the source music track that was
                              converted to video
                          musicIndex:
                            type: integer
                            description: Song index 0 or 1
                            example: 0
                          callbackUrl:
                            type: string
                            description: >-
                              The callback URL that was provided in the video
                              generation request
                          completeTime:
                            type: string
                            description: >-
                              The timestamp when the video generation was
                              completed
                            format: date-time
                          response:
                            type: object
                            properties:
                              videoUrl:
                                type: string
                                description: The URL to download the generated MP4 video
                          successFlag:
                            type: string
                            description: The current status of the video generation task
                            enum:
                              - PENDING
                              - SUCCESS
                              - CREATE_TASK_FAILED
                              - GENERATE_MP4_FAILED
                              - CALLBACK_EXCEPTION
                          createTime:
                            type: string
                            description: Creation time
                            format: date-time
                          errorCode:
                            type: number
                            description: Error code, valid when task fails
                          errorMessage:
                            type: string
                            description: Error message, valid when task fails
              example:
                code: 200
                msg: success
                data:
                  taskId: taskId_774b9aa0422f
                  musicId: audioId_0295980ec02e
                  musicIndex: 0
                  callbackUrl: https://api.example.com/callback
                  completeTime: 1735661400000
                  response:
                    videoUrl: https://example.com/videos/video_847715e66259.mp4
                  successFlag: SUCCESS
                  createTime: 1735661400000
                  errorCode: null
                  errorMessage: null
        '500':
          $ref: '#/components/responses/Error'
components:
  schemas:
    ApiResponse:
      type: object
      properties:
        code:
          type: integer
          description: |-
            # Status Codes

            - ✅ 200 - Request successful
            - ⚠️ 400 - Invalid parameters
            - ⚠️ 401 - Unauthorized access
            - ⚠️ 404 - Invalid request method or path
            - ⚠️ 405 - Rate limit exceeded
            - ⚠️ 413 - Theme or prompt too long
            - ⚠️ 429 - Insufficient credits
            - ⚠️ 430 - Your call frequency is too high. Please try again later.
            - ⚠️ 455 - System maintenance
            - ❌ 500 - Server error
          example: 200
          enum:
            - 200
            - 400
            - 401
            - 404
            - 405
            - 413
            - 429
            - 430
            - 455
            - 500
        msg:
          type: string
          description: Error message when code != 200
          example: success
  responses:
    Error:
      description: Server error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        # 🔑 API Authentication


        All endpoints require authentication using Bearer Token.


        ## Get API Key


        1. Visit the [API Key Management Page](https://api.box/api-key) to
        obtain your API Key


        ## Usage


        Add to request headers:


        ```

        Authorization: Bearer YOUR_API_KEY

        ```


        > **⚠️ Note:**

        > - Keep your API Key secure and do not share it with others

        > - If you suspect your API Key has been compromised, reset it
        immediately from the management page

````