一個驗證,對應所有 provider
一組 RunAPI key 即可解鎖整個 catalog。無需分開帳戶,亦無需為每個整合輪換密鑰。
It looks like you may prefer a different language. Switch anytime.
透過 RunAPI 使用 Suno API,包含 model skill、統一驗證與按用量計費。
curl -X POST https://runapi.ai/api/v1/suno/stitch_audio \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "suno-v6-wild",
"prompt": "Write a lo-fi chill beat with soft piano, vinyl crackle, and a gentle bass line, 2 minutes long."
}'
import { SunoClient } from "@runapi.ai/suno";
const client = new SunoClient();
const result = await client.stitchAudio.run({
model: "suno-v6-wild",
prompt: "Write a lo-fi chill beat with soft piano, vinyl crackle, and a gentle bass line, 2 minutes long.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\Suno\SunoClient;
$client = new SunoClient();
$result = $client->stitchAudio->run([
'model' => 'suno-v6-wild',
'prompt' => 'Write a lo-fi chill beat with soft piano, vinyl crackle, and a gentle bass line, 2 minutes long.',
]);
require "runapi/suno"
client = RunApi::Suno::Client.new
result = client.stitch_audio.run(
model: "suno-v6-wild",
prompt: "Write a lo-fi chill beat with soft piano, vinyl crackle, and a gentle bass line, 2 minutes long."
)
npx skills add runapi-ai/suno -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
Suno generates complete songs from text prompts, including vocals, instrumentation, and lyrics. It spans V4 through V5.5, with each generation producing broadcast-ready tracks across any musical genre.
| Endpoint | 解析度 | 時長 | 價格 | |
|---|---|---|---|---|
| stitch_audio | — | — | $0.01 / track | |
| remaster_audio | — | — | $0.12 / track | |
| add_samples | — | — | $0.12 / track | |
| extend_music | — | — | $0.12 / track | |
| cover_audio | — | — | $0.12 / track | |
| inspire_music | — | — | $0.13 / track | |
| text_to_music | — | — | $0.17 / track | |
| create_mashup | — | — | $0.12 / track |
以下為 suno-v4 的定價。其他變體保留各自的 endpoint 定價。
此模型系列的共用 endpoints,例如延伸、增強或轉換操作。
挑選符合輸出類型、品質門檻與延遲目標的模型與變體。
設定 RunAPI key,並在 coding workspace 安裝 model skill。
使用 skill 指引,在你的 app 內加入模型功能。
透過 task ID 查詢、在支援時串流,或處理 webhook callback。
一組 RunAPI key 即可解鎖整個 catalog。無需分開帳戶,亦無需為每個整合輪換密鑰。
按次以 USD 收費,每月結算。失敗的生成不會收費。
型別化 schema 與 setup 備註打包在 model skill 內,讓實作從正確契約開始。
v4.5 及 v5+ 每次生成最長 8 分鐘(較早版本最長 4 分鐘)。用 Extend endpoint 串接片段以製作更長嘅曲目。
Yes — pass lyrics with [Verse], [Chorus], and [Bridge] tags. You can also let Suno write lyrics from a theme prompt.
Typically 30–120 seconds per track. Instrumental-only tracks tend to generate faster.
Yes — set the instrumental flag to true and Suno generates a vocal-free track.
Any genre — pop, jazz, lo-fi, classical, metal, hip-hop, electronic, and more. Describe the genre in your prompt.
先選最平而且符合你質素要求的版本。大多數團隊會先用快速版本,之後再升級到 pro 用於正式生產。