[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Qwen Image Layered LoRA](https://spiral.ai/integrations/n8n/qwen-image-layered-lora)

# How to Use Qwen Image Layered LoRA in n8n

Qwen Image Layered LoRA splits an existing image into transparent layers with support for custom LoRA adapters. Choose it over Qwen Image Layered when your workflow needs an adapter.

|  |  |
| --- | --- |
| Model | Qwen Image Layered LoRA |
| Available through | fal |
| Category | Image |
| Price | $0.078 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Qwen Image Layered LoRA in n8n

- On the first day of each month, use Qwen Image Layered LoRA with the supplied compatible adapter on new approved campaign artwork. Request four layers and compare each recomposed result with its source.
- Every Monday at 9am: generate a product photo with Qwen Image Layered LoRA: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first.
- Make four logo concepts for a coffee brand called "Northline" with Qwen Image Layered LoRA.
- Create a 16:9 hero image of a quiet mountain cabin at dusk with Qwen Image Layered LoRA.
- Generate a 9:16 poster with Qwen Image Layered LoRA for a jazz night called "Blue Hour", deep navy and brass tones.

## How to set up Qwen Image Layered LoRA in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Qwen Image Layered LoRA in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Qwen Image Layered LoRA, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Qwen Image Layered LoRA**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/qwen-image-layered/lora",
    "input": {
      "image_url": "https://v3b.fal.media/files/b/0a86d421/6xSMYtyW-fm2ciM6dHEgB.png"
    }
  }'
```

Then paste one of the prompts above: n8n finds Qwen Image Layered LoRA on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Qwen Image Layered LoRA tools and prices

- [Qwen Image Layered](https://spiral.ai/tools/fal/fal-ai/qwen-image-layered/lora) (fal): $0.078 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| prompt |  | — | A caption for the input image. |
| negative_prompt |  |  | The negative prompt to generate an image from. |
| num_inference_steps | 1 to 50 | 28 | The number of inference steps to perform. |
| guidance_scale | 1 to 20 | 5 | The guidance scale to use for the image generation. |
| seed |  | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |
| num_layers | 1 to 10 | 4 | The number of layers to generate. |

## What can you do with Qwen Image Layered LoRA in n8n?

Prepare new campaign images for later design revisions on a schedule. An always-on agent can decompose incoming images, collect layer previews, and flag results that need closer inspection.

### Reposition products in an ad

Decompose an existing product ad, inspect the product layer, then move it in an editor to make room for new copy.

### Prepare assets for motion design

Split a finished illustration into transparent layers, then animate selected layers with separate position and scale changes.

### Recolor isolated artwork

Separate a flattened illustration into layers, then recolor a selected layer in an editor while retaining the others.

### Rework a poster layout

Decompose a poster containing text and objects. Review their separation, then rearrange suitable layers for a revised composition.

### Resize an object within a scene

Extract layers from an existing scene, then adjust an isolated object's size without scaling the entire composition.

### Build a web layout from flattened artwork

Decompose an existing hero illustration and use suitable transparent layers as separately positioned image elements in the page.

### Prepare design handoffs

Turn a flattened campaign image into layers that a designer can inspect, reposition, and recolor during revisions.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Qwen Image Layered LoRA in other agents

- [Amp](https://spiral.ai/integrations/amp/qwen-image-layered-lora)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/qwen-image-layered-lora)
- [Claude](https://spiral.ai/integrations/claude-desktop/qwen-image-layered-lora)
- [Claude Code](https://spiral.ai/integrations/claude-code/qwen-image-layered-lora)
- [Cline](https://spiral.ai/integrations/cline/qwen-image-layered-lora)
- [Codex](https://spiral.ai/integrations/codex/qwen-image-layered-lora)
- [Cursor](https://spiral.ai/integrations/cursor/qwen-image-layered-lora)
- [Devin](https://spiral.ai/integrations/devin/qwen-image-layered-lora)
- [dots](https://spiral.ai/integrations/dots/qwen-image-layered-lora)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/qwen-image-layered-lora)
- [Gemini](https://spiral.ai/integrations/gemini/qwen-image-layered-lora)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/qwen-image-layered-lora)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/qwen-image-layered-lora)
- [goose](https://spiral.ai/integrations/goose/qwen-image-layered-lora)
- [Grok](https://spiral.ai/integrations/grok/qwen-image-layered-lora)
- [Grok Build](https://spiral.ai/integrations/grok-build/qwen-image-layered-lora)
- [Hermes](https://spiral.ai/integrations/hermes/qwen-image-layered-lora)
- [Instinct](https://spiral.ai/integrations/instinct/qwen-image-layered-lora)
- [Manus](https://spiral.ai/integrations/manus/qwen-image-layered-lora)
- [Muse](https://spiral.ai/integrations/muse/qwen-image-layered-lora)
- [Muse Code](https://spiral.ai/integrations/muse-code/qwen-image-layered-lora)
- [Notion](https://spiral.ai/integrations/notion/qwen-image-layered-lora)
- [OpenClaw](https://spiral.ai/integrations/openclaw/qwen-image-layered-lora)
- [opencode](https://spiral.ai/integrations/opencode/qwen-image-layered-lora)
- [Perplexity](https://spiral.ai/integrations/perplexity/qwen-image-layered-lora)
- [Raycast](https://spiral.ai/integrations/raycast/qwen-image-layered-lora)
- [VS Code](https://spiral.ai/integrations/vscode/qwen-image-layered-lora)
- [Windsurf](https://spiral.ai/integrations/windsurf/qwen-image-layered-lora)
- [Zapier](https://spiral.ai/integrations/zapier/qwen-image-layered-lora)

## More n8n guides

- [Qwen Image Layered](https://spiral.ai/integrations/n8n/qwen-image-layered)
- [Recraft 20B](https://spiral.ai/integrations/n8n/recraft-20b)
- [Qwen Image Image to Image](https://spiral.ai/integrations/n8n/qwen-image-image-to-image)
- [Recraft Creative Upscale](https://spiral.ai/integrations/n8n/recraft-creative-upscale)
- [Qwen Image Edit Shirt Design](https://spiral.ai/integrations/n8n/qwen-image-edit-shirt-design)
- [Recraft Crisp Upscale](https://spiral.ai/integrations/n8n/recraft-crisp-upscale)

## Questions about Qwen Image Layered LoRA in n8n

**Can n8n use Qwen Image Layered LoRA?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Qwen Image Layered LoRA like any built-in tool.

**How much does Qwen Image Layered LoRA cost in n8n?**

$0.078 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need a fal account to use Qwen Image Layered LoRA in n8n?**

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Qwen Image Layered LoRA on its own fal account.

**How long does it take to set up Qwen Image Layered LoRA in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Qwen Image Layered LoRA runs?**

Qwen Image Layered LoRA runs in the background. n8n starts the run, checks on it and gives you the image when it's ready.

**What does Qwen Image Layered produce?**

It splits an existing image into RGBA image layers with transparency. You can then manipulate individual layers in an editor.

**How should I write the prompt?**

Describe the image's overall content, including its objects, text, and arrangement. Qwen's instructions say the prompt does not explicitly assign content to individual layers.

**Can Qwen Image Layered create layered artwork from text alone?**

Qwen reports limited performance for text-only multilayer generation in the released model. Start with an existing image when preparing editable assets.

**Can I move or recolor one object after decomposition?**

Yes, when the object is separated into a suitable layer. Apply the change to that layer in an editor while leaving the other layers untouched.

**Can it separate text from a poster?**

Qwen's paper demonstrates separating text and objects into image layers. Inspect the returned layers before using them to rebuild a poster layout.

