How to Use Wan 2.7 Text to Image in Windsurf
Wan 2.7 Text to Image turns written briefs into illustrations, portraits, and poster concepts at up to 2K. Unlike Wan 2.7 Image to Image, it creates the scene from text without a reference picture.
Prompts to try with Wan 2.7 Text to Image in Windsurf
Copy an example into Windsurf, or ask in your own words.
Read the homepage copy and design tokens in this project. Use Wan 2.7 Text to Image to create one 2048 × 2048 editorial illustration of a bicycle repair bench, with natural window light and open space above the tools.
Use Wan 2.7 Text to Image to create one 2048 × 2048 conference poster concept using the event title from this project's content. Put the title at the top and a woodcut illustration of a radio telescope below it.
Read the lesson text in this project. Use Wan 2.7 Text to Image to create one 2048 × 2048 watercolor diagram of a seed becoming a plant, with the exact labels Seed, Root, Shoot, and Leaves.
Generate a product photo with Wan 2.7 Text 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.7 Text to Image.
How to set up Wan 2.7 Text to Image in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf 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 Text 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.7/text-to-image", "input": { "prompt": "An astronaut riding a horse in a photorealistic style." } }'
Then paste one of the prompts above: Windsurf finds Wan 2.7 Text to Image on Spiral, shows the price and runs it.
Wan 2.7 Text to Image providers and prices
Spiral runs Wan 2.7 Text to Image through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Wan 2.7 Text to Image works from your prompt. Ask Windsurf 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 5 | 1 | Number of images to generate (1-5). |
| 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 · Text to Image is on its tool page: open its card above.
What can you do with Wan 2.7 Text to Image in Windsurf?
Turn a project's visual requirements into images that fit its screens and content. Use Wan 2.7 Image for text-bearing graphics and detailed compositions, then inspect the results in the actual layout.
Event poster concepts
Create posters from a written brief, with an exact event title, a defined visual style, and clear placement for the headline.
Character portrait development
Explore a fictional character's face, clothing, expression, and lighting from a written description before choosing a visual direction.
Architectural concept images
Turn a written description of a room or building into a concept image with specified materials, viewpoint, and time of day.
Illustrated educational graphics
Create an illustrated explanation with supplied labels and a defined arrangement. Review the wording and diagram before using it in a lesson.
More on Wan 2.7 Text to Image and Windsurf
Overview
Wan 2.7 Text to Image in other agents
Questions about Wan 2.7 Text to Image in Windsurf
Can Windsurf use Wan 2.7 Text to Image?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Wan 2.7 Text to Image like any built-in tool.
How much does Wan 2.7 Text to Image cost in Windsurf?
$0.039 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 Windsurf plan is separate.
Do I need a fal account to use Wan 2.7 Text to Image in Windsurf?
No. Spiral runs Wan 2.7 Text 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.7 Text to Image in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while Wan 2.7 Text to Image runs?
Wan 2.7 Text to Image runs in the background. Windsurf 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 Text to Image in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


