Media & Music
Music Use Cases
This is the most common production-style flow when you want a stable voice identity and post-production assets.
Cover workflow with persona and stems
This is the most common production-style flow when you want a stable voice identity and post-production assets.
Step 1: create a persona once
- generate or locate a completed song whose voice you want to reuse
- wait for the task to reach
SUCCESS - call
/suno/generate-personawith the completedtaskIdandaudioId - store the returned
personaId
Step 2: upload a song for cover generation
curl -X POST "https://gateway.api.anyint.ai/suno/upload-cover" \
-H "Authorization: Bearer $ANYINT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"uploadUrl": "https://your-storage.com/original-song.mp3",
"customMode": true,
"instrumental": false,
"model": "V5",
"style": "R&B, soul, warm vocals",
"title": "Cover Version",
"personaId": "your-persona-id",
"callBackUrl": "https://your-domain.com/callback"
}'Step 3: wait for completion and split stems
- query
/suno/query/task?taskId=...or wait for the callback - read the returned
audioId - call
/suno/vocal-removal - choose
separate_vocalfor two-track output orsplit_stemfor multitrack output
New-song creation workflow
This flow works well for consumer apps, demo builders, and content studios.
Step 1: generate lyrics if needed
curl -X POST "https://gateway.api.anyint.ai/suno/generate-lyrics" \
-H "Authorization: Bearer $ANYINT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A late-night R&B song about city life",
"callBackUrl": "https://your-domain.com/callback"
}'Step 2: create the song
- choose a lyric variant
- call
/suno/generatein custom mode - store the returned
taskId - wait for the task to reach
SUCCESS
Step 3: add post-processing
After the song is complete, you can optionally:
- call
/suno/generate-coverfor cover art - call
/suno/timestamped-lyricsfor lyric alignment - call
/suno/wav-generatefor lossless export - call
/suno/mp4-generatefor music video output
Music Tasks and Webhooks
Most AI Music routes are asynchronous. Your application should always store the returned taskId, keep polling as a fallback, and treat webhooks as the main completion signal.
Overview
AnyInt account setup has two operational layers: credentials that authorize requests and billing entitlements that decide which usage can run.