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

# Generate Music Cover

> Create cover images for generated music.

<Tip>
  1. After submission, a `task_id` will be returned. If you provided a `callback_url`, when the task status becomes `finished` or `failed`, a POST request will be sent to the `callback_url`.
  2. Regardless of whether `callback_url` is provided, you can retrieve the response result through the unified [Query Music Detail](/api-manual/music-series/query-music-detail) endpoint.
</Tip>

## Usage Guide

* This endpoint creates a cover version of an existing music track
* Requires a valid task\_id from a previously generated music task
* The cover will be a new interpretation of the original track

## Parameter Details

* `task_id` (required): The task ID from a completed music generation task
  * Must be a valid task\_id returned from the Generate Music or Extend Music endpoints
  * The original task must have completed successfully

## Developer Notes

* A cover can only be generated once per original task
* Results are delivered via the callback URL when processing is complete


## OpenAPI

````yaml /api-manual/music-series/generate-music-cover.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Generate Music Cover API
  description: Create cover images for generated music.
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: Production server
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Music Cover
      summary: Submit Music Cover Generation Task
      description: Generate a cover version of an existing music track
      operationId: submitMusicCoverTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              basic-cover:
                summary: Basic Cover Generation
                value:
                  model: generate-music-cover
                  callback_url: https://your-domain.com/callback
                  input:
                    task_id: 73d6128b3523a0079df10da9471017c8
      responses:
        '200':
          description: Task submitted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - callback_url
        - input
      properties:
        model:
          type: string
          description: |-
            API model identifier.

            Must be `generate-music-cover` for this endpoint.
          enum:
            - generate-music-cover
          example: generate-music-cover
        callback_url:
          type: string
          format: uri
          description: >-
            Webhook callback URL for result notifications.


            The system will send POST requests to this URL when cover generation
            is complete, including task status and results.
          example: https://your-domain.com/callback
        input:
          type: object
          required:
            - task_id
          description: Input parameters for cover generation
          properties:
            task_id:
              type: string
              description: >-
                Original music task ID.


                Should be the task_id returned by the music generation
                interface.
              example: 73d6128b3523a0079df10da9471017c8
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
          description: HTTP status code
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-unified-1757165031-uyujaw3d
              description: Unique task identifier for status tracking
            status:
              type: string
              enum:
                - not_started
              example: not_started
              description: Initial task status
            created_time:
              type: string
              format: date-time
              example: '2025-11-12T10:30:00'
              description: ISO 8601 timestamp when the task was created
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        All API endpoints require Bearer Token authentication


        Get your API Key:


        Visit the [API Key Management
        Page](https://vidgo.ai/apis/dashboard/api-key) to get your API Key


        Add it to the request header:


        ```

        Authorization: Bearer VIDGO_API_KEY

        ```

````