[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Fibo Edit Sketch to Image](https://spiral.ai/integrations/gemini-cli/fibo-edit-sketch-to-image)

# How to Use Fibo Edit Sketch to Image in Gemini CLI

Fibo Edit Sketch to Image turns line drawings into photorealistic color images while preserving their structure. Unlike Fibo Edit Colorize, which handles black-and-white photos, it is designed for drawings.

|  |  |
| --- | --- |
| Model | Fibo Edit Sketch to Image |
| 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 Fibo Edit Sketch to Image in Gemini CLI

- Use Fibo Edit Sketch to Image to render the product sketch in assets/concepts/bottle.png. Save the result beside the source and add both to our internal design review page.
- Use Fibo Edit Sketch to Image on the room perspective drawing in design/room-sketch.png. Add a source-and-result comparison to the prototype so I can review the composition.
- Use Fibo Edit Sketch to Image to render each chair drawing in design/chairs. Create a local contact sheet pairing each result with its original sketch.
- Use Fibo Edit Sketch to Image on assets/storyboard/scene-01.png. Save the photorealistic color result and show it alongside the drawing in the pitch preview.
- Use Fibo Edit Sketch to Image to render design/exterior.png. Record the returned image dimensions and add the result to our architecture concept review page.

## How to set up Fibo Edit Sketch to Image 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 Fibo Edit Sketch to Image**: 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": "bria/fibo-edit/sketch_to_colored_image",
    "input": {
      "image_url": "https://bria-datasets.s3.us-east-1.amazonaws.com/Liza/create_a_b_w_sketch_of_a_cat.png"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Fibo Edit Sketch to Image on Spiral, shows the price and runs it.

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

## Fibo Edit Sketch to Image tools and prices

- [Fibo Edit Sketch to Image · Sketch to Colored Image](https://spiral.ai/tools/fal/bria/fibo-edit/sketch_to_colored_image) (fal): $0.052 per image.

## What can you do with Fibo Edit Sketch to Image in Gemini CLI?

Turn project sketches into photorealistic color assets for design reviews and prototypes. A coding agent can organize the results beside their source drawings and build a comparison page for approval.

### Product concept reviews

Turn a product sketch into a photorealistic color concept for a design review. Compare the rendered silhouette with the original drawing before choosing a direction.

### Room design previews

Render a room perspective sketch to help discuss its composition and furniture arrangement. Use the image as a visual concept during the review.

### Building exterior concepts

Convert an exterior perspective drawing into a photorealistic color image for an early architecture discussion. Keep the source drawing alongside the result for comparison.

### Furniture design presentations

Turn a chair, table, or cabinet sketch into a rendered concept. Review the outline and proportions against the drawing before adding it to a presentation.

### Apparel concept boards

Render garment sketches as photorealistic color concepts for a collection review. Present each result beside its source sketch so reviewers can assess the interpretation.

### Storyboard scene previews

Turn a selected storyboard drawing into a photorealistic color scene for a pitch. Review each image independently rather than assuming continuity across scenes.

## Overview

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

## Fibo Edit Sketch to Image in other agents

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

## More Gemini CLI guides

- [Fibo Edit Rewrite Text](https://spiral.ai/integrations/gemini-cli/fibo-edit-rewrite-text)
- [Fibo Generate 1.5](https://spiral.ai/integrations/gemini-cli/fibo-generate-1-5)
- [Fibo Edit Restore](https://spiral.ai/integrations/gemini-cli/fibo-edit-restore)
- [Fibo Lite](https://spiral.ai/integrations/gemini-cli/fibo-lite)
- [Fibo Edit Reseason](https://spiral.ai/integrations/gemini-cli/fibo-edit-reseason)
- [Finegrain Eraser](https://spiral.ai/integrations/gemini-cli/finegrain-eraser)

## Questions about Fibo Edit Sketch to Image in Gemini CLI

**Can Gemini CLI use Fibo Edit Sketch to Image?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Fibo Edit Sketch to Image like any built-in tool.

**How much does Fibo Edit Sketch to Image cost in Gemini CLI?**

$0.052 per image. 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 Fibo Edit Sketch to Image in Gemini CLI?**

No. Spiral runs Fibo Edit Sketch 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 Fibo Edit Sketch to Image in Gemini CLI?**

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

**Does Gemini CLI wait while Fibo Edit Sketch to Image runs?**

Fibo Edit Sketch to Image runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

**What is Fibo Edit Sketch to Image good for?**

It turns line drawings and sketches into photorealistic color images while preserving their structure. Use it to explore how a drawn product, room, or scene could look when rendered.

**Will it keep every pencil line exactly?**

The documented goal is to preserve structure while producing a photorealistic image. Treat the result as a rendered interpretation, and compare important contours with the drawing before approving it.

**How does it differ from Fibo Edit Colorize?**

Fibo Edit Sketch to Image is intended for drawings. Bria recommends Colorize when the source is a black-and-white photo or needs a different tonal treatment.

**How should I prepare a sketch?**

Set the composition before rendering. Bria recommends cropping, isolating, or expanding the source before substantial edits, so remove unwanted margins and settle the framing first.

**What output resolution is documented?**

The documentation shows a 1024 × 1024 PNG example. It does not establish a maximum output resolution, so treat that size as an example rather than a guaranteed limit.

