Create and edit images with Gemini 2.0 in preview

Gemini 2.0 Flash’s image generation capabilities, now available in preview in Google AI Studio and Vertex AI, feature higher rate limits, enhanced visual quality, more precise text rendering, and more, allowing developers to create applications for product recontextualization, collaborative image editing, and dynamic SKU generation.

Based on the enthusiasm from developers, we are excited to announce that Image Generation capabilities are now available in preview with Gemini 2.0 Flash.

Developers can start integrating conversational image generation and editing with higher rate limits via the Gemini API in Google AI Studio and Vertex AI today using the model name “gemini-2.0-flash-preview-image-generation”.


What’s new in Gemini 2.0 Flash image generation

In addition to enabling higher rate limits and pricing, we have also improved the model with:

  • Better visual quality (vs experimental version)
  • More accurate text rendering (vs experimental version)
  • Significantly reduced filter block rates (vs experimental version)


Gemini 2.0 Flash image generation in action

We have loved seeing the community reception of Gemini’s image generation capabilities. Here’s a closer look at some of the key functionalities developers have been excited about:

1) Recontextualize products in new environments.

3) Edit specific parts of images conversationally, without changing anything else.

4) Dynamically create new product SKUs with text rendering and image.

(right click and open in new tab to view)

from google import genai
from google.genai import types
client = genai.Client(api_key="GEMINI_API_KEY")
response = client.models.generate_content( model="gemini-2.0-flash-preview-image-generation", contents=( "Show me how to bake a macaron with images." ), config=types.GenerateContentConfig( response_modalities=["TEXT", "IMAGE"] ),
)

You can read more about image generation in our API docs. This preview is available for developers to start building through Google AI Studio and Vertex AI .

We look forward to bringing further quality improvements, new capabilities, and expanded rate limits soon. We can’t wait to see what you build with Gemini 2.0 Flash Image Generation.

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *

Fill out this field
Fill out this field
Te rog să introduci o adresă de email validă.
You need to agree with the terms to proceed

Sarghy Design
Prezentare generală a confidențialității

Acest site utilizează cookie-uri pentru a vă oferi cea mai bună experiență de utilizare posibilă. Informațiile cookie sunt stocate în browserul dvs. și efectuează funcții cum ar fi recunoașterea dvs. atunci când vă întoarceți pe site-ul nostru și ajutând echipa noastră să înțeleagă ce secțiuni ale site-ului le găsiți cele mai interesante și mai utile.