PopNowAPI-Doku
Hauptinhalt

Veo 3.1 API-Referenz

Filmreife Videos mit nativem Ton.

Mit einem einzigen PopNow-API-Schlüssel rufst du Veo 3.1 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
Google
Ergebnis
Video
Ab
$1.36 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.

Video erstellen

google/veo-3.1/text-to-video

Preis

OptionUSD
4$1.36 pro Anfrage
6$2.04 pro Anfrage
8$2.72 pro Anfrage
duration_seconds = 8, resolution = 1080p$2.88 pro Anfrage
duration_seconds = 8, resolution = 4k$4.32 pro Anfrage

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring—bis zu 4.000 ZeichenDescribe the subject, the action, the camera and the sound.
aspect_ratioOptionalstring16:916:9, 9:16Output aspect ratio: 16:9 (1280x720) or 9:16 (720x1280).
resolutionOptionalstring720p720p, 1080p, 4kOutput resolution. 720p is the default; 1080p and 4k are 8-second clips only and take longer, because the 720p render is upscaled.
duration_secondsOptionalinteger84, 6, 8Clip length: 4, 6 or 8 seconds. Billed per clip by length.

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": "google/veo-3.1/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": 8,
    "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

google/veo-3.1/image-to-video

Preis

OptionUSD
4$1.36 pro Anfrage
6$2.04 pro Anfrage
8$2.72 pro Anfrage
duration_seconds = 8, resolution = 1080p$2.88 pro Anfrage
duration_seconds = 8, resolution = 4k$4.32 pro Anfrage

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring—bis zu 4.000 ZeichenDescribe the motion, the camera and the sound.
image_urlPflichtstring (uri)——Opening frame of the clip.
last_image_urlOptionalstring (uri)——Optional closing frame; the clip moves from the first frame to this one.
aspect_ratioOptionalstringautoauto, 16:9, 9:16auto follows the first frame; 16:9 or 9:16 crops to that shape.
resolutionOptionalstring720p720p, 1080p, 4kOutput resolution. 720p is the default; 1080p and 4k are 8-second clips only and take longer, because the 720p render is upscaled.
duration_secondsOptionalinteger84, 6, 8Clip length: 4, 6 or 8 seconds. Billed per clip by length.

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": "google/veo-3.1/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": 8,
    "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

google/veo-3.1/video-extend

Preis

OptionUSD
4$1.36 pro Anfrage
6$2.04 pro Anfrage
8$2.72 pro Anfrage
duration_seconds = 8, resolution = 1080p$2.88 pro Anfrage
duration_seconds = 8, resolution = 4k$4.32 pro Anfrage

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring—bis zu 4.000 ZeichenDescribe what happens next: the action, the camera and the sound.
video_urlPflichtstring (uri)——The clip to continue, up to 60 seconds. Its last frame opens the new segment; you get back one file with both joined.
last_image_urlOptionalstring (uri)——Optional closing frame for the new segment.
resolutionOptionalstring720p720p, 1080p, 4kResolution of the new segment and of the joined file: 720p (default), or 1080p and 4k for 8-second segments only. Match your source clip.
duration_secondsOptionalinteger84, 6, 8Length of the new segment: 4, 6 or 8 seconds. Billed per segment by length; the source clip is not billed.

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": "google/veo-3.1/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",
    "duration_seconds": 8,
    "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