The First Time
Welcome to your first experience with the Musicgpt API β where creativity meets technology πΆπ€
ποΈ Available Features
Hereβs what you can create with Musicgpt:
Feature | Description |
---|---|
MUSIC_AI | Generate the song you imagine with a prompt |
TEXT_TO_SPEECH | Speak the given text in selected voice |
COVER | Create a cover song |
VOICE_CHANGER | Change any vocal of given audio to any voice |
EXTRACTION | Extract vocals or instrumentals |
STEMS_SEPARATION | Separate stems from a track |
DENOISING | Remove unwanted noise |
DEECHO | Reduce echo from audio |
DEREVERB | Reduce reverb |
KEY_BPM_EXTRACTION | Extract musical key and BPM |
AUDIO_TO_MIDI | Convert audio to MIDI format |
FILE_CONVERT | Convert file formats |
AUDIO_TRANSCRIPTION | Transcribe audio to text |
SOUND_GENERATOR | Generate sound from a prompt |
AUDIO_CUTTER | Cut or trim audio files |
AUDIO_MASTERING | Enhance the overall sound quality |
AUDIO_SPEED_CHANGER | Change the playback speed of audio |
REMIX | Create a remix using provided or AI-generated stems |
π§ͺ 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:
π¬ Example Request
π§ 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
π 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!