# Ideogram 3 replace background

Needs prompt and image url. Served by fal.ai.

Ideogram 3, replace background, served by fal.ai. The OpenAPI schema for the fal-ai/ideogram/v3/replace-background queue. Price: $0.03 per image with TURBO, $0.06 with BALANCED (default), $0.09 with QUALITY. Waits up to 40 s for the result; if the generation takes longer, the run stays RUNNING and returns a request_id; poll fal/status and fetch fal/result with model "fal-ai/ideogram" and that request_id. Billed once, when the result is ready; a generation that fails is refunded.

- Tool ID: `fal/ideogram-v3-replace-background`
- Name in the catalog: Ideogram 3, replace background
- Provider: [fal.ai](/providers/fal.md)
- Capability: [Ideogram](/tools/image-generation/ideogram.md)
- Price: usage based, the maximum is shown before a run
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_unit",
  "amountUsd": 0.06,
  "unitsField": "num_images",
  "unitsDefault": 1,
  "maxUnits": 8,
  "multipliers": [
    {
      "when": {
        "field": "rendering_speed",
        "equals": "TURBO"
      },
      "setUsd": 0.03
    },
    {
      "when": {
        "field": "rendering_speed",
        "equals": "QUALITY"
      },
      "setUsd": 0.09
    }
  ]
}
```

Pricing source: [https://fal.ai/models/fal-ai/ideogram/v3/replace-background](https://fal.ai/models/fal-ai/ideogram/v3/replace-background). $0.03 per image with TURBO, $0.06 with BALANCED (default), $0.09 with QUALITY..

Price verification date: 2026-10-08.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "style_preset": {
      "enum": [
        "80S_ILLUSTRATION",
        "90S_NOSTALGIA",
        "ABSTRACT_ORGANIC",
        "ANALOG_NOSTALGIA",
        "ART_BRUT",
        "ART_DECO",
        "ART_POSTER",
        "AURA",
        "AVANT_GARDE",
        "BAUHAUS",
        "BLUEPRINT",
        "BLURRY_MOTION",
        "BRIGHT_ART",
        "C4D_CARTOON",
        "CHILDRENS_BOOK",
        "COLLAGE",
        "COLORING_BOOK_I",
        "COLORING_BOOK_II",
        "CUBISM",
        "DARK_AURA",
        "DOODLE",
        "DOUBLE_EXPOSURE",
        "DRAMATIC_CINEMA",
        "EDITORIAL",
        "EMOTIONAL_MINIMAL",
        "ETHEREAL_PARTY",
        "EXPIRED_FILM",
        "FLAT_ART",
        "FLAT_VECTOR",
        "FOREST_REVERIE",
        "GEO_MINIMALIST",
        "GLASS_PRISM",
        "GOLDEN_HOUR",
        "GRAFFITI_I",
        "GRAFFITI_II",
        "HALFTONE_PRINT",
        "HIGH_CONTRAST",
        "HIPPIE_ERA",
        "ICONIC",
        "JAPANDI_FUSION",
        "JAZZY",
        "LONG_EXPOSURE",
        "MAGAZINE_EDITORIAL",
        "MINIMAL_ILLUSTRATION",
        "MIXED_MEDIA",
        "MONOCHROME",
        "NIGHTLIFE",
        "OIL_PAINTING",
        "OLD_CARTOONS",
        "PAINT_GESTURE",
        "POP_ART",
        "RETRO_ETCHING",
        "RIVIERA_POP",
        "SPOTLIGHT_80S",
        "STYLIZED_RED",
        "SURREAL_COLLAGE",
        "TRAVEL_POSTER",
        "VINTAGE_GEO",
        "VINTAGE_POSTER",
        "WATERCOLOR",
        "WEIRD",
        "WOODBLOCK_PRINT"
      ],
      "type": "string",
      "title": "Style Preset",
      "description": "Style preset for generation. The chosen style preset will guide the generation."
    },
    "image_urls": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Image Urls",
      "description": "A set of images to use as style references (maximum total size 10MB across all style references). The images should be in JPEG, PNG or WebP format"
    },
    "seed": {
      "type": "integer",
      "title": "Seed",
      "description": "Seed for the random number generator"
    },
    "color_palette": {
      "properties": {
        "name": {
          "title": "Name",
          "anyOf": [
            {
              "enum": [
                "EMBER",
                "FRESH",
                "JUNGLE",
                "MAGIC",
                "MELON",
                "MOSAIC",
                "PASTEL",
                "ULTRAMARINE"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "A color palette preset value"
        },
        "members": {
          "title": "Members",
          "anyOf": [
            {
              "type": "array",
              "items": {
                "properties": {
                  "rgb": {
                    "properties": {
                      "g": {
                        "maximum": 255,
                        "title": "G",
                        "type": "integer",
                        "minimum": 0,
                        "description": "Green color value",
                        "default": 0
                      },
                      "b": {
                        "maximum": 255,
                        "title": "B",
                        "type": "integer",
                        "minimum": 0,
                        "description": "Blue color value",
                        "default": 0
                      },
                      "r": {
                        "maximum": 255,
                        "title": "R",
                        "type": "integer",
                        "minimum": 0,
                        "description": "Red color value",
                        "default": 0
                      }
                    },
                    "title": "RGBColor",
                    "type": "object",
                    "x-fal-order-properties": [
                      "r",
                      "g",
                      "b"
                    ]
                  },
                  "color_weight": {
                    "title": "Color Weight",
                    "anyOf": [
                      {
                        "maximum": 1,
                        "type": "number",
                        "minimum": 0.05
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "The weight of the color in the color palette",
                    "default": 0.5
                  }
                },
                "title": "ColorPaletteMember",
                "type": "object",
                "required": [
                  "rgb"
                ],
                "x-fal-order-properties": [
                  "rgb",
                  "color_weight"
                ]
              }
            },
            {
              "type": "null"
            }
          ],
          "description": "A list of color palette members that define the color palette"
        }
      },
      "title": "ColorPalette",
      "type": "object",
      "x-fal-order-properties": [
        "members",
        "name"
      ],
      "description": "A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members)"
    },
    "style": {
      "enum": [
        "AUTO",
        "GENERAL",
        "REALISTIC",
        "DESIGN"
      ],
      "type": "string",
      "title": "Style",
      "description": "The style type to generate with. Cannot be used with style_codes."
    },
    "rendering_speed": {
      "title": "Rendering Speed",
      "enum": [
        "TURBO",
        "BALANCED",
        "QUALITY"
      ],
      "type": "string",
      "description": "The rendering speed to use.",
      "default": "BALANCED"
    },
    "image_url": {
      "title": "Image URL",
      "type": "string",
      "description": "The image URL whose background needs to be replaced"
    },
    "style_codes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Style Codes",
      "description": "A list of 8 character hexadecimal codes representing the style of the image. Cannot be used in conjunction with style_reference_images or style"
    },
    "prompt": {
      "title": "Prompt",
      "type": "string",
      "description": "Cyber punk city with neon lights and skyscrappers"
    },
    "expand_prompt": {
      "title": "Expand Prompt",
      "type": "boolean",
      "description": "Determine if MagicPrompt should be used in generating the request or not.",
      "default": true
    },
    "num_images": {
      "maximum": 8,
      "title": "Num Images",
      "type": "integer",
      "minimum": 1,
      "description": "Number of images to generate.",
      "default": 1
    }
  },
  "required": [
    "prompt",
    "image_url"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "fal/ideogram-v3-replace-background",
  "input": {
    "prompt": "a plain wooden desk background",
    "image_url": "https://storage.googleapis.com/falserverless/example_outputs/nano-banana-2-t2i-output.png",
    "rendering_speed": "TURBO",
    "num_images": 1
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

This tool uses deferred settlement. Follow its returned task/run instructions; preserve the existing reservation until the result is reconciled.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://fal.ai/models/fal-ai/ideogram/v3/replace-background)

[REST inspection](https://api.agentik.cc/v1/tools/fal/ideogram-v3-replace-background) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/fal/ideogram-v3-replace-background) · [Agent index](/llms.txt)
