Nutzen Sie die RunComfy-API, um minimax/minimax-h3-open/reference-to-video auszuführen. Zulässige Ein- und Ausgaben finden Sie im Schema.
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/minimax/minimax-h3-open/reference-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Use the woman from the reference image and keep her identity, hair, and emerald-green blazer. [0s-3s] she stands in a rainy neon alley and slowly lifts her gaze to camera as sign light flickers across her face. [3s-6s] she turns her shoulder and a faint smile forms while the camera pushes in and holds. Camera: slow dolly-in then hold, no cuts. Audio: soft night rain, distant city hum, low synth pad. No extra people, no text, no watermark.",
"reference_images": [
"https://playgrounds-storage-public.runcomfy.net/tools/7412/media-files/ref-promo.webp"
]
}'Weisen Sie der Umgebungsvariable YOUR_API_TOKEN Ihren API-Schlüssel zu (Verwaltung unter Profil). Senden Sie bei jeder Anfrage im Header Authorization einen Bearer-Token: Authorization: Bearer $YOUR_API_TOKEN.
Senden Sie einen asynchronen Generierungsauftrag und erhalten Sie sofort eine request_id sowie URLs für Status, Ergebnisse und Abbruch.
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/minimax/minimax-h3-open/reference-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Use the woman from the reference image and keep her identity, hair, and emerald-green blazer. [0s-3s] she stands in a rainy neon alley and slowly lifts her gaze to camera as sign light flickers across her face. [3s-6s] she turns her shoulder and a faint smile forms while the camera pushes in and holds. Camera: slow dolly-in then hold, no cuts. Audio: soft night rain, distant city hum, low synth pad. No extra people, no text, no watermark.",
"reference_images": [
"https://playgrounds-storage-public.runcomfy.net/tools/7412/media-files/ref-promo.webp"
]
}'Ruft den aktuellen Status für eine request_id ab („in_queue“, „in_progress“, „completed“ oder „cancelled“).
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
--header "Authorization: Bearer <token>"Ruft die endgültigen Ausgaben und Metadaten für die angegebene request_id ab; ist der Auftrag noch nicht fertig, liefert die Antwort den aktuellen Status zum Weiterpollen.
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
--header "Authorization: Bearer <token>"Bricht einen wartenden Auftrag per request_id ab; laufende Aufträge können nicht abgebrochen werden.
curl --request POST \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
--header "Authorization: Bearer <token>"Geben Sie eine öffentlich erreichbare HTTPS-URL an. Der Host muss serverseitige Abrufe erlauben (ohne Login/Cookies), nicht drosseln oder Bots blockieren. Empfohlen: Bilder ≤ 50 MB (~4K), Videos ≤ 100 MB (~2–5 Min. bei 720p). Für private Assets stabile oder vorab signierte URLs verwenden.
{
"type": "object",
"title": "Eingabeschema",
"required": [
"prompt",
"reference_images"
],
"properties": {
"prompt": {
"title": "Prompt",
"description": "Beschreiben Sie die Szene, die Bewegung, die Kamera und eine Audiozeile. Benennen Sie, was jede Referenz liefert (Identität, Stil, Bewegung oder Stimme).",
"type": "string",
"default": "Use the woman from the reference image and keep her identity, hair, and emerald-green blazer. [0s-3s] she stands in a rainy neon alley and slowly lifts her gaze to camera as sign light flickers across her face. [3s-6s] she turns her shoulder and a faint smile forms while the camera pushes in and holds. Camera: slow dolly-in then hold, no cuts. Audio: soft night rain, distant city hum, low synth pad. No extra people, no text, no watermark."
},
"reference_images": {
"title": "Referenzbilder",
"description": "Bis zu 9 Referenzbild-URLs, die auf Thema, Produkt, Stil oder Komposition hinweisen. Es ist mindestens ein Referenzbild oder -video erforderlich.",
"type": "array",
"default": [
"https://playgrounds-storage-public.runcomfy.net/tools/7412/media-files/ref-promo.webp"
],
"items": {
"type": "string",
"format": "image_uri"
},
"maxItems": 9
},
"reference_videos": {
"title": "Referenzvideos",
"description": "Bis zu 3 Referenzvideo-URLs zur Steuerung von Bewegung oder Tempo. Nur bei 480p-Ausgabe verfügbar; Ihre Soundtracks werden automatisch verwendet.",
"type": "array",
"items": {
"type": "string",
"format": "video_uri"
},
"maxItems": 3
},
"reference_audios": {
"title": "Referenzaudios",
"description": "Bis zu 3 Referenz-Audio-URLs (jeweils auf 15 Sekunden gekürzt). Ohne Bild- oder Videoreferenz nicht möglich.",
"type": "array",
"items": {
"type": "string",
"format": "audio_uri"
},
"maxItems": 3
},
"aspect_ratio": {
"title": "Seitenverhältnis",
"description": "Ausgabe-Seitenverhältnis.",
"type": "string",
"enum": [
"21:9",
"16:9",
"4:3",
"1:1",
"3:4",
"9:16",
"9:21"
],
"default": "16:9"
},
"resolution": {
"title": "Auflösung",
"description": "Ausgabeauflösung. 480p ist schneller/billiger; 768p ist die native Leinwand. Referenzvideos erfordern 480p.",
"type": "string",
"enum": [
"480p",
"768p"
],
"default": "480p"
},
"duration": {
"title": "Dauer",
"description": "Länge des generierten Videos in Sekunden (5-15).",
"type": "integer",
"minimum": 5,
"maximum": 15,
"default": 5
},
"seed": {
"title": "Seed",
"description": "Fester Seed für reproduzierbare Ergebnisse. Verwenden Sie -1 für einen zufälligen Startwert.",
"type": "integer",
"default": -1
}
}
}{
"output": {
"type": "object",
"properties": {
"image": {
"type": "string",
"format": "uri",
"description": "Einzelbild-URL"
},
"video": {
"type": "string",
"format": "uri",
"description": "Einzelvideo-URL"
},
"images": {
"type": "array",
"description": "mehrere Bild-URLs",
"items": {
"type": "string",
"format": "uri"
}
},
"videos": {
"type": "array",
"description": "mehrere Video-URLs",
"items": {
"type": "string",
"format": "uri"
}
}
}
}
}RunComfy ist die führende ComfyUI Plattform, die ComfyUI online Umgebung und Services bietet, zusammen mit ComfyUI Workflows mit atemberaubenden Visualisierungen. RunComfy bietet auch AI Models, Künstlern ermöglichen, die neuesten AI-Tools zu nutzen, um unglaubliche Kunst zu schaffen.