Seed Audio 1.0 API-Referenz
Audioszenen mit mehreren Stimmen, Musik und Effekten
Mit einem einzigen PopNow-API-Schlüssel rufst du Seed Audio 1.0 aus deinem eigenen Code auf. Hier findest du die Modell-IDs, jedes Eingabefeld, die Kosten pro Anfrage in Credits 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
- ByteDance
- Ergebnis
- Audio
- Ab
- 54 Credits pro Anfrage ($0.54)
- Typische Dauer
- etwa 36 s
- Modell-IDs
1 Credit = 0,01 $. Bei Annahme reserviert ein Task den höchstmöglichen Betrag und rechnet am Ende den tatsächlichen Verbrauch ab, auf ganze Credits aufgerundet; der Rest wird freigegeben. Fehlgeschlagene Tasks kosten nichts. Den genauen Betrag vorab liefert POST /api/v1/jobs/quote.
Soundeffekte
bytedance/seed-audio-1.0/text-to-audio
Preis
| Option | Credits (pro Anfrage) | US-Dollar |
|---|---|---|
Standard | 54 | $0.54 |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
promptPflicht | string | — | bis zu 2.000 Zeichen | Describe the whole audio scene: who speaks, how, what they say (in quotes), and any music, ambience or sound effects. |
reference_audio_urlsOptional | array<string (uri)> | — | bis zu 3 Einträge | Up to three reference clips, called @Audio1 to @Audio3 in the prompt. Not with image_url. |
image_urlOptional | string (uri) | — | — | Optional reference image to build the audio around. Not with reference_audio_urls. |
speedOptional | number | 1 | 0.5 bis 2 | Speech rate multiplier; 1 is normal. |
pitchOptional | integer | 0 | -12 bis 12 | Pitch shift in semitones; 0 keeps the original pitch. |
volumeOptional | number | 1 | 0.5 bis 2 | Loudness multiplier; 1 is the normal level. |
output_formatOptional | string | mp3 | mp3, wav, opus, pcm | File format of the result; pcm is headerless 16-bit little-endian stereo samples. |
sample_rateOptional | integer | — | 8000, 16000, 24000, 32000, 44100, 48000 | Sample rate in Hz. The model uses 24000 when omitted. |
Beispielanfrage
Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask?wait=60" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "bytedance/seed-audio-1.0/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.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
