PopNowAPI-Doku
Hauptinhalt

MiniMax H3 Max API-Referenz

Schnelle Clips mit Atmo, Effekten und Musik

Mit einem einzigen PopNow-API-Schlüssel rufst du MiniMax H3 Max aus deinem eigenen Code auf. Hier findest du die Modell-IDs, jedes Eingabefeld, die Kosten pro Anfrage in Credits 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
7.5 Credits pro Sekunde Ergebnis ($0.075)
Typische Dauer
etwa 31 s

1 Credit = 0,01 $. Bei Annahme reserviert ein Task den höchstmöglichen Betrag und rechnet am Ende den tatsächlichen Verbrauch ab, auf ganze Credits aufgerundet; der Rest wird freigegeben. Fehlgeschlagene Tasks kosten nichts. Den genauen Betrag vorab liefert POST /api/v1/jobs/quote.

Video erstellen

minimax/h3-max/text-to-video

Preis

OptionCredits (pro Sekunde Ergebnis)US-Dollar
480p7.5$0.075
768p12$0.12

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring—bis zu 7.000 ZeichenDescribe the subject, action, camera, and mood of the shot.
aspect_ratioOptionalstring1:121:9, 16:9, 4:3, 1:1, 3:4, 9:16Output aspect ratio.
duration_secondsOptionalinteger85 bis 15Requested output length in seconds, from 5 to 15.
resolutionOptionalstring768p480p, 768pOutput resolution.
enable_prompt_expansionOptionalbooleanfalse—Expand the prompt into a fuller description before generating. Requests with it on add a flat per-request prompt-expansion fee.

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": "minimax/h3-max/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",
    "enable_prompt_expansion": false,
    "resolution": "768p",
    "duration_seconds": 8
  }
}'

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

minimax/h3-max/image-to-video

Preis

OptionCredits (pro Sekunde Ergebnis)US-Dollar
480p7.5$0.075
768p12$0.12

Parameter

FeldTypStandardwertErlaubtBedeutung
image_urlPflichtstring (uri)——Opening frame. It fixes the composition and the subject the clip starts from.
promptPflichtstring—bis zu 7.000 ZeichenDescribe what happens after the opening frame: the action, the camera, and the mood.
last_image_urlOptionalstring (uri)——Optional closing frame the clip should resolve to. It may only be sent together with an opening frame.
duration_secondsOptionalinteger85 bis 15Requested output length in seconds, from 5 to 15.
resolutionOptionalstring768p480p, 768pOutput resolution.
enable_prompt_expansionOptionalbooleanfalse—Expand the prompt into a fuller description before generating. Requests with it on add a flat per-request prompt-expansion fee.

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?wait=60
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask?wait=60" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "minimax/h3-max/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",
    "enable_prompt_expansion": false,
    "resolution": "768p",
    "duration_seconds": 8
  }
}'

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

minimax/h3-max/video-extend

Preis

OptionCredits (pro Sekunde Ergebnis)US-Dollar
480p7.5$0.075
768p12$0.12

Parameter

FeldTypStandardwertErlaubtBedeutung
promptPflichtstring—bis zu 7.000 ZeichenDescribe what happens next: the action that follows, the camera move and the sound.
video_urlPflichtstring (uri)——The clip to continue: MP4, MOV or WebM, up to 60 seconds. Its last frame opens the new segment, and the result is your clip with the new segment joined on.
last_image_urlOptionalstring (uri)——Optional target end frame: the new segment closes on this image.
duration_secondsOptionalinteger85 bis 15Length of the new segment in seconds, from 5 to 15. The source clip is added on top and is not billed.
resolutionOptionalstring768p480p, 768pResolution of the new segment. It sets how sharp the new part is generated; match your source clip.
enable_prompt_expansionOptionalbooleanfalse—Expand the prompt into a fuller description before generating. Requests with it on add a flat per-request prompt-expansion fee.

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-max/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",
    "enable_prompt_expansion": false,
    "resolution": "768p",
    "duration_seconds": 8
  }
}'

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