Back to Image editing
fal.ai·Image editing

Nano Banana

/fal-ai/nano-banana/editasync$0.0796 / image

Google's famous original image generation and editing model Returns hosted file URLs (download promptly; fal keeps them for a limited time). Billed per image.

Charged per image produced; a call that produces nothing is charged one unit.

Input
  • aspect_ratioany

    The aspect ratio of the generated image. (default "auto")

  • num_imagesinteger

    The number of images to generate. (default 1)

  • sync_modeboolean

    If `True`, the media will be returned as a data URI and the output data won't be available in the request history. (default false)

  • image_urlsarrayrequired

    The URLs of the images to use for image-to-image generation or image editing.

  • safety_tolerancestring

    The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict. (default "4")

    1, 2, 3, 4, 5, 6

  • output_formatstring

    The format of the generated image. (default "png")

    jpeg, png, webp

  • promptstringrequired

    The prompt for image editing.

  • limit_generationsboolean

    Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate. (default true)

  • seedany

    The seed for the random number generator.

Run it

curl -s https://sooma.dev/v1/run \ -H "Authorization: Bearer $SOOMA_API_KEY" \ -H "Content-Type: application/json" \ -d '{"provider":"fal","endpoint":"/fal-ai/nano-banana/edit","input":{}}'

Or ask your agent: it will call inspect for this schema and run it over MCP.