suno-music
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSuno Music Generation
Suno音乐生成
Generate AI-powered music through AceDataCloud's Suno API.
Setup: See authentication for token setup.
通过AceDataCloud的Suno API生成AI驱动的音乐。
设置: 查看身份验证了解令牌设置方法。
Quick Start
快速开始
bash
curl -X POST https://api.acedata.cloud/suno/audios \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"prompt": "a happy pop song about coding", "model": "chirp-v5-5", "callback_url": "https://api.acedata.cloud/health"}'Async: All generation is async. See async task polling. Poll viawithPOST /suno/tasksevery 3-5 seconds.{"id": "<task_id>"}
bash
curl -X POST https://api.acedata.cloud/suno/audios \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"prompt": "a happy pop song about coding", "model": "chirp-v5-5", "callback_url": "https://api.acedata.cloud/health"}'异步说明: 所有生成操作均为异步。查看异步任务轮询。每隔3-5秒通过接口,传入POST /suno/tasks进行轮询。{"id": "<task_id>"}
Available Models
可用模型
| Model | Best For |
|---|---|
| Latest, highest quality |
| High quality |
| Enhanced v4.5 |
| Good balance of quality and speed |
| Fast, reliable |
| Legacy, stable |
| Legacy |
| 模型 | 适用场景 |
|---|---|
| 最新版本,最高音质 |
| 高音质 |
| 增强版v4.5 |
| 音质与速度平衡较好 |
| 快速、可靠 |
| 旧版,稳定 |
| 旧版 |
Core Workflows
核心工作流程
1. Quick Generation (Inspiration Mode)
1. 快速生成(灵感模式)
Generate a song from a text description. Suno creates lyrics, style, and music automatically.
json
POST /suno/audios
{
"prompt": "an upbeat electronic track about the future of AI",
"model": "chirp-v5-5",
"instrumental": false
}根据文本描述生成歌曲。Suno会自动创作歌词、风格和音乐。
json
POST /suno/audios
{
"prompt": "an upbeat electronic track about the future of AI",
"model": "chirp-v5-5",
"instrumental": false
}2. Custom Generation (Full Control)
2. 自定义生成(完全控制)
Provide your own lyrics, title, and style for precise control.
json
POST /suno/audios
{
"custom": true,
"lyric": "[Verse]\nCode is poetry in motion\n[Chorus]\nWe build the future tonight",
"title": "Digital Dreams",
"style": "Synthwave, Electronic, Dreamy",
"model": "chirp-v5-5",
"vocal_gender": "f"
}提供自己的歌词、标题和风格,实现精准控制。
json
POST /suno/audios
{
"custom": true,
"lyric": "[Verse]\nCode is poetry in motion\n[Chorus]\nWe build the future tonight",
"title": "Digital Dreams",
"style": "Synthwave, Electronic, Dreamy",
"model": "chirp-v5-5",
"vocal_gender": "f"
}3. Extend a Song
3. 扩展歌曲
Continue an existing song from a specific timestamp with new lyrics.
json
POST /suno/audios
{
"action": "extend",
"audio_id": "existing-audio-id",
"lyric": "[Bridge]\nNew section lyrics here",
"continue_at": 120.0,
"style": "Same style as original"
}从特定时间点继续现有歌曲,并添加新歌词。
json
POST /suno/audios
{
"action": "extend",
"audio_id": "existing-audio-id",
"lyric": "[Bridge]\nNew section lyrics here",
"continue_at": 120.0,
"style": "Same style as original"
}4. Cover / Remix
4. 翻唱/混音
Create a new version of an existing song in a different style.
json
POST /suno/audios
{
"action": "cover",
"audio_id": "existing-audio-id",
"style": "Jazz, Acoustic, Mellow"
}为现有歌曲创建不同风格的新版本。
json
POST /suno/audios
{
"action": "cover",
"audio_id": "existing-audio-id",
"style": "Jazz, Acoustic, Mellow"
}5. Full Song Creation Workflow
5. 完整歌曲创作流程
For best results follow this multi-step workflow:
- Generate lyrics — with a topic/prompt
POST /suno/lyrics - Optimize style — to refine style description
POST /suno/style - Generate music — with custom action, lyrics + style
POST /suno/audios - Poll task — with
POST /suno/tasks(oridfor batch) until status is completeids - Optional: Extend — Use extend action to add more sections
- Optional: Concat — Use concat action to merge extended segments
- Optional: Convert — Get WAV (), MIDI (
/suno/wav), or MP4 (/suno/midi)/suno/mp4
为获得最佳效果,请遵循以下多步骤工作流程:
- 生成歌词 — 传入主题/提示调用接口
POST /suno/lyrics - 优化风格 — 调用接口优化风格描述
POST /suno/style - 生成音乐 — 调用接口,选择自定义模式,传入歌词和风格
POST /suno/audios - 轮询任务 — 传入(或批量任务的
id)调用ids接口,直到任务状态完成POST /suno/tasks - 可选:扩展 — 使用extend操作添加更多段落
- 可选:拼接 — 使用concat操作合并扩展片段
- 可选:转换格式 — 通过、
/suno/wav或/suno/midi接口获取对应格式文件/suno/mp4
Available Actions
可用操作
| Action | Description |
|---|---|
| Generate from prompt (default) |
| Continue an existing audio from a timestamp |
| Upload external audio, then extend it |
| Upload external audio, then create a cover |
| Concatenate extended segments into one track |
| Copy the style of an existing audio |
| Generate in a custom singer's style |
| Artist consistency with vocal focus |
| Separate a track into stems |
| Separate into all available stems |
| Replace a specific time range in a song |
| Add accompaniment to an uploaded song |
| Add vocals to an uploaded song |
| Remaster an existing audio |
| Blend multiple audio IDs together |
| Add samples to an uploaded song |
| 操作 | 描述 |
|---|---|
| 根据提示生成(默认操作) |
| 从指定时间点继续现有音频 |
| 上传外部音频后进行扩展 |
| 上传外部音频后制作翻唱 |
| 将扩展片段拼接成单首曲目 |
| 借鉴现有音频的风格 |
| 以自定义歌手风格生成 |
| 聚焦人声的歌手风格一致性生成 |
| 将曲目分离为音轨 |
| 分离为所有可用音轨 |
| 替换歌曲中特定时间段的内容 |
| 为上传的歌曲添加伴奏 |
| 为上传的歌曲添加人声 |
| 重新制作现有音频 |
| 将多个音频ID的内容混合 |
| 为上传的歌曲添加采样 |
Auxiliary Endpoints
辅助接口
| Endpoint | Method | Purpose |
|---|---|---|
| POST | Generate structured lyrics from a prompt ( |
| POST | Optimize/refine a style description |
| POST | Combine two sets of lyrics |
| POST | Get MP4 video version of a song |
| POST | Convert to lossless WAV format |
| POST | Extract MIDI data for DAW editing |
| POST | Extract vocal track (stem separation) |
| POST | Get word-level timing/subtitles |
| POST | Save a vocal style as a reusable persona |
| POST | Upload external audio for extend/cover |
| POST | Query task status and results |
| 接口 | 请求方法 | 用途 |
|---|---|---|
| POST | 根据提示生成结构化歌词( |
| POST | 优化/细化风格描述 |
| POST | 合并两组歌词 |
| POST | 获取歌曲的MP4视频版本 |
| POST | 转换为无损WAV格式 |
| POST | 提取MIDI数据用于DAW编辑 |
| POST | 提取人声轨(音轨分离) |
| POST | 获取逐词时间轴/字幕 |
| POST | 将人声风格保存为可重用的角色 |
| POST | 上传外部音频用于扩展/翻唱 |
| POST | 查询任务状态和结果 |
Advanced Parameters
高级参数
| Parameter | Type | Description |
|---|---|---|
| object | Structured prompt payload for auto-generating lyrics (used when |
| string | Style tags to avoid (e.g., |
| number | Strength of style influence (advanced custom mode, v5+ only) |
| number | Weight for audio reference when covering (advanced, v5+ only) |
| 参数 | 类型 | 描述 |
|---|---|---|
| object | 用于自动生成歌词的结构化提示负载(当 |
| string | 需要避免的风格标签(例如: |
| number | 风格影响强度(高级自定义模式,仅v5+模型支持) |
| number | 制作翻唱时音频参考的权重(高级功能,仅v5+模型支持) |
Lyrics Format
歌词格式
Use section markers in square brackets:
[Verse 1]
Your verse lyrics here
[Chorus]
Catchy chorus lyrics
[Bridge]
Bridge section
[Outro]
Ending lyrics使用方括号包裹段落标记:
[Verse 1]
Your verse lyrics here
[Chorus]
Catchy chorus lyrics
[Bridge]
Bridge section
[Outro]
Ending lyricsGotchas
注意事项
- All generation is async — always set to get a task id immediately, then poll
"callback_url"using/suno/tasksor{"id":"<task_id>"}{"ids":[...],"action":"retrieve_batch"} - CRITICAL: Check the field — only
statewithstate: "complete"means done. Duringsuccess: true, the API may return intermediatependingvalues (streaming previews). Do NOT stop polling just becauseaudio_urlis non-emptyaudio_url - Lyrics max ~3000 characters. For longer songs, use the extend workflow
- Style tags are descriptive phrases, not enum values (e.g., "Synthwave, Electronic, Dreamy")
- ("f"/"m") is only supported on v4.5+ models
vocal_gender - ("high"/"normal"/"subtle") is only supported on v5+ models
variation_category - The action merges extended song segments — requires audio_id of the extended track
concat - requires an existing audio_id to extract the vocal reference from
persona - Upload external audio via before using it with extend/cover
/suno/upload
MCP:| Hosted:pip install mcp-suno| See all MCP servershttps://suno.mcp.acedata.cloud/mcp
- 所有生成操作均为异步 — 请务必设置以立即获取任务ID,然后通过
"callback_url"或{"id":"<task_id>"}调用{"ids":[...],"action":"retrieve_batch"}接口进行轮询/suno/tasks - 重要提示: 检查字段 — 只有当
state且state: "complete"时表示任务完成。在success: true状态下,API可能会返回临时的pending值(流式预览)。不要因为audio_url非空就停止轮询audio_url - 歌词最大约3000字符。如需创作更长歌曲,请使用扩展工作流程
- 风格标签为描述性短语,而非枚举值(例如:"Synthwave, Electronic, Dreamy")
- ("f"/"m")仅在v4.5+模型上支持
vocal_gender - ("high"/"normal"/"subtle")仅在v5+模型上支持
variation_category - 操作用于合并歌曲扩展片段 — 需要传入扩展曲目对应的audio_id
concat - 功能需要现有音频的audio_id来提取人声参考
persona - 在使用extend/cover操作前,需通过接口上传外部音频
/suno/upload
MCP:| 托管地址:pip install mcp-suno| 查看所有MCP服务器https://suno.mcp.acedata.cloud/mcp