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

Claude Code · Image

How to Use Qwen Image Image to Image in Claude Code

Use Qwen Image Image to Image to restyle or rework an existing picture. Unlike Qwen Image, it uses a reference image to guide the result.

Prompts to try with Qwen Image Image to Image in Claude Code

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

Use Qwen Image Image to Image to restyle the project's existing landscape asset as an impressionist oil painting. Describe the visible scene and keep the mountain as the central subject.

Qwen Image Image to ImageClaude Code
Try asking
  • Generate a product photo with Qwen Image Image to Image: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first. Save the result in ./assets.

  • Make four logo concepts for a coffee brand called "Northline" with Qwen Image Image to Image.

  • Create a 16:9 hero image of a quiet mountain cabin at dusk with Qwen Image Image to Image.

  • Generate a 9:16 poster with Qwen Image Image to Image for a jazz night called "Blue Hour", deep navy and brass tones.

How to set up Qwen Image Image to Image in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code 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 Image to Image

    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/image-to-image",
        "input": {
          "prompt": "Mount Fuji with purple japanese wisteria in the foreground, clear sky, peaceful spring day, soft natural light, landscape, painted with oil brush on a wood…",
          "image_url": "https://v3.fal.media/files/rabbit/KoIbq6nhDBDPxDQrivW-m.png"
        }
      }'

Then paste one of the prompts above: Claude Code finds Qwen Image Image to Image on Spiral, shows the price and runs it.

Qwen Image Image to Image providers and prices

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

falImage
Qwen Image · Image to Image
fal-ai/qwen-image/image-to-image

Settings you can ask for

Qwen Image Image to Image works from your prompt and image URL. Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Number of inference steps2 to 25030

The number of inference steps to perform.

Seeda whole number

The same seed and the same prompt given to the same version of the model

will output the same image every time.

Guidance scale0 to 202.5

The CFG (Classifier Free Guidance) scale is a measure of how close you want

the model to stick to your prompt when looking for a related image to show you.

Number of images1 to 41

The number of images to generate.

Output formatjpeg or pngpng

The format of the generated image.

Negative promptwhat to leave out, in words

The negative prompt for the generation

Accelerationnone, regular, or highnone

Acceleration level for image generation. Options: 'none', 'regular', 'high'. Higher acceleration increases speed. 'regular' balances speed and quality. 'high' is recommended for images without text.

Use turboon or offoff

Enable turbo mode for faster generation with high quality. When enabled, uses optimized settings (10 steps, CFG=1.2).

Strength0 to 10.6

Denoising strength. 1.0 = fully remake; 0.0 = preserve original.

Every API field of Qwen Image · Image to Image is on its tool page: open its card above.

What can you do with Qwen Image Image to Image in Claude Code?

Create visual assets that match a project's content and art direction. Turn repository briefs into image prompts with explicit composition, style, and lettering.

Event poster concepts

Develop a poster with an exact headline, a short date line, and a clear visual theme. For Qwen Image Image to Image, supply an existing poster composition to rework.

English and Chinese storefront artwork

Explore shop signs and window displays with specified English or Chinese wording. For Qwen Image Image to Image, start with a storefront picture.

Illustrated cover studies

Explore an illustrated cover with a short title and a defined painting or anime style. For Qwen Image Image to Image, provide a starting cover or illustration.

Campaign art direction

Explore photographic, painted, or minimalist treatments for a campaign concept. For Qwen Image Image to Image, provide an existing campaign image to restyle.

Photo-to-painting studies

Use a supplied photograph as the starting point for an oil-painted or illustrated interpretation.

Existing artwork revisions

Rework a supplied picture with a different visual treatment or a revised creative brief.

Questions about Qwen Image Image to Image in Claude Code

Can Claude Code use Qwen Image Image to Image?

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

How much does Qwen Image Image to Image cost in Claude Code?

Up to $0.026 per run at the default inputs. $0.026 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 Claude Code plan is separate.

Do I need a fal account to use Qwen Image Image to Image in Claude Code?

No. Spiral runs Qwen Image Image to Image 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 Image to Image in Claude Code?

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

Does Claude Code wait while Qwen Image Image to Image runs?

Qwen Image Image to Image runs in the background. Claude Code starts the run, checks on it and gives you the image when it's ready.

What is Qwen Image especially useful for?

Artwork that combines a scene with readable lettering, such as event posters, storefront concepts, and illustrated covers. English and Chinese text are documented strengths.

How should I prompt lettering?

Put the exact wording in double quotation marks. Specify where it belongs, its font style and color, and whether it appears on paper, a sign, clothing, or another surface.

Which languages should I start with?

English and Chinese are the best-documented starting points for visible text. Keep names and slogans in their original wording when writing your prompt.

Can Qwen Image make illustrations as well as photographs?

Yes. Qwen documents photographic scenes, impressionist painting, anime, and minimalist design, so name the intended medium explicitly.

What makes a useful visual prompt?

Describe the subject, its position, the artistic style, and the composition. For text-heavy artwork, assign each phrase a clear location instead of asking for a poster with unspecified writing.

Get started

Start using Qwen Image Image to Image in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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