AI Cloud Architect

Getting Started with Gemini 3: Hello World with Gemini 3 Flash

GoogleHow-to by Prashanth SubrahmanyamGoogle Cloud Blog (developers and practitioners)

Learn how to quickly integrate the powerful new Gemini 3 Flash model into your applications. This guide covers getting an API key from Google AI Studio and invoking the Gemini API using the Google GenAI SDK.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

A step-by-step walkthrough: get a Gemini API key from Google AI Studio, then call Gemini 3 Flash (preview) with the Google GenAI SDK for Python.

Who it is for

Developers new to the Gemini API who want a first working call to Gemini 3 Flash from their own code.

Key points

  • The example selects the 'Gemini 3 Flash Preview' model, with structured outputs on and thinking level set to Low.
  • Google AI Studio can create a default Google Cloud project and API key for first-time users.
  • Python code is generated from the Playground selections via 'Get code' and runs after installing the google-genai package.

Timeline

  1. What it explainsGemini 3 Flash: frontier intelligence built for speed · Google · AnnouncementAlso published by Google AI (The Keyword)
  2. This postGetting Started with Gemini 3: Hello World with Gemini 3 Flash
  3. Read nextGetting Started with Gemini 3: Deploy Your First Gemini 3 App to Google Cloud Run · Google · How-to
  4. Read nextGemini API tooling updates: context circulation, tool combos and Maps grounding for Gemini 3 · Google · Announcement

Go deeper