[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [Image Apps v2 Relighting](https://spiral.ai/integrations/windsurf/image-apps-v2-relighting)

# 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.

|  |  |
| --- | --- |
| Model | Image Apps v2 Relighting |
| Available through | fal |
| Category | Image |
| Price | $0.052 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Image Apps v2 Relighting in Windsurf

- 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

1. **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:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **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.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Image Apps v2 Relighting**: One request; the result comes back by polling or a webhook.

```bash
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.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/windsurf

## Image Apps v2 Relighting tools and prices

- [Relighting](https://spiral.ai/tools/fal/fal-ai/image-apps-v2/relighting) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| lighting_style | natural, studio, golden_hour, blue_hour, dramatic, soft, hard, backlight, side_light, front_light, rim_light, sunset, sunrise, neon, candlelight, moonlight, spotlight, ambient | natural |  |
| aspect_ratio |  | — | Aspect ratio for 4K output |

## 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.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Windsurf guides](https://spiral.ai/integrations/windsurf)

## Image Apps v2 Relighting in other agents

- [Amp](https://spiral.ai/integrations/amp/image-apps-v2-relighting)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/image-apps-v2-relighting)
- [Claude](https://spiral.ai/integrations/claude-desktop/image-apps-v2-relighting)
- [Claude Code](https://spiral.ai/integrations/claude-code/image-apps-v2-relighting)
- [Cline](https://spiral.ai/integrations/cline/image-apps-v2-relighting)
- [Codex](https://spiral.ai/integrations/codex/image-apps-v2-relighting)
- [Cursor](https://spiral.ai/integrations/cursor/image-apps-v2-relighting)
- [Devin](https://spiral.ai/integrations/devin/image-apps-v2-relighting)
- [dots](https://spiral.ai/integrations/dots/image-apps-v2-relighting)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/image-apps-v2-relighting)
- [Gemini](https://spiral.ai/integrations/gemini/image-apps-v2-relighting)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/image-apps-v2-relighting)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/image-apps-v2-relighting)
- [goose](https://spiral.ai/integrations/goose/image-apps-v2-relighting)
- [Grok](https://spiral.ai/integrations/grok/image-apps-v2-relighting)
- [Grok Build](https://spiral.ai/integrations/grok-build/image-apps-v2-relighting)
- [Hermes](https://spiral.ai/integrations/hermes/image-apps-v2-relighting)
- [Instinct](https://spiral.ai/integrations/instinct/image-apps-v2-relighting)
- [Manus](https://spiral.ai/integrations/manus/image-apps-v2-relighting)
- [Muse](https://spiral.ai/integrations/muse/image-apps-v2-relighting)
- [Muse Code](https://spiral.ai/integrations/muse-code/image-apps-v2-relighting)
- [n8n](https://spiral.ai/integrations/n8n/image-apps-v2-relighting)
- [Notion](https://spiral.ai/integrations/notion/image-apps-v2-relighting)
- [OpenClaw](https://spiral.ai/integrations/openclaw/image-apps-v2-relighting)
- [opencode](https://spiral.ai/integrations/opencode/image-apps-v2-relighting)
- [Perplexity](https://spiral.ai/integrations/perplexity/image-apps-v2-relighting)
- [Raycast](https://spiral.ai/integrations/raycast/image-apps-v2-relighting)
- [VS Code](https://spiral.ai/integrations/vscode/image-apps-v2-relighting)
- [Zapier](https://spiral.ai/integrations/zapier/image-apps-v2-relighting)

## More Windsurf guides

- [Ideogram Vector Image to SVG](https://spiral.ai/integrations/windsurf/ideogram-vector-image-to-svg)
- [Image Apps v2 Style Transfer](https://spiral.ai/integrations/windsurf/image-apps-v2-style-transfer)
- [Ideogram Vector](https://spiral.ai/integrations/windsurf/ideogram-vector)
- [Image Apps v2 Virtual Try-on](https://spiral.ai/integrations/windsurf/image-apps-v2-virtual-try-on)
- [Ideogram Upscale](https://spiral.ai/integrations/windsurf/ideogram-upscale)
- [Image Background Remover](https://spiral.ai/integrations/windsurf/image-background-remover)

## 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.

