Qwen (Kie.ai) icon

Qwen (Kie.ai)

Generate images using Qwen via Kie.ai API

Text-to-Image

AI-generated

Summary

Generate an image from a textual prompt using the Qwen (Kie.ai) API, optionally waiting for the generation task to complete before returning.

Inputs

  • Prompt (required) — The text description to generate the image from.
  • Aspect Ratio — The aspect ratio for the generated image, selectable as 1:1, 16:9, or 9:16. Defaults to 1:1.
  • Model — Choose between 'Qwen Image 2.0 (Recommended)' or 'Qwen Image 1.0' models for image generation. Defaults to Qwen Image 2.0.
  • Negative Prompt — Specify elements or features to avoid in the generated image.
  • Seed — Random seed number to influence image variation; 0 means random seed is used.
  • Reply URL — Webhook URL to notify when the image generation task completes asynchronously.
  • Reply Ref — Custom reference string that will be passed back in the webhook callback.
  • Wait for Completion — Boolean flag to decide whether the node should wait for the image generation to complete before returning (polls every 3 seconds, with a 5-minute timeout). Defaults to true.

Output shape

a JSON array containing one object per input item with the API response; includes generated image URLs and task metadata if available

If 'Wait for Completion' is enabled, the operation polls the task status until completion and returns the final result. Otherwise, it returns the initial task creation response. Errors during processing emit error messages per-item, allowing continuation if configured.

Links

Discussion