[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Ideogram Remove Background](https://spiral.ai/integrations/gemini-cli/ideogram-remove-background)

# How to Use Ideogram Remove Background in Gemini CLI

Ideogram Remove Background turns existing images into transparent PNG cutouts for product listings, logos, and portraits. It isolates the foreground for reuse in another layout or composition.

|  |  |
| --- | --- |
| Model | Ideogram Remove Background |
| Available through | fal |
| Category | Image |
| Price | $0.013 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Ideogram Remove Background in Gemini CLI

- Use Ideogram Remove Background on the product photos in this project. Save separate transparent PNGs and keep the originals.
- Use Ideogram Remove Background on our logo image, then preview the cutout against the site's header color for inspection.
- Use Ideogram Remove Background on the team portraits in the project. Build a contact sheet for reviewing hair edges.
- Use Ideogram Remove Background on the product comparison images. Place the resulting cutouts in the existing comparison component.
- Use Ideogram Remove Background on the lettering artwork in our assets. Preview it over the campaign image for review.

## How to set up Ideogram Remove Background 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 Ideogram Remove Background**: 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/ideogram/remove-background",
    "input": {
      "image_url": "https://v3.fal.media/files/rabbit/F6dvKPFL9VzKiM8asJOgm_MJj6yUB6rGjTsv_1YHIcA_image.webp"
    }
  }'
```

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

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

## Ideogram Remove Background tools and prices

- [Ideogram Remove Background](https://spiral.ai/tools/fal/fal-ai/ideogram/remove-background) (fal): $0.013 per image.

## What can you do with Ideogram Remove Background in Gemini CLI?

Prepare transparent image assets for a project's product cards, profile layouts, and graphics. Ask the coding agent to use Ideogram Remove Background on existing images, then check the cutouts in the actual layout.

### Product listing cutouts

Remove the surroundings from an existing product photo to prepare a reusable catalog asset.

### Profile picture assets

Isolate a person from a portrait for placement in a profile picture layout.

### Logo reuse

Separate an existing logo from its background before placing it in another design. Inspect narrow strokes and interior spaces.

### Sticker artwork

Turn existing artwork into a transparent cutout for a sticker layout.

### Product comparison graphics

Prepare separate product cutouts for arrangement together in a comparison composition.

### Portrait collages

Cut out portraits before arranging people together in a collage. Check hair edges against the final backdrop.

### Lettering overlays

Separate existing lettering from its surrounding background for reuse over another image or color.

## Overview

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

## Ideogram Remove Background in other agents

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

## More Gemini CLI guides

- [Ideogram Object Removal](https://spiral.ai/integrations/gemini-cli/ideogram-object-removal)
- [Ideogram Upscale](https://spiral.ai/integrations/gemini-cli/ideogram-upscale)
- [Ideogram 4.5 Text to Image](https://spiral.ai/integrations/gemini-cli/ideogram-4-5-text-to-image)
- [Ideogram Vector](https://spiral.ai/integrations/gemini-cli/ideogram-vector)
- [Ideogram 4.5 Edit](https://spiral.ai/integrations/gemini-cli/ideogram-4-5-edit)
- [Ideogram Vector Image to SVG](https://spiral.ai/integrations/gemini-cli/ideogram-vector-image-to-svg)

## Questions about Ideogram Remove Background in Gemini CLI

**Can Gemini CLI use Ideogram Remove Background?**

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

**How much does Ideogram Remove Background cost in Gemini CLI?**

$0.013 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 Ideogram Remove Background in Gemini CLI?**

No. Spiral runs Ideogram Remove Background on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Ideogram Remove Background in Gemini CLI?**

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

**Does Gemini CLI wait while Ideogram Remove Background runs?**

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

**What does Ideogram Remove Background produce?**

It produces a transparent PNG containing the foreground subject. Each image processed returns one cutout.

**What is Ideogram Remove Background useful for?**

Use it to prepare product cutouts, logos, stickers, and profile pictures. The isolated subject can then become part of a new composition.

**How well does it handle hair, glass, and lettering?**

Ideogram is designed to preserve fine edges around these details. Inspect the result against its intended background before using it, especially around hair strands, glass edges, and narrow letter strokes.

**Can Ideogram Remove Background create a new backdrop?**

It returns a transparent cutout. Adding a new backdrop is a separate compositing or background replacement task.

**Which format should I keep for later editing?**

Keep the transparent PNG. PNG and WebP support transparency; converting the cutout to JPEG loses it.

