PopNowAPI-Doku
Hauptinhalt

Suno v6 Mini API-Referenz

Zwei schnelle Songs mit Gesang aus einem Satz

Mit einem einzigen PopNow-API-Schlüssel rufst du Suno v6 Mini aus deinem eigenen Code auf. Hier findest du die Modell-IDs, jedes Eingabefeld, die Kosten pro Anfrage in USD und eine Anfrage, die du direkt ins Terminal kopieren kannst.

Die Parameterbeschreibungen stammen aus dem Eingabeschema des Modells und sind nur auf Englisch verfügbar.

Auf einen Blick

Hersteller
Suno
Ergebnis
Audio
Ab
$0.072 USD pro Anfrage

Die Preise werden in USD angezeigt und von deinem PopNow-Guthaben abgebucht. Bei Annahme wird der Höchstbetrag reserviert, nach Abschluss der tatsächliche Verbrauch abgerechnet und der Rest freigegeben. Fehlgeschlagene Tasks kosten nichts. Ein genaues Angebot erhältst du vorab über POST /api/v1/jobs/quote.

Musik

suno/v6-mini/text-to-audio

Preis

OptionUSD
Standard$0.072 pro Anfrage

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring—bis zu 3.000 ZeichenDescribe 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.
lyricsOptionalstring—bis zu 5.000 ZeichenWords to sing, sung in order. Section tags such as [Verse], [Chorus] and [Bridge] shape the song and are not sung.
generate_lyricsOptionalbooleantrue—Let the model write the lyrics from the prompt. Only applies when lyrics is empty and instrumental is off.
instrumentalOptionalbooleanfalse—Generate music with no vocals.
titleOptionalstring—bis zu 80 ZeichenSong title (metadata, not sung). Applies with lyrics or an instrumental; otherwise the model names the song.
negative_promptOptionalstring—bis zu 500 ZeichenStyles or elements to keep out of the song.
vocal_genderOptionalstring—female, maleMake a female or male lead vocal more likely. Applies with lyrics.
style_weightOptionalnumber—0 bis 1How closely to follow the style in the prompt, from 0 to 1.
weirdnessOptionalnumber—0 bis 1How experimental the song may get, from 0 (conventional) to 1 (unusual).
audio_weightOptionalnumber—0 bis 1How strongly a persona's audio shapes the result, from 0 to 1. Songs with vocals only.
varietyOptionalinteger—0 bis 4How different the two versions are from each other: 0 off, 1 normal (the model default), 2 high, 3 extra, 4 max.
persona_idOptionalstring—bis zu 200 ZeichenID of an existing Suno persona to reuse its style or voice.
persona_modelOptionalstring—style_persona, voice_personaWhether persona_id is a style persona or a voice persona.
image_urlsOptionalarray<string (uri)>—bis zu 5 EinträgeUp to 5 mood images (JPEG, PNG or WebP, 10 MB each). Only when the model writes the lyrics.
reference_video_urlsOptionalarray<string (uri)>—bis zu 1 EinträgeOne reference video (MP4 or WebM, up to 100 MB and 241 seconds). Only when the model writes the lyrics.
reference_audio_urlsOptionalarray<string (uri)>—bis zu 1 EinträgeOne reference audio clip (MP3 or WAV, 6 seconds to 30 minutes). Only when the model writes the lyrics.

Beispielanfrage

Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.

POST /api/v1/jobs/createTask
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: $(uuidgen)" \
  -d '{
  "model": "suno/v6-mini/text-to-audio",
  "input": {
    "prompt": "An upbeat indie pop song about a summer road trip, bright guitars, hand claps and a catchy whistled hook"
  }
}'

Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Weiter geht’s

Auf dieser Seite