GET

/v1/schemas/fal/image/fal-ai/ideogram/v3/replace-background

kind inputactivity imagehash 6d3d8a0b…extracted Oct 29, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
22fcc414245fce34f59f15514fb6750198fd4e0da30310dbb47b2c22529d0441
{
  "fetchedAt": 1793250001,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

13 properties · 2 required · 3 $defs
propertytypedescriptionconstraints
prompt*stringCyber punk city with neon lights and skyscrappers
image_url*stringThe image URL whose background needs to be replaced
image_urlsstring[]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 formatnullable
seedintegerSeed for the random number generatornullable
style_presetenumStyle preset for generation. The chosen style preset will guide the generation.80S_ILLUSTRATION | 90S_NOSTALGIA | ABSTRACT_ORGANIC | ANALOG_NOSTALGIA | ART_BRUT | ART_DECO · +56 more · nullable
enable_safety_checkerbooleanAuthorized callers may set false to request relaxed screening.default: true
style_codesstring[]A list of 8 character hexadecimal codes representing the style of the image. Cannot be used in conjunction with style_reference_images or stylenullable
num_imagesintegerNumber of images to generate.1 ≤ n ≤ 8 · default: 1
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.default: false
rendering_speedenumThe rendering speed to use.TURBO | BALANCED | QUALITY · default: "BALANCED"
styleenumThe style type to generate with. Cannot be used with style_codes.AUTO | GENERAL | REALISTIC | DESIGN · nullable
enable_prompt_expansionbooleanDetermine if MagicPrompt should be used in generating the request or not.default: true
color_paletteColorPaletteA 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)nullable

Types

3 $defs

ColorPaletteobject

membersColorPaletteMember[]A list of color palette members that define the color palettenullable
nameenumA color palette preset valueEMBER | FRESH | JUNGLE | MAGIC | MELON | MOSAIC · +2 more · nullable

ColorPaletteMemberobject

color_weightnumberThe weight of the color in the color palette0.05 ≤ n ≤ 1 · nullable
rgb*RGBColorRGB color value for the palette member

RGBColorobject

bintegerBlue color value0 ≤ n ≤ 255 · default: 0
gintegerGreen color value0 ≤ n ≤ 255 · default: 0
rintegerRed color value0 ≤ n ≤ 255 · default: 0

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/ideogram/v3/replace-background","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}