Skip to main content
Glama

suno_generate_custom_music

Generate AI music with custom lyrics, style, and title. Control every element from verse structure to vocal gender.

Instructions

Generate AI music with full control over lyrics, title, and style (Custom Mode).

This gives you complete creative control over the song. You provide the lyrics
with section markers, and Suno generates the melody and arrangement.

Use this when:
- You have specific lyrics you want to use
- You want precise control over the music style
- You need a specific song title
- You want to specify vocal gender (v4.5+ models)
- You want the API to auto-generate lyrics from a prompt (use lyric_prompt)

For quick generation without writing lyrics, use suno_generate_music instead.

Returns:
    Task ID and generated audio information including URLs, title, lyrics, and duration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lyricNoSong lyrics with section markers. Use [Verse], [Chorus], [Pre-Chorus], [Bridge], [Outro], [Intro] to structure the song. Example: [Verse 1] Walking down the empty street Rain is falling at my feet [Chorus] But I keep moving on Until the break of dawn. Leave empty when using lyric_prompt to auto-generate lyrics.
titleNoTitle of the song. Keep it concise and memorable.
styleNoMusic style description. Be specific about genre, mood, tempo, and instruments. Examples: 'upbeat pop rock, energetic drums, electric guitar', 'acoustic folk, gentle, fingerpicking', 'dark electronic, synthwave, 80s retro'
modelNoSuno model version. 'chirp-v5-5' or 'chirp-v5' recommended for best quality.chirp-v5-5
instrumentalNoIf true, generate instrumental version (lyrics will be ignored). Default is false.
lyric_promptNoPrompt for auto-generating lyrics. Only used when custom is true and lyric is empty. Provide a dict with the lyric generation parameters (e.g. {'prompt': 'A song about winter'}).
style_negativeNoStyles to explicitly exclude from the generation. Examples: 'heavy metal, screaming', 'autotune, electronic'
vocal_genderNoPreferred vocal gender. 'f' for female, 'm' for male, empty string for AI to decide. Only works with v4.5+ models.
variation_categoryNoVariation intensity for v5+ models. 'high' for maximum variation, 'normal' for balanced, 'subtle' for minimal changes. Only supported in chirp-v5 and above.
weirdnessNoAdvanced parameter for custom mode. Controls how unusual/experimental the generation is.
style_influenceNoAdvanced parameter for custom mode. Controls how strongly the style prompt influences the generation.
callback_urlNoWebhook callback URL for asynchronous notifications. When provided, the API will call this URL when the audio is generated.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full burden. It mentions returns but lacks details on error handling, idempotency, or parameter interactions (e.g., what if both lyric and lyric_prompt are empty). The description does clarify when parameters apply (e.g., vocal_gender only for v4.5+), but gaps remain.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a summary, bullet points for usage, and a concise returns note. It could be slightly trimmed but effectively communicates essential information without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (12 parameters) and lack of annotations, the description covers core usage scenarios and distinguishes from siblings. It references an output schema (though not detailed in text), and the context signals confirm output schema exists, so completeness is good for a custom generation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description adds value by explaining use cases and relationships between parameters (e.g., lyric vs lyric_prompt, vocal_gender model version dependency) that go beyond the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it generates AI music with full control over lyrics, title, and style in Custom Mode. It distinguishes from sibling tool suno_generate_music, which is for quick generation without lyrics. The verb 'generate' and resource 'custom music' are specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit bullet points for when to use this tool (specific lyrics, precise style, title, vocal gender, auto-generate via lyric_prompt) and explicitly recommends an alternative: 'For quick generation without writing lyrics, use suno_generate_music instead.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AceDataCloud/SunoMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server