Nutzen Sie die RunComfy-API, um wan-ai/wan-2-6/video-to-video auszuführen. Zulässige Ein- und Ausgaben finden Sie im Schema.
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-6/video-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Overall Description: This video depicts a nostalgic, cinematic journey through a sun-drenched vintage street during the golden hour. The atmosphere is warm, peaceful, and reminiscent of an old film, focusing on the interplay of light, shadow, and historical architecture. \n Shot 1 [0-4 seconds]: A slow, sweeping tracking shot moves through the vintage street, capturing the golden-hour glow. character1 is walking leisurely along the sidewalk, bathed in warm sunlight. The lens flares dance as the light filters through the gaps between historic buildings, casting long, dramatic shadows around character1. \nShot 2 [4-7 seconds]: The camera continues to track as a classic car glides smoothly across the frame near character1. The car's polished surface reflects the warm hues of the setting sun, creating a contrast with the textured old buildings. \nShot 3 [7-10 seconds]: The focus shifts to the atmospheric details. Dust particles shimmer in the light around character1. The scene evokes a deep sense of nostalgia as character1 moves in the background, completing the cinematic vintage atmosphere.",
"reference_video_url_1": "https://playgrounds-storage-public.runcomfy.net/tools/7278/media-files/reference_video_1.mp4"
}'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/wan-ai/wan-2-6/video-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"prompt": "Overall Description: This video depicts a nostalgic, cinematic journey through a sun-drenched vintage street during the golden hour. The atmosphere is warm, peaceful, and reminiscent of an old film, focusing on the interplay of light, shadow, and historical architecture. \n Shot 1 [0-4 seconds]: A slow, sweeping tracking shot moves through the vintage street, capturing the golden-hour glow. character1 is walking leisurely along the sidewalk, bathed in warm sunlight. The lens flares dance as the light filters through the gaps between historic buildings, casting long, dramatic shadows around character1. \nShot 2 [4-7 seconds]: The camera continues to track as a classic car glides smoothly across the frame near character1. The car's polished surface reflects the warm hues of the setting sun, creating a contrast with the textured old buildings. \nShot 3 [7-10 seconds]: The focus shifts to the atmospheric details. Dust particles shimmer in the light around character1. The scene evokes a deep sense of nostalgia as character1 moves in the background, completing the cinematic vintage atmosphere.",
"reference_video_url_1": "https://playgrounds-storage-public.runcomfy.net/tools/7278/media-files/reference_video_1.mp4"
}'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",
"img_url",
"reference_video_url_1"
],
"properties": {
"prompt": {
"title": "Prompt",
"description": "Muss weniger als 1.500 Zeichen umfassen. Verweisen Sie auf die Referenzclips in der Eingabereihenfolge als `character1`, `character2` und `character3`; selbst eine einzelne Referenz muss `character1` heißen.",
"type": "string",
"default": "Overall Description: This video depicts a nostalgic, cinematic journey through a sun-drenched vintage street during the golden hour. The atmosphere is warm, peaceful, and reminiscent of an old film, focusing on the interplay of light, shadow, and historical architecture. \n Shot 1 [0-4 seconds]: A slow, sweeping tracking shot moves through the vintage street, capturing the golden-hour glow. character1 is walking leisurely along the sidewalk, bathed in warm sunlight. The lens flares dance as the light filters through the gaps between historic buildings, casting long, dramatic shadows around character1. \nShot 2 [4-7 seconds]: The camera continues to track as a classic car glides smoothly across the frame near character1. The car's polished surface reflects the warm hues of the setting sun, creating a contrast with the textured old buildings. \nShot 3 [7-10 seconds]: The focus shifts to the atmospheric details. Dust particles shimmer in the light around character1. The scene evokes a deep sense of nostalgia as character1 moves in the background, completing the cinematic vintage atmosphere."
},
"reference_video_url_1": {
"title": "Referenzvideo 1",
"description": "`MP4` oder `MOV`; 2–30 Sekunden; unter 100 MB. Wenn dies die einzige Referenz ist, beträgt der längste nutzbare Teil 5 Sekunden.",
"type": "string",
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7278/media-files/reference_video_1.mp4"
},
"reference_video_url_2": {
"title": "Referenzvideo 2",
"description": "`MP4` oder `MOV`; 2–30 Sekunden; unter 100 MB. Bei Verwendung mit `reference_video_url_1` beträgt der längste nutzbare Teil 2,5 Sekunden pro Clip.",
"type": "string"
},
"reference_video_url_3": {
"title": "Referenzvideo 3",
"description": "`MP4` oder `MOV`; 2–30 Sekunden; unter 100 MB. Wenn alle drei Referenzen verwendet werden, beträgt der längste nutzbare Teil 1,66 Sekunden pro Clip.",
"type": "string"
},
"duration": {
"title": "Dauer",
"description": "",
"type": "integer",
"enum": [
5,
10
],
"default": 5
},
"size": {
"title": "Auflösung",
"description": "",
"type": "string",
"enum": [
"1280*720",
"720*1280",
"960*960",
"1088*832",
"832*1088",
"1920*1080",
"1080*1920",
"1440*1440",
"1632*1248",
"1248*1632"
],
"default": "1280*720"
},
"shot_type": {
"title": "Aufnahmetyp",
"description": "Wählt ein Multi-Shot- oder Single-Shot-Ergebnis aus.",
"type": "string",
"enum": [
"multi",
"single"
],
"default": "multi"
},
"negative_prompt": {
"title": "Negativer Prompt",
"description": "",
"type": "string"
},
"seed": {
"title": "Seed",
"description": "",
"type": "integer",
"maximum": 2147483647,
"minimum": 0
},
"audio": {
"title": "Audio generieren",
"description": "",
"type": "boolean",
"default": true
}
}
}{
"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.