---
title: "Sing Over Instrumental Using Prompt and Lyrics"
method: POST
path: "/v1/sing_over_instrumental"
---

# Sing Over Instrumental Using Prompt and Lyrics

`POST /v1/sing_over_instrumental`

## Request

- Base URL: `https://api.musicgpt.com/api/public`
- URL: `https://api.musicgpt.com/api/public/v1/sing_over_instrumental`
- Auth: API key in header `Authorization`

This endpoint allows users to sing over an instrumental audio track using a text prompt and lyrics. It supports either a file upload or a URL to the input audio and generates a vocal overlay based on the provided lyrics and style.

## Request body `multipart/form-data`

- union
  - object
    - `audio_file` string, binary: Uploaded instrumental audio file.
    - `audio_url` string, required: Input audio URL (supported format: YouTube URL).
    - `prompt` string, required: Description of the singing style, tone, or genre.
    - `lyrics` string, required: The lyrics to be sung over the instrumental.
    - `gender` 'male' | 'female' | 'neutral': Voice gender to guide generation.
    - `title` string: Title of the generated music track
    - `generate_album_cover` boolean: Whether to generate an album cover for the generated audio
    - `webhook_url` string: Callback URL to receive status updates or final audio result.
  - object
    - `audio_file` string, binary, required: Uploaded instrumental audio file.
    - `audio_url` string: Input audio URL (supported format: YouTube URL).
    - `prompt` string, required: Description of the singing style, tone, or genre.
    - `lyrics` string, required: The lyrics to be sung over the instrumental.
    - `gender` 'male' | 'female' | 'neutral': Voice gender to guide generation.
    - `title` string: Title of the generated music track
    - `generate_album_cover` boolean: Whether to generate an album cover for the generated audio
    - `webhook_url` string: Callback URL to receive status updates or final audio result.

## Response `200`

Successfully initiated sing over instrumental task

- object
  - `success` boolean
  - `message` string
  - `task_id` string
  - `conversion_id_1` string
  - `conversion_id_2` string
  - `eta` integer: Estimated processing time in seconds
  - `credit_estimate` number, float

## Other responses

- `422`: Validation Error
- `500`: Server Error

---

[API](https://skmtc.dev/musicgpt/apis/musicgpt-api.md) - [All operations](https://skmtc.dev/musicgpt/apis/musicgpt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/musicgpt/apis/musicgpt-api/revisions/6753dccf4c5d?raw)
