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

wan-v2-6-text-to-image

Wan | v2.6 | Text to Image. Generate images from text prompts with optional style reference. Triggers: text to image, image generation, wan generate, ai art

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: wan-v2-6-text-to-image description: "Wan | v2.6 | Text to Image. Generate images from text prompts with optional style reference. Triggers: text to image, image generation, wan generate, ai art" allowed-tools: Bash(curl *), WebFetch

Wan | v2.6 | Text to Image

Generate images from text prompts using the Wan v2.6 model. Supports optional reference images for style guidance, Chinese and English prompts, and content moderation.

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-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A mystical forest with bioluminescent mushrooms and fireflies at night",
      "image_size": "landscape_16_9"
    }
  }'

Parameters

ParameterTypeDefaultDescription
enable_safety_checkerbooleantrueEnable content moderation for input and output.
image_sizestringsquare_hdOutput image size. Options: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
image_urlstring-Optional reference image for style guidance.
max_imagesinteger1Maximum number of images to generate (1-5).
negative_promptstring-Content to avoid in the generated image. Max 500 characters.
promptstring-Text prompt describing the desired image. Supports Chinese and English. Max 2000 characters.
seedinteger-Random seed for reproducibility (0-2147483647).

Examples

Simple generation:

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-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A vintage Porsche 911 parked on a coastal road, cinematic lighting"
    }
  }'

With style reference and multiple outputs:

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-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A serene zen garden with raked sand and carefully placed stones",
      "image_url": "https://example.com/watercolor-style.jpg",
      "negative_prompt": "photorealistic, dark, gloomy",
      "max_images": 3,
      "image_size": "square_hd",
      "seed": 1234
    }
  }'

Related Models

Documentation

Skills enregistrées