PopNowAPI-Doku
Hauptinhalt

LTX 2.5 API-Referenz

Lange 20-Sekunden-Takes bis 4K mit Soundtrack

Mit einem einzigen PopNow-API-Schlüssel rufst du LTX 2.5 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
Lightricks
Ergebnis
Video
Ab
$0.09 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 erstellen

lightricks/ltx-2.5/text-to-video

Preis

OptionUSD
720p$0.0945 pro Sekunde Ergebnis
1080p$0.1365 pro Sekunde Ergebnis
2k$0.1995 pro Sekunde Ergebnis
4k$0.315 pro Sekunde Ergebnis

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring——Describe the picture and the action you want.
resolutionOptionalstring720p720p, 1080p, 2k, 4kOutput resolution.
aspect_ratioOptionalstring16:916:9, 9:16, 1:1, 3:2, 2:3Output aspect ratio.
duration_secondsOptionalinteger55 bis 20Requested output length in seconds.
fpsOptionalinteger2424, 25, 48, 50Output frame rate in frames per second.
seedOptionalinteger—0 bis 2147483647Random seed. Keep it fixed only for controlled comparisons, not as a frame-identical guarantee.

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": "lightricks/ltx-2.5/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"
  }
}'

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

lightricks/ltx-2.5/image-to-video

Preis

OptionUSD
720p$0.0936 pro Sekunde Ergebnis
1080p$0.1352 pro Sekunde Ergebnis
2k$0.1976 pro Sekunde Ergebnis
4k$0.312 pro Sekunde Ergebnis

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring——Describe what happens after the opening frame: the action and the camera.
image_urlPflichtstring (uri)——Authorised opening frame.
last_image_urlOptionalstring (uri)——Optional closing frame the clip should resolve to.
resolutionOptionalstring720p720p, 1080p, 2k, 4kOutput resolution.
duration_secondsOptionalinteger55 bis 20Requested output length in seconds.
fpsOptionalinteger2424, 25, 48, 50Output frame rate in frames per second.
seedOptionalinteger—0 bis 2147483647Random seed. Keep it fixed only for controlled comparisons, not as a frame-identical guarantee.

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": "lightricks/ltx-2.5/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"
  }
}'

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"

Audio zu Video

lightricks/ltx-2.5/audio-to-video

Preis

OptionUSD
720p$0.09 pro Sekunde Ergebnis
1080p$0.13 pro Sekunde Ergebnis
2k$0.19 pro Sekunde Ergebnis

Parameter

FeldTypStandardwertErlaubtBedeutung
audio_urlPflichtstring (uri)——Public URL of the input speech, singing, or music clip (2 to 20 seconds).
promptPflichtstring—bis zu 5.000 ZeichenScene, action, lighting, and camera prompt synchronized to the audio.
image_urlOptionalstring (uri)——Optional first-frame image URL.
resolutionOptionalstring1080p720p, 1080p, 2kOutput resolution (short edge).
fpsOptionalinteger2424, 25, 48, 50Output frame rate in frames per second.
duration_secondsOptionalnumber—2 bis 20Optional clip length in seconds cut from the start of the audio.
seedOptionalinteger—0 bis 2147483647Optional seed for reproducible generation.

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 audio_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": "lightricks/ltx-2.5/audio-to-video",
  "input": {
    "prompt": "A bright, cheerful scene with soft natural light",
    "audio_url": "https://media.popnow.ai/shortfilm/voices/Aoede-46e4c427.mp3",
    "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.

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