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

Muse Code · Image

How to Use Object Removal in Muse Code

Object Removal removes unwanted objects from an existing image. Use it for targeted photo cleanup, with output documented as 4K.

Prompts to try with Object Removal in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use Object Removal on public/images/desk.jpg to remove the black cable along the bottom edge. Save a separate copy for review.

Object RemovalMuse Code
Try asking
  • Use Object Removal on assets/product.jpg to remove the red cup to the left of the product. Compare the product label with the original.

  • Use Object Removal on public/team/portrait.jpg to remove the light stand at the far right. Show the original and edited images together.

  • Use Object Removal on assets/interior.jpg to remove the blue bag beside the chair. Flag any visible change to the chair.

  • Use Object Removal on public/images/cafe.jpg to remove the empty cup nearest the bottom edge. Keep the original asset.

How to set up Object Removal in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Object Removal

    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": "fal-ai/image-apps-v2/object-removal",
        "input": {
          "image_url": "https://v3.fal.media/files/zebra/L_YMy6H5r_HYMacZX1qne_74a8fb6130164a18930af55370a1c9b2.png",
          "object_to_remove": "<object_to_remove>"
        }
      }'

Then paste one of the prompts above: Muse Code finds Object Removal on Spiral, shows the price and runs it.

Object Removal providers and prices

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

falImage
Object Removal
fal-ai/image-apps-v2/object-removal

What can you do with Object Removal in Muse Code?

Prepare project photos with distracting objects removed using Object Removal. Save proposed edits separately and compare them before updating site assets.

Product photo cleanup

Try removing a stray prop beside a product. Review the product's edges and label before accepting the edit.

Portrait equipment cleanup

Remove a visible light stand at the edge of a portrait, then compare the person's outline with the original.

Interior photo cleanup

Target a loose bag beside a chair. Inspect the floor pattern and furniture edges afterward.

Travel photo cleanup

Try removing a trash can from a scenic photo. Check the edited area against surrounding pavement or vegetation.

Food photo cleanup

Remove an unwanted cup beside a plated dish. Compare the plate, food, and table surface before publishing.

Website photo preparation

Remove a distracting cable from a photo intended for a website. Review the edit at the size visitors will see.

Questions about Object Removal in Muse Code

Can Muse Code use Object Removal?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Object Removal like any built-in tool.

How much does Object Removal cost in Muse Code?

$0.052 per image. 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 Object Removal in Muse Code?

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

How long does it take to set up Object Removal in Muse Code?

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

Does Muse Code wait while Object Removal runs?

Object Removal runs in the background. Muse Code starts the run, checks on it and gives you the image when it's ready.

What does Object Removal do?

It removes an unwanted object from an existing image and returns an edited image.

What should I try Object Removal on?

Try a specific cleanup task: a stray cup in a tabletop photo, a bag beside a chair, or a light stand at the edge of a portrait. Compare the edit with the original before using it.

How should I describe the object I want removed?

Name the object and its location, such as “the red cup at the lower left.” When similar objects appear together, add a distinguishing detail instead of asking to “remove the clutter.”

Does Object Removal support 4K output?

The documentation describes the output as 4K. Check the returned image's dimensions when an exact pixel size matters.

What should I inspect before accepting an edit?

Zoom into the removed object's outline and compare nearby textures, straight lines, and shadows with the original. Also check any subject that needed to stay unchanged.

Get started

Start using Object Removal in Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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