Skip to main content
POST
Creates a music generation job powered by Mureka AI on WaveSpeed. Credits are deducted when the job is queued. Poll Poll music status with the returned generation.id until status is COMPLETED or FAILED. For the dashboard UI (models, lyrics, playback, and the global player), see Music generator and Playback & player.

Headers

Request body

string
required
Song lyrics. Required for song models (auto, mureka-9, mureka-8, mureka-o2, mureka-7.6). Max 3000 characters.
string
required
Style prompt — genre, mood, tempo, vocal style. Max 1024 characters.
string
Model key. Default: auto (Mureka V9).
string
Output audio format: mp3, wav, or flac. Default: mp3.

Async completion

Poll Poll music status with generation.id until status is COMPLETED or FAILED. Webhooks are not supported on the public API.

Response

Example

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
lyrics
string

Song lyrics (required for song models, up to 3000 chars)

prompt
string

Style prompt — genre, mood, vocal style (up to 1024 chars)

model
string
default:auto

Model key: auto, mureka-9, mureka-8, mureka-o2, mureka-7.6, mureka-7.5

output_format
enum<string>
default:mp3
Available options:
mp3,
wav,
flac

Response

Job queued

success
boolean
required
generation
object
required
creditsDeducted
number
required
creditsRemaining
number
required