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

Wan 2.6 Text-to-Video: 5, 10 oder 15 Sekunden | RunComfy

wan-ai/wan-2-6/text-to-video

Generieren Sie 5-, 10- oder 15-Sekunden-Videos aus Text mit optionalem Quellaudio und genauen Steuerelementen für Ausgabeabmessungen, Aufnahmestruktur, Prompt-Erweiterung, Seed und generiertes Audio.

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 wan-ai/wan-2-6/text-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/text-to-video \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "Overall Description: A serene and colorful underwater journey through a vibrant coral reef. The atmosphere is peaceful and magical, with beams of sunlight penetrating the deep blue water.\nShot 1 [0-4 seconds]: A tracking shot moves through a colorful coral archway. Schools of small, neon-colored tropical fish dart in unison around the textured coral formations.\nShot 2 [4-7 seconds]: A large sea turtle swims slowly into the frame, its flippers moving gracefully. The texture of its shell is visible in high detail as it passes near the camera.\nShot 3 [7-10 seconds]: The camera tilts up towards the water's surface. Sun rays (God rays) filter through the rippling water, creating a mesmerizing dance of light on the ocean floor."
  }'

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/wan-ai/wan-2-6/text-to-video \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "Overall Description: A serene and colorful underwater journey through a vibrant coral reef. The atmosphere is peaceful and magical, with beams of sunlight penetrating the deep blue water.\nShot 1 [0-4 seconds]: A tracking shot moves through a colorful coral archway. Schools of small, neon-colored tropical fish dart in unison around the textured coral formations.\nShot 2 [4-7 seconds]: A large sea turtle swims slowly into the frame, its flippers moving gracefully. The texture of its shell is visible in high detail as it passes near the camera.\nShot 3 [7-10 seconds]: The camera tilts up towards the water's surface. Sun rays (God rays) filter through the rippling water, creating a mesmerizing dance of light on the ocean floor."
  }'

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": [
    "prompt"
  ],
  "properties": {
    "prompt": {
      "title": "Prompt",
      "description": "Muss weniger als 1.500 Zeichen umfassen.",
      "type": "string",
      "default": "Overall Description: A serene and colorful underwater journey through a vibrant coral reef. The atmosphere is peaceful and magical, with beams of sunlight penetrating the deep blue water.\nShot 1 [0-4 seconds]: A tracking shot moves through a colorful coral archway. Schools of small, neon-colored tropical fish dart in unison around the textured coral formations.\nShot 2 [4-7 seconds]: A large sea turtle swims slowly into the frame, its flippers moving gracefully. The texture of its shell is visible in high detail as it passes near the camera.\nShot 3 [7-10 seconds]: The camera tilts up towards the water's surface. Sun rays (God rays) filter through the rippling water, creating a mesmerizing dance of light on the ocean floor."
    },
    "audio_url": {
      "title": "Audio",
      "description": "`WAV` oder `MP3`; 3–30 Sekunden; unter 15 MB.",
      "type": "string"
    },
    "aspect_ratio": {
      "title": "Auflösung (B:H)",
      "description": "",
      "type": "string",
      "enum": [
        "1920:1080 (16:9)",
        "1080:1920 (9:16)",
        "1440:1440 (1:1)",
        "1632:1248 (4:3)",
        "1248:1632 (3:4)",
        "1280:720 (16:9)",
        "720:1280 (9:16)",
        "960:960 (1:1)",
        "1088:832 (4:3)",
        "832:1088 (3:4)"
      ],
      "default": "1920:1080 (16:9)"
    },
    "duration": {
      "title": "Dauer",
      "description": "",
      "type": "integer",
      "enum": [
        5,
        10,
        15
      ],
      "default": 5
    },
    "shot_type": {
      "title": "Aufnahmetyp",
      "description": "`shot_type` hat Vorrang vor `prompt`. Beispielsweise erzeugt `single` ein Video mit einer einzigen Aufnahme, selbst wenn die Eingabeaufforderung nach mehreren Aufnahmen fragt.",
      "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
    },
    "prompt_extend": {
      "title": "Prompt-Erweiterung",
      "description": "Aktiviert oder deaktiviert die automatische Verbesserung der Aufforderung zur Videogenerierung.",
      "type": "boolean",
      "default": true
    },
    "audio": {
      "title": "Audio generieren",
      "description": "",
      "type": "boolean",
      "default": true
    }
  }
}

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
  • MiniMax H3 Open
  • FLUX 3 Image to Video
  • MiniMax H3 Open Image to Video
  • Wan 2.6 Flash
  • Happy Horse 1.1 reference to video
  • Seedance 1.5 Pro Text to Video
  • Alle Modelle anzeigen →
Bildmodelle
  • Seedream 5.0 Pro Image Edit
  • Flux 2 Flash Edit
  • Nano Banana Pro
  • seedream 4.0
  • GPT Image 2
  • Qwen Image Edit 2511 LoRA
  • 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.