Skip to main content
Gemini 2.5 Flash Image combines Gemini 2.5 Flash’s reasoning with Nano Banana’s image generation so you can create and modify images over several turns.

Model parameters

  • Model ID: gemini-2.5-flash-image
  • Pricing: Check the Model Hub for current prices.
  • Endpoint: https://geekai.co/api/v1/chat/completions
  • Parameters: See the Chat API reference.
  • Authentication: Get an API key.
For compatibility, gemini-2.5-flash-image-preview calls the same model. For long-term maintenance and stability, use the stable ID gemini-2.5-flash-image.
As a chat model, Gemini 2.5 Flash Image does not use parameters to control image output. Instead, refine prompt to generate or edit an image and specify its properties. The following strategies help you describe the image you want:

Image generation

The most important principle when generating images with Gemini 2.5 Flash Image is:
Describe the scene rather than listing keywords. The model excels at understanding language. A descriptive paragraph that tells a story usually produces a more coherent image than a list of unrelated words.
1. Photorealistic scenes Use photography terms: specify the camera angle, lens, lighting, and details to guide the model toward a photorealistic result.
2. Stylized illustrations and stickers For stickers, icons, and other assets, specify the style and request a transparent background.
3. Accurate text in images Gemini excels at rendering text. Specify the exact wording, describe the font style in detail, and explain the overall design.
4. Product mockups and commercial photography Use this approach for clean, professional product images for e-commerce, advertising, or branding.
5. Minimalism and negative space Use this for website, presentation, or marketing backgrounds that need room for text.
6. Comic panels and storyboards Describe the characters consistently and specify the scene to create panels for a visual story.

Image editing

Combine an image with a text prompt to edit it, change the composition, or transform its style. 1. Add or remove elements Supply an image and describe the change. The model preserves the original style, lighting, and perspective.
2. Inpainting Define a “mask” in conversation to edit one part of the image without changing the rest.
3. Style transfer Supply an image and ask the model to recreate its content in a different artistic style.
4. Advanced composition: combine multiple images Use several reference images to create a composite scene, such as a product mockup or creative collage.
5. Preserve fine details Describe important details, such as faces or logos, explicitly in the edit request so the model preserves them.