Skip to main content
Content updated: 2026-09-28

Gemini Image Editing

Gemini / Nano Banana image editing is standardized on Crazyrouter via the OpenAI Images compatible entry. The image_input URL is used by default; accounts specified for grayscale also support dataURL, raw Base64, and /v1/images/edits multipart three-image editing.
Requests such as image editing and multiple reference images usually take longer. For production integration, please use the primary supported routing, https://api.crazyrouter.com/v1, with the complete endpoint being https://api.crazyrouter.com/v1/images/generations.

Current Recommendations

  1. New integrations should preferably use nano-banana-2 or nano-banana-pro
  2. For image input, use image_input, submitting a URL or an array of URLs
  3. Do not submit native Gemini fields, such as generationConfig, imageConfig, imageOutputOptions
  4. It is recommended to set client timeout to 180 seconds or more

Request Template

Below is the minimal request for editing a reference image via the unified Images API: