Spiral gives your agent every tool with one account. Browse the tools →

Google Antigravity · Image

How to Use Rembg Enhance in Google Antigravity

Rembg Enhance removes backgrounds from photos, 2D artwork, and 3D renders. It adds ViTMatte matting to the background removal process.

Prompts to try with Rembg Enhance in Google Antigravity

Copy an example into Google Antigravity, or ask in your own words.

Use Rembg Enhance on the product photos in public/products and save separate cutouts with matching filenames.

Rembg EnhanceGoogle Antigravity
Try asking
  • Use Rembg Enhance to isolate the rendered icons in assets/icons, then build a page showing each original beside its result.

  • Use Rembg Enhance on the illustrations in assets/onboarding and prepare a contact sheet for edge review.

  • Use Rembg Enhance on one representative image from each asset folder and show me the results before processing the rest.

  • Use Rembg Enhance to remove the background from the product hero image, then preview the cutout in our existing hero component.

How to set up Rembg Enhance in Google Antigravity

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

Use Spiral's MCP server

  1. Open the MCP config

    * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.

  2. Add the server

    Add Spiral under mcpServers:

    {
      "mcpServers": {
        "spiral": {
          "serverUrl": "https://api.spiral.ai/mcp"
        }
      }
    }
  3. Sign in

    In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

Use the Spiral skill

  1. Send Google Antigravity 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Rembg Enhance

    One request; the result comes back by polling or a webhook.

    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": "smoretalk-ai/rembg-enhance",
        "input": {
          "image_url": "https://fal.media/files/kangaroo/SOF3bLF7b1kJ2-N9dTg-c.png"
        }
      }'

Then paste one of the prompts above: Google Antigravity finds Rembg Enhance on Spiral, shows the price and runs it.

Rembg Enhance providers and prices

Spiral runs Rembg Enhance through fal. Open a card for today's price, with every fee included.

falImage

What can you do with Rembg Enhance in Google Antigravity?

Prepare isolated image assets for your project from photos, illustrations, and 3D renders. Have the agent organize the results and build a comparison view for review.

Product listing cutouts

Remove the backdrop from product photos before arranging them in a catalog layout.

3D icon assets

Isolate rendered icons for placement in presentations, websites, and app screens.

Illustration reuse

Extract illustrated subjects from existing artwork for a new composition.

Presentation visuals

Cut out photographed objects before adding them to slides and diagrams.

Promotional layouts

Prepare product cutouts for banners, flyers, and social posts, then compose the layout separately.

Rendered object libraries

Remove backgrounds from 3D object renders to build a reusable collection of image assets.

Questions about Rembg Enhance in Google Antigravity

Can Google Antigravity use Rembg Enhance?

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run Rembg Enhance like any built-in tool.

How much does Rembg Enhance cost in Google Antigravity?

$0.0078 per generation. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

Do I need a fal account to use Rembg Enhance in Google Antigravity?

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

How long does it take to set up Rembg Enhance in Google Antigravity?

About two minutes: open the MCP config, then add the server, then sign in.

Does Google Antigravity wait while Rembg Enhance runs?

Rembg Enhance runs in the background. Google Antigravity starts the run, checks on it and gives you the image when it's ready.

What is Rembg Enhance useful for?

It removes backgrounds from existing images. Suggested uses include product cutouts, isolated illustrations, and reusable 3D render assets.

What does Enhance mean in Rembg Enhance?

The maker identifies ViTMatte as the enhancement to background removal. ViTMatte includes a module designed to capture details needed for matting.

Is Rembg Enhance only for photographs?

Its documented targets also include 2D vector-style artwork and 3D graphics. Consider it for illustrated assets and rendered objects as well as photos.

Does Rembg Enhance return editable vector artwork?

The documented output example is a segmented PNG image. For vector artwork, plan around an image cutout rather than editable paths.

How should I check a Rembg Enhance result?

As a review step, compare the cutout with the original at full size. Inspect narrow details, gaps, and the outer edge before using it in a finished layout.

Get started

Start using Rembg Enhance in Google Antigravity

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Google Antigravity:

Set up Google Antigravity

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options