How to Use Wan 2.7 Pro Edit in Gemini
Wan 2.7 Pro Edit revises existing images for tasks such as product retouching and composition changes. Compared with Wan 2.7 Image to Image, Alibaba positions Pro for more stable composition and closer prompt interpretation.
Prompts to try with Wan 2.7 Pro Edit in Gemini
Copy an example into Gemini, or ask in your own words.
Use Wan 2.7 Pro Edit to change the background of the mug photo I supplied to a sunlit kitchen counter. Preserve the mug's shape, handle, and printed lettering; make one square image at 2048 × 2048.
Use Wan 2.7 Pro Edit to turn the portrait I supplied into a pencil drawing. Preserve the face shape and expression, use a plain white background, and make one square image at 1024 × 1024.
Remove the background from the photo I attach with Wan 2.7 Pro Edit and give me a transparent PNG.
Use Wan 2.7 Pro Edit to clean up these product shots so they sit on pure white.
Edit this image with Wan 2.7 Pro Edit: keep the subject, swap the background for a sunlit studio.
How to set up Wan 2.7 Pro Edit in Gemini
Pick the way that suits you. Each takes about two minutes.
Use the Gemini connector
- Open Connected Apps
On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.
- Add Spiral as a custom app
Under Custom apps, click Add a custom app and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Gemini this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Wan 2.7 Pro Edit
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.7/pro/edit", "input": { "prompt": "Turn image 1 into a watercolor painting.", "image_urls": [ "<image_urls>" ] } }'
Then paste one of the prompts above: Gemini finds Wan 2.7 Pro Edit on Spiral, shows the price and runs it.
Wan 2.7 Pro Edit providers and prices
Spiral runs Wan 2.7 Pro Edit through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Wan 2.7 Pro Edit works from your prompt and image URLs. Ask Gemini for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Negative prompt | what to leave out, in words | Content to avoid in the generated image. Max 500 characters. | |
| Number of images | 1 to 4 | 1 | Number of images to generate (1-4). |
| Enable prompt expansion | on or off | on | Enable DashScope prompt expansion. Supported only for image edit mode. |
| Seed | a whole number | Random seed for reproducibility (0-2147483647). | |
| Output format | jpeg, png, or webp | jpeg | The format of the generated images. |
Every API field of Wan 2.7 Pro Edit · Image to Image is on its tool page: open its card above.
What can you do with Wan 2.7 Pro Edit in Gemini?
Turn a conversation about a visual idea into a poster, illustration, or revised picture. Describe the intended subject, wording, and composition so Wan 2.7 Image has a concrete brief.
Product background revisions
Revise a supplied product photo with a different setting, lighting treatment, or surrounding props while asking to preserve the product's appearance.
Portrait style studies
Turn a supplied portrait into a pencil drawing or watercolor study, with explicit instructions about which facial features to preserve.
Poster text revisions
Update a headline or date in a supplied graphic while asking to keep its layout, illustration, and remaining wording.
Reference-based compositions
Combine elements from supplied images into a composition, identifying which image supplies each subject, background, or visual treatment.
More on Wan 2.7 Pro Edit and Gemini
Overview
Wan 2.7 Pro Edit in other agents
Questions about Wan 2.7 Pro Edit in Gemini
Can Gemini use Wan 2.7 Pro Edit?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Wan 2.7 Pro Edit like any built-in tool.
How much does Wan 2.7 Pro Edit cost in Gemini?
$0.0975 per image. Billed on `num_images`, default 1. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.
Do I need a fal account to use Wan 2.7 Pro Edit in Gemini?
No. Spiral runs Wan 2.7 Pro Edit 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.7 Pro Edit in Gemini?
About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.
Does Gemini wait while Wan 2.7 Pro Edit runs?
Wan 2.7 Pro Edit runs in the background. Gemini starts the run, checks on it and gives you the image when it's ready.
What is Wan 2.7 Image useful for?
Wan 2.7 Image is useful for posters, illustrated content, and visual work that combines readable text with a specified composition. Alibaba highlights text rendering, subject consistency, and complex instruction following.
Can Wan 2.7 Image put text inside a picture?
Yes. Text rendering is one of its documented strengths, making it useful for poster headlines, labels, and illustrated explainers. Give the exact wording and check the result before publishing.
Does Wan 2.7 Image support multilingual text?
Alibaba reports text rendering in 12 languages. For a localized graphic, supply the approved wording rather than asking the image model to translate it.
How should I describe the picture I want?
Specify the subject, setting, style, lighting, and composition. For example, describe a ceramic mug photographed from above on a wooden table in morning window light, rather than asking for a nice product picture.
Can Wan 2.7 Image make a 2048 × 2048 image?
Yes. A square image at 2048 × 2048 fits the documented 2K output limit shared across these models.
Start using Wan 2.7 Pro Edit in Gemini
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini:
set up https://spiral.ai/SKILL.md


