You're looking at a specific version of this model. Jump to the model overview.

jide /nano-banana-2-bg-remove:e2245526

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
image
string
Input image to remove background from
prompt
string
Optional: describe what to isolate (e.g. 'the car', 'the person'). If empty, all foreground elements are kept.
alpha_floor
integer
6

Max: 128

Alpha values at or below this become fully transparent (0-255). Suppresses faint matte noise.
alpha_ceil
integer
250

Min: 128

Max: 255

Alpha values at or above this become fully opaque (0-255). Cleans up near-opaque edges.
replicate_api_token
string
Your Replicate API token (from replicate.com/account). Required to call Nano Banana 2 internally.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}