3D to Video API-Referenz
Szene in grauem 3D blocken, ein Bild malen, fertigen Clip mit derselben Kamerafahrt erhalten
Mit einem einzigen PopNow-API-Schlüssel rufst du 3D to Video 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
- PopNow
- Ergebnis
- Video
- Ab
- $0.048 USD pro Sekunde Ergebnis
- Modell-IDs
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.
3D zu Video
popnow/3d-to-video-v1/video-edit
Preis
| Option | USD |
|---|---|
720p | $0.048 pro Sekunde Ergebnis |
1080p | $0.12 pro Sekunde Ergebnis |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
video_urlPflicht | string | — | — | The layout, 1 to 120 seconds long: a grey or clay render of your 3D scene (24 fps works best). It sets the camera move, motion, timing and aspect ratio. |
image_urlPflicht | string | — | — | The look: the layout's first frame restyled with an image model (palette, lighting, materials). Do not send the grey frame itself. |
promptPflicht | string | — | bis zu 2.000 Zeichen | One or two sentences describing the finished shot, matching the look image. Do not mention clay, 3D or the layout. |
last_image_urlOptional | string | — | — | Optional: the layout's last frame restyled in the same style, to keep the look steady in shots longer than about three seconds. |
resolutionOptional | string | 1080p | 720p, 1080p | Output resolution; the layout's aspect ratio is kept. Sets the per-second rate. |
seedOptional | integer | — | 0 bis 2147483647 | Optional seed to repeat a result. Leave empty for a random one. |
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, video_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.
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": "popnow/3d-to-video-v1/video-edit",
"input": {
"prompt": "Recolor the flowers in soft pastel blue; keep the face and the motion unchanged",
"video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"resolution": "1080p"
}
}'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"
