L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

wan-v2-6-text-to-video

wan-v2-6-text-to-video

Wan | v2.6 | Text to Video. Generate videos from text prompts with multi-shot and audio support. Triggers: text to video, video generation, wan video, ai video

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: wan-v2-6-text-to-video description: "Wan | v2.6 | Text to Video. Generate videos from text prompts with multi-shot and audio support. Triggers: text to video, video generation, wan video, ai video" allowed-tools: Bash(curl *), WebFetch

Wan | v2.6 | Text to Video

Generate videos from text prompts using the Wan v2.6 model. Features multi-shot segmentation for narrative coherence, LLM prompt expansion, background audio support, and durations of 5-15 seconds at up to 1080p.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "wan-v2-6-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A cinematic aerial shot of a medieval castle at dawn, mist rising from the valley below",
      "aspect_ratio": "16:9",
      "duration": "5",
      "resolution": "1080p",
      "enable_prompt_expansion": true
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9The aspect ratio of the generated video. Options: 16:9, 9:16, 1:1, 4:3, 3:4
audio_urlstring-URL of the audio to use as background music. Must be publicly accessible.
durationstring5Duration of the generated video in seconds. Options: 5, 10, 15
enable_prompt_expansionbooleantrueWhether to enable prompt rewriting using LLM. Improves results for short prompts.
enable_safety_checkerbooleantrueIf set to true, the safety checker will be enabled.
multi_shotsbooleantrueWhen true, enables intelligent multi-shot segmentation for coherent narratives.
negative_promptstring-Negative prompt to describe content to avoid. Max 500 characters.
promptstring-The text prompt for video generation. Supports Chinese and English, max 800 characters.
resolutionstring1080pVideo resolution. Options: 720p, 1080p
seedinteger-Random seed for reproducibility.

Examples

Quick text-to-video:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "wan-v2-6-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A kitten playing with a ball of yarn on a wooden floor"
    }
  }'

Long video with audio and multi-shot:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "wan-v2-6-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A chef prepares a gourmet dish in a professional kitchen: chopping vegetables, searing the steak, plating the final dish",
      "audio_url": "https://example.com/kitchen-ambience.mp3",
      "aspect_ratio": "16:9",
      "duration": "15",
      "multi_shots": true,
      "negative_prompt": "blurry, low resolution, text overlay",
      "resolution": "1080p",
      "seed": 42
    }
  }'

Vertical social media format:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "wan-v2-6-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A person doing a trendy dance move in a colorful studio",
      "aspect_ratio": "9:16",
      "duration": "10",
      "resolution": "1080p"
    }
  }'

Related Models

Documentation

Skills enregistrées