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

wan-2-5-preview-text-to-image

Wan | 2.5 | Preview | Text to Image. Generate images from text prompts using the Wan 2.5 Preview model with prompt expansion. Triggers: wan, text to image, image generation, wan 2.5

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: wan-2-5-preview-text-to-image description: "Wan | 2.5 | Preview | Text to Image. Generate images from text prompts using the Wan 2.5 Preview model with prompt expansion. Triggers: wan, text to image, image generation, wan 2.5" allowed-tools: Bash(curl *), WebFetch

Wan | 2.5 | Preview | Text to Image

Generate high-quality images from text descriptions using the Wan 2.5 Preview model. Supports Chinese and English prompts, LLM-based prompt expansion for better results, and multiple output sizes.

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-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A cozy bookshop interior with warm lighting, tall wooden shelves filled with colorful books, a cat sleeping on an armchair",
      "image_size": "landscape_16_9",
      "num_images": 1,
      "enable_prompt_expansion": true
    }
  }'

Parameters

ParameterTypeDefaultDescription
enable_prompt_expansionbooleantrueWhether to enable LLM-based prompt rewriting for improved results
image_sizestringsquare_hdThe size of the generated image. enum: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
negative_promptstringNegative prompt to describe content to avoid (max 500 chars)
num_imagesinteger1Number of images to generate (1-4)
promptstringThe prompt for image generation. Supports Chinese and English (max 2000 chars)
seedintegerRandom seed for reproducibility

Examples

Detailed scene with negative prompt:

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-image",
    "version": "0.0.1",
    "input": {
      "prompt": "Futuristic underwater city with bioluminescent buildings, transparent domes, and schools of colorful fish swimming between structures",
      "negative_prompt": "blurry, low quality, text, watermark, deformed",
      "image_size": "landscape_4_3",
      "num_images": 2,
      "enable_prompt_expansion": true
    }
  }'

Chinese prompt with seed:

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-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A traditional Chinese mountain landscape in ink wash painting style with misty peaks and a small boat on the river",
      "image_size": "portrait_16_9",
      "num_images": 1,
      "seed": 88888,
      "enable_prompt_expansion": false
    }
  }'

Related Models

Documentation

Skills enregistrées