Pricing
Compare models →The price depends on num_layers: each run costs in proportion to the number of layers you request. With the default settings (num_layers = 4), one run costs $0.10.
| num_layers | Price per run |
|---|---|
| num_layers = 2 | $0.05 |
| num_layers = 3 | $0.075 |
| num_layers = 4 (default) | $0.10 |
| num_layers = 5 | $0.125 |
| num_layers = 6 | $0.15 |
| num_layers = 7 | $0.175 |
| num_layers = 8 | $0.20 |
Input schema
| Parameter | Type | Description |
|---|---|---|
imageRequired | string | The image to decompose into layers. |
prompt | string | A text description of the image content. |
num_layers | integer | The number of layers to generate (1-8).Default: 4Minimum: 2 · Maximum: 8 |
README
qwen-image/layered (Image-to-RGBA Layers)
qwen-image/layered is a layered image decomposition model that splits a single image into multiple clean RGBA layers, enabling flexible compositing, background separation, and layer-based creative editing. It supports an optional prompt for better semantic separation and explicit control over the number of output layers.
🌟 Why it stands out
- Controllable layer count: choose exactly how many RGBA layers you want via num_layers.
- Clean RGBA outputs: each layer includes transparency for easy compositing and editing.
- Prompt-guided separation: optionally describe the scene to improve layer grouping in complex images.
- Workflow-friendly: ideal for design iteration, asset cleanup, and creative pipelines.
⚙️ Capabilities
- Image-to-multi-layer RGBA decomposition
- Transparent background handling per layer (RGBA output)
- Optional prompt conditioning for semantic grouping
- Works best on images with clear subjects, strong contrast, and limited heavy occlusion
⚙️ Parameters
| Parameter | Description |
|---|---|
| image* | Input image file or public URL. |
| prompt | Optional caption to guide layer separation (e.g., “a person in front of a building”). |
| num_layers | Number of RGBA layers to generate (e.g., 4). |
💰 Pricing
The price depends on num_layers: each run costs in proportion to the number of layers you request. With the default settings (num_layers = 4), one run costs $0.10.
| num_layers | Price per run |
|---|---|
| num_layers = 2 | $0.05 |
| num_layers = 3 | $0.075 |
| num_layers = 4 (default) | $0.10 |
| num_layers = 5 | $0.125 |
| num_layers = 6 | $0.15 |
| num_layers = 7 | $0.175 |
| num_layers = 8 | $0.20 |
How to use
- Upload the source image (or provide a public URL).
- Set num_layers to the number of layers you want.
- Optional: add a prompt to improve semantic separation.
- Run the model.
- Download the RGBA layers and composite/edit them in your workflow.
💡 Best Use Cases
- Layer-based editing and compositing workflows
- Background separation and subject isolation
- Poster / banner / creative layout design
- Rapid asset preparation for marketing and social creatives
📝 Notes
- Best results: clear subjects, good lighting, minimal motion blur, and strong foreground/background separation.
- Higher num_layers can help break complex scenes into smaller components, but may also create finer splits that require selection/merging in post.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Qwen Image Layered Image Editing API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/qwen-image/layered for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"image": "https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/vi0t8qihzk4j.jpg",
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"num_layers": 4
}Qwen Image Layered Image Editing API — Frequently asked questions
What is the Qwen Image Layered API?
Qwen Image Layered is a OpenSIAI model for image processing, exposed as a REST API on OpenSIAI. Qwen-Image Layered is a unified image-layer decomposition model for prompt-guided compositing. Provide points, boxes, or rough masks to isolate subjects and regions, and the model splits a single image into multiple RGBA layers with clean alpha, soft edges, and correct occlusion order. Ready-to-use REST inference API with fast response, no cold starts, and affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Qwen Image Layered 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/layered.
How much does Qwen Image Layered cost per run or per second?
Qwen Image Layered 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 Layered accept?
Key inputs: prompt, image, num_layers. 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/layered.
How long does Qwen Image Layered take to generate?
Reported generation time on OpenSIAI is around 12 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 Layered 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.
