"
# This endpoint expects multipart/form-data, so send the fields as form parts
response = requests.post(
url, headers=headers, files={k: (None, str(v)) for k, v in data.items()}
)
# Option 2: File Upload
# with open("song.mp3", "rb") as f:
# files = {"audio_file": f}
# response = requests.post(url, headers=headers, data=data, files=files)
print(response.json())
```
***
## Sample Response
### Success (200 OK)
```json theme={null}
{
"success":true,
"task_id": "fdcca59e-9788-43fc-9ee6-e9983064c432",
"conversion_id":"3b8dd3e8-104a-4a2f-86ba-3ed722f5190a",
"eta":16,
"credit_estimate":1.07,
"message":"",
"status":"IN_QUEUE"
}
```
***
## Webhook Response
```json theme={null}
{
"success": true,
"conversion_type": "Voice Conversion",
"task_id": "fdcca59e-9788-43fc-9ee6-e9983064c432",
"conversion_id": "67092f68-045d-4e3c-8006-532f144dd610",
"conversion_path": "https://cdn1.musicgpt.com/projects/standard/ffa2da3a-af79-4cbd-9cf6-ea178c9b2f90.mp3",
"conversion_cost": "0.78",
"conversion_duration": 272.44,
"title": "Voice Conversion",
"message": "Conversion Completed"
}
```
***
## Common Errors
* **402 Payment Required** (`INSUFFICIENT_CREDITS`): Your credit balance is insufficient.
* **422 Unprocessable Entity** (`UNPROCESSABLE_CONTENT`): No `audio_url` or `audio_file` provided.
* **500 Internal Server Error** (`INTERNAL_SERVER_ERROR`): Something went wrong on our end.
See [Handling Errors](/api-documentation/utilities/error) for the error response format and all error codes.
***
## Payload and Request Formation
# MUSIC AI
Source: https://docs.musicgpt.com/api-documentation/endpoint/MusicAI
POST /v1/MusicAI
Create music powered by AI using just a prompt, lyrics, or a defined music style.
# MUSIC AI V2
Source: https://docs.musicgpt.com/api-documentation/endpoint/Musicaiv2
POST /v2/MusicAI
Create music powered by AI using just a prompt, lyrics, or a defined music style.
# Text To Speech
Source: https://docs.musicgpt.com/api-documentation/endpoint/TextToSpeech
POST /v1/TextToSpeech
Synthesize speech from text with voice and gender customization, plus optional webhook callback.
Give priority to the sample audio first, then to the voice ID, and lastly to gender.
# Audio Cutter
Source: https://docs.musicgpt.com/api-documentation/endpoint/audio_cutter
POST /v1/audio_cutter
Trims an audio file using the specified start and end times.
# Audio Mastering
Source: https://docs.musicgpt.com/api-documentation/endpoint/audio_mastering
POST /v1/audio_mastering
Processes an input audio file to match the mastering characteristics of a reference track.
# Audio Speed Changer
Source: https://docs.musicgpt.com/api-documentation/endpoint/audio_speed_changer
POST /v1/audio_speed_changer
Processes an audio file to change its playback speed based on a speed factor.
# Audio To MIDI
Source: https://docs.musicgpt.com/api-documentation/endpoint/audio_to_midi
POST /v1/audio_to_midi
Processes an audio file and converts it into a MIDI file. Optionally generates a sonified .wav and/or a CSV of note events. This request is handled asynchronously.
# Audio Transcribe
Source: https://docs.musicgpt.com/api-documentation/endpoint/audiotranscribe
POST /v1/audio_transcribe
Processes an audio file to generate a transcription of the spoken content with support for language detection, translation, and multiple output formats.
# Cover
Source: https://docs.musicgpt.com/api-documentation/endpoint/cover
POST /v1/Cover
Convert an audio file or URL into a cover song using a different voice.
# DeEcho
Source: https://docs.musicgpt.com/api-documentation/endpoint/deecho
POST /v1/deecho
Initiate an echo removal task using either an audio URL or file upload with optional webhook callback.
# DeNoise
Source: https://docs.musicgpt.com/api-documentation/endpoint/denoise
POST /v1/denoise
Initiate a noise removal task using either an audio URL or file upload with optional webhook callback.
# DeReverb
Source: https://docs.musicgpt.com/api-documentation/endpoint/dereverb
POST /v1/dereverb
Initiate a reverberation removal task using either an audio URL or file upload with optional webhook callback.
# Extend
Source: https://docs.musicgpt.com/api-documentation/endpoint/extend
POST /v1/extend
This endpoint allows users to extend an existing audio file or stream by appending new audio content after a specific timestamp. The new audio is generated using a prompt (e.g., describing the desired sound) and optional lyrics.
# Extract Key BPM
Source: https://docs.musicgpt.com/api-documentation/endpoint/extract_key_bpm
POST /v1/extract_key_bpm
Processes an audio file to extract key changes, dominant key, and BPM (Beats Per Minute).
# Extraction
Source: https://docs.musicgpt.com/api-documentation/endpoint/extraction
POST /v2/Extraction
Process an audio file to extract specified stems (vocals, instrumental, or other components) with optional preprocessing. Supports file upload or URL with webhook callback. Send either `stems` or `stem_preset`. During November 2026 (UTC), `stem_preset` requests from paid plans are free, up to 20 stems per clock hour and 100 stems per day (`2_stems` uses 2, `6_stems` uses 6).
# File Conversion
Source: https://docs.musicgpt.com/api-documentation/endpoint/fileconvert
POST /v1/file_convert
Initiate a file conversion task using either an audio URL or file upload with optional format parameters and webhook callback.
# Get All Voices
Source: https://docs.musicgpt.com/api-documentation/endpoint/getAllVoices
GET /v1/getAllVoices
Fetch all available voices with their IDs.
# Get Conversion Details By ID
Source: https://docs.musicgpt.com/api-documentation/endpoint/getById
GET /v1/byId
Retrieve details of a conversion using `task_id` or `conversion_id`.
# Image to Song
Source: https://docs.musicgpt.com/api-documentation/endpoint/imagetosong
POST /v1/image_to_song
Generate a song from an image by analyzing it and creating music based on visual content. The process can optionally include custom lyrics, voice conversion, and various musical parameters.
# Inpaint
Source: https://docs.musicgpt.com/api-documentation/endpoint/inpaint
POST /v1/inpaint
This endpoint allows users to replace a specific time segment of an audio clip using a textual prompt and optional lyrics. The inpainting operation blends new audio content into the selected range, guided by user-defined style and voice preferences.
To use the inpaint feature, upload a song and specify the lyrics you want to replace in the field **'lyrics_section_to_replace'**. For best results, also provide the complete song lyrics in the **lyrics**.
# Lyrics Generator
Source: https://docs.musicgpt.com/api-documentation/endpoint/lyrics_generator
GET /v1/prompt_to_lyrics
This endpoint takes a natural language prompt (e.g., a theme, vibe, or idea) and generates original lyrics based on it. If the prompt has been used before, a variation may be returned. It also estimates the credit cost of generation.
# Remix
Source: https://docs.musicgpt.com/api-documentation/endpoint/remix
POST /v1/Remix
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.
# Get Voices by Name
Source: https://docs.musicgpt.com/api-documentation/endpoint/searchVoices
GET /v1/searchVoices
Search for voices to get their voice ID by their names using a query string.
# Sing Over Instrumental
Source: https://docs.musicgpt.com/api-documentation/endpoint/sing_over_instrumental
POST /v1/sing_over_instrumental
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.
# Sound Generator
Source: https://docs.musicgpt.com/api-documentation/endpoint/soundgenerator
POST /v1/sound_generator
Creates an audio file based on a textual prompt. The generation process is asynchronous and returns a task ID for tracking.
# Voice Changer
Source: https://docs.musicgpt.com/api-documentation/endpoint/voicetovoice
POST /v1/VoiceChanger
Convert the voice from an audio file or URL to a different voice.
# FAQs
Source: https://docs.musicgpt.com/api-documentation/index/FAQs
> [accordion] What are the prompt guidelines for AI Music Generation?
>
> To get the best results, follow these rules:
>
>
> - Keep prompts descriptive and simple
> - **Prompt limit:** 1000 characters
> - **Lyrics limit:** 5000 characters
>
>
> You can describe song sections like this:
>
>
> \[Intro β soft piano and light synths]
> \[Chorus β repeat with more intensity]
> \[Bridge β add soft strings or a subtle beat drop]
>
>
> **Note:** Do not include any artist names.
> [accordion] How do I cancel a subscription?
>
>
> - Go to the API Dashboard
> - Open Plans
> - Click on Free
>
>
> Your plan will be downgraded immediately.
> [accordion] How do I get a Voice ID?
>
> Use the following endpoints:
>
>
> - `GET /endpoint/searchVoices`
> - `GET /endpoint/getAllVoices`
>
>
> The response includes the required `voice_id`.
> [accordion] How does the credit system work?
>
> Plans do not include credits.However, the cost per API call is much lower in higher-tier plans.
>
> **Example (Music AI):**
>
>
> - Pro Plan: \$0.035 per song
> - Plus Plan: \$0.05 per song
> - Pay as You Go: \$0.10 per song
>
>
> If you are on the Pro plan, you first pay a \$69 base charge and top up credits. Credits are then deducted at \$0.035 per song, whereas on Pay as You Go, each song deducts \$0.10 per song.
> [accordion] Which Endpoints send WAV Files?
>
> WAV files are currently sent only for the following endpoints: - Music AI
- Remix
- Extend
- Inpaint
- Sing Over Instrumental
> [accordion] How can I contact support?
>
> If you need help, please email us at **[api@musicgpt.com](mailto:api@musicgpt.com)** with a detailed description of your issue.
> If applicable, include relevant information such as your `task_id`, API request, or any error messages to help us investigate more quickly.
>
> **Before you send anything, redact your credentials.** Remove the
> `Authorization` header, API Keys, and any other sensitive data from requests,
> responses, and logs. Support never needs your API Key to investigate an issue.
>
> Our team typically responds within **24 hours**, and often much sooner. We're committed to providing fast, reliable, and high-quality support to help you get back on track.
# Authentication
Source: https://docs.musicgpt.com/api-documentation/index/authentication
## Base URL
API requests should be sent to:
```
https://api.musicgpt.com/api/public
```
## Authentication
All endpoints require an **API Key**.
Include it in the `Authorization` header like this:
```bash theme={null}
Authorization: YOUR_API_KEY
```
π [**Get your API Key here**](https://musicgpt.com/api)
# Changelog
Source: https://docs.musicgpt.com/api-documentation/index/changelog
**November 2026**
Stem presets, free stem separation
**Update (November 3):** we updated our stems promo: the hourly limit changed from **10 requests to 20 stems** per hour, and the daily limit is now **100 stems**. `2_stems` uses 2 stems and `6_stems` uses 6. \\
**New `stem_preset` field on [Extraction](/api-documentation/conversions/extraction).** Send `stem_preset=2_stems` (vocals, instrumental) or `stem_preset=6_stems` (vocals, instrumental, piano, bass, drums, guitar) instead of a `stems` list. Sending both `stem_preset` and a non-empty `stems` list returns `422`. \\
**Stem presets are free for the whole month of November** on paid plans, up to **10 requests/hour and 100 requests/day** (UTC). Requests that list `stems`, Free plan requests, and requests past the limits are charged as usual. \\
Extraction responses now include `is_free_promo`, `free_generations_remaining_hour`, `free_generations_remaining_day`, and `free_quota_resets_at`. These fields are additive, so existing integrations keep working. See the [free stem presets guide](/api-documentation/conversions/extraction-free-stems-guide). \\
The **Sound Generator** free period ended on October 31. Sound Generator keeps its lower pricing, from **\$0.012/generation** on the Pro plan.
**September 2026**
Sound Generator Pro
**Sound Generator** will be **free for the month of October**, with up to **500 generations/day, 21/hour**. It costs **more than 3x less**: from **\$0.012/generation** on the Pro plan (was \$0.037). See the [Pricing Page](/api-documentation/index/pricing). \\
**Remix, Extend, Inpaint, and Sing Over Instrumental** support audio lengths of up to **4 minutes**, while **all other features** support audio lengths of up to **8 minutes**. \\
Every conversion webhook now includes a `title` field.
**August 2026**
Pricing, Rate Limits
Updated **pricing structure** and **rate limits**. **Pay-As-You-Go** introduced. Visit [Pricing Page](/api-documentation/index/pricing).\\
**v2/MusicAI/stream** and **v2/MusicAI/batch** are deprecated.\\
Added [Prompt Guideline](/api-documentation/utilities/prompt_guideline). \\
Updated **prompt character limit to 1000** and **lyrics character limit to 5000 for Music AI and Remix.**
**June 2026**
Models, Pricing, Streaming
**Model Selection** added to Audio Generation - choose from `v6`, `v6-pro`, `v7`, or `v7-pro` with the `model` parameter. See [Music AI V2](/api-documentation/conversions/musicaiv2).\\
**Streaming** is now available for **all paid users** on `v6-pro` and `v7-pro`.\\
Deprecated **Music AI V1**, please migrate to [Music AI V2](/api-documentation/conversions/musicaiv2).\\
Starting **August 1**, monthly plan pricing will be updated.
**May 2026**
Extraction, Cover image, Streaming
**Extraction** endpoint updated. Added `eco_mode` to support faster parallel extraction.\\
Added **title** field to the Audio Generations feature.\\
Cover images are now **optional** in Audio Generation, enable it to receive a cover image along with the audio.\\
Added a **Streaming URL** webhook. Music AI V2 now provides 7 webhooks.
**March 2026**
Image to Song, Single song, WAV file
Retention time: **MP3 files are stored for 90 days**, while **WAV files are stored for 7 days**.\\
**WAV files** will be sent in webhooks starting March 24, 2026. \\
Parameter to control the **number of song** outputs in Inpaint and Extend. \\
**Pricing** for Inpaint, Extend and Custom Voice Music Generator updated.\\
**Image to Song** feature introduced. \\
**January 2026**
Lyrics, Song Length Control & Streaming Features, SDK, Accuracy, Quality,WAV file
**Lyrics\_section\_to\_replace** added on extend and inpaint where people can specify lyrics they want to add or replace.\\
**Song length control** feature added in Music AI.\\
**Streaming available** for enterprise users. Go to Music AI v2.\\
**Single-Song generation** is now available for enterprise users. Go to Music AI Single Song.\\
**SDK and Tools** included in documentation.\\
Remix, Inpaint, Extend, and Sing Over Instrumental upgraded for **higher accuracy**.\\
Improved MusicAI output **quality**.\\
**Cover image** is now sent with Remix, Inpaint, Extend, and Sing Over Instrumental.\\
**No WAV** file will be sent in webhooks starting **February 9**.
# Create an API Account
Source: https://docs.musicgpt.com/api-documentation/index/createapiaccount
Before you can make your first request, you need a Musicgpt API Account.
1. Head to [musicgpt.com/api](https://musicgpt.com/api) and click on **Get started** or select one of the available API Packages:
2. Enter your payment information.
3. π Congratulations! You now have a Musicgpt API Account and are ready to start making requests.
4. Checkout [API Dashboard](https://musicgpt.com/api-dashboard) - get your API Keys and start generating.
# Introduction
Source: https://docs.musicgpt.com/api-documentation/index/introduction
MusicGPT Public API let's you turn any idea into production-ready audio with the world's most advanced AI models, through one simple API.
Live now
No Cost November
Split everything, pay nothingStem presets are free all November on the MusicGPT API. Pull vocals, drums, bass, and more out of any track, on us.
Vocals
Instrumental
Drums
Bass
Piano
Guitar
Free for the whole month of NovemberSend `stem_preset` with `2_stems` or `6_stems` on any paid plan, and up to 100 stems a day are on us.
\$0all of November20free / hour100free / day6stems per request
Paid plans only. Ends November 30, 23:59 UTC.
[Start splitting for free β](/api-documentation/conversions/extraction-free-stems-guide)
Pro model
**Sound Generator Pro is now 3x cheaper.** Studio-grade sound FX, loops, and samples for less.
[Try it β](/api-documentation/conversions/soundgenerator)
## MusicGPT Public API Documentation
Welcome to **MusicGPT**! Your **all-in-one AI-powered** music and audio platform. Our API lets you generate, remix, enhance, convert, and manipulate audio effortlessly, turning creative ideas into production-ready music.
We offer:
[Music AI](/api-documentation/conversions/musicaiv2)
[Remix](/api-documentation/conversions/remix)
[Text to Speech](/api-documentation/conversions/texttospeech)
[Extend](/api-documentation/conversions/extend)
[Sound Generator](/api-documentation/conversions/soundgenerator)
[+20 features](/api-documentation)
Whether you're building AI music applications, creating content at scale, or developing professional audio workflows, Music AI V2 delivers enterprise-grade music generation and advanced audio capabilities through a simple API. Generate songs, transform voices, edit audio, extract stems, and more with ease.
***
## One endpoint, four models ποΈ
**Music AI V2** introduces **model-based versioning**: every generation request can name the model it runs on, so you choose the exact balance of speed, quality, and cost and upgrade on your own schedule as new models ship.
> [card] [v6](/api-documentation/conversions/musicaiv2)
>
> Studio-quality tracks in seconds, reliable, fast, and the most economical choice for everyday creation.
> [card] [v6-pro](/api-documentation/conversions/musicaiv2)
>
> Everything in v6, plus real-time streaming so listeners hear the track as it's composed.
> [card] [v7](/api-documentation/conversions/musicaiv2)
>
> Our best-sounding model yet, richer detail, more texture, state-of-the-art quality.
> [card] [v7-pro](/api-documentation/conversions/musicaiv2)
>
> The full power of v7 with real-time streaming and advanced creative controls. Our flagship.
Pick a model by passing the `model` parameter on [Music AI v2](/api-documentation/conversions/musicaiv2):
```json theme={null}
{
"prompt": "a song about greenery, nature and forest",
"model": "v7-pro"
}
```
> [!TIP]
>
> New here? Reach for **v7-pro** for the best quality, or drop to **v6** for the fastest, most economical generations. Streaming is available on the `pro` models for all paid users.
***
## Features Highlights
MusicGPT is a comprehensive AI audio platform offering a wide range of features including:
* **Music Generation** (Music AI): Turn text prompts into full-length songs.
* **Remixing and Editing Tools**: Cut, master, change pitch/speed, remix, inpaint and more.
* **Text-to-Speech (TTS)**: Convert text to expressive voice using custom voice profiles.
* **Voice Changing**: Convert any voice into a new one, ideal for character work, privacy, or creativity.
* **Cover Song Generation**: Recreate any song with a new voice or style.
* **Vocal, Instrumental and Stems Extraction**: Isolate or remove vocals, instruments, or stems.
* **Audio Cleaning**: De-noise, de-echo, and de-reverb your recordings.
* **Key/BPM Detection**: Instantly extract musical key and tempo.
* **Transcription**: Get accurate text from speech.
* **File Format Conversion**: Seamlessly convert between audio formats.
***
## Why Developers Love MusicGPT
* **Model selection** - pick the exact speed/quality/cost trade-off per request
* **Powerful & easy-to-use API**
* **Webhook support for async jobs**
* **Flexible pricing with free tier and yearly rate lock**
* **Fast processing & global CDN delivery**
* **Real-time status monitoring**
* **Secure & scalable infrastructure**
***
## Real-World Use Cases
* Content creators auto-dubbing podcasts or YouTube videos
* Music producers generating and remixing audio at scale
* Developers building music-based apps or smart audio tools
* Researchers experimenting with generative audio AI
***
## Helpful Links π
* [API Dashboard](https://musicgpt.com/api-dashboard)
* [MusicGPT](https://musicgpt.com)
* [Music AI v2](/api-documentation/conversions/musicaiv2)
* [Pricing & yearly plans](/api-documentation/index/pricing)
***
Now let's dive into how you can get started in minutes π
# Keys to the Castle
Source: https://docs.musicgpt.com/api-documentation/index/keystocastle
To make requests to the Musicgpt API, you need to create an API Key π
Head to your [API Dashboard](https://musicgpt.com/api-dashboard) and click on API Keys.
If you don't have a key, click on Create key, give it a name, and click Create API Key.
Click on the Eye Symbol π next to your key to reveal it.
π Congratulations! Youβve gained access.
# Pricing Plans
Source: https://docs.musicgpt.com/api-documentation/index/pricing
Flexible plans that lower your per-request rates, now with yearly billing that locks in current pricing.
Discover our flexible pricing options designed to scale with your creativity. Start free and upgrade anytime for more features, faster processing, and priority support. All paid plans include **commercial use**, **high-speed processing**, **studio-quality audio**, and **dedicated support**.
> [!NOTE]
>
> **Plans don't give you credits**, they lower the cost of each API call. You are still billed per request based on your plan's rate.
> **Pay as You Go** is the exception: instead of lowering a rate, you add credits up front and each request draws them down.
Get upto 10 free song generations
1. Activate your API account.
2. Get your API key.
3. Start creating for free.
[Open](https://musicgpt.com/api-dashboard)
## Plans
Yearly
Monthly
Pay as you go
Add credits and pay as you go, only for what you generate.
[Open](https://musicgpt.com/api-dashboard)
[API Plus](https://musicgpt.com/api-dashboard)
Most popular
API Pro
[Open](https://musicgpt.com/api-dashboard)
Enterprise
Contact Us
Volume pricing, custom limits, and dedicated support for teams at scale.
[Open](mailto:api@musicgpt.com)
> [!TIP]
>
> The pricing structure for the **AI Music Generator** has been updated effective **August 1**.
| Feature | Model | Pro Plan | Plus Plan | Pay as You Go |
| - | :-: | -: | -: | -: |
| [AI Music Generator](/api-documentation/conversions/musicaiv2) Generate AI music from prompt | `v7-pro` | \$0.06 /song | Not available | Not available |
| | `v7` | \$0.05 /song | Not available | Not available |
| | `v6-pro` | \$0.045 /song | \$0.06 /song | Not available |
| | `v6` | \$0.035 /song | \$0.05 /song | \$0.10 /song |
| [Custom Voice Music Generator](/api-documentation/conversions/musicaiv2) Generate AI song with voice you like | `v6` | \$0.052 /song | \$0.075 /song | \$0.15 /song |
| [Remix](/api-documentation/conversions/remix) Remix audio into a new music style | `v6` | \$0.05 /song | \$0.07 /song | \$0.14 /song |
| [Inpaint](/api-documentation/conversions/inpaint) Replace Audio Section | `v6` | \$0.06 /song | \$0.10 /song | \$0.20 /song |
| [Extend](/api-documentation/conversions/extend) Extend the input audio | `v6` | \$0.06 /song | \$0.10 /song | \$0.20 /song |
| [Sing Over Instrumental](/api-documentation/conversions/sing_over_instrumental) Blend Lyrics with Instrumental | `v6` | \$0.05 /song | \$0.07 /song | \$0.14 /song |
> [!NOTE]
>
> AI Music, Custom Voice Music, Remix, Inpaint, Extend, and Sing Over Instrumental generate 2 output versions by default. All features use 60-second increments (except Text-to-Speech, which uses 100 words).
## Voice & Audio Features
| Feature | Pro Plan | Plus Plan | Pay as You Go |
| - | - | - | -: |
| [Text to Speech](/api-documentation/conversions/texttospeech) Convert text into speech | \$0.026/100 words | \$0.035/100 words | \$0.07/100 words |
| [Sound Generator](/api-documentation/conversions/soundgenerator) Generate sounds from prompt | \$0.012 /generation | \$0.014 /generation | \$0.028 /generation |
| [Lyrics Generator](/api-documentation/conversions/lyrics_generator) Generate Lyrics from prompt | \$0.005 /generation | \$0.005 /generation | \$0.01 /generation |
| [Voice Changer](/api-documentation/conversions/voicechanger) Transform voice in audio | \$0.016 + \$0.0022/min | \$0.022 + \$0.003/min | \$0.044 + \$0.006/min |
| [Cover Song](/api-documentation/conversions/cover) Create AI-generated cover songs | \$0.0235 + \$0.0037/min | \$0.0315 + \$0.005/min | \$0.063 + \$0.01/min |
## Stem Splitter Features Pricing
> [!TIP]
>
> **Free in November 2026:** [Extraction](/api-documentation/conversions/extraction) requests that use `stem_preset` (`2_stems` or `6_stems`) are free on paid plans, up to **20 stems per hour** and **100 stems per day** (UTC); `2_stems` uses 2 and `6_stems` uses 6. Other requests, and requests past the limits, use the rates below. A preset is priced like its stems list. See the [free stem presets guide](/api-documentation/conversions/extraction-free-stems-guide).
| Feature | Pro Plan | Plus Plan | Pay as You Go |
| - | - | - | -: |
| [Vocal Extraction](/api-documentation/conversions/extraction) Isolate vocals from track | \$0.0115 + \$0.0022/min | \$0.0155 + \$0.003/min | \$0.031 + \$0.006/min |
| [Gender-Based Vocal Extraction](/api-documentation/conversions/extraction) Split male and female vocals | \$0.0186 + \$0.003/min | \$0.0248 + \$0.0045/min | \$0.0496 + \$0.009/min |
| [Lead/Back Vocals Separation](/api-documentation/conversions/extraction) Split lead and backing vocals | \$0.0242 + \$0.0037/min | \$0.0322 + \$0.005/min | \$0.0644 + \$0.01/min |
| [Instrumental Extraction](/api-documentation/conversions/extraction) Extract instrumental parts | \$0.0576 + \$0.0089/min | \$0.0768 + \$0.012/min | \$0.1536 + \$0.024/min |
| [Guitar Type Stems](/api-documentation/conversions/extraction) Split acoustic/electric guitars | \$0.0576 + \$0.1289/min | \$0.0768 + \$0.1319/min | \$0.1536 + \$0.2638/min |
| [Guitar Part Stems](/api-documentation/conversions/extraction) Separate rhythm & solo guitar | \$0.0576 + \$0.1289/min | \$0.0768 + \$0.1319/min | \$0.1536 + \$0.2638/min |
| [Strings Stems](/api-documentation/conversions/extraction) Separate string instruments | \$0.0576 + \$0.0989/min | \$0.0768 + \$0.1019/min | \$0.1536 + \$0.2038/min |
| [Keys Extraction](/api-documentation/conversions/extraction) Extract piano & keys | \$0.067 + \$0.0104/min | \$0.089 + \$0.0134/min | \$0.178 + \$0.0268/min |
| [Winds Splitter](/api-documentation/conversions/extraction) Split wind instruments | \$0.0727 + \$0.0119/min | \$0.097 + \$0.0149/min | \$0.194 + \$0.0298/min |
| [Band Parts Splitter](/api-documentation/conversions/extraction) Extract drums, bass, piano, guitar | \$0.1078 + \$0.0179/min | \$0.1438 + \$0.0238/min | \$0.2876 + \$0.0476/min |
| [Premium Bass/Drums Split](/api-documentation/conversions/extraction) High-accuracy drums/bass isolation | \$0.2455 + \$0.0372/min | \$0.3273 + \$0.0521/min | \$0.6546 + \$0.1042/min |
| [Drum Stems Separation](/api-documentation/conversions/extraction) Separate Drum Stems | \$0.1078 + \$0.0179/min | \$0.1438 + \$0.0238/min | \$0.2876 + \$0.0476/min |
> **Example** : For Vocal Extraction Pro plan, a 3-minute song costs 0.0115+(0.0022Γ3).
## Audio Enhancement Features Pricing
| Feature | Pro Plan | Plus Plan | Pay as You Go |
| - | - | - | -: |
| [Voice Cleaner](/api-documentation/conversions/denoise) Remove background noise | \$0.0223 + \$0.0037/min | \$0.0298 + \$0.0045/min | \$0.0596 + \$0.009/min |
| [DeEcho](/api-documentation/conversions/deecho) Remove echo | \$0.0171 + \$0.003/min | \$0.0228 + \$0.0037/min | \$0.0456 + \$0.0074/min |
| [DeReverb](/api-documentation/conversions/dereverb) Remove reverb | \$0.0145 + \$0.0022/min | \$0.0193 + \$0.003/min | \$0.0386 + \$0.006/min |
| [Audio Cutter](/api-documentation/conversions/audiocutter) Trim specific parts of audio | \$0.003 + \$0.003/min | \$0.004 + \$0.004/min | \$0.008 + \$0.008/min |
| [Speed Changer](/api-documentation/conversions/audiospeedchanger) Adjust audio speed | \$0.003 + \$0.003/min | \$0.004 + \$0.004/min | \$0.008 + \$0.008/min |
| [Audio Mastering](/api-documentation/conversions/audiomastering) Master audio based on reference track | \$0.003 + \$0.003/min | \$0.004 + \$0.004/min | \$0.008 + \$0.008/min |
| [File Converter](/api-documentation/conversions/fileconvert) Convert audio formats | \$0.002 + \$0.0008/min | \$0.003 + \$0.0011/min | \$0.006 + \$0.0022/min |
## Audio Analysis Features Pricing
| Feature | Pro Plan | Plus Plan | Pay as You Go |
| - | - | - | -: |
| [Key & BPM Detector](/api-documentation/conversions/extractkeybpm) Detect BPM and musical key | \$0.00186 + \$0.0002/min | \$0.00248 + \$0.0003/min | \$0.00496 + \$0.0006/min |
| [Audio Transcription](/api-documentation/conversions/audiotranscription) Convert speech to text & translate | \$0.0223 + \$0.0037/min | \$0.0298 + \$0.0045/min | \$0.0596 + \$0.009/min |
| [Audio to MIDI](/api-documentation/conversions/audiotomidi) Generate MIDI from audio | \$0.005 + \$0.0037/min | \$0.007 + \$0.005/min | \$0.014 + \$0.01/min |
### Pricing Summary
* **Base Cost**: One-time charge per request
* **+/min**: Additional cost per minute (60s increments)
* **Text-to-Speech**: Only feature using word count (per 100 words)
* **Multiple Outputs**: AI Music, Custom Voice Music & Remix deliver 2 versions and its cost is based on per each song.
> For custom plans, contact us at [api@musicgpt.com](mailto:api@musicgpt.com).
### API Usage Limits
Visit the [Rate Limits](/api-documentation/utilities/ratelimits) page to learn about API usage limits.
***
# SDK and Tools
Source: https://docs.musicgpt.com/api-documentation/index/sdk
We provide tools like our SDK and n8n integration to make using the API easier for developers.
| Tools | Access |
| - | - |
| Zapier | [Zapier](https://zapier.com/apps/musicgpt/integrations) |
| Packages | Access |
| - | - |
| Javascript(Node) | [npm](https://www.npmjs.com/package/musicgpt) |
| Pypi | [pip](https://pypi.org/project/musicgpt/) |
# Status Check
Source: https://docs.musicgpt.com/api-documentation/index/statuscheck
After performing a conversion via one of our API endpoints, you may want to check the progress or retrieve the final result. You can do this easily by calling our [**Get Conversion by ID**](/api-documentation/endpoint/getById) endpoint.
***
### Example Request
Use the following code to check the status of any conversion using its `task_id`:
```python theme={null}
import requests
url = "https://api.musicgpt.com/api/public/v1/byId"
querystring = {
"conversionType": "MUSIC_AI",
"task_id": "12345678-abcd-1234-efgh-567890abcdef"
}
headers = {
"Authorization": ""
}
response = requests.request("GET", url, headers=headers, params=querystring)
print(response.text)
```
> Select one among the following values for conversionType: \
> \
>
> MUSIC\_AI, TEXT\_TO\_SPEECH, VOICE\_CONVERSION, \
>
> COVER, EXTRACTION, DENOISING, DEECHO, DEREVERB, \
>
> SOUND\_GENERATOR, AUDIO\_TRANSCRIPTION, AUDIO\_SPEED\_CHANGER, \
>
> AUDIO\_MASTERING, AUDIO\_CUTTER, REMIX, FILE\_CONVERT, \
>
> KEY\_BPM\_EXTRACTION, AUDIO\_TO\_MIDI, EXTEND, INPAINT, \
>
> SING\_OVER\_INSTRUMENTAL, LYRICS\_GENERATOR, STEMS\_SEPARATION, VOCAL\_EXTRACTION
***
### Example Response
```json theme={null}
{
"success": true,
"conversion": {
"task_id": "12345678-abcd-1234-efgh-567890abcdef",
"conversion_id": "87654321-dcba-4321-hgfe-098765fedcba",
"status": "COMPLETED",
"status_msg": "Conversion successful",
"audio_url": "",
"conversion_cost": 1.25,
"title": "Generated Song",
"lyrics": "[Verse 1]...",
"music_style": "Pop",
"createdAt": "2025-01-01T12:00:00Z",
"updatedAt": "2025-01-01T12:05:00Z"
}
}
```
Youβll receive details including:
* `status`: Whether the conversion is **IN\_QUEUE**, **ERROR**, **COMPLETED**, or **FAILED**.
* `status_msg`: A message describing the state.
* `audio_url`: A direct link to your generated audio file if the status is completed.
* Additional metadata such as title, lyrics, style, timestamps, and cost.
***
### Where to Start
1. First, perform a conversion via the [Conversion Endpoints](/api-documentation/conversions/musicai).
2. Save the `task_id` you receive in the response.
3. Use the **Get By ID** endpoint to check the progress.
***
### Still Unsure?
No worries β head over to the [**Get Conversion by ID**](/api-documentation/endpoint/getById) endpoint and try it for yourself with your own `task_id`. It's the easiest way to confirm conversion status and get direct download access to your audio output!
# Webhook Integration
Source: https://docs.musicgpt.com/api-documentation/index/webhook
When working with asynchronous processes like music generation, voice cloning, or instrumental extraction, waiting for a task to complete can slow down your workflow. Thatβs where **webhooks** come in handy.
Webhooks allow Musicgpt to notify your application the moment a task is completed. Youβll get all the necessary data including the audio URL without needing to constantly poll our API.
***
### How It Works
1. **Set the `webhook_url`** when submitting your conversion request.
2. Musicgpt will **send a POST request** to that URL when the task is completed.
3. Your server can then parse the response and proceed with post-processing or user notifications.
***
### Sample Payload
Here's what a typical webhook payload looks like:
```json theme={null}
{
"task_id": "12345678-abcd-1234-efgh-567890abcdef",
"status": "COMPLETED",
"status_msg": "Conversion successful",
"conversion_type": "MUSIC_AI",
"audio_url": "https://cdn1.musicgpt.com/conversions/api/standard/8725079f-bf68-5098-a6c8-6dcba44dcaa2/8725079f-bf68-5098-a6c8-6dcba44dcaa2.mp3",
"title": "Generated Song",
"conversion_cost": 1.25,
"createdAt": "2025-01-01T12:00:00Z",
"updatedAt": "2025-01-01T12:05:00Z"
}
```
> π Set the `webhook_url` to an endpoint on your server β this is where Musicgpt will notify you once the generation is done.
***
### Preliminary Response
When you initiate a conversion request, Musicgpt will immediately respond with a **preliminary response** that includes:
* `success`: whether the task was successfully initiated
* `task_id`: a unique ID you can use to track the conversion
Example:
```json theme={null}
{
"success": true,
"task_id": "12345678-abcd-1234-efgh-567890abcdef"
}
```
This response confirms that the request was accepted. However, the **final result** (like the downloadable file) will be sent **later** to your webhook URL.
***
### Canβt Use a Webhook?
No problem β if youβre running code on a client device or you donβt have a public server, you can always check the conversion status manually using our helper endpoint:
π [**Get Conversion by ID**](/api-documentation/endpoint/getById)
***
### Why Use Webhooks?
* No need for polling or delays
* Works in the background
* Instantly delivers results
* Ideal for automations and server workflows
Set it once, and let Musicgpt notify you when the magic happens. πΆ
# The First Time
Source: https://docs.musicgpt.com/api-documentation/index/yourfirstrequest
Welcome to your **first experience** with the Musicgpt API, where creativity meets technology. Browse the wide range of features available for you through our API.
***
## Integrate in 5 minutes with 5 steps:
"A single API offering 20+ powerful features"
1. [Activate](https://musicgpt.com/api-dashboard) your API Key.
2. Go to [Documentation](https://docs.musicgpt.com/api-documentation/index/introduction).
3. Inside features, you can click Try-it button to open a live [playground](https://docs.musicgpt.com/api-documentation/conversions/musicaiv2?playground=open).
4. You can also use the multi-language code samples provided for each feature to run it locally.
5. To get result: Set the [**webhook\_url**](https://docs.musicgpt.com/api-documentation/index/webhook) to an endpoint on your server or retrieve the result through our helper endpoint [**get conversion by id**](https://docs.musicgpt.com/api-documentation/endpoint/getById) instead.
## Available Features
### Music Generation Features π΅
* **AI Music Generator**: Create original music from text prompts
* **Custom Voice Music Generator**: Generate songs with AI vocals in different voice styles
* **Cover Song**: Create AI-powered covers of existing songs
* **Remix**: Transform tracks into new musical styles using AI
### Voice & Speech Features
* **Text to Speech**: Convert text to natural-sounding speech
* **Voice Changer**: Modify voices in existing audio to different characteristics
### Sound Design
* **Sound Generator**: Create sound effects and audio elements from text prompts
### Extraction & Stem Separation
#### Vocal Processing
* **Vocal Extraction**: Isolate vocals from music tracks
* **Gender-Based Vocal Extraction**: Separate male and female vocals
* **Lead/Back Vocals Separation**: Split main vocals from backing harmonies
#### Instrument Separation
* **Instrumental Extraction**: Remove vocals to create instrumental versions
* **Guitar Type Stems**: Separate acoustic and electric guitars
* **Guitar Part Stems**: Isolate rhythm vs lead guitar parts
* **Strings Stems**: Extract string instrument sections
* **Keys Extraction**: Isolate piano and keyboard parts
* **Winds Splitter**: Separate wind instruments
#### Advanced Band Separation
* **Band Parts Splitter**: Extract drums, bass, piano, and guitar stems
* **Premium Bass/Drums Split**: High-accuracy rhythm section isolation
* **Drum Stems Separation**: Separate individual drum components
### Audio Enhancement Features
* **Voice Cleaner (Denoise)**: Remove background noise from audio
* **DeEcho**: Eliminate echo effects
* **DeReverb**: Reduce unwanted reverb
* **Audio Cutter**: Trim and edit audio clips
* **Speed Changer**: Adjust playback speed
* **Audio Mastering**: Enhance overall sound quality
* **File Converter**: Convert between audio formats
### Audio Analysis Features
* **Key & BPM Detector**: Identify musical key and tempo
* **Audio Transcription**: Convert speech to text with translation
* **Audio to MIDI**: Transform audio into MIDI sequences
***
## Your First AI Song
Letβs generate a **country song about our love for AI-generated music**
Weβll use the `MUSIC_AI` feature with the following endpoint:
```http theme={null}
POST https://api.musicgpt.com/api/public/v1/MusicAI
```
***
## Example Request
```bash theme={null}
curl -X 'POST' \
'https://api.musicgpt.com/api/public/v1/MusicAI' \
-H 'accept: application/json' \
-H 'Authorization: ' \
-H 'Content-Type: application/json' \
-d '{
"prompt": "Song about my love to AI Music in Country Style",
"webhook_url": "https://webhook.yourwebsite.com"
}'
```
> Replace `` with your actual API Key from your Musicgpt dashboard.
## Webhook Integration
To get notified when the music generation is complete, we recommend setting up a webhook. This allows you to receive the URL of the generated song directly.
> π Set the `webhook_url` to an endpoint on your server β this is where Musicgpt will notify you once the generation is done.
> Webhook receivers must use HTTPS; `http://` URLs are not accepted.
> **Tip:** If you canβt use a webhook (e.g., code running on a user device), you can retrive the result through our helper endpoint [get conversion by id](/api-documentation/endpoint/getById) instead.
***
## Example Webhook Response
```json theme={null}
{
"success": true,
"task_id": "string",
"conversion_id": "string",
"audio_url": "https://...",
"conversion_cost": 1.0,
"title": "string",
"lyrics": "string",
"prompt": "string",
"music_style": "string"
}
```
`audio_url` is a CDN URL that is valid for 1 day. Download the file within that
window, or fetch a fresh URL from [get conversion by id](/api-documentation/endpoint/getById).
***
## π Mission Accomplished!
You just generated your **first AI song** using the Musicgpt API. Now go make something amazing β¨
Need more help? Check out other endpoints and guides in the [documentation](/api-documentation/index/introduction)!
# Sample Helper Request
Source: https://docs.musicgpt.com/api-documentation/sample-get-request
GET /v1/byId
Retrieve details of a conversion using `task_id` or `conversion_id`.
# Sample Conversion Request
Source: https://docs.musicgpt.com/api-documentation/sample-post-request
POST /v2/MusicAI
Create music powered by AI using just a prompt, lyrics, or a defined music style.
# Handling Errors
Source: https://docs.musicgpt.com/api-documentation/utilities/error
When interacting with our API, it's important to understand the different error codes that can occur during a request. These error codes help indicate what went wrong and can guide you in troubleshooting the issue.
Below is a list of common error codes returned by the API, along with their descriptions and possible solutions.
***
## β Common Error Codes
| **Code** | **ERROR\_CODE** | **Description** |
| - | - | - |
| **400** | BAD\_REQUEST | The request is malformed or contains invalid parameters. Check that all required parameters are included and correctly formatted. |
| **401** | UNAUTHORIZED\_ACCESS | The request does not include valid authorization. Check that your API key or credentials are correct and properly configured. |
| **402** | INSUFFICIENT\_CREDITS | Your account has insufficient credits to process the request. Add credits or check your account balance. |
| **403** | FORBIDDEN | Your plan or account entitlements do not permit the requested operation. Check your plan and feature access. |
| **404** | RESOURCE\_NOT\_FOUND | The requested resource does not exist. Verify the endpoint, resource ID, and parameters. |
| **409** | CONFLICT | The request conflicts with the current state of the resource, such as attempting to create a duplicate. Review the request and resource state. |
| **422** | UNPROCESSABLE\_CONTENT | The request is understood, but the content cannot be processed or fails validation. Review the provided data for errors. |
| **424** | FAILED\_DEPENDENCY | A required dependency failed while processing the request. Try again later or contact support if the issue persists. |
| **429** | TOO\_MANY\_REQUESTS | You have exceeded the allowed request rate. Wait before retrying or reduce your request frequency. |
| **500** | INTERNAL\_SERVER\_ERROR | An unexpected internal server error occurred. Try again later or contact support if the problem persists. |
| **503** | SERVICE\_UNAVAILABLE | The service is temporarily unavailable. Try again later. |
***
## Error Response Format
Error responses share the same JSON body. Use `error_code` to branch on the error type in your code, and `message` for details.
```json theme={null}
{
"success": false,
"error_code": "INSUFFICIENT_CREDITS",
"message": "Insufficient credits to process this request."
}
```
***
## Error Handling Tips
* **Check the Response Body**: The `error_code` and `message` fields tell you what went wrong and help you pinpoint the issue.
* **Rate Limits**: If you encounter a **429** error, avoid sending requests too frequently. Implement exponential backoff to retry requests after waiting for the rate limit to reset.
* **Authentication**: A **401** error means your API key is missing or invalid. A **403** error means your plan does not include the requested feature. Check your key and plan.
* **Testing**: Always test your API calls in a controlled environment to ensure that the request format and parameters are correct.
> π **Tip:** Always handle errors gracefully in your application. Proper error handling ensures that users have a better experience, even when things go wrong!
***
## How to Handle Errors in Your Code
It's good practice to incorporate error-handling logic in your API requests. Here's an example in Python for handling different types of errors:
### Python Example:
```python theme={null}
import requests
url = "https://api.musicgpt.com/api/public/v2/MusicAI"
payload = {
"prompt": "",
"lyrics": "",
"model": "v7",
"webhook_url": "https://example.com/my-webhook"
}
headers = {
"Authorization": "",
"Content-Type": "application/json"
}
response = requests.post(
url,
json=payload,
headers=headers)
if response.status_code == 200:
print("Request successful:", response.json())
else:
try:
error = response.json()
error_code = error.get("error_code")
message = error.get("message")
except ValueError:
error_code, message = None, response.text
if error_code == "INSUFFICIENT_CREDITS":
print("Add credits to your account:", message)
elif error_code == "UNPROCESSABLE_CONTENT":
print("Check your request parameters:", message)
elif error_code == "TOO_MANY_REQUESTS":
print("Rate limit exceeded, retry later:", message)
else:
print(f"{response.status_code} {error_code}:", message)
```
# Final Notes
Source: https://docs.musicgpt.com/api-documentation/utilities/finalnotes
Before you begin using the API, here are some essential reminders and best practices to ensure a smooth and efficient experience.
***
## β
Key Reminders
### 1. **Ensure Valid Request Parameters**
It's important to double-check that all the parameters you're passing in the API requests are valid. Invalid parameters can lead to errors or unexpected behavior. Always refer to the documentation for the correct formats and required fields.
### 2. **Handle All Responses and Errors Appropriately**
The API may return different types of responses, including success and error messages. It's essential to handle both correctly:
* **Success Responses**: Make sure to process the data as needed, whether itβs metadata or a direct link to the generated audio file.
* **Error Responses**: Always account for error codes (like `400` for bad requests or `429` for rate limits exceeded). Implement proper error handling mechanisms to retry or notify users in case of failures.
### 3. **Use Webhook URLs for Asynchronous Responses**
Many API endpoints, especially those related to audio generation or large files, are asynchronous. This means you wonβt receive the final output immediately. In such cases, use **webhook URLs** to receive a callback when the process is complete. This helps automate the process and improves efficiency.
***
## π§ Best Practices
* **Monitor API Usage**: Keep an eye on your usage, especially if you have an application that makes frequent requests. Monitor how many requests you are making in real-time to avoid hitting the rate limits.
* **Optimize Request Handling**: If you have multiple tasks, batch them together to make fewer API calls. For instance, if you're retrieving conversion statuses for multiple requests, try to use the batch processing feature if available.
* **Gracefully Handle Errors**: Implement retry logic, exponential backoff strategies, and user notifications in case of failures. This will make your application more robust.
***
## π¬ Feedback and Support
If you run into any issues or have specific questions, don't hesitate to reach out to the API support team at: [api@musicgpt.com](mailto:api@musicgpt.com). Providing detailed logs of any errors you're facing will help resolve issues faster.
> π¨ **Reminder**: Always test with small requests first and gradually scale up to avoid running into rate limits or unexpected behavior.
***
Thank you for using the API! We hope it helps you create amazing music and audio experiences.
# Prompt Guidelines
Source: https://docs.musicgpt.com/api-documentation/utilities/prompt_guideline
Learn how to write effective prompts and lyrics for the best MusicGPT results.
To get the best results, follow these guidelines:
* Keep prompts descriptive and simple.
* **Prompt limit:** 1000 characters.
* **Lyrics limit:** 5000 characters.
* **Exception:** Sound Generator prompts are capped at 300 characters, because they describe
short sound effects rather than songs.
* You can describe song sections like this:
* `[Intro β soft piano and light synths]`
* `[Chorus β repeat with more intensity]`
* `[Bridge β add soft strings or a subtle beat drop]`
* Do not include any artist names in the `prompt` or `lyrics` fields.
## Best Practice
* **If you provide `lyrics`:** Use `prompt` to describe the complete song. You can also use section tags inside `lyrics` to guide the arrangement and performance.
* **If `lyrics` is empty:** Use `prompt` to describe the songβs genre, vibe, instrumentation, and context.
* **Content Moderation** : All requests are internally analyzed for content safety and policy compliance before generation. Please avoid using **NSFW content, hate speech, violence, self-harm, or copyrighted references**.
# Ratelimits
Source: https://docs.musicgpt.com/api-documentation/utilities/ratelimits
| Category | Features | Free Plan | Plus Plan | Pro Plan |
| - | - | - | - | - |
| Audio Generations | [Music AI](/api-documentation/conversions/musicaiv2) [Inpaint](/api-documentation/conversions/inpaint) [Remix](/api-documentation/conversions/remix) [Extend](/api-documentation/conversions/extend) [Sing Over Instrumental](/api-documentation/conversions/sing_over_instrumental) | 1 parallel requests | 3 parallel requests | 10 parallel requests |
| Audio Utilities | [File Convert](/api-documentation/conversions/fileconvert) [Audio to MIDI](/api-documentation/conversions/audiotomidi) [Audio Cutter](/api-documentation/conversions/audiocutter) [Audio Speed Changer](/api-documentation/conversions/audiospeedchanger) [Audio Mastering](/api-documentation/conversions/audiomastering) [Key/BPM Extraction](/api-documentation/conversions/extractkeybpm) | 1 parallel requests | 3 parallel requests | 10 parallel requests |
| Audio Enhancements | [Text\_To\_Speech](/api-documentation/conversions/texttospeech) [Voice\_Changer](/api-documentation/conversions/voicechanger) [Extraction](/api-documentation/conversions/extraction) [Cover](/api-documentation/conversions/cover) [Denoising](/api-documentation/conversions/denoise) [Deecho](/api-documentation/conversions/deecho) [Dereverb](/api-documentation/conversions/dereverb) [Sound\_Generator](/api-documentation/conversions/soundgenerator) [Audio\_Transcribe](/api-documentation/conversions/audiotranscription) [Lyrics\_Generator](/api-documentation/conversions/lyrics_generator) | 1 parallel requests | 3 parallel requests | 10 parallel requests |
| Get by ID | [Get by ID](/api-documentation/endpoint/getById) | 20 API calls per minute | 200 API calls per minute | 500 API calls per minute |
### Rate Limit
* **Limit:** Maximum parallel audio creation requests per plan - **1** on Free, **3** on Plus,
and **10** on Pro. \
**What This Means:** You can send up to your planβs number of concurrent requests across all features combined for a given category. If you reach this limit, you must wait for some requests to complete before sending additional requests.
Requests to other categories are not affected by this limit and can be sent independently.
### Free Stem Presets
* **Limit:** During November 2026, [Extraction](/api-documentation/conversions/extraction) requests that use `stem_preset` are free on paid plans, up to **10 per UTC clock hour** and **100 per UTC day**. Requests past these limits are not rejected. They are charged at the usual rates. See the [free stem presets guide](/api-documentation/conversions/extraction-free-stems-guide).
### Audio Length Limits
Maximum length of the input audio you can send, per feature:
| Feature | Max input audio length | Max input file size |
| - | - | - |
| [Remix](/api-documentation/conversions/remix), [Extend](/api-documentation/conversions/extend), [Inpaint](/api-documentation/conversions/inpaint), [Sing Over Instrumental](/api-documentation/conversions/sing_over_instrumental) | 4 minutes | 80 MB |
| All other features | 8 minutes | 80 MB |