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.


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:

POST https://api.musicgpt.com/api/public/v1/MusicAI

πŸ“¬ Example Request

curl -X 'POST' \
'https://api.musicgpt.com/api/public/v1/MusicAI' \
-H 'accept: application/json' \
-H 'Authorization: <api_key>' \
-H 'Content-Type: application/json' \
-d '{
  "music_style": "Song about my love to AI Music in Country Style",
  "webhook_url": "http://webhook.yourwebsite.com"
}'

🧠 Replace <api_key> 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.

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


πŸ“¦ Example Webhook Response

{
  "success": true,
  "task_id": "string",
  "conversion_id": "string",
  "audio_url": "https://...", // signed AWS URL, valid for 1 day
  "conversion_cost": 1.0,
  "title": "string",
  "lyrics": "string",
  "prompt": "string",
  "music_style": "string"
}

πŸŽ‰ 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!