[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [GPT Image 2.5 Flare Edit](https://spiral.ai/integrations/muse-code/gpt-image-2-5-flare-edit)

# How to Use GPT Image 2.5 Flare Edit in Muse Code

GPT Image 2.5 Flare Edit changes existing images while working to preserve subjects, composition, and visual style. Unlike GPT Image 2.5 Flare Text to Image, it starts from reference images for product edits, scene changes, and restyling.

|  |  |
| --- | --- |
| Model | GPT Image 2.5 Flare Edit |
| Available through | fal |
| Category | Image |
| Price | $0.0475 per 4:3 image at high quality ($0.00572 low, $0.0122 medium, $0.084 xhigh, $0.188 max). At high: $0.0605 square, $0.069 square HD, $0.0342 16:9. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens. Input images: $0.0106 each at 1024×1024. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GPT Image 2.5 Flare Edit in Muse Code

- Use GPT Image 2.5 Flare Edit to revise the product photo in our assets folder. Replace only the background with pale stone; preserve the bottle shape, label, framing, and light direction. Return a 1024 × 1024 image.
- Use GPT Image 2.5 Flare Edit on the existing onboarding illustration. Change only the orange objects to the project's green accent, preserving shapes and composition. Return a 1536 × 1024 PNG.
- Remove the background from the photo I attach with GPT Image 2.5 Flare Edit and give me a transparent PNG. Save the result in ./assets.
- Use GPT Image 2.5 Flare Edit to clean up these product shots so they sit on pure white.
- Edit this image with GPT Image 2.5 Flare Edit: keep the subject, swap the background for a sunlit studio.

## How to set up GPT Image 2.5 Flare Edit in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 GPT Image 2.5 Flare Edit**: 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": "openai/gpt-image-2.5/flare/edit",
    "input": {
      "prompt": "Same workers, same beam, same lunch boxes - but they'\''re all on their phones now. One is taking a selfie. One is on a call looking annoyed. Same danger, new…",
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: Muse Code finds GPT Image 2.5 Flare Edit on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## GPT Image 2.5 Flare Edit tools and prices

- [GPT Image 2.5 Flare · Image Editing](https://spiral.ai/tools/fal/openai/gpt-image-2.5/flare/edit) (fal): $0.0475 per 4:3 image at high quality ($0.00572 low, $0.0122 medium, $0.084 xhigh, $0.188 max). At high: $0.0605 square, $0.069 square HD, $0.0342 16:9. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens. Input images: $0.0106 each at 1024×1024.
- [GPT Image 2.5 Flare · Edit](https://spiral.ai/tools/openai/gpt-image-2.5-flare/edit) (OpenAI): $0.0686 per 1024×1024 image at high quality ($0.00775 low, $0.0172 medium, $0.122 xhigh, $0.274 max), plus each input image. At high: $0.0536 at 1536×1024 or 1024×1536, $0.0486 at 1792×1024 or 1024×1792, $0.0509 at 512×512, $0.0465 at 256×256. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens. Input images: $0.0106 each at 1024×1024.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| mask_url |  | — | Mask image URL. Standard processing treats white as edit and black as keep. With image_passthrough or provider_options, supply an OpenAI-native PNG alpha mask: transparent regions are edited, and dimensions must match the first reference. |
| image_size |  | auto | The size of the generated image. 'auto' infers it from the input images. Explicit sizes need both sides as multiples of 16, a longest edge of at most 3840 px, an aspect ratio of at most 3:1, and 655,360 to 8,294,400 pixels. |
| background | auto, transparent, opaque | auto | Background for the generated image |
| quality | auto, low, medium, high, xhigh, max | high | Quality for the generated image. Higher settings increase detail, latency, and token usage. Use 'auto' to let the model choose. |
| num_images | 1 to 10 | 1 | Number of images to generate |
| output_format | jpeg, png, webp | png | Output format for the images |

## What can you do with GPT Image 2.5 Flare Edit in Muse Code?

Turn project requirements into image assets and screen previews with GPT Image 2.5 Flare. A coding agent can use the project's design guidance to write briefs and check the resulting assets against their intended placement.

### Social campaign visuals

Create a campaign scene from a written brief, or adapt an existing campaign image while preserving its main subject.

### Editorial illustrations

Illustrate an article concept from text, or restyle an existing illustration with a specified palette and medium.

### Interface previews

Explore screen layouts from a description, or revise an existing screen image. Review text and alignment before implementing the design.

### Product scene concepts

Visualize a proposed product from a written description, or place an existing product image in a different setting.

### Product background changes

Replace a product photo's setting while asking to preserve its shape, label, and camera angle.

### Interior material previews

Change upholstery or finishes in an existing room photo, one change at a time, while retaining furniture placement.

### Lighting studies

Compare daylight and evening treatments of an existing scene while asking to retain its objects and framing.

### Reference-based restyling

Reinterpret a supplied subject in a different visual medium while checking that its identifying features remain recognizable.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## GPT Image 2.5 Flare Edit in other agents

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

## More Muse Code guides

- [GPT Image 2.5 Flare](https://spiral.ai/integrations/muse-code/gpt-image-2-5-flare)
- [GPT Image 2.5 Flare Text to Image](https://spiral.ai/integrations/muse-code/gpt-image-2-5-flare-text-to-image)
- [GPT Image 2 Edit](https://spiral.ai/integrations/muse-code/gpt-image-2-edit)
- [GPT Image 2.5 Sunburst](https://spiral.ai/integrations/muse-code/gpt-image-2-5-sunburst)
- [GPT Image 2](https://spiral.ai/integrations/muse-code/gpt-image-2)
- [GPT Image 2.5 Sunburst Edit](https://spiral.ai/integrations/muse-code/gpt-image-2-5-sunburst-edit)

## Questions about GPT Image 2.5 Flare Edit in Muse Code

**Can Muse Code use GPT Image 2.5 Flare Edit?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run GPT Image 2.5 Flare Edit like any built-in tool.

**How much does GPT Image 2.5 Flare Edit cost in Muse Code?**

$0.0475 per 4:3 image at high quality ($0.00572 low, $0.0122 medium, $0.084 xhigh, $0.188 max). At high: $0.0605 square, $0.069 square HD, $0.0342 16:9. Auto quality or size: the price of the one chosen for the request. Prompt: $6.50 per 1M tokens. Input images: $0.0106 each at 1024×1024. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need a fal account to use GPT Image 2.5 Flare Edit in Muse Code?**

No. Spiral runs GPT Image 2.5 Flare 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 GPT Image 2.5 Flare Edit in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while GPT Image 2.5 Flare Edit runs?**

GPT Image 2.5 Flare Edit runs in the background. Muse Code starts the run, checks on it and gives you the image when it's ready.

**What is GPT Image 2.5 Flare good at?**

Flare suits visual drafts for social content, product experiences, and image prototyping. Its strengths include natural lighting, textures, and following a defined visual style.

**How large can GPT Image 2.5 Flare images be?**

The longest edge can reach 3840 pixels, including 3840 × 2160 output. Dimensions must be multiples of 16, stay within a 3:1 aspect ratio, and total 655360 to 8294400 pixels; output above 2560 × 1440 is experimental.

**Can GPT Image 2.5 Flare render readable text?**

Yes, but exact placement and clarity can still fail. Put required wording in quotes, specify where it belongs, request no additional text, and check the result.

**Can GPT Image 2.5 Flare create transparent images?**

Yes. Request a transparent background with PNG or WebP output, then inspect edges and transparent areas before using the asset.

**Does higher quality always improve GPT Image 2.5 Flare results?**

No. Start with low quality for drafts, then compare higher settings against the specific detail or text problem you need to fix.

