Qwen Image API: Is This an Image Generator?
No. This service returns text only. It cannot generate, edit or upscale images, and it is not run by the Qwen team.

Key points
- The API does text chat completions with one model, ID uncensored. No image, audio or video output, no embeddings, no fine-tuning.
- It is useful next to an image model: it can write, rewrite and expand the prompts and captions an image tool consumes.
- It is not the official API of Qwen, Alibaba or any other vendor, and it does not route between vendors.
- Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens, paid in crypto from prepaid credit.
What this service is, and what it is not
If you typed qwen image api into a search box, you are probably looking for a way to turn a prompt into a picture. This site does not do that. It offers a hosted, OpenAI-compatible text API: you send messages to POST /v1/chat/completions, and you get text back. The model ID is uncensored, and it is a single open-weight model run by an independent provider, tuned to answer without content refusals for lawful adult use.
Qwen-Image is the name of an image generation model family published by the Qwen team at Alibaba. This service has no connection to it, and it is not the official API of Qwen, Alibaba, OpenAI, Google or any other vendor. It is also not a gateway that forwards your request to one of them. When you call it, one model answers.
That may sound like a letdown if you wanted pixels. Keep reading anyway, because a lot of image work is really text work, and that part is where this API earns its place.
Quick reference: what you can and cannot get
| Need | Available here? |
|---|---|
| Chat and text completion | Yes |
| Streaming over SSE | Yes |
| Tool calling and JSON mode | Yes |
| Image generation or editing | No |
| Audio or video generation | No |
| Embeddings | No |
| Fine-tuning | No |
| Image input (vision) | Not offered; treat it as text in, text out |
Only two methods exist: POST /v1/chat/completions and GET /v1/models. If a tutorial tells you to call /v1/images/generations, that endpoint is not part of this service, and a request to it will not produce an image.
The context window is 100,000 tokens for prompt plus completion, and the body limit is 8 MB. Prompts are not used for training.
Where a text API helps an image pipeline
Image models are driven by text. The quality of what comes out depends heavily on the wording that goes in, and writing that wording at volume is slow by hand. A language model is a good fit for the tasks around the image step, even though it never touches the image itself.
Prompt writing and expansion
You give the model a short idea, such as "a lighthouse in a storm", and ask for a detailed prompt with subject, lighting, lens, palette and mood. Run the same idea through several style instructions and you get a batch of variants to feed your image tool.
Negative prompts and cleanup
For tools that take a negative prompt, a text model can propose terms to exclude based on the positive prompt. It can also rewrite messy user input into a tidy prompt, strip contradictory phrases, and keep a consistent house style.
Captions, alt text and metadata
Once images exist, you still need titles, alt text, tags and descriptions. If you already hold a short description of each image from your own tooling, the model can turn it into SEO-friendly copy in bulk.
Structured job specs
Many pipelines need machine-readable output: a JSON object with fields for prompt, aspect ratio, seed and style. JSON mode (response_format set to {"type":"json_object"}) is supported, so a script can parse the result directly.
The guide for prompt generation goes through the prompt-writing side in more detail.
A prompt-expansion call you can copy
This script takes a short idea and asks for a structured prompt. It uses the OpenAI Python SDK pointed at this API. You can then pass the fields to whichever image tool you already use.
import json
from openai import OpenAI
client = OpenAI(
base_url="https://api.qwenimageapi.cc/v1",
api_key="YOUR_KEY",
)
idea = "a lighthouse in a storm"
resp = client.chat.completions.create(
model="uncensored",
response_format={"type": "json_object"},
temperature=0.8,
messages=[
{
"role": "system",
"content": (
"You write prompts for an image generator. Reply with a JSON object "
"with keys: prompt, negative_prompt, aspect_ratio. "
"The prompt must be one paragraph, under 80 words, and describe "
"subject, composition, lighting and colour."
),
},
{"role": "user", "content": idea},
],
)
spec = json.loads(resp.choices[0].message.content)
print(spec["prompt"])
print(spec["aspect_ratio"])
The same call from the shell, useful for a quick test:
curl https://api.qwenimageapi.cc/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Write a 50-word image prompt about a lighthouse in a storm."}]
}'
Remember that the output is text. What you do with that text, including sending it to an image service, happens outside this API.
Building the text half of a media pipeline
A practical layout keeps the image step and the text step separate, so you can swap either one. Here is an order of work that holds up in real projects.
- Collect the brief. Gather the raw idea, target style and any hard constraints such as aspect ratio or colour palette.
- Call this API for the prompt. Ask for a JSON object so your code can read each field. Use a low temperature when you want repeatable style and a higher one when you want variety.
- Send the result to your image tool. That call is made to a different service, with its own key and terms.
- Call this API again for metadata. Give it your own short description of the finished image and ask for a title, alt text and tags.
- Log tokens and cost. The response headers include
X-Balance-USD, so you can track spend per batch.
Because the API follows the OpenAI chat format, tools that already orchestrate OpenAI-style calls need only a changed base URL and key. You can run many prompts at once, up to 8 concurrent requests on a full key, and a batch of a few hundred prompts finishes quickly.
A note on the name
The domain refers to the kind of workflow this text API supports, namely pipelines that surround image models. It is not a feature list. If the name led you to expect image output, the table above is the accurate statement of what exists.
Signs you need a different tool
Being clear about the boundary saves you a top-up. This API is the wrong choice if any of these describe your task:
- You need the final picture, video or audio file to come back from the API call.
- You need to send an image in and get a description, edit or mask back.
- You need vector embeddings for search.
- You need a model fine-tuned on your own data.
For those jobs, use a service built for them and check its current pricing and terms. This one does text, and says so.
It is the right choice if your workflow is text on both ends: writing prompts for a separate image model, producing captions, generating fiction or dialogue for adult-oriented apps, drafting product copy, or building tools that need an OpenAI-compatible endpoint without a content-refusal layer for lawful adult use. The hard limit is the same everywhere: no sexual content involving minors.
What it costs and how to start
Billing is per token: $0.15 per 1M input tokens and $0.50 per 1M output tokens, drawn from prepaid credit that never expires. Failed or refused requests are not charged. A typical prompt-expansion call with 200 input tokens and 150 output tokens costs 200 x $0.15 / 1M + 150 x $0.50 / 1M = $0.00003 + $0.000075 = $0.000105, so 10,000 of them cost $1.05.
Top-ups are any whole amount from $20 to $500, with +5% from $50, +10% from $100 and +15% from $200. Payment is crypto only: USDT on TRC20 or USDC on Base. See the pricing page for the details.
New users can claim $0.50 of trial credit with one click on the API key page after signing up with Google or with an email and password. It needs no payment, is limited to one per person and is valid for 7 days. That is enough for roughly 4,700 prompt-expansion calls of the size above, so you can run a real test of your pipeline before spending anything. The docs cover the endpoints, headers and error codes.
Questions people ask before signing up
A few practical details, since the name of the site can mislead.
Can the model describe an image I upload?
This API is documented as text in and text out. If you need image understanding, use a service built for it. You can, however, paste a description you already have and ask the model to rewrite or expand it.
Is there a hidden image endpoint?
No. The two methods are POST /v1/chat/completions and GET /v1/models. The models call returns the list of available IDs, which is a single entry, uncensored.
Why is the text model described as uncensored?
It is tuned to answer without content refusals for lawful adult use. That helps with fiction, mature themes and prompt writing for adult audiences, where a refusal layer would break the workflow. It does not change the hard limit: no sexual content involving minors.
More guides
Questions and answers
Can this API generate images?
No. It returns text only. There is no image, audio or video generation, and no endpoint for them.
Is it the official Qwen or Qwen-Image API?
No. It is an independent hosted service for one open-weight text model. It is not the official API of Qwen, Alibaba or any other vendor.
What can I use it for in an image workflow?
Writing and expanding prompts, suggesting negative prompts, producing captions and alt text, and returning structured JSON job specs for your own scripts.
Does it accept images as input?
It is offered as a text API. Plan on text in and text out.
How do I pay?
Prepaid credit by crypto: USDT on TRC20 or USDC on Base, from $20 to $500 per top-up.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.