Pricing
Compare models →Pricing is based on the selected output resolution. LoRA support is included in the price of each generation.
| Resolution | Cost per Image |
|---|---|
1K (resolution=1k, the default) | $0.025 |
1.5K (resolution=1.5k) | $0.045 |
2K (resolution=2k) | $0.085 |
A request with default settings (1k) costs $0.025 per run.
Billing Rules
- Each generation is charged per image at the price for its selected
resolution. 1.5Kand2Kcost more than1K, as shown in the table above.- 10 images at
1kcost $0.25, at1.5kcost $0.45, and at2kcost $0.85. aspect_ratio,output_format, andseeddo not add separate charges
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
aspect_ratio | string | The aspect ratio of the generated image. Defaults to 1:1.1:11:22:11:33:12:33:23:44:34:55:49:1616:99:2121:9"1:1" |
resolution | string | Total output resolution tier: 1K (~1 megapixel), 1.5K (~2.25 megapixels), or 2K (~4 megapixels).1k1.5k2k"1k" |
output_format | string | The format of the output image.jpegpngwebp"jpeg" |
loras | array | List of LoRAs to apply (max 3).Items: 0–3JSON schema{
"items": {
"properties": {
"path": {
"description": "URL or path to the LoRA weights.",
"type": "string"
},
"scale": {
"default": 1,
"maximum": 4,
"minimum": 0,
"type": "number"
}
},
"required": [
"path"
],
"type": "object",
"x-order-properties": [
"path",
"scale"
]
}
} |
seed | integer | The random seed. -1 means random. |
README
Qwen Image 2.1 Text-to-Image LoRA
Qwen Image 2.1 Text-to-Image LoRA generates images from text prompts with support for up to 3 custom LoRA weights. Choose between 1K, 1.5K, and 2K output resolutions, and use LoRAs to guide subject, style, or concept-specific generation.
Why Choose This?
- Text-to-image generation
Create images directly from natural-language prompts.
- LoRA support
Apply up to 3 LoRA weights in a single request for stronger style or subject control.
- Up to 2K resolution
Generate at 1K, 1.5K, or 2K resolution.
- Flexible aspect ratios
Adjust the output composition to fit different creative workflows.
- Multiple output formats
Export generated images as jpeg, png, or webp.
- Native transparency
Generate images with a real alpha channel. Ask for transparency in the prompt and export as png or webp.
- Seed control
Use a fixed seed for more reproducible generations, or -1 for a random seed.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text prompt describing the image to generate. |
| loras | No | Up to 3 LoRA objects. Each item uses {path, scale}. |
| resolution | No | Output resolution: 1k, 1.5k, or 2k. Default: 1k. |
| aspect_ratio | No | Optional output aspect ratio. |
| output_format | No | Output image format: jpeg, png, or webp. Use png or webp to preserve transparency; jpeg fills transparent areas with white. |
| seed | No | Optional random seed for generation. Use -1 for a random seed. |
How to Use
- Write a prompt — Describe the subject, composition, environment, lighting, mood, and style.
- Add LoRAs optional — Provide up to
3LoRA files with individualscalevalues.
- Choose resolution — Select
1k,1.5k, or2k.
- Choose aspect ratio optional — Set the output composition for your target use case.
- Choose output format optional — Select
jpeg,png, orwebp.
- Set seed optional — Use a fixed seed for reproducible results, or
-1for random generation.
- Submit — Generate and retrieve the final image.
Transparent Backgrounds
This model generates transparency natively, so a cut-out subject comes back with a real alpha channel rather than a painted-in background.
- Ask for it in the prompt. Describe the image as transparent, for example:
This is an RGBA image with transparency. A cute cartoon dragon sticker. The image has alpha channel and the background is transparent.
- Set `output_format` to `png` or `webp`. Both carry the alpha channel.
jpeg cannot store transparency, so transparent areas are filled with white. Prompts that do not ask for transparency return a fully opaque image in every format.
Pricing
Pricing is based on the selected output resolution. LoRA support is included in the price of each generation.
| Resolution | Cost per Image |
|---|---|
1K (resolution=1k, the default) | $0.025 |
1.5K (resolution=1.5k) | $0.045 |
2K (resolution=2k) | $0.085 |
A request with default settings (1k) costs $0.025 per run.
Billing Rules
- Each generation is charged per image at the price for its selected
resolution.
1.5Kand2Kcost more than1K, as shown in the table above.
- 10 images at
1kcost $0.25, at1.5kcost $0.45, and at2kcost $0.85.
aspect_ratio,output_format, andseeddo not add separate charges
Best Use Cases
- Style-guided generation — Apply custom LoRAs for specific visual styles.
- Character or subject generation — Use LoRAs to reinforce recurring subjects or concepts.
- Creative image generation — Turn text ideas into polished visual outputs.
- Marketing visuals — Generate social, campaign, or promotional imagery.
- Concept art — Explore characters, environments, products, and scenes.
- High-resolution generation — Use
1.5Kor2Kwhen additional detail is needed.
Pro Tips
- Use clear prompts that describe subject, composition, lighting, and style.
- Start with one LoRA when testing, then combine multiple LoRAs if needed.
- Keep LoRA scales balanced to avoid overdriving the result.
- Use
1Kfor lower-cost iteration before moving to higher resolutions.
- Choose
pngwhen you want to avoid lossy compression or need a transparent background.
- Set a fixed
seedwhen comparing LoRA combinations or prompt changes.
Notes
promptis required.
lorassupports up to3items.
- Each LoRA item should use the
{path, scale}format.
resolutiondefaults to1k.
- Supported resolutions are
1k,1.5k, and2k.
- Supported output formats are
jpeg,png, andwebp.
pngandwebppreserve transparency;jpegfills transparent areas with white.
seed=-1selects a random seed.
Related Models
- Qwen Image 2.1 Text-to-Image — Generate images directly from text prompts.
- Qwen Image 2.1 Text-to-Image LoRA — Generate images from text prompts with LoRA customization.
- Qwen Image 2.1 Edit — Edit existing images with text instructions.
- Qwen Image 2.1 Edit LoRA — Edit images with text instructions and LoRA customization.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Qwen Image 2.1 LoRA Text-to-Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/qwen-image-2.1/text-to-image-lora 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",
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "jpeg",
"loras": [],
"seed": 0
}Qwen Image 2.1 LoRA Text-to-Image API — Frequently asked questions
What is the Qwen Image 2.1 Text To Image Lora API?
Qwen Image 2.1 Text To Image Lora is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. Qwen Image 2.1 Text-to-Image LoRA generates customized images from text prompts with support for up to 3 custom LoRA weights and 1K, 1.5K, or 2K output, enabling flexible character, style, and domain-specific image generation. 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.1 Text To Image Lora 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.1/text-to-image-lora.
How much does Qwen Image 2.1 Text To Image Lora cost per run or per second?
Qwen Image 2.1 Text To Image Lora starts at $0.025 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.1 Text To Image Lora accept?
Key inputs: prompt, aspect_ratio, resolution, seed, loras, output_format. 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.1/text-to-image-lora.
How long does Qwen Image 2.1 Text To Image Lora take to generate?
Reported generation time on OpenSIAI is around 6 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.1 Text To Image Lora 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.
