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
Développement · SKILL.md

wan-2-5-preview-text-to-video

wan-2-5-preview-text-to-video

Wan | 2.5 | Preview | Text to Video. Generate videos from text prompts with audio support using the Wan 2.5 Preview model. Triggers: wan, text to video, video generation, wan 2.5

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: wan-2-5-preview-text-to-video description: "Wan | 2.5 | Preview | Text to Video. Generate videos from text prompts with audio support using the Wan 2.5 Preview model. Triggers: wan, text to video, video generation, wan 2.5" allowed-tools: Bash(curl *), WebFetch

Wan | 2.5 | Preview | Text to Video

Generate videos from text descriptions with optional background audio using the Wan 2.5 Preview model. Supports Chinese and English prompts, LLM-based prompt expansion, and multiple aspect ratios and resolutions.

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-2-5-preview-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A surfer riding a massive wave at sunset, spray of water catching the golden light",
      "aspect_ratio": "16:9",
      "duration": "5",
      "resolution": "1080p",
      "enable_prompt_expansion": true
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9The aspect ratio. enum: 16:9, 9:16, 1:1
audio_urlstringURL of background music audio (must be publicly accessible)
durationstring5Duration in seconds. enum: 5, 10
enable_prompt_expansionbooleantrueWhether to enable LLM-based prompt rewriting
negative_promptstringNegative prompt to avoid (max 500 chars)
promptstringText prompt for video generation. Supports Chinese and English (max 800 chars)
resolutionstring1080pVideo resolution. enum: 480p, 720p, 1080p
seedintegerRandom seed for reproducibility

Examples

Square format with audio:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "wan-2-5-preview-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A pianist performing a classical piece in a grand concert hall, dramatic lighting, close-up of hands on keys",
      "aspect_ratio": "1:1",
      "duration": "10",
      "resolution": "1080p",
      "audio_url": "https://example.com/piano-music.mp3"
    }
  }'

Vertical social content:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "wan-2-5-preview-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "Chocolate being poured over a dessert in slow motion, glossy texture, food photography",
      "aspect_ratio": "9:16",
      "duration": "5",
      "resolution": "720p",
      "negative_prompt": "blurry, low quality, shaky",
      "seed": 42
    }
  }'

Related Models

Documentation

Skills enregistrées