Pricing
Compare models →| Output | Cost |
|---|---|
| Per image | $0.03 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Text prompt describing the desired image, supports Chinese and English (max 800 characters) |
size | string | Image dimensions in width*height format (e.g., 1024*1024, 1280*720)Default: "1024*1024"Minimum: 256 · Maximum: 4096 |
seed | integer | Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed) |
README
Qwen Image 2.0 Text-to-Image
Qwen Image 2.0 is advanced text-to-image model that generates high-quality images from detailed text descriptions. With exceptional prompt following, flexible aspect ratios, and custom resolution support, it excels at rendering complex scenes with fine details like hair, accessories, and textures.
Why Choose This?
- Strong prompt adherence
Excels at following detailed, complex prompts with multiple elements and attributes.
- Fine detail rendering
Excellent at rendering intricate details like hair textures, jewelry, and clothing accessories.
- Flexible aspect ratios
Multiple presets including 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, and 2:3.
- Custom resolution
Adjustable width and height from 256 to 2048 pixels.
- Prompt Enhancer
Built-in tool to automatically improve your descriptions.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired image |
| size | No | Aspect ratio preset: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3 |
| width | No | Custom width in pixels (range: 256–2048) |
| height | No | Custom height in pixels (range: 256–2048) |
| seed | No | Random seed for reproducibility (-1 for random) |
How to Use
- Write your prompt — describe the image in detail, including specific attributes, styles, and elements.
- Choose size — select a preset aspect ratio or customize width/height.
- Use Prompt Enhancer (optional) — click to automatically refine your description.
- Set seed (optional) — for reproducible results.
- Run — submit and download your generated image.
Pricing
| Output | Cost |
|---|---|
| Per image | $0.03 |
Best Use Cases
- Detailed Character Art — Generate characters with specific attributes like hair styles, clothing, and accessories.
- Portrait Photography — Create photorealistic portraits with fine details.
- Fashion & Style — Visualize outfits, hairstyles, and jewelry with precision.
- Concept Art — Render complex scenes with multiple elements.
- Cultural & Artistic — Generate images with specific cultural elements and decorations.
Pro Tips
- Use highly detailed prompts — the model excels at following complex descriptions with multiple attributes.
- Describe specific details like "waist-length loc'd hair," "gold thread," "cowrie shells," or "blue beads" for precise rendering.
- Include motion and pose descriptions for dynamic images (e.g., "caught mid-spin in a dance").
- Match aspect ratio to your content: 1:1 for portraits, 16:9 for landscapes, 9:16 for full-body shots.
- Use the same seed to reproduce or iterate on specific results.
Notes
- Prompt is the only required field.
- Resolution range: 256–2048 pixels for both width and height.
- Default size is 1:1.
- Ensure your prompts comply with content guidelines.
Related Models
- Qwen Image 2.0 Pro Text-to-Image — Pro tier with enhanced quality.
- Qwen Image Edit Plus — Image editing with text instructions.
- Seedream V5.0 Lite — lightweight text-to-image model.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Qwen Image 2.0 Text to Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/qwen-image-2.0/text-to-image for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"size": "1024*1024",
"seed": 0
}Qwen Image 2.0 Text to Image API — Frequently asked questions
What is the Qwen Image 2.0 Text To Image API?
Qwen Image 2.0 Text To Image is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. Qwen Image 2.0 is an advanced text-to-image model with enhanced image quality and improved prompt understanding. Up to 2k. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Qwen Image 2.0 Text To Image API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/qwen-image-2.0/text-to-image.
How much does Qwen Image 2.0 Text To Image cost per run or per second?
Qwen Image 2.0 Text To Image starts at $0.03 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Qwen Image 2.0 Text To Image accept?
Key inputs: prompt, size, seed. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/opensi-ai/qwen-image-2.0/text-to-image.
How long does Qwen Image 2.0 Text To Image take to generate?
Reported generation time on OpenSIAI is around 9 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Qwen Image 2.0 Text To Image outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
