How to Use Image Apps v2 Relighting in Windsurf
Image Apps v2 Relighting changes the lighting in an existing image for product shots, portraits, and mood studies. Use it to compare lighting treatments on a photo you already have.
Prompts to try with Image Apps v2 Relighting in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use Image Apps v2 Relighting on the product photo in public/images to compare studio and soft lighting. Build a local comparison page with the original beside both results.
Use Image Apps v2 Relighting to apply golden hour and blue hour lighting to the project's outdoor hero photo. Preview both in the existing hero layout.
Use Image Apps v2 Relighting on the team portrait asset to compare front light and side light. Keep the original available for checking facial details.
Use Image Apps v2 Relighting to test neon and spotlight lighting on the event photo in this project. Preview each beneath the existing event title.
Use Image Apps v2 Relighting to compare natural and soft lighting on the restaurant photo assets. Make a review gallery and flag any visible changes to food color.
How to set up Image Apps v2 Relighting 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 Image Apps v2 Relighting
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/image-apps-v2/relighting", "input": { "image_url": "https://v3.fal.media/files/monkey/tugG2Q-XqMgf_ZoBr8KFO.jpeg" } }'
Then paste one of the prompts above: Windsurf finds Image Apps v2 Relighting on Spiral, shows the price and runs it.
Image Apps v2 Relighting providers and prices
Spiral runs Image Apps v2 Relighting through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Image Apps v2 Relighting works from your image URL. Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Lighting style | natural, studio, golden_hour, blue_hour, dramatic, soft, hard, backlight and 10 more | natural |
Every API field of Relighting is on its tool page: open its card above.
What can you do with Image Apps v2 Relighting in Windsurf?
Create lighting studies for the images already in your project. Your coding agent can organize the results into a comparison page so you can choose images in the context of the design.
Product photo lighting studies
Compare studio and soft lighting on an existing product photo. Review packaging text and product colors before selecting an image for a listing.
Portrait lighting comparisons
Try front light, side light, and rim light on the same portrait. Compare facial shadows and separation from the background.
Time-of-day concepts
Apply golden hour, blue hour, or moonlight to an existing outdoor image to explore a campaign's mood.
Food photography treatments
Compare natural and soft lighting on an existing food photo. Inspect food color and surface highlights before choosing a result.
Music and event artwork
Test neon, spotlight, and dramatic lighting on an existing promotional image. Keep titles and event details in a separate design layer.
Lighting briefs for a photo shoot
Create lighting references from a scouting photo or test shot. Compare the results with your photographer before committing to a lighting plan.
More on Image Apps v2 Relighting and Windsurf
Overview
Image Apps v2 Relighting in other agents
Questions about Image Apps v2 Relighting in Windsurf
Can Windsurf use Image Apps v2 Relighting?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Image Apps v2 Relighting like any built-in tool.
How much does Image Apps v2 Relighting cost in Windsurf?
$0.052 per image. 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 Image Apps v2 Relighting in Windsurf?
No. Spiral runs Image Apps v2 Relighting on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Image Apps v2 Relighting in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while Image Apps v2 Relighting runs?
Image Apps v2 Relighting runs in the background. Windsurf starts the run, checks on it and gives you the image when it's ready.
What is Image Apps v2 Relighting useful for?
It changes the lighting of an existing image. Try it when you want to compare lighting treatments for a product photo, portrait, or campaign image.
Can Image Apps v2 Relighting create a scene from scratch?
Start with an existing image. Its documented purpose is adjusting image lighting, so use it after you have the photograph or artwork you want to edit.
How should I compare different lighting treatments?
Apply each treatment to the same original image and keep the framing consistent. Compare shadow placement, highlights, and subject visibility before choosing a result.
What should I check before publishing a relit image?
Compare the result with the original at full size. Check faces, product colors, labels, reflective surfaces, and any details that must remain accurate.
What resolution does Image Apps v2 Relighting produce?
The official schema describes output sizing as 4K. Check the finished image's dimensions before using it in a layout with exact pixel requirements.
Start using Image Apps v2 Relighting 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


