---
title: "Remix Audio Using Prompt and Optional Lyrics"
method: POST
path: "/v1/Remix"
---

# Remix Audio Using Prompt and Optional Lyrics

`POST /v1/Remix`

## Request

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

This endpoint allows users to remix an input audio file or URL using a descriptive prompt, optional lyrics, and a gender selection for vocal tone.

## Request body `multipart/form-data`

- union
  - object
    - `audio_file` string, binary: Uploaded audio file to be remixed.
    - `audio_url` string, required: Input audio URL (supported format: YouTube URL).
    - `prompt` string, required: Describes how the audio should be transformed.
    - `lyrics` string: Optional lyrics to guide vocal generation.
    - `title` string: Title of the generated music track
    - `gender` 'male' | 'female' | 'neutral': Voice style if vocal content is generated.
    - `generate_album_cover` boolean: Whether to generate an album cover for the generated audio
    - `webhook_url` string: Callback URL for async processing results.
  - object
    - `audio_file` string, binary, required: Uploaded audio file to be remixed.
    - `audio_url` string: Input audio URL (supported format: YouTube URL).
    - `prompt` string, required: Describes how the audio should be transformed.
    - `lyrics` string: Optional lyrics to guide vocal generation.
    - `title` string: Title of the generated music track
    - `gender` 'male' | 'female' | 'neutral': Voice style if vocal content is generated.
    - `generate_album_cover` boolean: Whether to generate an album cover for the generated audio
    - `webhook_url` string: Callback URL for async processing results.

## Response `200`

Successfully initiated remix task

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

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