PopNowAPI-Doku
Hauptinhalt

MiniMax H3 Edit API-Referenz

Licht, Wetter oder Stil eines Clips ändern; Personen und Bewegung bleiben

Mit einem einzigen PopNow-API-Schlüssel rufst du MiniMax H3 Edit 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
MiniMax
Ergebnis
Video
Ab
$0.03 USD pro Sekunde Ergebnis
Typische Dauer
etwa 96 s

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 bearbeiten

minimax/h3-edit/video-edit

Preis

OptionUSD
480p$0.03 pro Sekunde Ergebnis
540p$0.045 pro Sekunde Ergebnis
768p$0.066 pro Sekunde Ergebnis

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring—bis zu 5.000 ZeichenThe change to make: lighting, weather, style, setting or specific elements. Name references as <Picture 1> or <Audio 1>.
video_urlPflichtstring (uri)——The clip to edit (MP4), up to 15 seconds; longer clips are refused before any charge. It keeps driving who is in it, the composition and the motion.
reference_image_urlsOptionalarray<string (uri)>—bis zu 9 EinträgeOptional reference images, up to nine, named <Picture 1> to <Picture 9> in the prompt. Each one adds a per-reference charge.
reference_audio_urlsOptionalarray<string (uri)>—bis zu 3 EinträgeOptional reference audio clips, up to three, named <Audio 1> to <Audio 3> in the prompt. Each one adds a per-reference charge.
aspect_ratioOptionalstring—16:9, 9:16, 1:1, 4:3, 3:4, 21:9, 9:21Output aspect ratio. Leave it out to keep the source clip's shape.
resolutionOptionalstring768p480p, 540p, 768pOutput resolution. 768p is H3's own canvas; 480p and 540p are lower-cost, quicker tiers.
duration_secondsOptionalinteger53 bis 15Length of the edited clip in whole seconds, 3 to 15. Set it to your source clip's length to edit the whole clip.
generate_audioOptionalbooleantrue—On: H3 generates a new soundtrack for the edit. Off: the source clip's own audio is kept.
seedOptionalinteger—0 bis 2147483647Random seed for controlled comparisons.

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": "minimax/h3-edit/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",
    "duration_seconds": 5,
    "resolution": "768p"
  }
}'

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