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

Gemini CLI · Image

How to Use Wan 2.2 A14B Image to Image in Gemini CLI

Wan 2.2 A14B Image to Image reworks an existing image using a written description. Unlike Wan 2.2 A14B Text to Image, it lets you control how much of the original image survives.

Prompts to try with Wan 2.2 A14B Image to Image in Gemini CLI

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

Use Wan 2.2 A14B Image to Image with the kitchen photograph in the project's assets. Explore warm evening light and muted wood tones at strength 0.25, then compare the result with the source composition.

Wan 2.2 A14B Image to ImageGemini CLI
Try asking
  • Use Wan 2.2 A14B Image to Image with the project's approved reading-room image. Compare reconstruction strengths of 0.25 and 0.5 for a brief requesting oak shelves, olive upholstery, and soft window light; keep the seed fixed.

  • Generate a product photo with Wan 2.2 A14B 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 Wan 2.2 A14B Image to Image.

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

How to set up Wan 2.2 A14B Image to Image in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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 Wan 2.2 A14B 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/wan/v2.2-a14b/image-to-image",
        "input": {
          "image_url": "https://storage.googleapis.com/falserverless/example_inputs/wan-image-to-image-input.png",
          "prompt": "A cinematic shot of an ancient city at sunset, intricate stone buildings, warm golden light"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Wan 2.2 A14B Image to Image on Spiral, shows the price and runs it.

Wan 2.2 A14B Image to Image providers and prices

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

falImage
Wan
fal-ai/wan/v2.2-a14b/image-to-image

Settings you can ask for

Wan 2.2 A14B Image to Image works from your image URL and prompt. Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Strength0 to 10.5

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

Negative promptwhat to leave out, in words

Negative prompt for video generation.

Seeda whole number

Random seed for reproducibility. If None, a random seed is chosen.

Aspect ratioauto, 16:9, 9:16, or 1:1auto

Aspect ratio of the generated image. If 'auto', the aspect ratio will be determined automatically based on the input image.

Number of inference steps2 to 4027

Number of inference steps for sampling. Higher values give better quality but take longer.

Enable prompt expansionon or offoff

Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.

Accelerationnone or regularregular

Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'.

Guidance scale1 to 103.5

Classifier-free guidance scale.

Guidance scale (2nd stage)1 to 104

Guidance scale for the second stage of the model. This is used to control the adherence to the prompt in the second stage of the model.

Shift1 to 102
Image formatpng or jpegjpeg

The format of the output image.

Every API field of Wan is on its tool page: open its card above.

What can you do with Wan 2.2 A14B Image to Image in Gemini CLI?

Create photographic assets while working on a website or app. Turn the project's visual brief into scene descriptions and compare lighting or composition treatments before choosing an image.

Editorial scene illustrations

Develop photographic concepts for an article, such as a bicycle outside a neighborhood repair shop. Specify the setting, lighting, and space needed for a headline.

Product staging concepts

Explore how an unbranded ceramic mug might look on linen, stone, or a wooden counter. Use the results to compare photographic direction before planning a shoot.

Interior mood studies

Compare room concepts through wood tones, upholstery, daylight, and contrast. Treat each image as a visual direction to review.

Film still concepts

Explore a single scene's framing, lighting, and color treatment before production. Describe one photographic composition, such as an empty train platform at dawn.

Lighting studies from an existing image

Start with a supplied room or scene image and explore a different lighting treatment. Compare lower and higher reconstruction strengths to judge how much source detail changes.

Questions about Wan 2.2 A14B Image to Image in Gemini CLI

Can Gemini CLI use Wan 2.2 A14B Image to Image?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Wan 2.2 A14B Image to Image like any built-in tool.

How much does Wan 2.2 A14B Image to Image cost in Gemini CLI?

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

Do I need a fal account to use Wan 2.2 A14B Image to Image in Gemini CLI?

No. Spiral runs Wan 2.2 A14B 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 Wan 2.2 A14B Image to Image in Gemini CLI?

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

Does Gemini CLI wait while Wan 2.2 A14B Image to Image runs?

Wan 2.2 A14B Image to Image runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

Does Wan 2.2 A14B produce still images?

Yes. The image models covered here produce still images, despite the Wan name also appearing on video models.

What is Wan 2.2 A14B useful for?

Photographic scene concepts are a good starting point: editorial illustrations, product staging ideas, interior mood studies, and film still concepts. Its image descriptions emphasize realism and fine visual detail.

How should I describe the image I want?

A practical starting point is to name the subject and setting, then specify lighting, framing, contrast, and color tone. This recommendation follows the Wan team's description of its aesthetic training labels.

Will stronger guidance always improve the result?

No. Stronger guidance can improve prompt adherence while reducing image quality, so compare modest changes against the original result.

When should I use prompt expansion?

Try it when your brief is short and you want additional descriptive detail. For a carefully specified composition, compare it with expansion turned off so you can judge whether the additions help.

Get started

Start using Wan 2.2 A14B Image to Image in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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