[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Qwen Image Edit 2509 Integrate Product](https://spiral.ai/integrations/opencode/qwen-image-edit-2509-integrate-product)

# How to Use Qwen Image Edit 2509 Integrate Product in opencode

Qwen Image Edit 2509 Integrate Product blends photographed products into backgrounds, matching perspective, lighting, and shadows. It applies the Fusion LoRA to Qwen Image Edit 2509 for product placement and scene mockups.

|  |  |
| --- | --- |
| Model | Qwen Image Edit 2509 Integrate Product |
| Available through | fal |
| Category | Image |
| Price | Up to $0.0455 per run at the default inputs. $0.0455 per unit of `num_images`. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Qwen Image Edit 2509 Integrate Product in opencode

- Use Qwen Image Edit 2509 Integrate Product with the headphone and desk photos in the project's assets folder. Place the headphones on the desk, match the window light and contact shadow, and preview the result in the homepage header.
- Use Qwen Image Edit 2509 Integrate Product to blend our coffee maker photo into the kitchen background in public/images. Match the counter perspective and lighting, then add the draft to the product page for review.
- Use Qwen Image Edit 2509 Integrate Product on the package and retail shelf images in this repository. Place the package on the middle shelf and show the result beside the source package so I can inspect the label.
- Use Qwen Image Edit 2509 Integrate Product to blend the chair photo into the room image in our design assets. Match the floor perspective and shadows, and preserve the room image's dimensions.
- Use Qwen Image Edit 2509 Integrate Product with the bottle and bathroom reference images in the project. Compare lower and higher LoRA strength with the same placement instructions, and build a side-by-side review.

## How to set up Qwen Image Edit 2509 Integrate Product in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 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 Edit 2509 Integrate Product**: 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-edit-2509-lora-gallery/integrate-product",
    "input": {
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: opencode finds Qwen Image Edit 2509 Integrate Product on Spiral, shows the price and runs it.

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

## Qwen Image Edit 2509 Integrate Product tools and prices

- [Qwen Image Edit 2509 Lora Gallery · Integrate Product](https://spiral.ai/tools/fal/fal-ai/qwen-image-edit-2509-lora-gallery/integrate-product) (fal): Up to $0.0455 per run at the default inputs. $0.0455 per unit of `num_images`.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| image_size |  | — | The size of the generated image. If not provided, the size of the final input image will be used. |
| guidance_scale | 0 to 20 | 1 | The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt. |
| num_inference_steps | 2 to 50 | 6 | The number of inference steps to perform. |
| acceleration | none, regular | regular | Acceleration level for image generation. 'regular' balances speed and quality. |
| negative_prompt |  |  | The negative prompt for the generation |
| seed |  | — | Random seed for reproducibility. Same seed with same prompt will produce same result. |

## What can you do with Qwen Image Edit 2509 Integrate Product in opencode?

Create product scene drafts for website headers, product pages, and advertising layouts from existing images. A coding agent can place the results in the project and help review composition at the intended display size.

### Product detail page lifestyle photos

Place a photographed coffee maker into a kitchen scene. Ask for counter contact, perspective, and window light to match the background.

### Seasonal advertising mockups

Blend an existing candle photo into a seasonal tabletop composition. Review the packaging against the original before choosing the advertising image.

### Furniture placement previews

Integrate a photographed chair into a room image to explore a furnishing proposal. Specify its position and ask for matching perspective and floor shadows.

### Packaging presentation mockups

Place an existing package image on a photographed retail shelf or display table. Use the result to discuss composition and presentation.

### Social product photography

Blend a skincare bottle into a bathroom scene for a social post draft. Request lighting and shadows that follow the room photo.

### Website product hero drafts

Integrate a headphone photo into a desk scene while requesting open space for a headline. Review the composition in the intended website layout.

## Overview

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

## Qwen Image Edit 2509 Integrate Product in other agents

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

## More opencode guides

- [Qwen Image Edit 2509 Group Photo](https://spiral.ai/integrations/opencode/qwen-image-edit-2509-group-photo)
- [Qwen Image Edit 2509 Lighting Restoration](https://spiral.ai/integrations/opencode/qwen-image-edit-2509-lighting-restoration)
- [Qwen Image Edit 2509 Face to Full Portrait](https://spiral.ai/integrations/opencode/qwen-image-edit-2509-face-to-full-portrait)
- [Qwen Image Edit 2509 LoRA](https://spiral.ai/integrations/opencode/qwen-image-edit-2509-lora)
- [Qwen Image Edit 2509 Add Background](https://spiral.ai/integrations/opencode/qwen-image-edit-2509-add-background)
- [Qwen Image Edit 2509 Multiple Angles](https://spiral.ai/integrations/opencode/qwen-image-edit-2509-multiple-angles)

## Questions about Qwen Image Edit 2509 Integrate Product in opencode

**Can opencode use Qwen Image Edit 2509 Integrate Product?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Qwen Image Edit 2509 Integrate Product like any built-in tool.

**How much does Qwen Image Edit 2509 Integrate Product cost in opencode?**

Up to $0.0455 per run at the default inputs. $0.0455 per unit of `num_images`. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need a fal account to use Qwen Image Edit 2509 Integrate Product in opencode?**

No. Spiral runs Qwen Image Edit 2509 Integrate Product on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Qwen Image Edit 2509 Integrate Product in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Qwen Image Edit 2509 Integrate Product runs?**

Qwen Image Edit 2509 Integrate Product runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

**What is Qwen Image Edit 2509 Integrate Product useful for?**

Use it for product photos in context, advertising mockups, and objects placed into photographed scenes. It focuses on making the product's perspective and lighting fit the background.

**Does it match the product's shadows to the background?**

Yes, the documented integration process adjusts lighting and shadows to match the scene. Include the intended light direction and where the product touches the surface in your instructions.

**How should I write a product placement prompt?**

Name the product, its position, the surface beneath it, and the lighting you want matched. Start with a direct instruction such as placing the bottle on the counter and correcting its perspective and shadow.

**Will the product keep its original appearance?**

The underlying Qwen Image Edit 2509 model improves product identity preservation. Compare the result with the source photo, especially the label, silhouette, color, and small packaging details, before approving it.

**What determines the output dimensions?**

If you leave dimensions unspecified, the output uses the dimensions of the final input image. For a particular placement, choose the intended canvas dimensions before reviewing the composition.

