Build with Gemini

Unlock AI models to build innovative apps and transform development workflows with tools across platforms.

Google AI Studio
pen_sparkStart building with Geminiexpand_content

The fastest path from prompt to production app with Gemini.

Google Antigravity
codeDevelop with agentsexpand_content

Experience our agent-first platform built for the next era of how you build, work, and automate.

Google Cloud
automatic_clusterDeploy on scalable infrastructureexpand_content

Build and scale your apps without needing to manage the infrastructure with Google Cloud Run.

Android Developers
androidCreate Android appsexpand_content

Build high-quality Android apps faster with Gemini in Android Studio.

Gemini API
sort_sparkBuild apps and agents with Gemini modelsexpand_content

Develop next-generation apps and agents by integrating Google's most advanced reasoning and generative models and agent-first APIs.

Chrome for Developers
webDevelop web AI featuresexpand_content

Discover how your web applications can perform AI tasks with browser-managed AI models and APIs.

Gemini Enterprise Agent Platform
stacksBuild enterprise agentsexpand_content

Build, scale, govern, and optimize enterprise agents.

GEMINI API

Integrate Gemini directly into your apps

Unleash the full potential of your applications by integrating Gemini's long context window and native multimodal reasoning to process massive codebases, complex media, and real-time agentic workflows with a single API.

View documentation
fromgoogleimportgenaiclient=genai.Client()response=client.models.generate_content(model="gemini-3.5-flash",contents="Explain how AI works in a few words",)print(response.text)
import{GoogleGenAI}from"@google/genai";constai=newGoogleGenAI({});asyncfunctionmain(){constresponse=awaitai.models.generateContent({model:"gemini-3.5-flash",contents:"Explain how AI works in a few words",});console.log(response.text);}awaitmain();
packagemainimport("context""fmt""log""google.golang.org/genai")funcmain(){ctx:=context.Background()client,err:=genai.NewClient(ctx,nil)iferr!=nil{log.Fatal(err)}result,err:=client.Models.GenerateContent(ctx,"gemini-3.5-flash",genai.Text("Explain how AI works in a few words"),nil,)iferr!=nil{log.Fatal(err)}fmt.Println(result.Text())}
packagecom.example;importcom.google.genai.Client;importcom.google.genai.types.GenerateContentResponse;publicclassGenerateTextFromTextInput{publicstaticvoidmain(String[]args){Clientclient=newClient();GenerateContentResponseresponse=client.models.generateContent("gemini-3.5-flash","Explain how AI works in a few words",null);System.out.println(response.text());}}
curl"https://generativelanguage.googleapis.com/v1beta/models/gemini-3-5-flash:generateContent"\-H"x-goog-api-key: $GEMINI_API_KEY"\-H'Content-Type: application/json'\-XPOST\-d'{ "contents": [ { "parts": [ { "text": "Explain how AI works in a few words" } ] } ] }'

News & Announcements

Use build-time validation and modular architectures to make your agents production-ready.

Learn more

Google Play is evolving from a standard billing system to a flexible ecosystem built for high-quality experiences. Learn how to set the new standard for user experience and unlock lower rates.

Learn more

Explore the latest developer updates from Android, AI, Chrome, and Cloud.

Learn more

Discover the new Antigravity CLI and migrate by June 18

Learn more

At Google I/O 2026, we're expanding not just how you build, but what you can build.

Learn more

Read 17 key announcements for Android developers, focusing on agent-led productivity and more.

Learn more

Catch up on the latest Play developer news and announcements from Google I/O

Learn more
Google Developer Program

Build and manage in one place

Access specialized AI workspaces, learn from 700+ hands-on codelabs, and manage projects from a centralized Builders Hub as you move from prototype to production.

Join the program