logo
RunComfy
  • ComfyUI
  • TrainerNeu
  • Modelle
  • API
  • Preise
discord logo
MODELLE
Erkunden
Alle Modelle
BIBLIOTHEK
Generierungen
MODELL-APIS
API-Dokumentation
API-Schlüssel
KONTO
Nutzung

Dreamina 4.0: Schneller 4K KI-Bildgenerator | Bild zu Bild

bytedance/dreamina-4-0/edit

Produce 4K edits with structure-aware adjustments, multi-reference fusion, accurate text replacement, and controlled prompt influence.

Inhaltsverzeichnis

1. Erste Schritte2. Authentifizierung3. API-ReferenzAnfrage sendenAnfragestatus abrufenErgebnisse abrufenAnfrage abbrechen4. DateieingabenGehostete Datei (URL)5. SchemaEingabeschemaAusgabeschema

1. Erste Schritte

Nutzen Sie die RunComfy-API, um bytedance/dreamina-4-0/edit auszuführen. Zulässige Ein- und Ausgaben finden Sie im Schema.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/bytedance/dreamina-4-0/edit \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "image_urls": [
      "https://playgrounds-storage-public.runcomfy.net/tools/7002/media-files/usecase5-1-1-input.jpg",
      "https://playgrounds-storage-public.runcomfy.net/tools/7002/media-files/usecase5-1-2-input.jpg"
    ],
    "prompt": "A beautiful girl is sitting on the boat"
  }'

2. Authentifizierung

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.

3. API-Referenz

Anfrage senden

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/bytedance/dreamina-4-0/edit \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "image_urls": [
      "https://playgrounds-storage-public.runcomfy.net/tools/7002/media-files/usecase5-1-1-input.jpg",
      "https://playgrounds-storage-public.runcomfy.net/tools/7002/media-files/usecase5-1-2-input.jpg"
    ],
    "prompt": "A beautiful girl is sitting on the boat"
  }'

Anfragestatus abrufen

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>"

Ergebnisse abrufen

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>"

Anfrage abbrechen

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>"

4. Dateieingaben

Gehostete Datei (URL)

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.

5. Schema

Eingabeschema

{
  "type": "object",
  "title": "Eingabeschema",
  "required": [
    "image_urls",
    "prompt"
  ],
  "properties": {
    "image_urls": {
      "title": "Images",
      "description": "Only JPEG and PNG formats are supported; JPEG is recommended. Supports 1–10 images; larger or more images increase processing time. Recommended to use no more than 6 images; too many reference images may reduce quality.",
      "type": "array",
      "items": {
        "type": "string",
        "format": "image_uri"
      },
      "validations": [
        {
          "validation_rule": "file_size_mb<=",
          "validation_value": 15,
          "validation_error": "Each image file must be ≤ 15 MB."
        },
        {
          "validation_rule": "width_pixels<=",
          "validation_value": 4096,
          "validation_error": "Maximum resolution is 4096x4096."
        },
        {
          "validation_rule": "height_pixels<=",
          "validation_value": 4096,
          "validation_error": "Maximum resolution is 4096x4096."
        },
        {
          "validation_rule": "width/height≥",
          "validation_value": "0.33",
          "validation_error": "The input image aspect ratio must be within [1/3, 3]."
        },
        {
          "validation_rule": "width/height≤",
          "validation_value": "3",
          "validation_error": "The input image aspect ratio must be within [1/3, 3]."
        }
      ],
      "maxItems": 10,
      "minItems": 1,
      "default": [
        "https://playgrounds-storage-public.runcomfy.net/tools/7002/media-files/usecase5-1-1-input.jpg",
        "https://playgrounds-storage-public.runcomfy.net/tools/7002/media-files/usecase5-1-2-input.jpg"
      ]
    },
    "prompt": {
      "title": "prompt",
      "description": "",
      "type": "string",
      "maxLength": 800,
      "default": "A beautiful girl is sitting on the boat"
    },
    "width×height": {
      "title": "Aspect Ratio (W:H)",
      "description": "",
      "type": "string",
      "enum": [
        "1024x1024(1:1)",
        "2048x2048(1:1)",
        "2304x1728(4:3)",
        "2496x1664(3:2)",
        "2560x1440(16:9)",
        "3024x1296(21:9)",
        "4096x4096(1:1)",
        "4694x3520(4:3)",
        "4992x3328(3:2)",
        "5404x3040(16:9)",
        "6198x2656(21:9)"
      ],
      "default": "2048x2048(1:1)"
    },
    "scale": {
      "title": "Scale",
      "description": "Controls how strongly the text prompt influences the result relative to input images. Higher values increase text influence.",
      "type": "float",
      "minimum": 0,
      "maximum": 1,
      "default": 0.5
    },
    "force_single": {
      "title": "Force Single Image",
      "description": "Whether to force generation of a single image. More images per set increase latency; for stability, specify group count/resolution or pass width and height.",
      "type": "boolean",
      "default": false
    }
  }
}

Ausgabeschema

{
  "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"
        }
      }
    }
  }
}
Folge uns
  • LinkedIn
  • Facebook
  • Instagram
  • Twitter
Support
  • Discord
  • E-Mail
  • Systemstatus
  • Partner
Videomodelle
  • Wan 2.6 Flash
  • Kling Video O3 Pro Image To Video
  • Wan 2.6
  • Seedance 2.0 Fast
  • Hailuo 2.3 Fast Standard
  • Kling 3.0
  • Alle Modelle anzeigen →
Bildmodelle
  • seedream 4.0
  • Nano Banana 2 Edit
  • Flux 2 Dev
  • Nano Banana Pro
  • GPT Image 2 Image Edit
  • FLUX.1 Schnell
  • Alle Modelle anzeigen →
Rechtliches
  • Nutzungsbedingungen
  • Datenschutzrichtlinie
  • Cookie-Richtlinie
RunComfy
Urheberrecht 2026 RunComfy. Alle Rechte vorbehalten.

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.