A tight, head-nodding funk groove centered around a virtuosic slap bass riff. The bass alternates between percussive thumb slaps on the low E and popping octaves on the G string in a 16th-note pattern. Clavinet plays choppy rhythm chords with auto-wah filter sweeps. Drums lay down a deep pocket groove with ghost notes on the snare and an open hi-hat on the and-of-four. A muted trumpet plays staccato horn stabs on the one of every other measure. Tempo 100 BPM. Raw and unpolished recording feel, like a live jam session captured on analog tape.
suno-v5.5/api/v1/suno/text_to_music
运行信息
模型
suno-v5.5
提供方
Suno
服务
Suno
Endpoint
Text To Music
1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. 重启 Claude Code
3. 粘贴这个 prompt:生成音乐:"A tight, head-nodding funk groove centered around a virtuosic slap bass riff. The bass alternates between percussive thumb slaps on the low E and popping octaves on the G string in a 16th-note pattern. Clavinet plays choppy rhythm chords with auto-wah filter sweeps. Drums lay down a deep pocket groove with ghost notes on the snare and an open hi-hat on the and-of-four. A muted trumpet plays staccato horn stabs on the one of every other measure. Tempo 100 BPM. Raw and unpolished recording feel, like a live jam session captured on analog tape."
1. codex plugin install runapi-mcp@agents
2. 重启 Codex
3. 粘贴这个 prompt:生成音乐:"A tight, head-nodding funk groove centered around a virtuosic slap bass riff. The bass alternates between percussive thumb slaps on the low E and popping octaves on the G string in a 16th-note pattern. Clavinet plays choppy rhythm chords with auto-wah filter sweeps. Drums lay down a deep pocket groove with ghost notes on the snare and an open hi-hat on the and-of-four. A muted trumpet plays staccato horn stabs on the one of every other measure. Tempo 100 BPM. Raw and unpolished recording feel, like a live jam session captured on analog tape."
1. npx @runapi.ai/mcp init cursor
2. 重启 Cursor
3. 粘贴这个 prompt:生成音乐:"A tight, head-nodding funk groove centered around a virtuosic slap bass riff. The bass alternates between percussive thumb slaps on the low E and popping octaves on the G string in a 16th-note pattern. Clavinet plays choppy rhythm chords with auto-wah filter sweeps. Drums lay down a deep pocket groove with ghost notes on the snare and an open hi-hat on the and-of-four. A muted trumpet plays staccato horn stabs on the one of every other measure. Tempo 100 BPM. Raw and unpolished recording feel, like a live jam session captured on analog tape."
1. npx @runapi.ai/mcp init windsurf
2. 重启 Windsurf
3. 粘贴这个 prompt:生成音乐:"A tight, head-nodding funk groove centered around a virtuosic slap bass riff. The bass alternates between percussive thumb slaps on the low E and popping octaves on the G string in a 16th-note pattern. Clavinet plays choppy rhythm chords with auto-wah filter sweeps. Drums lay down a deep pocket groove with ghost notes on the snare and an open hi-hat on the and-of-four. A muted trumpet plays staccato horn stabs on the one of every other measure. Tempo 100 BPM. Raw and unpolished recording feel, like a live jam session captured on analog tape."
curl -X POST https://runapi.ai/api/v1/suno/text_to_music \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "suno-v5.5",
"prompt": "A tight, head-nodding funk groove centered around a virtuosic slap bass riff. The bass alternates between percussive thumb slaps on the low E and popping octaves on the G string in a 16th-note pattern. Clavinet plays choppy rhythm chords with auto-wah filter sweeps. Drums lay down a deep pocket groove with ghost notes on the snare and an open hi-hat on the and-of-four. A muted trumpet plays staccato horn stabs on the one of every other measure. Tempo 100 BPM. Raw and unpolished recording feel, like a live jam session captured on analog tape."
}
JSON
import { SunoClient } from "@runapi.ai/suno";
const client = new SunoClient({
apiKey: process.env.RUNAPI_API_KEY,
});
const result = await client.textToMusic.run({
"model": "suno-v5.5",
"prompt": "A tight, head-nodding funk groove centered around a virtuosic slap bass riff. The bass alternates between percussive thumb slaps on the low E and popping octaves on the G string in a 16th-note pattern. Clavinet plays choppy rhythm chords with auto-wah filter sweeps. Drums lay down a deep pocket groove with ghost notes on the snare and an open hi-hat on the and-of-four. A muted trumpet plays staccato horn stabs on the one of every other measure. Tempo 100 BPM. Raw and unpolished recording feel, like a live jam session captured on analog tape."
});
console.log(result.id);
require "runapi/suno"
client = RunApi::Suno::Client.new
result = client.text_to_music.run(
model: "suno-v5.5",
prompt: "A tight, head-nodding funk groove centered around a virtuosic slap bass riff. The bass alternates between percussive thumb slaps on the low E and popping octaves on the G string in a 16th-note pattern. Clavinet plays choppy rhythm chords with auto-wah filter sweeps. Drums lay down a deep pocket groove with ghost notes on the snare and an open hi-hat on the and-of-four. A muted trumpet plays staccato horn stabs on the one of every other measure. Tempo 100 BPM. Raw and unpolished recording feel, like a live jam session captured on analog tape."
)
puts result.id
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader("{\"model\":\"suno-v5.5\",\"prompt\":\"A tight, head-nodding funk groove centered around a virtuosic slap bass riff. The bass alternates between percussive thumb slaps on the low E and popping octaves on the G string in a 16th-note pattern. Clavinet plays choppy rhythm chords with auto-wah filter sweeps. Drums lay down a deep pocket groove with ghost notes on the snare and an open hi-hat on the and-of-four. A muted trumpet plays staccato horn stabs on the one of every other measure. Tempo 100 BPM. Raw and unpolished recording feel, like a live jam session captured on analog tape.\"}")
req, err := http.NewRequestWithContext(context.Background(), http.MethodPost, "https://runapi.ai/api/v1/suno/text_to_music", body)
if err != nil {
log.Fatal(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("RUNAPI_API_KEY"))
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
fmt.Println(resp.Status)
}