Mureka API v1 now supports async job processing for music and speech generation:
- GET /jobs - List running jobs for an account
- GET /jobs/
jobid- Get job status and results asyncandreplyUrlparameters added to all generation endpoints
Examples
- Create song using O2 model with POST /music/create-advanced
curl --location 'https://api.useapi.net/v1/mureka/music/create-advanced' \
--header 'Authorization: Bearer user:12345-…' \
--form 'lyrics="[verse]
Three souls, one fight
Gold and dust tonight
Stand tall, no fear
The showdown is here
[chorus]
The good, the bad and the ugly, woh-oh-oh!
The good, the bad and the ugly!
The good, the bad and the ugly!
We'\''re fighting like the good, the bad and the ugly!
We'\''re fighting like the good, the bad and the ugly!
We'\''re fighting like someone'\''s going to win!
The good, the bad and the ugly!
We'\''re fighting like the good, the bad and the ugly!
We'\''re fighting like the good, the bad and the ugly!
We'\''re fighting like someone'\''s going to win!"' \
--form 'model="O2"' \
--form 'desc="eurodance, jungle, breakbeat, drum and bass, dark, energetic"' \
--form 'async="true"'
Result
- Extend the song with new lyrics using POST /music/extend
curl --location 'https://api.useapi.net/v1/mureka/music/extend' \
--header 'Authorization: Bearer user:12345-…' \
--form 'song_id="user:12345-mureka:…-song:…"' \
--form 'lyrics="[verse]
Draw fast, aim true
It'\''s me versus you
High noon, last chance
This is our final dance
[chorus]
The good, the bad and the ugly, woh-oh-oh!
The good, the bad and the ugly!
The good, the bad and the ugly!
We'\''re fighting like the good, the bad and the ugly!
We'\''re fighting like the good, the bad and the ugly!
We'\''re fighting like someone'\''s going to win!
The good, the bad and the ugly!
We'\''re fighting like the good, the bad and the ugly!
We'\''re fighting like the good, the bad and the ugly!
We'\''re fighting like someone'\''s going to win!"' \
--form 'async="true"'
Result