PopNowAPI-Doku
Hauptinhalt

FLUX 3 API-Referenz

Video mit synchronem Ton und schneller Entwurfsstufe

Mit einem einzigen PopNow-API-Schlüssel rufst du FLUX 3 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
Black Forest Labs
Ergebnis
Video
Ab
$0.06 USD pro Sekunde Ergebnis

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.

Video hochskalieren

black-forest-labs/flux-3/upscale

Preis

OptionUSD
precise$0.528 pro Sekunde Ergebnis
creative$0.7584 pro Sekunde Ergebnis

Parameter

FeldTypStandardwertErlaubtBedeutung
video_urlPflichtstring (uri)——The clip to upscale, an MP4 of up to 20 seconds. Billed by its length, rounded up to whole seconds.
upscale_modeOptionalstringpreciseprecise, creativeprecise stays faithful to the source; creative also rebuilds fine detail and costs more.
upscale_factorOptionalnumber21.5 bis 3How many times larger, from 1.5 to 3. The aspect ratio is kept and the factor does not change the price.
promptOptionalstring—bis zu 5.000 ZeichenOptional, creative mode only: the detail you want added, such as skin texture or fabric weave.

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": "black-forest-labs/flux-3/upscale",
  "input": {
    "prompt": "Sharpen fine detail and keep the natural look",
    "video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
    "upscale_mode": "precise"
  }
}'

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 erstellen

black-forest-labs/flux-3/text-to-video

Preis

OptionUSD
quality = draft, resolution = 1080p$0.06 pro Sekunde Ergebnis
quality = draft, resolution = 720p$0.06 pro Sekunde Ergebnis
quality = standard, resolution = 720p$0.17 pro Sekunde Ergebnis
quality = standard, resolution = 1080p$0.29 pro Sekunde Ergebnis

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring—bis zu 5.000 ZeichenDescribe the subject, action, camera, light and sound for the shot.
aspect_ratioOptionalstring16:916:9, 9:16, 1:1, 4:3, 3:4, 21:9, 2:1Output aspect ratio.
qualityOptionalstringstandardstandard, draftstandard renders at the chosen resolution; draft is a fast, lower-cost preview at 720p.
resolutionOptionalstring720p720p, 1080pOutput resolution. draft renders at 720p only.
duration_secondsOptionalinteger55, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, … (+2)Output length in whole seconds, 5 to 20.
generate_audioOptionalbooleantrue—Generate synchronized sound with the video. The price is the same either way.

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": "black-forest-labs/flux-3/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",
    "duration_seconds": 5,
    "resolution": "720p",
    "quality": "standard"
  }
}'

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

black-forest-labs/flux-3/image-to-video

Preis

OptionUSD
quality = draft, resolution = 1080p$0.06 pro Sekunde Ergebnis
quality = draft, resolution = 720p$0.06 pro Sekunde Ergebnis
quality = standard, resolution = 720p$0.17 pro Sekunde Ergebnis
quality = standard, resolution = 1080p$0.29 pro Sekunde Ergebnis

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring—bis zu 5.000 ZeichenDescribe the subject, action, camera, light and sound for the shot.
image_urlPflichtstring (uri)——Opening frame. The subject keeps its look from this image.
last_image_urlOptionalstring (uri)——Optional closing frame: the clip moves from the opening image to this one.
aspect_ratioOptionalstring—16:9, 9:16, 1:1, 4:3, 3:4, 21:9, 2:1Output aspect ratio. Omit it to follow the opening image.
qualityOptionalstringstandardstandard, draftstandard renders at the chosen resolution; draft is a fast, lower-cost preview at 720p.
resolutionOptionalstring720p720p, 1080pOutput resolution. draft renders at 720p only.
duration_secondsOptionalinteger55, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, … (+2)Output length in whole seconds, 5 to 20.
generate_audioOptionalbooleantrue—Generate synchronized sound with the video. The price is the same either way.

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": "black-forest-labs/flux-3/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",
    "duration_seconds": 5,
    "resolution": "720p",
    "quality": "standard"
  }
}'

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