[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Bria Reimagine](https://spiral.ai/integrations/gemini-cli/bria-reimagine)

# How to Use Bria Reimagine in Gemini CLI

Bria Reimagine turns sketches, photos, and illustrations into new illustrations guided by their composition. Use it to explore different materials, colors, and textures while retaining the reference image's structure and depth.

|  |  |
| --- | --- |
| Model | Bria Reimagine |
| Available through | fal |
| Category | Image |
| Price | $0.052 per generation. Billed on `num_results`, default 1. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Bria Reimagine in Gemini CLI

- Use Bria Reimagine with the homepage sketch in this project to create a paper collage illustration with forest green shapes and rough paper texture. Save the result beside the source for review.
- Use Bria Reimagine to reinterpret the project's onboarding illustration with muted orange, charcoal, and cream colors. Use the existing illustration as the structural reference and show the result in the onboarding preview.
- Use Bria Reimagine with the room concept image in this project to explore oak surfaces and woven fabric textures. Save the result as a design study.
- Use Bria Reimagine with the project's editorial sketch to compare lower and higher structure reference influence. Keep the prompt and seed fixed, request a charcoal illustration, and create a comparison page.
- Use Bria Reimagine to turn the project's park photo into a cut-paper illustration with sage green foliage and rust-colored paths. Add the result to the existing article preview.

## How to set up Bria Reimagine in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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 Bria Reimagine**: 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/bria/reimagine",
    "input": {
      "prompt": "A 2d illustration of a dog in a vibrant park"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Bria Reimagine on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Bria Reimagine tools and prices

- [Bria](https://spiral.ai/tools/fal/fal-ai/bria/reimagine) (fal): $0.052 per generation. Billed on `num_results`, default 1.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| structure_image_url |  |  | The URL of the structure reference image. Use "" to leave empty. Accepted formats are jpeg, jpg, png, webp. |
| structure_ref_influence | 0 to 1 | 0.75 | The influence of the structure reference on the generated image. Must be between 0 and 1. |
| num_results | 1 to 4 | 1 | How many images you would like to generate. When using any Guidance Method, Value is set to 1. |
| seed | 0 to 2147483647 | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |
| fast |  | true | Whether to use the fast model |
| num_inference_steps | 20 to 50 | 30 | The number of iterations the model goes through to refine the generated image. This parameter is optional. |

## What can you do with Bria Reimagine in Gemini CLI?

Turn project sketches and existing images into illustration concepts for the product you are building. A coding agent can place the results in the project and help compare treatments in the actual layout.

### Sketches into editorial illustrations

Use Bria Reimagine to develop a rough drawing into an illustration for an article. Describe the medium and palette while using the sketch to guide composition.

### Photos into illustrated campaign assets

Reinterpret an existing photo as an illustration. Try a paper collage or painted treatment, then review how closely the result follows the source composition.

### Interior finish concepts

Use a room image to explore wood, fabric, and wall texture treatments. Treat the results as visual concepts for discussion.

### Packaging material studies

Start with a packaging sketch and explore kraft paper, textured cardboard, or a matte finish. Compare material directions before preparing production artwork.

### Storyboard treatment studies

Rework a storyboard panel into different illustration treatments. Use the panel as the structural reference and describe the desired surface texture and colors.

### Website illustration concepts

Reinterpret an existing illustration to explore a different palette or medium. Review the resulting composition in the page before choosing a direction.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Bria Reimagine in other agents

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

## More Gemini CLI guides

- [Bria RMBG 2.0](https://spiral.ai/integrations/gemini-cli/bria-rmbg-2-0)
- [Bria Replace Background V2](https://spiral.ai/integrations/gemini-cli/bria-replace-background-v2)
- [Bria Product Shot](https://spiral.ai/integrations/gemini-cli/bria-product-shot)
- [Bria Text-to-Image Base](https://spiral.ai/integrations/gemini-cli/bria-text-to-image-base)
- [Bria Product Holding](https://spiral.ai/integrations/gemini-cli/bria-product-holding)
- [Bria Virtual Try-On](https://spiral.ai/integrations/gemini-cli/bria-virtual-try-on)

## Questions about Bria Reimagine in Gemini CLI

**Can Gemini CLI use Bria Reimagine?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Bria Reimagine like any built-in tool.

**How much does Bria Reimagine cost in Gemini CLI?**

$0.052 per generation. Billed on `num_results`, default 1. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

**Do I need a fal account to use Bria Reimagine in Gemini CLI?**

No. Spiral runs Bria Reimagine on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Bria Reimagine in Gemini CLI?**

About two minutes: add the server, then sign in, then check it.

**Does Gemini CLI wait while Bria Reimagine runs?**

Bria Reimagine runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

**What is Bria Reimagine good for?**

Use it to explore a new look for an existing composition. It preserves the reference image's structure and depth while introducing different materials, colors, and textures.

**Can Bria Reimagine turn a sketch into an illustration?**

Yes. Sketches, existing illustrations, and photos are all documented starting points for new illustrations.

**Does Bria Reimagine follow the reference image's structure or style?**

Its documented focus is structure and depth. Treat the reference as a composition guide, then describe the materials, colors, and textures you want in the result.

**How should I prompt Bria Reimagine?**

Describe the intended result concretely: for example, a paper collage with torn edges, muted green shapes, and a rough paper texture. State which parts of the composition you want to retain, then test reference influence while keeping the wording fixed.

**Can I reproduce a Bria Reimagine result?**

The documentation describes repeatability with the same seed, prompt, and model version. For a controlled comparison, keep the reference and all other settings unchanged too.

