Skip to main content
Deprecated: As of 30/12/2025 this has been deprecated and will be removed soon. Please migrate to a newer version.

Generate AI Music from Prompt

  • This endpoint generates music from a text-based prompt using AI models.

Core Parameters

πŸ›ˆ The parameters below define the request body for this API.

Supported Music Styles

The styleOfMusic parameter must be one of the following values:
  • Pop
  • Hip Hop
  • Rap
  • Rock
  • EDM
  • Latin
  • Reggaeton
  • K-Pop
  • RnB
  • Country
  • Dance
  • House
  • Bollywood
  • Afrobeat
  • Afropop
  • Dancehall
  • Deep House
  • Electronic
  • Future Bass
  • Trap
  • Pop-Trap
  • Dubstep
  • Synthpop
  • Synthwave
  • Techno
  • Progressive-Metal
  • Alt-Rock
  • Alt-Metal
  • Nu-Metal
  • Metal
  • Jazz
  • Blues
  • Soul
  • Funk
  • Singer-Songwriter
  • Folk
  • Cloud-Rap
  • Lofi
  • Chillout
  • Downtempo
  • Meditative
  • New-Age
  • Western-Classical
  • Classical
  • Opera
  • Piano
  • Spoken-Word
  • Gospel
  • Brazilian-Music
  • Bossa-Nova
  • Salsa
  • Bachata
  • Country-Blues
  • Future-Rave
  • Electrostep
  • Dub
  • Disco
  • Shoegaze
  • Bit-Beat
  • Indian Electronic
  • African
  • 80s
  • Acoustic
  • Melodic

Request Body for Prompt to Song

Code Samples

Response

Sample Output

Possible Errors :

  • If Rate Limits have been passed for User.
  • If NSFW words are detected
  • If Artist name is detected