PopNowAPI-Doku
Hauptinhalt

Seedance 1.5 Pro API-Referenz

Clips mit nativem Ton, Kamera optional fixiert

Mit einem einzigen PopNow-API-Schlüssel rufst du Seedance 1.5 Pro 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
Video
Ab
1.68 Credits pro Sekunde Ergebnis ($0.0168)
Typische Dauer
etwa 51 s

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.

Video erstellen

bytedance/seedance-1.5-pro/text-to-video

Preis

OptionCredits (pro Sekunde Ergebnis)US-Dollar
generate_audio = false, resolution = 480p1.68$0.0168
generate_audio = true, resolution = 480p3.35$0.0335
generate_audio = false, resolution = 720p3.41$0.0341
generate_audio = true, resolution = 720p6.81$0.0681
generate_audio = false, resolution = 1080p7.36$0.0736
generate_audio = true, resolution = 1080p14.73$0.1473

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring——What to generate: subject, action, camera movement and mood.
aspect_ratioOptionalstring16:921:9, 16:9, 4:3, 1:1, 3:4, 9:16Aspect ratio of the generated video.
resolutionOptionalstring720p480p, 720p, 1080pOutput resolution. Super-resolution tiers are not offered.
duration_secondsOptionalinteger54 bis 12Clip length in seconds. This is the billed quantity.
generate_audioOptionalbooleantrue—Generate a native soundtrack synchronised to the picture.
camera_fixedOptionalbooleanfalse—Lock the camera to produce a stable, fixed-position shot.
seedOptionalinteger—0 bis 2147483647Random seed for controlled comparisons. Omit it to let each run pick its own.

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": "bytedance/seedance-1.5-pro/text-to-video",
  "input": {
    "prompt": "A paper boat drifts down a rain-soaked street at dusk, neon signs reflecting in the water, slow tracking shot at ground level",
    "generate_audio": true,
    "duration_seconds": 5,
    "resolution": "720p"
  }
}'

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"

Bild zu Video

bytedance/seedance-1.5-pro/image-to-video

Preis

OptionCredits (pro Sekunde Ergebnis)US-Dollar
generate_audio = false, resolution = 480p1.68$0.0168
generate_audio = true, resolution = 480p3.35$0.0335
generate_audio = false, resolution = 720p3.41$0.0341
generate_audio = true, resolution = 720p6.81$0.0681
generate_audio = false, resolution = 1080p7.36$0.0736
generate_audio = true, resolution = 1080p14.73$0.1473

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring——What to generate: subject, action, camera movement and mood.
image_urlPflichtstring——URL of the image used as the first frame.
last_image_urlOptionalstring——Optional closing frame the shot has to land on (480p and 720p).
aspect_ratioOptionalstring16:921:9, 16:9, 4:3, 1:1, 3:4, 9:16Aspect ratio of the generated video.
resolutionOptionalstring720p480p, 720p, 1080pOutput resolution. Super-resolution tiers are not offered.
duration_secondsOptionalinteger54 bis 12Clip length in seconds. This is the billed quantity.
generate_audioOptionalbooleantrue—Generate a native soundtrack synchronised to the picture.
camera_fixedOptionalbooleanfalse—Lock the camera to produce a stable, fixed-position shot.
seedOptionalinteger—0 bis 2147483647Random seed for controlled comparisons. Omit it to let each run pick its own.

Beispielanfrage

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

Das Beispiel nutzt in image_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.

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": "bytedance/seedance-1.5-pro/image-to-video",
  "input": {
    "prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "generate_audio": true,
    "duration_seconds": 5,
    "resolution": "720p"
  }
}'

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"

Video verlängern

bytedance/seedance-1.5-pro/video-extend

Preis

OptionCredits (pro Sekunde Ergebnis)US-Dollar
generate_audio = false, resolution = 480p1.68$0.0168
generate_audio = true, resolution = 480p3.35$0.0335
generate_audio = false, resolution = 720p3.41$0.0341
generate_audio = true, resolution = 720p6.81$0.0681
generate_audio = false, resolution = 1080p7.36$0.0736
generate_audio = true, resolution = 1080p14.73$0.1473

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring——Describe what happens next: the action that follows, the camera move and the sound. Required.
video_urlPflichtstring (uri)——The clip to continue: MP4, MOV or WebM, up to 60 seconds. Its final frame becomes the opening frame of the new segment, and the result is your clip with the new segment joined on.
last_image_urlOptionalstring——Optional target end frame: the new segment lands on this picture.
resolutionOptionalstring720p480p, 720p, 1080pResolution of the new segment; match your source clip.
duration_secondsOptionalinteger54 bis 12Length of the new segment in seconds. The source clip is added on top and is not billed.
generate_audioOptionalbooleantrue—Generate sound for the new segment. The source keeps its own sound either way.
camera_fixedOptionalbooleanfalse—Lock the camera to produce a stable, fixed-position shot.
seedOptionalinteger—0 bis 2147483647Random seed for controlled comparisons. Omit it to let each run pick its own.

Beispielanfrage

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

Das Beispiel nutzt in video_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.

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": "bytedance/seedance-1.5-pro/video-extend",
  "input": {
    "prompt": "The flowers keep opening while the camera slowly pulls back to reveal a sunlit meadow",
    "video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
    "generate_audio": true,
    "duration_seconds": 5,
    "resolution": "720p"
  }
}'

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