Metadata-Version: 2.5
Name: lfx-acedatacloud-qwen-image
Version: 0.1.9
Summary: Qwen Image by Ace Data Cloud: generation and same-task retrieval for Langflow
Project-URL: Homepage, https://platform.acedata.cloud?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen
Project-URL: Documentation, https://github.com/AceDataCloud/LangflowAceDataCloud/blob/main/guides/qwen-image.md
Project-URL: Repository, https://github.com/AceDataCloud/LangflowAceDataCloud
Author-email: Ace Data Cloud <dev@acedata.cloud>
License-Expression: MIT
License-File: LICENSE
Keywords: acedatacloud,langflow,lfx,qwen-image
Requires-Python: <3.15,>=3.10
Requires-Dist: httpx<1,>=0.24
Requires-Dist: lfx<2,>=1.12.5
Description-Content-Type: text/markdown

# Qwen Image by Ace Data Cloud for Langflow

<img src="https://raw.githubusercontent.com/AceDataCloud/QwenImageDify/17122668ded260cd2ad193bc8841277d8e1554f2/_assets/icon.png" alt="Qwen Image product artwork" width="64" height="64">

Generate images from a text prompt. The example sets the image count and size. The independent package provides **Qwen Image Generate** and **Qwen Image Retrieve Task**.

## Install

```bash
python -m pip install "lfx-acedatacloud-qwen-image==0.1.9"
lfx extension list
```

The [GitHub release](https://github.com/AceDataCloud/LangflowAceDataCloud/releases/tag/v0.1.9) also provides the standalone wheel. Install it in the same Python environment as Langflow 1.12.5 or later, then restart the host. The independent package can coexist with the aggregate. Use the credential-free example flows bundled in `lfx_acedatacloud_qwen_image/examples/`.

## Connect your application API key

1. Copy your application API key from the Applications console, or create one under **Manage Keys**. When using **Allowed APIs**, allow `/qwen-image/images` and `/qwen-image/tasks`. [Applications console](https://platform.acedata.cloud/console/applications?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen)
2. In Langflow, open **Settings → Global Variables → Add New**. Create a **Credential** named `ACEDATACLOUD_API_KEY`. Save the raw key and bind **Ace Data Cloud API key** on both nodes to the Credential.

## Submit and check a task

The example uses `qwen-image-3.0`. A completed task exposes the HTTPS images in `media_urls`. The asynchronous example sends one request to `POST /qwen-image/images` and passes the original task ID to **Qwen Image Retrieve Task**.

The reader calls `POST /qwen-image/tasks`. Use the retrieve-only example with the same ID while a task is pending. If submission times out, check your application history for the original task before submitting again. Generation may use Credits. [Application history](https://platform.acedata.cloud/console/usages?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen) · [Qwen Image API contract](https://docs.acedata.cloud/openapi/qwen-image.json)

[简体中文](https://github.com/AceDataCloud/LangflowAceDataCloud/blob/main/guides/qwen-image_zh_CN.md)
