logo
RunComfy
  • ComfyUI
  • EntraîneurNouveau
  • Modèles
  • API
  • Tarification
discord logo
MODÈLES
Explorer
Tous les modèles
BIBLIOTHÈQUE
Générations
APIS DE MODÈLES
Documentation API
Clés API
COMPTE
Utilisation

Wan 2.6 : Génération Réaliste Image-vers-Vidéo avec Mouvement & Synchronisation Labiale | RunComfy

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

Transformez des images statiques en vidéos haute fidélité 1080P avec Wan 2.6 Image-vers-Vidéo. Fonctionnalités incluant synchronisation labiale pilotée par audio, mouvements de caméra dynamiques multi-plans et cohérence stricte des personnages.

Table des matières

1. Démarrage2. Authentification3. Référence APISoumettre une requêteStatut de la requêteRécupérer les résultatsAnnuler une requête4. Fichiers en entréeFichier hébergé (URL)5. SchémaSchéma d'entréeSchéma de sortie

1. Démarrage

Utilisez l'API RunComfy pour exécuter wan-ai/wan-2-6/image-to-video. Pour les entrées et sorties acceptées, voir le schéma.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-6/image-to-video \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "Overall Description: This video captures the serene and powerful movement of  a shark swimming in the open ocean. The visual style is cinematic and documentary-like, emphasizing the clarity of the blue water and the dramatic interplay of sunlight piercing through the surface (God rays). The atmosphere is tense yet majestic.\nShot 1 [0-4 seconds]: A wide, side-profile tracking shot follows the shark gliding effortlessly through the deep blue water. Sunlight filters down from the surface, creating dancing patterns of light on shark's grey skin. The water is crystal clear, with bubbles trailing slightly behind.\nShot 2 [4-7 seconds]: The camera angles up towards the surface (low angle shot). The shark swims directly overhead, its silhouette dark and distinct against the bright, shimmering surface of the water and the sun's glare.\nShot 3 [7-10 seconds]: A close-up shot focuses on shark's face and gills. The shark turns slightly towards the camera, revealing a piercing gaze, before propelling itself forward with a strong tail movement, disappearing into the deep blue gloom of the ocean.",
    "img_url": "https://playgrounds-storage-public.runcomfy.net/tools/7276/media-files/input-1-1.png"
  }'

2. Authentification

Définissez la variable d'environnement YOUR_API_TOKEN avec votre clé API (gestion dans Profil) et incluez à chaque requête un jeton Bearer dans l'en-tête Authorization : Authorization: Bearer $YOUR_API_TOKEN.

3. Référence API

Soumettre une requête

Soumettez une tâche de génération asynchrone et recevez immédiatement un request_id ainsi que des URLs pour le statut, les résultats et l'annulation.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-6/image-to-video \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "Overall Description: This video captures the serene and powerful movement of  a shark swimming in the open ocean. The visual style is cinematic and documentary-like, emphasizing the clarity of the blue water and the dramatic interplay of sunlight piercing through the surface (God rays). The atmosphere is tense yet majestic.\nShot 1 [0-4 seconds]: A wide, side-profile tracking shot follows the shark gliding effortlessly through the deep blue water. Sunlight filters down from the surface, creating dancing patterns of light on shark's grey skin. The water is crystal clear, with bubbles trailing slightly behind.\nShot 2 [4-7 seconds]: The camera angles up towards the surface (low angle shot). The shark swims directly overhead, its silhouette dark and distinct against the bright, shimmering surface of the water and the sun's glare.\nShot 3 [7-10 seconds]: A close-up shot focuses on shark's face and gills. The shark turns slightly towards the camera, revealing a piercing gaze, before propelling itself forward with a strong tail movement, disappearing into the deep blue gloom of the ocean.",
    "img_url": "https://playgrounds-storage-public.runcomfy.net/tools/7276/media-files/input-1-1.png"
  }'

Statut de la requête

Récupère l'état actuel pour un request_id (« in_queue », « in_progress », « completed » ou « cancelled »).

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
  --header "Authorization: Bearer <token>"

Récupérer les résultats

Récupère les sorties finales et métadonnées pour le request_id ; si le travail n'est pas terminé, la réponse indique l'état actuel pour poursuivre le polling.

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
  --header "Authorization: Bearer <token>"

Annuler une requête

Annule un travail en file d'attente via request_id ; les travaux en cours ne peuvent pas être annulés.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
  --header "Authorization: Bearer <token>"

4. Fichiers en entrée

Fichier hébergé (URL)

Fournissez une URL HTTPS accessible publiquement. L'hôte doit autoriser les récupérations côté serveur (sans login/cookies), sans limitation de débit ni blocage des bots. Recommandé : images ≤ 50 Mo (~4K), vidéos ≤ 100 Mo (~2–5 min en 720p). Préférez des URL stables ou pré-signées pour les actifs privés.

5. Schéma

Schéma d'entrée

{
  "type": "object",
  "title": "Schéma d'entrée",
  "required": [
    "prompt",
    "img_url"
  ],
  "properties": {
    "prompt": {
      "title": "Prompt",
      "description": "La longueur doit être inférieure à 1500 caractères.",
      "type": "string",
      "default": "Overall Description: This video captures the serene and powerful movement of  a shark swimming in the open ocean. The visual style is cinematic and documentary-like, emphasizing the clarity of the blue water and the dramatic interplay of sunlight piercing through the surface (God rays). The atmosphere is tense yet majestic.\nShot 1 [0-4 seconds]: A wide, side-profile tracking shot follows the shark gliding effortlessly through the deep blue water. Sunlight filters down from the surface, creating dancing patterns of light on shark's grey skin. The water is crystal clear, with bubbles trailing slightly behind.\nShot 2 [4-7 seconds]: The camera angles up towards the surface (low angle shot). The shark swims directly overhead, its silhouette dark and distinct against the bright, shimmering surface of the water and the sun's glare.\nShot 3 [7-10 seconds]: A close-up shot focuses on shark's face and gills. The shark turns slightly towards the camera, revealing a piercing gaze, before propelling itself forward with a strong tail movement, disappearing into the deep blue gloom of the ocean."
    },
    "img_url": {
      "title": "Image",
      "description": "Le format d'image doit être : jpg, jpeg, png, bmp, webp. La taille du fichier doit être inférieure à 10 Mo.",
      "type": "string",
      "validations": [
        {
          "validation_rule": "width_pixels>",
          "validation_value": 360,
          "validation_error": "La largeur et la hauteur de l'image téléchargée doivent dépasser 360 pixels."
        },
        {
          "validation_rule": "height_pixels>",
          "validation_value": 360,
          "validation_error": "La largeur et la hauteur de l'image téléchargée doivent dépasser 360 pixels."
        },
        {
          "validation_rule": "width_pixels<",
          "validation_value": 2000,
          "validation_error": "La largeur et la hauteur de l'image téléchargée ne doivent pas dépasser 2000 pixels."
        },
        {
          "validation_rule": "height_pixels<",
          "validation_value": 2000,
          "validation_error": "La largeur et la hauteur de l'image téléchargée ne doivent pas dépasser 2000 pixels."
        }
      ],
      "default": "https://playgrounds-storage-public.runcomfy.net/tools/7276/media-files/input-1-1.png"
    },
    "audio_url": {
      "title": "Audio",
      "description": "Le format audio doit être : wav, mp3. La durée de cet audio doit être comprise entre 3s et 30s. La taille du fichier doit être inférieure à 15 Mo.",
      "type": "string"
    },
    "duration": {
      "title": "Durée",
      "description": "",
      "type": "integer",
      "enum": [
        5,
        10,
        15
      ],
      "default": 5
    },
    "resolution": {
      "title": "Résolution",
      "description": "",
      "type": "string",
      "enum": [
        "720P",
        "1080P"
      ],
      "default": "720P"
    },
    "shot_type": {
      "title": "Type de prise de vue",
      "description": "shot_type > prompt. Par exemple, si shot_type est défini sur « single », Wan 2.6 génère une vidéo à plan unique même si le prompt demande une vidéo multi-plans.",
      "type": "string",
      "enum": [
        "multi",
        "single"
      ],
      "default": "multi"
    },
    "negative_prompt": {
      "title": "Prompt négatif",
      "description": "",
      "type": "string"
    },
    "seed": {
      "title": "Graine",
      "description": "",
      "type": "integer",
      "maximum": 2147483647,
      "minimum": 0
    },
    "prompt_extend": {
      "title": "Extension du prompt",
      "description": "Améliorer le prompt de génération vidéo.",
      "type": "boolean",
      "default": true
    },
    "audio": {
      "title": "Générer l'audio",
      "description": "",
      "type": "boolean",
      "default": true
    }
  }
}

Schéma de sortie

{
  "output": {
    "type": "object",
    "properties": {
      "image": {
        "type": "string",
        "format": "uri",
        "description": "URL d'une seule image"
      },
      "video": {
        "type": "string",
        "format": "uri",
        "description": "URL d'une seule vidéo"
      },
      "images": {
        "type": "array",
        "description": "plusieurs URLs d'images",
        "items": {
          "type": "string",
          "format": "uri"
        }
      },
      "videos": {
        "type": "array",
        "description": "plusieurs URLs de vidéos",
        "items": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}
Suivez-nous
  • LinkedIn
  • Facebook
  • Instagram
  • Twitter
Support
  • Discord
  • Email
  • État du système
  • affilié
Modèles vidéo
  • 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
  • Voir tous les modèles →
Modèles d'images
  • Seedream 5.0 Pro Image Edit
  • Flux 2 Flash Edit
  • Nano Banana Pro
  • seedream 4.0
  • GPT Image 2
  • Qwen Image Edit 2511 LoRA
  • Voir tous les modèles →
Légal
  • Conditions d'utilisation
  • Politique de confidentialité
  • Politique relative aux cookies
RunComfy
Droits d'auteur 2026 RunComfy. Tous droits réservés.

RunComfy est la première ComfyUI plateforme, offrant des ComfyUI en ligne environnement et services, ainsi que des workflows ComfyUI proposant des visuels époustouflants. RunComfy propose également AI Models, permettant aux artistes d'utiliser les derniers outils d'IA pour créer des œuvres d'art incroyables.