Nutzen Sie die RunComfy-API, um qwen/qwen-edit-2509/multi-image-edit-plus auszuführen. Zulässige Ein- und Ausgaben finden Sie im Schema.
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/qwen/qwen-edit-2509/multi-image-edit-plus \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"image": [
"https://playgrounds-storage-public.runcomfy.net/tools/7201/media-files/1-1-input.png",
"https://playgrounds-storage-public.runcomfy.net/tools/7193/media-files/1-1-input.png"
],
"text": "Make the girl from Image 1 sit besides the baby of Image 2. Keep her clothing, hairstyle unchanged, and ensure the action is natural and smooth."
}'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/qwen/qwen-edit-2509/multi-image-edit-plus \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"image": [
"https://playgrounds-storage-public.runcomfy.net/tools/7201/media-files/1-1-input.png",
"https://playgrounds-storage-public.runcomfy.net/tools/7193/media-files/1-1-input.png"
],
"text": "Make the girl from Image 1 sit besides the baby of Image 2. Keep her clothing, hairstyle unchanged, and ensure the action is natural and smooth."
}'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": [
"image",
"text"
],
"properties": {
"image": {
"title": "Bild",
"description": "Erforderliches Array von 1–3 Bildern. Unterstützte Formate: JPG, JPEG, PNG, BMP, TIFF und WEBP. Jedes Bild darf nicht größer als 10 MB sein und sowohl Breite als auch Höhe müssen 384–3072 Pixel betragen.",
"type": "array",
"items": {
"type": "string",
"format": "image_uri"
},
"maxItems": 3,
"minItems": 1,
"default": [
"https://playgrounds-storage-public.runcomfy.net/tools/7201/media-files/1-1-input.png",
"https://playgrounds-storage-public.runcomfy.net/tools/7193/media-files/1-1-input.png"
],
"validations": [
{
"validation_rule": "file_size_mb<=",
"validation_value": 10,
"validation_error": "Die Bilddatei darf höchstens 10 MB groß sein."
},
{
"validation_rule": "width_pixels>=",
"validation_value": 384,
"validation_error": "Das Bild muss mindestens 384 Pixel breit sein."
},
{
"validation_rule": "height_pixels>=",
"validation_value": 384,
"validation_error": "Das Bild muss mindestens 384 Pixel hoch sein."
},
{
"validation_rule": "width_pixels<=",
"validation_value": 3072,
"validation_error": "Das Bild darf höchstens 3072 Pixel breit sein."
},
{
"validation_rule": "height_pixels<=",
"validation_value": 3072,
"validation_error": "Das Bild darf höchstens 3072 Pixel hoch sein."
}
]
},
"text": {
"title": "Prompt",
"description": "Erforderliche Bearbeitungsanweisung unter 800 Zeichen. Bezeichnen Sie mehrere Eingaben als `Image 1`, `Image 2` und `Image 3`.",
"type": "string",
"default": "Make the girl from Image 1 sit besides the baby of Image 2. Keep her clothing, hairstyle unchanged, and ensure the action is natural and smooth."
},
"n": {
"title": "Anzahl der Bilder",
"description": "Anzahl der Ergebnisbilder. Zulässiger Bereich: 1–6; Standard: 1.",
"type": "integer",
"minimum": 1,
"maximum": 6,
"default": 1
},
"negative_prompt": {
"title": "Negativer Prompt",
"description": "Optionaler Text, der den zu vermeidenden Inhalt beschreibt; muss weniger als 500 Zeichen lang sein.",
"type": "string",
"default": "low resolution, error, worst quality, low quality, disfigured, extra fingers, bad proportions."
},
"seed": {
"title": "Seed",
"description": "Ganzzahliger Startwert von 0 bis 2147483647; Standard: 96860978.",
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"default": 96860978
}
}
}{
"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.