Pricing
Compare models →Flat rate per image.
| Output | Cost |
|---|---|
| Per image | $0.025 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
image | string | The image to generate an image from (optional). |
strength | number | Strength indicates extent to transform the reference image.Default: 0.6Minimum: 0 · Maximum: 1 |
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"
]
}
} |
size | string | The size of the generated media in pixels (width*height).Default: "1024*1024"Minimum: 256 · Maximum: 1536 |
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
Wan 2.1 Text-to-Image LoRA
Generate photorealistic images with custom style control using Wan 2.1 Text-to-Image LoRA. This versatile model supports both pure text-to-image generation and image-to-image transformation with adjustable strength — plus full LoRA support for unique visual styles.
Why It Looks Great
- Photorealistic output: Optimized for lifelike, natural imagery.
- LoRA support: Apply custom LoRA adapters for unique styles and characters.
- Image-to-image mode: Transform existing images with adjustable strength control.
- Custom dimensions: Precise control over width and height for any aspect ratio.
- Prompt Enhancer: Built-in tool to refine your descriptions automatically.
- Reproducible results: Use the seed parameter to recreate exact outputs.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the image you want to generate. |
| image | No | Optional source image for image-to-image transformation. |
| strength | No | How much to transform the source image (0.0-1.0). Default: 0.8. |
| loras | No | Custom LoRA adapters to apply for style control. |
| width | No | Output width in pixels (e.g., 1024). |
| height | No | Output height in pixels (e.g., 1024). |
| seed | No | Random seed for reproducibility. Use -1 for random. |
| output_format | No | File format: jpeg or png. Default: jpeg. |
How to Use
Text-to-Image
- Write your prompt — describe the image in detail.
- Use Prompt Enhancer (optional) — click to enrich your description.
- Add LoRAs (optional) — click "+ Add Item" for custom styles.
- Set dimensions — adjust width and height as needed.
- Run — click the button to generate.
- Download — preview and save your image.
Image-to-Image
- Upload source image — the image to transform.
- Write your prompt — describe the desired transformation.
- Adjust strength — lower values preserve more of the original (0.3-0.5), higher values allow more change (0.7-1.0).
- Run — click the button to generate.
Pricing
Flat rate per image.
| Output | Cost |
|---|---|
| Per image | $0.025 |
Strength Guide (Image-to-Image)
| Strength | Effect | Best For |
|---|---|---|
| 0.3-0.4 | Subtle changes, preserves original | Minor style adjustments |
| 0.5-0.6 | Moderate transformation | Balanced edits |
| 0.7-0.8 | Significant changes | Style transfer, major edits |
| 0.9-1.0 | Near-complete transformation | Heavy stylization |
Best Use Cases
- Photorealistic Portraits — Generate lifelike portraits with natural lighting.
- Style Transfer — Transform images with custom LoRA styles.
- Lifestyle Photography — Create authentic everyday scenes.
- Character Consistency — Use character LoRAs for consistent identity.
- Custom Aesthetics — Apply trained LoRAs for unique visual styles.
Example Prompts
- "A young woman hanging laundry on a sunny balcony, soft shadows, fluttering clothes, warm afternoon light, urban neighborhood, photorealistic, 35mm lens"
- "Professional headshot, soft studio lighting, neutral background, sharp focus"
- "Cozy kitchen scene, morning light through window, steam rising from coffee"
- "Street photography, candid moment, natural expressions, urban environment"
- "Product shot on marble surface, dramatic lighting, clean composition"
How to Use LoRAs
For detailed guides on using and training custom LoRAs:
Pro Tips for Best Results
- Include camera/lens details for realistic style: "35mm lens", "f/1.8", "bokeh".
- Describe lighting: "soft shadows", "warm afternoon light", "studio lighting".
- Use image-to-image with lower strength (0.3-0.5) to preserve composition.
- LoRAs can dramatically change output style — experiment with different adapters.
- Square dimensions (1024×1024) work well for portraits; adjust for other compositions.
Notes
- Supports both text-to-image and image-to-image workflows.
- If using a URL for the source image, ensure it is publicly accessible.
- The strength parameter only applies when a source image is provided.
- LoRA effects are cumulative — start with one and add more as needed.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Wan 2.1 Text to Image LoRA Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/wan-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",
"image": "https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251119/6784e7f4b50aebc7e17fe396/wrkyjyl4i1uu.jpg",
"strength": 0.6,
"loras": [],
"size": "1024*1024",
"seed": 0,
"output_format": "jpeg"
}Wan 2.1 Text to Image LoRA Image API — Frequently asked questions
What is the Wan 2.1 Text To Image Lora API?
Wan 2.1 Text To Image Lora is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. Wan 2.1 Text-to-Image LoRA repurposes Wan 2.1 to create ultra-realistic images with exceptional detail and LoRA fine-tuning support. 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 Wan 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/wan-2.1/text-to-image-lora.
How much does Wan 2.1 Text To Image Lora cost per run or per second?
Wan 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 Wan 2.1 Text To Image Lora accept?
Key inputs: prompt, image, 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/wan-2.1/text-to-image-lora.
How long does Wan 2.1 Text To Image Lora take to generate?
Reported generation time on OpenSIAI is around 26 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 Wan 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.
