请求参数
| 参数 | 必填 | 说明 |
|---|---|---|
audio_weight | 否 | How strongly a persona's audio shapes the result, from 0 to 1. Songs with vocals only. ≥ 0 · ≤ 1 |
generate_lyrics | 否 | Let the model write the lyrics from the prompt. Only applies when lyrics is empty and instrumental is off. 默认值: true |
image_urls | 否 | 定氛围的图片,音乐会照着它们的感觉来写。 |
instrumental | 否 | 纯音乐,不要人声。 默认值: false |
lyrics | 否 | 写你自己的歌词,或交给模型来写。 |
negative_prompt | 否 | 不想在曲子里出现的风格或声音。 |
persona_id | 否 | ID of an existing Suno persona to reuse its style or voice. |
persona_model | 否 | Whether persona_id is a style persona or a voice persona. style_persona · voice_persona |
prompt | 是 | Describe the song: genre, mood, tempo, instruments and voice. With lyrics or an instrumental this is the style (up to 1,000 characters); with no lyrics the model writes the words from it. |
reference_audio_urls | 否 | 要匹配的声音:人声、音乐或节奏。 |
reference_video_urls | 否 | 要配乐的视频,音乐会贴合它的节奏和情绪。 |
style_weight | 否 | How closely to follow the style in the prompt, from 0 to 1. ≥ 0 · ≤ 1 |
title | 否 | Song title (metadata, not sung). Applies with lyrics or an instrumental; otherwise the model names the song. |
variety | 否 | How different the two versions are from each other: 0 off, 1 normal (the model default), 2 high, 3 extra, 4 max. ≥ 0 · ≤ 4 |
vocal_gender | 否 | Make a female or male lead vocal more likely. Applies with lyrics. female · male |
weirdness | 否 | How experimental the song may get, from 0 (conventional) to 1 (unusual). ≥ 0 · ≤ 1 |
价格
价格以积分计,和网站上用的是同一种积分(1 积分 = $0.01)。任务受理时先冻结积分,完成后按实际费用结算;失败的任务会退还。
| 选项 | 积分 /次 | ≈ 美元 |
|---|---|---|
| 标准 | 10.8 | US$0.11 |
每个任务按整数积分向上取整,所以最低档跑一次是 11 积分/次(US$0.11)。
想在运行前知道确切金额,把同样的请求体发到 POST /jobs/quote 即可。
API 快速上手
三步调用 Suno v6 Mini API
- 创建 API 密钥. 登录 PopNow,在 API 控制台创建密钥。密钥以 sk-popnow- 开头,和网站共用同一份积分。
- 发送请求. 向 POST /jobs/createTask 发请求,model 填 suno/v6-mini/text-to-audio,input 按参数表填写。响应会立刻返回任务 ID。
- 取回结果. 用任务 ID 轮询 GET /jobs/recordInfo,或者传 callBackUrl,结果会推送到这个地址。任务成功后下载输出链接。
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "suno/v6-mini/text-to-audio",
"input": {
"prompt": "Calm ambient pads with a slow rising motif"
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"请把提示词和链接换成你自己的。API 页签里有响应、轮询和回调的参考。
Suno v6 Mini API 常见问题
Suno v6 Mini API 怎么收费?
Suno v6 Mini:11 积分(US$0.11)/次。积分和网站通用(1 积分 = $0.01),新账号赠送 30 积分,失败的任务会退还。
Suno v6 Mini 在 API 里的调用名是什么?
在 POST /jobs/createTask 的 model 字段里填 音乐用 suno/v6-mini/text-to-audio。
Suno v6 Mini API 有哪些限制?
参考图:5;参考音频:1;参考视频:1;提示词长度(字符):3,000。超出这些限制的请求会在扣费之前被拒绝。
不写代码能试 Suno v6 Mini 吗?
可以。Playground 用你的 PopNow 积分运行 Suno v6 Mini,不需要 API 密钥,每次运行都会给出对应的代码。

