Pricing
Compare models →- $0.025 per image
- Each image is billed individually.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
size | string | The size of the generated media in pixels (width*height).Default: "1024*1024"Minimum: 256 · Maximum: 1536 |
loras | array | List of LoRAs to apply (max 3).Items: 0–3JSON schema{
"items": {
"properties": {
"path": {
"description": "URL or the path to the LoRA weights.",
"type": "string"
},
"scale": {
"default": 1,
"description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
"maximum": 4,
"minimum": 0,
"type": "number"
}
},
"required": [
"path"
],
"type": "object",
"x-order-properties": [
"path",
"scale"
]
}
} |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
output_format | string | The format of the output image.jpegpngwebp"jpeg" |
README
Qwen-Image-LoRA
Qwen-Image-LoRA extends the base 20B MMDiT text-to-image model by allowing users to plug in custom LoRA weights (.safetensors) for fine-tuned control over style, characters, or artistic domains. This makes it a versatile tool for creators who want both world-class text rendering and personalized generation.
Why it looks great
- LoRA integration: Import external
.safetensorsLoRA weights and control blending strength viascale.
- SOTA text rendering: Rivals GPT-4o in English and is best-in-class for Chinese typography.
- In-pixel text generation: Text is seamlessly integrated into images (no overlays).
- Bilingual support: Handles Chinese & English with diverse fonts and complex layouts.
- General image excellence: Photorealistic, anime, impressionist, or minimalist styles—all supported.
Limits and Performance
- Max resolution per job: up to 1024 × 1024 pixels
- LoRA path: provide
<owner>/<model-name>or external.safetensorsURL
- LoRA scale: adjustable strength (default = 1.0)
- Output formats: JPEG / PNG / WEBP
- Processing speed: ~6–10 seconds per image
- Input prompt: supports multi-line descriptive text
Pricing
- $0.025 per image
- Each image is billed individually.
How to Use
- Enter a prompt (supports detailed narrative & embedded text).
- Set size (width & height, up to 1024×1024).
- Add one or more LoRAs:
- Paste the path/URL of the LoRA
.safetensorsfile.
- Adjust the scale (e.g.,
0.5for subtle effect,1.0for full strength).
- (Optional) Set seed for reproducibility (
-1= random).
- Choose output format (JPEG / PNG).
- Run → preview results → iterate with different LoRA scales.
Pro tips for best quality
- Use specific LoRAs for characters, art styles, or IP consistency.
- Combine multiple LoRAs for hybrid results (e.g., anime + steampunk).
- Adjust scale carefully—too high may distort, too low may fade.
- Lock the seed to maintain subject consistency when swapping LoRAs.
Reference
Note
- Please use OpenSI-ai/qwen-image-lora-trainer to make sure your LoRA can use in this model!
- Or the corresponding model from official platform! (Civitai or Hugging Face)
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Qwen Image Text to Image LoRA Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/qwen-image/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",
"size": "1024*1024",
"loras": [],
"seed": 0,
"output_format": "jpeg"
}Qwen Image Text to Image LoRA Image API — Frequently asked questions
What is the Qwen Image Text To Image Lora API?
Qwen Image Text To Image Lora is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. Qwen-Image LoRA is a 20B MMDiT next-gen text-to-image model with LoRA support for fast customization and refined 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 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/text-to-image-lora.
How much does Qwen Image Text To Image Lora cost per run or per second?
Qwen Image 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 Text To Image Lora accept?
Key inputs: prompt, size, 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/text-to-image-lora.
How long does Qwen Image Text To Image Lora take to generate?
Reported generation time on OpenSIAI is around 40 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 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.
