Wan (Kie.ai) icon

Wan (Kie.ai)

Generate videos using Wan via Kie.ai API

Image

AI-generated

Summary

Generate or edit images using Wan 2.7 Image models by providing a text prompt and optional input images.

Inputs

  • Model (required) — Select between Wan 2.7 Image and Wan 2.7 Image Pro models for generation or editing.
  • Prompt (required) — Text prompt guiding the image generation or editing process.
  • Input Image URL — Optional URL of a source image to perform image editing instead of pure generation.
  • Additional Input Image URLs — Up to 9 extra image URLs that serve as additional editing or reference images.
  • Aspect Ratio — Aspect ratio for text-to-image generation; ignored when input images are provided.
  • Number of Images — Number of images to generate, from 1 to 4 in standard mode or 1 to 12 if sequential mode is enabled.
  • Sequential Mode — Enable sequential generation mode to allow producing up to 12 images.
  • Resolution — Image resolution choice among 1K, 2K (default), or 4K.
  • Thinking Mode — Activates a special mode affecting generation behavior; only applies when sequential mode is disabled and no input images are provided.
  • Watermark — Option to add a watermark to generated images.
  • Seed — Numeric seed for reproducibility; 0 means random.

Output shape

a JSON array of task result objects

The operation submits an image generation or editing task to the Kie.ai API and returns the task creation response. If "Wait for Completion" is enabled, it polls the task until completion, returning the final generation results that include generated image URLs. If multiple images are requested, the results contain multiple URLs. Errors yield error objects if "Continue on Fail" is enabled, otherwise cause node failure.

Examples

Example 1: Generate 4 images with default settings from a prompt

Set Model to 'Wan 2.7 Image', enter a Prompt, leave Input Image URLs empty

Example 2: Edit an image by providing an input URL and a prompt

Set Model to 'Wan 2.7 Image Pro', provide Input Image URL, enter prompt describing edits

Example 3: Generate multiple images sequentially

Enable Sequential Mode and set Number of Images up to 12 with a prompt

Links

Discussion