界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · 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

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

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

我的收藏