页面简介
From AI and Cloud to Mobile and Web: Explore developer resources and community events to help you build with Gemini.
正文摘录
Google for Developers Products Build with Gemini Unlock AI models to build innovative apps and transform development workflows with tools across platforms. pen_spark Start building with Gemini expand_content The fastest path from prompt to production app with Gemini. code Develop with agents expand_content Experience our agent-first platform built for the next era of how you build, work, and automate. automatic_cluster Deploy on scalable infrastructure expand_content Build and scale your apps without needing to manage the infrastructure with Google Cloud Run. android Create Android apps expand_content Build high-quality Android apps faster with Gemini in Android Studio. sort_spark Build apps and agents with Gemini models expand_content Develop next-generation apps and agents by integrating Google's most advanced reasoning and generative models and agent-first APIs. web Develop web AI features expand_content Discover how your web applications can perform AI tasks with browser-managed AI models and APIs. stacks Build enterprise agents expand_content Build, scale, govern, and optimize enterprise agents. close 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 Python JavaScript Go Java REST from google import genai client = 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"; const ai = new GoogleGenAI({}); async function main() { const response = await ai.models.generateContent({ model: "gemini-3.5-flash", contents: "Explain how AI works in a few words", }); console.log(response.text); } await main(); package main import ( "context" "fmt" "log" "google.golang.org/genai" ) func main() { ctx := context.Background() client, err := genai.NewClient(ctx, nil) if err != 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, ) if err != nil { log.Fatal(err) } fmt.Println(result.Text()) } package com.example; import com.google.genai.Client; import com.google.genai.types.GenerateContentResponse; public class GenerateTextFromTextInput { public static void main(String[] args) { Client client = new Client(); GenerateContentResponse response = 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' \ -X POST \ -d '{ "contents": [ { "parts": [ { "text": "Explain how AI works in a few words" } ] } ] }' News & Announcements Google Play Tools for discovery and engagement on Google Play add remove Discover new features available now to help you connect and engage with the right users. Learn more Google Play New quality requirements on Google Play add remove Raising the quality bar: Prepare for new Play standards in memory, code, and onboarding. Learn more AI Agents Treat agent prompts like software artifacts add remove Use build-time validation and modular architectures to make your agents production-ready. Learn more Antigravity CLI Gemini CLI Transitions to Antigravity CLI add remove Discover the new Antigravity CLI and migrate by June 18 Learn more View all news Community & Events Google Maps Google Maps Platform Developer Community Day - San Francisco Join Google developers and Earth experts for live hands-on labs and workshops to build real-world AI, Earth, and location agents. Nov 9 Google Cloud Cloud Technical Series | Labs: OnAir Edition This free, two-day online event is packed with live, instructor-led hands-on labs designed to equip IT decision makers, practitioners, and developers with practical cloud skills. December 2-3 Google Cloud Cloud OnAir: Cloud Run Edition In this deep-dive session, you will discover how to execute LLM agent-generated code safely without compromising security or application workflows. December 9 View all events 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