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
- 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.
Video bearbeiten
minimax/h3-edit/video-edit
Preis
| Option | USD |
|---|---|
480p | $0.03 pro Sekunde Ergebnis |
540p | $0.045 pro Sekunde Ergebnis |
768p | $0.066 pro Sekunde Ergebnis |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
promptPflicht | string | — | bis zu 5.000 Zeichen | The change to make: lighting, weather, style, setting or specific elements. Name references as <Picture 1> or <Audio 1>. |
video_urlPflicht | string (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_urlsOptional | array<string (uri)> | — | bis zu 9 Einträge | Optional reference images, up to nine, named <Picture 1> to <Picture 9> in the prompt. Each one adds a per-reference charge. |
reference_audio_urlsOptional | array<string (uri)> | — | bis zu 3 Einträge | Optional reference audio clips, up to three, named <Audio 1> to <Audio 3> in the prompt. Each one adds a per-reference charge. |
aspect_ratioOptional | string | — | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, 9:21 | Output aspect ratio. Leave it out to keep the source clip's shape. |
resolutionOptional | string | 768p | 480p, 540p, 768p | Output resolution. 768p is H3's own canvas; 480p and 540p are lower-cost, quicker tiers. |
duration_secondsOptional | integer | 5 | 3 bis 15 | Length of the edited clip in whole seconds, 3 to 15. Set it to your source clip's length to edit the whole clip. |
generate_audioOptional | boolean | true | — | On: H3 generates a new soundtrack for the edit. Off: the source clip's own audio is kept. |
seedOptional | integer | — | 0 bis 2147483647 | Random 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.
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.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
