Skip to content

Commit 311a466

Browse files
authored
Update image gen model (#13477)
Update the image generation model used in the Python code sample
1 parent b5049a2 commit 311a466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genai/image_generation/imggen_mmflash_with_txt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def generate_content() -> str:
2323
client = genai.Client()
2424

2525
response = client.models.generate_content(
26-
model="gemini-2.0-flash-exp",
26+
model="gemini-2.0-flash-preview-image-generation",
2727
contents=(
2828
"Generate an image of the Eiffel tower with fireworks in the background."
2929
),

0 commit comments

Comments
 (0)