Spiral gives your agent every tool with one account. Browse the tools →

opencode · Image

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.

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

Copy an example into opencode, or ask in your own words.

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.

Qwen Image Edit 2509 Integrate Productopencode
Try asking
  • 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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.

    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.

Qwen Image Edit 2509 Integrate Product providers and prices

Spiral runs Qwen Image Edit 2509 Integrate Product through fal. Open a card for today's price, with every fee included.

falImage
Qwen Image Edit 2509 Lora Gallery · Integrate Product
fal-ai/qwen-image-edit-2509-lora-gallery/integrate-product

Settings you can ask for

Qwen Image Edit 2509 Integrate Product works from your image URLs and prompt. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Guidance scale0 to 201

The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt.

Number of inference steps2 to 506

The number of inference steps to perform.

Accelerationnone or regularregular

Acceleration level for image generation. 'regular' balances speed and quality.

Negative promptwhat to leave out, in words

The negative prompt for the generation

Seeda whole number

Random seed for reproducibility. Same seed with same prompt will produce same result.

Output formatpng, jpeg, or webppng

The format of the output image

Number of images1 to 41

Number of images to generate

LoRA scale0 to 41

The scale factor for the LoRA model. Controls the strength of the LoRA effect.

Every API field of Qwen Image Edit 2509 Lora Gallery · Integrate Product is on its tool page: open its card above.

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.

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.

Get started

Start using Qwen Image Edit 2509 Integrate Product in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options