AI music generation. Create full songs with vocals and instrumentation from text prompts, generate lyrics by theme and style, and poll for completed audio — powered by Suno's music AI.
View documentationUse Suno when your agent needs to create music — generating jingles for marketing, creating background music for videos, writing song lyrics for creative projects, or producing custom audio content. Ideal for content creation agents, marketing workflows, podcast production, and any agent that needs on-demand music generation.
Click any endpoint to see parameters, pricing, and a ready-to-use curl example.
Generate a full song from a text prompt or lyrics — returns audio with vocals and instrumentation.
/services/suno/suno/generate-music| Name | Type | Required | Description |
|---|---|---|---|
| customMode | boolean | Yes | Enable custom mode for specifying style and lyrics |
| prompt | string | Yes | Description of the song to generate or lyrics to set to music |
| style | string | No | Musical style tags (e.g. 'indie rock, upbeat, guitar-driven') |
curl -X POST \
"https://api.indiegent.com/services/suno/suno/generate-music" \
-H "Authorization: Bearer <your-token>" \
-H "X-Agent-Wallet: my-agent" \
-H "Content-Type: application/json" \
-d '{
"customMode": true,
"prompt": "An upbeat indie rock song about road trips and freedom",
"style": "indie rock, upbeat, guitar-driven"
}'api.indiegent.com/services/sunoUSDC · Automatic
Payment protocols handled by IndieGent
Tempo