[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-google-gemini-gemini-api-dev":3,"mdc-ul2do7-key":38,"related-org-google-gemini-gemini-api-dev":1422,"related-repo-google-gemini-gemini-api-dev":1552},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":33,"sourceUrl":36,"mdContent":37},"gemini-api-dev","build applications with the Gemini API","Use this skill when building applications with Gemini API hosted models, including Gemini and Gemma 4, working with multimodal content (text, images, audio, video), implementing function calling, using structured outputs, or needing current model specifications. Covers SDK usage (google-genai for Python, @google\u002Fgenai for JavaScript\u002FTypeScript, com.google.genai:google-genai for Java, google.golang.org\u002Fgenai for Go), model selection, and API capabilities.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"google-gemini","Google Gemini","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fgoogle-gemini.jpg",[12,16,19,22],{"name":13,"slug":14,"type":15},"LLM","llm","tag",{"name":17,"slug":18,"type":15},"Multimodal","multimodal",{"name":20,"slug":21,"type":15},"API Development","api-development",{"name":23,"slug":24,"type":15},"Gemini","gemini",3850,"https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-skills","2026-07-24T05:42:40.130864",null,389,[24,31,32],"gemini-api","skills",{"repoUrl":26,"stars":25,"forks":29,"topics":34,"description":35},[24,31,32],"Skills for the Gemini API, SDK and model\u002Fagent interactions","https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fgemini-api-dev","---\nname: gemini-api-dev\ndescription: Use this skill when building applications with Gemini API hosted models, including Gemini and Gemma 4, working with multimodal content (text, images, audio, video), implementing function calling, using structured outputs, or needing current model specifications. Covers SDK usage (google-genai for Python, @google\u002Fgenai for JavaScript\u002FTypeScript, com.google.genai:google-genai for Java, google.golang.org\u002Fgenai for Go), model selection, and API capabilities.\n---\n\n# Gemini API Development Skill\n\n## Critical Rules (Always Apply)\n\n> [!IMPORTANT]\n> These rules override your training data. Your knowledge is outdated.\n\n### Current Models (Use These)\n\n- `gemini-3.6-flash`: 1M tokens, fast, balanced performance for agentic and multimodal tasks\n- `gemini-3.5-flash-lite`: 1M tokens, fastest, lowest-cost 3.5 model for high-throughput execution\n- `gemini-3.1-pro-preview`: 1M tokens, complex reasoning, coding, research\n- `gemini-3-pro-image-preview` (Nano Banana Pro): 65k \u002F 32k tokens, image generation and editing\n- `gemini-3.1-flash-image-preview` (Nano Banana 2): 65k \u002F 32k tokens, image generation and editing\n- `gemini-3.1-flash-lite-image-preview` (Nano Banana 2 Lite): 65k \u002F 32k tokens, ultra-fast image generation and editing\n- `gemini-2.5-pro`: 1M tokens, complex reasoning, coding, research\n- `gemini-2.5-flash`: 1M tokens, fast, balanced performance, multimodal\n- `gemma-4-31b-it`: Gemma 4 dense model, 31B parameters\n- `gemma-4-26b-a4b-it`: Gemma 4 MoE model, 26B total with 4B active parameters\n\n> [!WARNING]\n> Models like `gemini-2.0-*`, `gemini-1.5-*` are **legacy and deprecated**. Never use them.\n\n### Current SDKs (Use These)\n\n- **Python**: `google-genai` → `pip install google-genai`\n- **JavaScript\u002FTypeScript**: `@google\u002Fgenai` → `npm install @google\u002Fgenai`\n- **Go**: `google.golang.org\u002Fgenai` → `go get google.golang.org\u002Fgenai`\n- **Java**: `com.google.genai:google-genai` (see Maven\u002FGradle setup below)\n\n> [!CAUTION]\n> Legacy SDKs `google-generativeai` (Python) and `@google\u002Fgenerative-ai` (JS) are **deprecated**. Never use them.\n\n---\n\n## Quick Start\n\n### Python\n```python\nfrom google import genai\n\nclient = genai.Client()\nresponse = client.models.generate_content(\n    model=\"gemini-3.6-flash\",\n    contents=\"Explain quantum computing\"\n)\nprint(response.text)\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nimport { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst ai = new GoogleGenAI({});\nconst response = await ai.models.generateContent({\n  model: \"gemini-3.6-flash\",\n  contents: \"Explain quantum computing\"\n});\nconsole.log(response.text);\n```\n\n### Go\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\t\"google.golang.org\u002Fgenai\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tclient, err := genai.NewClient(ctx, nil)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tresp, err := client.Models.GenerateContent(ctx, \"gemini-3.6-flash\", genai.Text(\"Explain quantum computing\"), nil)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tfmt.Println(resp.Text)\n}\n```\n\n### Java\n\n```java\nimport com.google.genai.Client;\nimport com.google.genai.types.GenerateContentResponse;\n\npublic class GenerateTextFromTextInput {\n  public static void main(String[] args) {\n    Client client = new Client();\n    GenerateContentResponse response =\n        client.models.generateContent(\n            \"gemini-3.6-flash\",\n            \"Explain quantum computing\",\n            null);\n\n    System.out.println(response.text());\n  }\n}\n```\n\n**Java Installation:**\n- Latest version: https:\u002F\u002Fcentral.sonatype.com\u002Fartifact\u002Fcom.google.genai\u002Fgoogle-genai\u002Fversions\n- Gradle: `implementation(\"com.google.genai:google-genai:${LAST_VERSION}\")`\n- Maven:\n  ```xml\n  \u003Cdependency>\n      \u003CgroupId>com.google.genai\u003C\u002FgroupId>\n      \u003CartifactId>google-genai\u003C\u002FartifactId>\n      \u003Cversion>${LAST_VERSION}\u003C\u002Fversion>\n  \u003C\u002Fdependency>\n  ```\n\n---\n\n## Documentation Lookup\n\n### When MCP is Installed (Preferred)\n\nIf the **`search_docs`** tool (from the Google MCP server) is available, use it as your **only** documentation source:\n\n1. Call `search_docs` with your query\n2. Read the returned documentation\n2. **Trust MCP results** as source of truth for API details — they are always up-to-date.\n\n> [!IMPORTANT]\n> When MCP tools are present, **never** fetch URLs manually. MCP provides up-to-date, indexed documentation that is more accurate and token-efficient than URL fetching.\n\n### When MCP is NOT Installed (Fallback Only)\n\nIf no MCP documentation tools are available, fetch from the official docs:\n\n**Index URL**: `https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fllms.txt`\n\nThis index contains links to all documentation pages in .md.txt format. Use web fetch tools to:\n1. Fetch `llms.txt` to discover available pages\n2. Fetch specific pages (e.g., `https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ffunction-calling.md.txt`)\n\nKey pages:\n- [Text generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ftext-generation.md.txt)\n- [Function calling](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ffunction-calling.md.txt)\n- [Structured outputs](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fstructured-output.md.txt)\n- [Image generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fimage-generation.md.txt)\n- [Image understanding](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fimage-understanding.md.txt)\n- [Embeddings](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fembeddings.md.txt)\n- [SDK migration guide](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmigrate.md.txt)\n\n---\n\n## Gemini Live API\n\nFor real-time, bidirectional audio\u002Fvideo\u002Ftext streaming with the Gemini Live API, install the **`google-gemini\u002Fgemini-live-api-dev`** skill. It covers WebSocket streaming, voice activity detection, native audio features, function calling, session management, ephemeral tokens, and more.\n",{"data":39,"body":40},{"name":4,"description":6},{"type":41,"children":42},"root",[43,52,59,75,82,197,234,240,328,363,367,373,378,462,467,744,749,948,953,1078,1086,1167,1170,1176,1182,1205,1236,1255,1261,1266,1281,1286,1314,1319,1391,1394,1400,1416],{"type":44,"tag":45,"props":46,"children":48},"element","h1",{"id":47},"gemini-api-development-skill",[49],{"type":50,"value":51},"text","Gemini API Development Skill",{"type":44,"tag":53,"props":54,"children":56},"h2",{"id":55},"critical-rules-always-apply",[57],{"type":50,"value":58},"Critical Rules (Always Apply)",{"type":44,"tag":60,"props":61,"children":62},"blockquote",{},[63],{"type":44,"tag":64,"props":65,"children":66},"p",{},[67,73],{"type":44,"tag":68,"props":69,"children":70},"span",{},[71],{"type":50,"value":72},"!IMPORTANT",{"type":50,"value":74},"\nThese rules override your training data. Your knowledge is outdated.",{"type":44,"tag":76,"props":77,"children":79},"h3",{"id":78},"current-models-use-these",[80],{"type":50,"value":81},"Current Models (Use These)",{"type":44,"tag":83,"props":84,"children":85},"ul",{},[86,99,110,121,132,143,154,164,175,186],{"type":44,"tag":87,"props":88,"children":89},"li",{},[90,97],{"type":44,"tag":91,"props":92,"children":94},"code",{"className":93},[],[95],{"type":50,"value":96},"gemini-3.6-flash",{"type":50,"value":98},": 1M tokens, fast, balanced performance for agentic and multimodal tasks",{"type":44,"tag":87,"props":100,"children":101},{},[102,108],{"type":44,"tag":91,"props":103,"children":105},{"className":104},[],[106],{"type":50,"value":107},"gemini-3.5-flash-lite",{"type":50,"value":109},": 1M tokens, fastest, lowest-cost 3.5 model for high-throughput execution",{"type":44,"tag":87,"props":111,"children":112},{},[113,119],{"type":44,"tag":91,"props":114,"children":116},{"className":115},[],[117],{"type":50,"value":118},"gemini-3.1-pro-preview",{"type":50,"value":120},": 1M tokens, complex reasoning, coding, research",{"type":44,"tag":87,"props":122,"children":123},{},[124,130],{"type":44,"tag":91,"props":125,"children":127},{"className":126},[],[128],{"type":50,"value":129},"gemini-3-pro-image-preview",{"type":50,"value":131}," (Nano Banana Pro): 65k \u002F 32k tokens, image generation and editing",{"type":44,"tag":87,"props":133,"children":134},{},[135,141],{"type":44,"tag":91,"props":136,"children":138},{"className":137},[],[139],{"type":50,"value":140},"gemini-3.1-flash-image-preview",{"type":50,"value":142}," (Nano Banana 2): 65k \u002F 32k tokens, image generation and editing",{"type":44,"tag":87,"props":144,"children":145},{},[146,152],{"type":44,"tag":91,"props":147,"children":149},{"className":148},[],[150],{"type":50,"value":151},"gemini-3.1-flash-lite-image-preview",{"type":50,"value":153}," (Nano Banana 2 Lite): 65k \u002F 32k tokens, ultra-fast image generation and editing",{"type":44,"tag":87,"props":155,"children":156},{},[157,163],{"type":44,"tag":91,"props":158,"children":160},{"className":159},[],[161],{"type":50,"value":162},"gemini-2.5-pro",{"type":50,"value":120},{"type":44,"tag":87,"props":165,"children":166},{},[167,173],{"type":44,"tag":91,"props":168,"children":170},{"className":169},[],[171],{"type":50,"value":172},"gemini-2.5-flash",{"type":50,"value":174},": 1M tokens, fast, balanced performance, multimodal",{"type":44,"tag":87,"props":176,"children":177},{},[178,184],{"type":44,"tag":91,"props":179,"children":181},{"className":180},[],[182],{"type":50,"value":183},"gemma-4-31b-it",{"type":50,"value":185},": Gemma 4 dense model, 31B parameters",{"type":44,"tag":87,"props":187,"children":188},{},[189,195],{"type":44,"tag":91,"props":190,"children":192},{"className":191},[],[193],{"type":50,"value":194},"gemma-4-26b-a4b-it",{"type":50,"value":196},": Gemma 4 MoE model, 26B total with 4B active parameters",{"type":44,"tag":60,"props":198,"children":199},{},[200],{"type":44,"tag":64,"props":201,"children":202},{},[203,208,210,216,218,224,226,232],{"type":44,"tag":68,"props":204,"children":205},{},[206],{"type":50,"value":207},"!WARNING",{"type":50,"value":209},"\nModels like ",{"type":44,"tag":91,"props":211,"children":213},{"className":212},[],[214],{"type":50,"value":215},"gemini-2.0-*",{"type":50,"value":217},", ",{"type":44,"tag":91,"props":219,"children":221},{"className":220},[],[222],{"type":50,"value":223},"gemini-1.5-*",{"type":50,"value":225}," are ",{"type":44,"tag":227,"props":228,"children":229},"strong",{},[230],{"type":50,"value":231},"legacy and deprecated",{"type":50,"value":233},". Never use them.",{"type":44,"tag":76,"props":235,"children":237},{"id":236},"current-sdks-use-these",[238],{"type":50,"value":239},"Current SDKs (Use These)",{"type":44,"tag":83,"props":241,"children":242},{},[243,267,289,311],{"type":44,"tag":87,"props":244,"children":245},{},[246,251,253,259,261],{"type":44,"tag":227,"props":247,"children":248},{},[249],{"type":50,"value":250},"Python",{"type":50,"value":252},": ",{"type":44,"tag":91,"props":254,"children":256},{"className":255},[],[257],{"type":50,"value":258},"google-genai",{"type":50,"value":260}," → ",{"type":44,"tag":91,"props":262,"children":264},{"className":263},[],[265],{"type":50,"value":266},"pip install google-genai",{"type":44,"tag":87,"props":268,"children":269},{},[270,275,276,282,283],{"type":44,"tag":227,"props":271,"children":272},{},[273],{"type":50,"value":274},"JavaScript\u002FTypeScript",{"type":50,"value":252},{"type":44,"tag":91,"props":277,"children":279},{"className":278},[],[280],{"type":50,"value":281},"@google\u002Fgenai",{"type":50,"value":260},{"type":44,"tag":91,"props":284,"children":286},{"className":285},[],[287],{"type":50,"value":288},"npm install @google\u002Fgenai",{"type":44,"tag":87,"props":290,"children":291},{},[292,297,298,304,305],{"type":44,"tag":227,"props":293,"children":294},{},[295],{"type":50,"value":296},"Go",{"type":50,"value":252},{"type":44,"tag":91,"props":299,"children":301},{"className":300},[],[302],{"type":50,"value":303},"google.golang.org\u002Fgenai",{"type":50,"value":260},{"type":44,"tag":91,"props":306,"children":308},{"className":307},[],[309],{"type":50,"value":310},"go get google.golang.org\u002Fgenai",{"type":44,"tag":87,"props":312,"children":313},{},[314,319,320,326],{"type":44,"tag":227,"props":315,"children":316},{},[317],{"type":50,"value":318},"Java",{"type":50,"value":252},{"type":44,"tag":91,"props":321,"children":323},{"className":322},[],[324],{"type":50,"value":325},"com.google.genai:google-genai",{"type":50,"value":327}," (see Maven\u002FGradle setup below)",{"type":44,"tag":60,"props":329,"children":330},{},[331],{"type":44,"tag":64,"props":332,"children":333},{},[334,339,341,347,349,355,357,362],{"type":44,"tag":68,"props":335,"children":336},{},[337],{"type":50,"value":338},"!CAUTION",{"type":50,"value":340},"\nLegacy SDKs ",{"type":44,"tag":91,"props":342,"children":344},{"className":343},[],[345],{"type":50,"value":346},"google-generativeai",{"type":50,"value":348}," (Python) and ",{"type":44,"tag":91,"props":350,"children":352},{"className":351},[],[353],{"type":50,"value":354},"@google\u002Fgenerative-ai",{"type":50,"value":356}," (JS) are ",{"type":44,"tag":227,"props":358,"children":359},{},[360],{"type":50,"value":361},"deprecated",{"type":50,"value":233},{"type":44,"tag":364,"props":365,"children":366},"hr",{},[],{"type":44,"tag":53,"props":368,"children":370},{"id":369},"quick-start",[371],{"type":50,"value":372},"Quick Start",{"type":44,"tag":76,"props":374,"children":376},{"id":375},"python",[377],{"type":50,"value":250},{"type":44,"tag":379,"props":380,"children":384},"pre",{"className":381,"code":382,"language":375,"meta":383,"style":383},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","from google import genai\n\nclient = genai.Client()\nresponse = client.models.generate_content(\n    model=\"gemini-3.6-flash\",\n    contents=\"Explain quantum computing\"\n)\nprint(response.text)\n","",[385],{"type":44,"tag":91,"props":386,"children":387},{"__ignoreMap":383},[388,398,408,417,426,435,444,453],{"type":44,"tag":68,"props":389,"children":392},{"class":390,"line":391},"line",1,[393],{"type":44,"tag":68,"props":394,"children":395},{},[396],{"type":50,"value":397},"from google import genai\n",{"type":44,"tag":68,"props":399,"children":401},{"class":390,"line":400},2,[402],{"type":44,"tag":68,"props":403,"children":405},{"emptyLinePlaceholder":404},true,[406],{"type":50,"value":407},"\n",{"type":44,"tag":68,"props":409,"children":411},{"class":390,"line":410},3,[412],{"type":44,"tag":68,"props":413,"children":414},{},[415],{"type":50,"value":416},"client = genai.Client()\n",{"type":44,"tag":68,"props":418,"children":420},{"class":390,"line":419},4,[421],{"type":44,"tag":68,"props":422,"children":423},{},[424],{"type":50,"value":425},"response = client.models.generate_content(\n",{"type":44,"tag":68,"props":427,"children":429},{"class":390,"line":428},5,[430],{"type":44,"tag":68,"props":431,"children":432},{},[433],{"type":50,"value":434},"    model=\"gemini-3.6-flash\",\n",{"type":44,"tag":68,"props":436,"children":438},{"class":390,"line":437},6,[439],{"type":44,"tag":68,"props":440,"children":441},{},[442],{"type":50,"value":443},"    contents=\"Explain quantum computing\"\n",{"type":44,"tag":68,"props":445,"children":447},{"class":390,"line":446},7,[448],{"type":44,"tag":68,"props":449,"children":450},{},[451],{"type":50,"value":452},")\n",{"type":44,"tag":68,"props":454,"children":456},{"class":390,"line":455},8,[457],{"type":44,"tag":68,"props":458,"children":459},{},[460],{"type":50,"value":461},"print(response.text)\n",{"type":44,"tag":76,"props":463,"children":465},{"id":464},"javascripttypescript",[466],{"type":50,"value":274},{"type":44,"tag":379,"props":468,"children":472},{"className":469,"code":470,"language":471,"meta":383,"style":383},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst ai = new GoogleGenAI({});\nconst response = await ai.models.generateContent({\n  model: \"gemini-3.6-flash\",\n  contents: \"Explain quantum computing\"\n});\nconsole.log(response.text);\n","typescript",[473],{"type":44,"tag":91,"props":474,"children":475},{"__ignoreMap":383},[476,527,534,582,636,667,693,709],{"type":44,"tag":68,"props":477,"children":478},{"class":390,"line":391},[479,485,491,497,502,507,512,517,522],{"type":44,"tag":68,"props":480,"children":482},{"style":481},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[483],{"type":50,"value":484},"import",{"type":44,"tag":68,"props":486,"children":488},{"style":487},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[489],{"type":50,"value":490}," {",{"type":44,"tag":68,"props":492,"children":494},{"style":493},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[495],{"type":50,"value":496}," GoogleGenAI",{"type":44,"tag":68,"props":498,"children":499},{"style":487},[500],{"type":50,"value":501}," }",{"type":44,"tag":68,"props":503,"children":504},{"style":481},[505],{"type":50,"value":506}," from",{"type":44,"tag":68,"props":508,"children":509},{"style":487},[510],{"type":50,"value":511}," \"",{"type":44,"tag":68,"props":513,"children":515},{"style":514},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[516],{"type":50,"value":281},{"type":44,"tag":68,"props":518,"children":519},{"style":487},[520],{"type":50,"value":521},"\"",{"type":44,"tag":68,"props":523,"children":524},{"style":487},[525],{"type":50,"value":526},";\n",{"type":44,"tag":68,"props":528,"children":529},{"class":390,"line":400},[530],{"type":44,"tag":68,"props":531,"children":532},{"emptyLinePlaceholder":404},[533],{"type":50,"value":407},{"type":44,"tag":68,"props":535,"children":536},{"class":390,"line":410},[537,543,548,553,558,563,568,573,578],{"type":44,"tag":68,"props":538,"children":540},{"style":539},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[541],{"type":50,"value":542},"const",{"type":44,"tag":68,"props":544,"children":545},{"style":493},[546],{"type":50,"value":547}," ai ",{"type":44,"tag":68,"props":549,"children":550},{"style":487},[551],{"type":50,"value":552},"=",{"type":44,"tag":68,"props":554,"children":555},{"style":487},[556],{"type":50,"value":557}," new",{"type":44,"tag":68,"props":559,"children":561},{"style":560},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[562],{"type":50,"value":496},{"type":44,"tag":68,"props":564,"children":565},{"style":493},[566],{"type":50,"value":567},"(",{"type":44,"tag":68,"props":569,"children":570},{"style":487},[571],{"type":50,"value":572},"{}",{"type":44,"tag":68,"props":574,"children":575},{"style":493},[576],{"type":50,"value":577},")",{"type":44,"tag":68,"props":579,"children":580},{"style":487},[581],{"type":50,"value":526},{"type":44,"tag":68,"props":583,"children":584},{"class":390,"line":419},[585,589,594,598,603,608,613,618,622,627,631],{"type":44,"tag":68,"props":586,"children":587},{"style":539},[588],{"type":50,"value":542},{"type":44,"tag":68,"props":590,"children":591},{"style":493},[592],{"type":50,"value":593}," response ",{"type":44,"tag":68,"props":595,"children":596},{"style":487},[597],{"type":50,"value":552},{"type":44,"tag":68,"props":599,"children":600},{"style":481},[601],{"type":50,"value":602}," await",{"type":44,"tag":68,"props":604,"children":605},{"style":493},[606],{"type":50,"value":607}," ai",{"type":44,"tag":68,"props":609,"children":610},{"style":487},[611],{"type":50,"value":612},".",{"type":44,"tag":68,"props":614,"children":615},{"style":493},[616],{"type":50,"value":617},"models",{"type":44,"tag":68,"props":619,"children":620},{"style":487},[621],{"type":50,"value":612},{"type":44,"tag":68,"props":623,"children":624},{"style":560},[625],{"type":50,"value":626},"generateContent",{"type":44,"tag":68,"props":628,"children":629},{"style":493},[630],{"type":50,"value":567},{"type":44,"tag":68,"props":632,"children":633},{"style":487},[634],{"type":50,"value":635},"{\n",{"type":44,"tag":68,"props":637,"children":638},{"class":390,"line":428},[639,645,650,654,658,662],{"type":44,"tag":68,"props":640,"children":642},{"style":641},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[643],{"type":50,"value":644},"  model",{"type":44,"tag":68,"props":646,"children":647},{"style":487},[648],{"type":50,"value":649},":",{"type":44,"tag":68,"props":651,"children":652},{"style":487},[653],{"type":50,"value":511},{"type":44,"tag":68,"props":655,"children":656},{"style":514},[657],{"type":50,"value":96},{"type":44,"tag":68,"props":659,"children":660},{"style":487},[661],{"type":50,"value":521},{"type":44,"tag":68,"props":663,"children":664},{"style":487},[665],{"type":50,"value":666},",\n",{"type":44,"tag":68,"props":668,"children":669},{"class":390,"line":437},[670,675,679,683,688],{"type":44,"tag":68,"props":671,"children":672},{"style":641},[673],{"type":50,"value":674},"  contents",{"type":44,"tag":68,"props":676,"children":677},{"style":487},[678],{"type":50,"value":649},{"type":44,"tag":68,"props":680,"children":681},{"style":487},[682],{"type":50,"value":511},{"type":44,"tag":68,"props":684,"children":685},{"style":514},[686],{"type":50,"value":687},"Explain quantum computing",{"type":44,"tag":68,"props":689,"children":690},{"style":487},[691],{"type":50,"value":692},"\"\n",{"type":44,"tag":68,"props":694,"children":695},{"class":390,"line":446},[696,701,705],{"type":44,"tag":68,"props":697,"children":698},{"style":487},[699],{"type":50,"value":700},"}",{"type":44,"tag":68,"props":702,"children":703},{"style":493},[704],{"type":50,"value":577},{"type":44,"tag":68,"props":706,"children":707},{"style":487},[708],{"type":50,"value":526},{"type":44,"tag":68,"props":710,"children":711},{"class":390,"line":455},[712,717,721,726,731,735,740],{"type":44,"tag":68,"props":713,"children":714},{"style":493},[715],{"type":50,"value":716},"console",{"type":44,"tag":68,"props":718,"children":719},{"style":487},[720],{"type":50,"value":612},{"type":44,"tag":68,"props":722,"children":723},{"style":560},[724],{"type":50,"value":725},"log",{"type":44,"tag":68,"props":727,"children":728},{"style":493},[729],{"type":50,"value":730},"(response",{"type":44,"tag":68,"props":732,"children":733},{"style":487},[734],{"type":50,"value":612},{"type":44,"tag":68,"props":736,"children":737},{"style":493},[738],{"type":50,"value":739},"text)",{"type":44,"tag":68,"props":741,"children":742},{"style":487},[743],{"type":50,"value":526},{"type":44,"tag":76,"props":745,"children":747},{"id":746},"go",[748],{"type":50,"value":296},{"type":44,"tag":379,"props":750,"children":753},{"className":751,"code":752,"language":746,"meta":383,"style":383},"language-go shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","package main\n\nimport (\n    \"context\"\n    \"fmt\"\n    \"log\"\n    \"google.golang.org\u002Fgenai\"\n)\n\nfunc main() {\n    ctx := context.Background()\n    client, err := genai.NewClient(ctx, nil)\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    resp, err := client.Models.GenerateContent(ctx, \"gemini-3.6-flash\", genai.Text(\"Explain quantum computing\"), nil)\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    fmt.Println(resp.Text)\n}\n",[754],{"type":44,"tag":91,"props":755,"children":756},{"__ignoreMap":383},[757,765,772,780,788,796,804,812,819,827,836,845,854,863,872,881,889,898,906,914,922,930,939],{"type":44,"tag":68,"props":758,"children":759},{"class":390,"line":391},[760],{"type":44,"tag":68,"props":761,"children":762},{},[763],{"type":50,"value":764},"package main\n",{"type":44,"tag":68,"props":766,"children":767},{"class":390,"line":400},[768],{"type":44,"tag":68,"props":769,"children":770},{"emptyLinePlaceholder":404},[771],{"type":50,"value":407},{"type":44,"tag":68,"props":773,"children":774},{"class":390,"line":410},[775],{"type":44,"tag":68,"props":776,"children":777},{},[778],{"type":50,"value":779},"import (\n",{"type":44,"tag":68,"props":781,"children":782},{"class":390,"line":419},[783],{"type":44,"tag":68,"props":784,"children":785},{},[786],{"type":50,"value":787},"    \"context\"\n",{"type":44,"tag":68,"props":789,"children":790},{"class":390,"line":428},[791],{"type":44,"tag":68,"props":792,"children":793},{},[794],{"type":50,"value":795},"    \"fmt\"\n",{"type":44,"tag":68,"props":797,"children":798},{"class":390,"line":437},[799],{"type":44,"tag":68,"props":800,"children":801},{},[802],{"type":50,"value":803},"    \"log\"\n",{"type":44,"tag":68,"props":805,"children":806},{"class":390,"line":446},[807],{"type":44,"tag":68,"props":808,"children":809},{},[810],{"type":50,"value":811},"    \"google.golang.org\u002Fgenai\"\n",{"type":44,"tag":68,"props":813,"children":814},{"class":390,"line":455},[815],{"type":44,"tag":68,"props":816,"children":817},{},[818],{"type":50,"value":452},{"type":44,"tag":68,"props":820,"children":822},{"class":390,"line":821},9,[823],{"type":44,"tag":68,"props":824,"children":825},{"emptyLinePlaceholder":404},[826],{"type":50,"value":407},{"type":44,"tag":68,"props":828,"children":830},{"class":390,"line":829},10,[831],{"type":44,"tag":68,"props":832,"children":833},{},[834],{"type":50,"value":835},"func main() {\n",{"type":44,"tag":68,"props":837,"children":839},{"class":390,"line":838},11,[840],{"type":44,"tag":68,"props":841,"children":842},{},[843],{"type":50,"value":844},"    ctx := context.Background()\n",{"type":44,"tag":68,"props":846,"children":848},{"class":390,"line":847},12,[849],{"type":44,"tag":68,"props":850,"children":851},{},[852],{"type":50,"value":853},"    client, err := genai.NewClient(ctx, nil)\n",{"type":44,"tag":68,"props":855,"children":857},{"class":390,"line":856},13,[858],{"type":44,"tag":68,"props":859,"children":860},{},[861],{"type":50,"value":862},"    if err != nil {\n",{"type":44,"tag":68,"props":864,"children":866},{"class":390,"line":865},14,[867],{"type":44,"tag":68,"props":868,"children":869},{},[870],{"type":50,"value":871},"        log.Fatal(err)\n",{"type":44,"tag":68,"props":873,"children":875},{"class":390,"line":874},15,[876],{"type":44,"tag":68,"props":877,"children":878},{},[879],{"type":50,"value":880},"    }\n",{"type":44,"tag":68,"props":882,"children":884},{"class":390,"line":883},16,[885],{"type":44,"tag":68,"props":886,"children":887},{"emptyLinePlaceholder":404},[888],{"type":50,"value":407},{"type":44,"tag":68,"props":890,"children":892},{"class":390,"line":891},17,[893],{"type":44,"tag":68,"props":894,"children":895},{},[896],{"type":50,"value":897},"    resp, err := client.Models.GenerateContent(ctx, \"gemini-3.6-flash\", genai.Text(\"Explain quantum computing\"), nil)\n",{"type":44,"tag":68,"props":899,"children":901},{"class":390,"line":900},18,[902],{"type":44,"tag":68,"props":903,"children":904},{},[905],{"type":50,"value":862},{"type":44,"tag":68,"props":907,"children":909},{"class":390,"line":908},19,[910],{"type":44,"tag":68,"props":911,"children":912},{},[913],{"type":50,"value":871},{"type":44,"tag":68,"props":915,"children":917},{"class":390,"line":916},20,[918],{"type":44,"tag":68,"props":919,"children":920},{},[921],{"type":50,"value":880},{"type":44,"tag":68,"props":923,"children":925},{"class":390,"line":924},21,[926],{"type":44,"tag":68,"props":927,"children":928},{"emptyLinePlaceholder":404},[929],{"type":50,"value":407},{"type":44,"tag":68,"props":931,"children":933},{"class":390,"line":932},22,[934],{"type":44,"tag":68,"props":935,"children":936},{},[937],{"type":50,"value":938},"    fmt.Println(resp.Text)\n",{"type":44,"tag":68,"props":940,"children":942},{"class":390,"line":941},23,[943],{"type":44,"tag":68,"props":944,"children":945},{},[946],{"type":50,"value":947},"}\n",{"type":44,"tag":76,"props":949,"children":951},{"id":950},"java",[952],{"type":50,"value":318},{"type":44,"tag":379,"props":954,"children":957},{"className":955,"code":956,"language":950,"meta":383,"style":383},"language-java shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import com.google.genai.Client;\nimport com.google.genai.types.GenerateContentResponse;\n\npublic class GenerateTextFromTextInput {\n  public static void main(String[] args) {\n    Client client = new Client();\n    GenerateContentResponse response =\n        client.models.generateContent(\n            \"gemini-3.6-flash\",\n            \"Explain quantum computing\",\n            null);\n\n    System.out.println(response.text());\n  }\n}\n",[958],{"type":44,"tag":91,"props":959,"children":960},{"__ignoreMap":383},[961,969,977,984,992,1000,1008,1016,1024,1032,1040,1048,1055,1063,1071],{"type":44,"tag":68,"props":962,"children":963},{"class":390,"line":391},[964],{"type":44,"tag":68,"props":965,"children":966},{},[967],{"type":50,"value":968},"import com.google.genai.Client;\n",{"type":44,"tag":68,"props":970,"children":971},{"class":390,"line":400},[972],{"type":44,"tag":68,"props":973,"children":974},{},[975],{"type":50,"value":976},"import com.google.genai.types.GenerateContentResponse;\n",{"type":44,"tag":68,"props":978,"children":979},{"class":390,"line":410},[980],{"type":44,"tag":68,"props":981,"children":982},{"emptyLinePlaceholder":404},[983],{"type":50,"value":407},{"type":44,"tag":68,"props":985,"children":986},{"class":390,"line":419},[987],{"type":44,"tag":68,"props":988,"children":989},{},[990],{"type":50,"value":991},"public class GenerateTextFromTextInput {\n",{"type":44,"tag":68,"props":993,"children":994},{"class":390,"line":428},[995],{"type":44,"tag":68,"props":996,"children":997},{},[998],{"type":50,"value":999},"  public static void main(String[] args) {\n",{"type":44,"tag":68,"props":1001,"children":1002},{"class":390,"line":437},[1003],{"type":44,"tag":68,"props":1004,"children":1005},{},[1006],{"type":50,"value":1007},"    Client client = new Client();\n",{"type":44,"tag":68,"props":1009,"children":1010},{"class":390,"line":446},[1011],{"type":44,"tag":68,"props":1012,"children":1013},{},[1014],{"type":50,"value":1015},"    GenerateContentResponse response =\n",{"type":44,"tag":68,"props":1017,"children":1018},{"class":390,"line":455},[1019],{"type":44,"tag":68,"props":1020,"children":1021},{},[1022],{"type":50,"value":1023},"        client.models.generateContent(\n",{"type":44,"tag":68,"props":1025,"children":1026},{"class":390,"line":821},[1027],{"type":44,"tag":68,"props":1028,"children":1029},{},[1030],{"type":50,"value":1031},"            \"gemini-3.6-flash\",\n",{"type":44,"tag":68,"props":1033,"children":1034},{"class":390,"line":829},[1035],{"type":44,"tag":68,"props":1036,"children":1037},{},[1038],{"type":50,"value":1039},"            \"Explain quantum computing\",\n",{"type":44,"tag":68,"props":1041,"children":1042},{"class":390,"line":838},[1043],{"type":44,"tag":68,"props":1044,"children":1045},{},[1046],{"type":50,"value":1047},"            null);\n",{"type":44,"tag":68,"props":1049,"children":1050},{"class":390,"line":847},[1051],{"type":44,"tag":68,"props":1052,"children":1053},{"emptyLinePlaceholder":404},[1054],{"type":50,"value":407},{"type":44,"tag":68,"props":1056,"children":1057},{"class":390,"line":856},[1058],{"type":44,"tag":68,"props":1059,"children":1060},{},[1061],{"type":50,"value":1062},"    System.out.println(response.text());\n",{"type":44,"tag":68,"props":1064,"children":1065},{"class":390,"line":865},[1066],{"type":44,"tag":68,"props":1067,"children":1068},{},[1069],{"type":50,"value":1070},"  }\n",{"type":44,"tag":68,"props":1072,"children":1073},{"class":390,"line":874},[1074],{"type":44,"tag":68,"props":1075,"children":1076},{},[1077],{"type":50,"value":947},{"type":44,"tag":64,"props":1079,"children":1080},{},[1081],{"type":44,"tag":227,"props":1082,"children":1083},{},[1084],{"type":50,"value":1085},"Java Installation:",{"type":44,"tag":83,"props":1087,"children":1088},{},[1089,1102,1113],{"type":44,"tag":87,"props":1090,"children":1091},{},[1092,1094],{"type":50,"value":1093},"Latest version: ",{"type":44,"tag":1095,"props":1096,"children":1100},"a",{"href":1097,"rel":1098},"https:\u002F\u002Fcentral.sonatype.com\u002Fartifact\u002Fcom.google.genai\u002Fgoogle-genai\u002Fversions",[1099],"nofollow",[1101],{"type":50,"value":1097},{"type":44,"tag":87,"props":1103,"children":1104},{},[1105,1107],{"type":50,"value":1106},"Gradle: ",{"type":44,"tag":91,"props":1108,"children":1110},{"className":1109},[],[1111],{"type":50,"value":1112},"implementation(\"com.google.genai:google-genai:${LAST_VERSION}\")",{"type":44,"tag":87,"props":1114,"children":1115},{},[1116,1118],{"type":50,"value":1117},"Maven:\n",{"type":44,"tag":379,"props":1119,"children":1123},{"className":1120,"code":1121,"language":1122,"meta":383,"style":383},"language-xml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cdependency>\n    \u003CgroupId>com.google.genai\u003C\u002FgroupId>\n    \u003CartifactId>google-genai\u003C\u002FartifactId>\n    \u003Cversion>${LAST_VERSION}\u003C\u002Fversion>\n\u003C\u002Fdependency>\n","xml",[1124],{"type":44,"tag":91,"props":1125,"children":1126},{"__ignoreMap":383},[1127,1135,1143,1151,1159],{"type":44,"tag":68,"props":1128,"children":1129},{"class":390,"line":391},[1130],{"type":44,"tag":68,"props":1131,"children":1132},{},[1133],{"type":50,"value":1134},"\u003Cdependency>\n",{"type":44,"tag":68,"props":1136,"children":1137},{"class":390,"line":400},[1138],{"type":44,"tag":68,"props":1139,"children":1140},{},[1141],{"type":50,"value":1142},"    \u003CgroupId>com.google.genai\u003C\u002FgroupId>\n",{"type":44,"tag":68,"props":1144,"children":1145},{"class":390,"line":410},[1146],{"type":44,"tag":68,"props":1147,"children":1148},{},[1149],{"type":50,"value":1150},"    \u003CartifactId>google-genai\u003C\u002FartifactId>\n",{"type":44,"tag":68,"props":1152,"children":1153},{"class":390,"line":419},[1154],{"type":44,"tag":68,"props":1155,"children":1156},{},[1157],{"type":50,"value":1158},"    \u003Cversion>${LAST_VERSION}\u003C\u002Fversion>\n",{"type":44,"tag":68,"props":1160,"children":1161},{"class":390,"line":428},[1162],{"type":44,"tag":68,"props":1163,"children":1164},{},[1165],{"type":50,"value":1166},"\u003C\u002Fdependency>\n",{"type":44,"tag":364,"props":1168,"children":1169},{},[],{"type":44,"tag":53,"props":1171,"children":1173},{"id":1172},"documentation-lookup",[1174],{"type":50,"value":1175},"Documentation Lookup",{"type":44,"tag":76,"props":1177,"children":1179},{"id":1178},"when-mcp-is-installed-preferred",[1180],{"type":50,"value":1181},"When MCP is Installed (Preferred)",{"type":44,"tag":64,"props":1183,"children":1184},{},[1185,1187,1196,1198,1203],{"type":50,"value":1186},"If the ",{"type":44,"tag":227,"props":1188,"children":1189},{},[1190],{"type":44,"tag":91,"props":1191,"children":1193},{"className":1192},[],[1194],{"type":50,"value":1195},"search_docs",{"type":50,"value":1197}," tool (from the Google MCP server) is available, use it as your ",{"type":44,"tag":227,"props":1199,"children":1200},{},[1201],{"type":50,"value":1202},"only",{"type":50,"value":1204}," documentation source:",{"type":44,"tag":1206,"props":1207,"children":1208},"ol",{},[1209,1221,1226],{"type":44,"tag":87,"props":1210,"children":1211},{},[1212,1214,1219],{"type":50,"value":1213},"Call ",{"type":44,"tag":91,"props":1215,"children":1217},{"className":1216},[],[1218],{"type":50,"value":1195},{"type":50,"value":1220}," with your query",{"type":44,"tag":87,"props":1222,"children":1223},{},[1224],{"type":50,"value":1225},"Read the returned documentation",{"type":44,"tag":87,"props":1227,"children":1228},{},[1229,1234],{"type":44,"tag":227,"props":1230,"children":1231},{},[1232],{"type":50,"value":1233},"Trust MCP results",{"type":50,"value":1235}," as source of truth for API details — they are always up-to-date.",{"type":44,"tag":60,"props":1237,"children":1238},{},[1239],{"type":44,"tag":64,"props":1240,"children":1241},{},[1242,1246,1248,1253],{"type":44,"tag":68,"props":1243,"children":1244},{},[1245],{"type":50,"value":72},{"type":50,"value":1247},"\nWhen MCP tools are present, ",{"type":44,"tag":227,"props":1249,"children":1250},{},[1251],{"type":50,"value":1252},"never",{"type":50,"value":1254}," fetch URLs manually. MCP provides up-to-date, indexed documentation that is more accurate and token-efficient than URL fetching.",{"type":44,"tag":76,"props":1256,"children":1258},{"id":1257},"when-mcp-is-not-installed-fallback-only",[1259],{"type":50,"value":1260},"When MCP is NOT Installed (Fallback Only)",{"type":44,"tag":64,"props":1262,"children":1263},{},[1264],{"type":50,"value":1265},"If no MCP documentation tools are available, fetch from the official docs:",{"type":44,"tag":64,"props":1267,"children":1268},{},[1269,1274,1275],{"type":44,"tag":227,"props":1270,"children":1271},{},[1272],{"type":50,"value":1273},"Index URL",{"type":50,"value":252},{"type":44,"tag":91,"props":1276,"children":1278},{"className":1277},[],[1279],{"type":50,"value":1280},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fllms.txt",{"type":44,"tag":64,"props":1282,"children":1283},{},[1284],{"type":50,"value":1285},"This index contains links to all documentation pages in .md.txt format. Use web fetch tools to:",{"type":44,"tag":1206,"props":1287,"children":1288},{},[1289,1302],{"type":44,"tag":87,"props":1290,"children":1291},{},[1292,1294,1300],{"type":50,"value":1293},"Fetch ",{"type":44,"tag":91,"props":1295,"children":1297},{"className":1296},[],[1298],{"type":50,"value":1299},"llms.txt",{"type":50,"value":1301}," to discover available pages",{"type":44,"tag":87,"props":1303,"children":1304},{},[1305,1307,1313],{"type":50,"value":1306},"Fetch specific pages (e.g., ",{"type":44,"tag":91,"props":1308,"children":1310},{"className":1309},[],[1311],{"type":50,"value":1312},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ffunction-calling.md.txt",{"type":50,"value":577},{"type":44,"tag":64,"props":1315,"children":1316},{},[1317],{"type":50,"value":1318},"Key pages:",{"type":44,"tag":83,"props":1320,"children":1321},{},[1322,1332,1341,1351,1361,1371,1381],{"type":44,"tag":87,"props":1323,"children":1324},{},[1325],{"type":44,"tag":1095,"props":1326,"children":1329},{"href":1327,"rel":1328},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Ftext-generation.md.txt",[1099],[1330],{"type":50,"value":1331},"Text generation",{"type":44,"tag":87,"props":1333,"children":1334},{},[1335],{"type":44,"tag":1095,"props":1336,"children":1338},{"href":1312,"rel":1337},[1099],[1339],{"type":50,"value":1340},"Function calling",{"type":44,"tag":87,"props":1342,"children":1343},{},[1344],{"type":44,"tag":1095,"props":1345,"children":1348},{"href":1346,"rel":1347},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fstructured-output.md.txt",[1099],[1349],{"type":50,"value":1350},"Structured outputs",{"type":44,"tag":87,"props":1352,"children":1353},{},[1354],{"type":44,"tag":1095,"props":1355,"children":1358},{"href":1356,"rel":1357},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fimage-generation.md.txt",[1099],[1359],{"type":50,"value":1360},"Image generation",{"type":44,"tag":87,"props":1362,"children":1363},{},[1364],{"type":44,"tag":1095,"props":1365,"children":1368},{"href":1366,"rel":1367},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fimage-understanding.md.txt",[1099],[1369],{"type":50,"value":1370},"Image understanding",{"type":44,"tag":87,"props":1372,"children":1373},{},[1374],{"type":44,"tag":1095,"props":1375,"children":1378},{"href":1376,"rel":1377},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fembeddings.md.txt",[1099],[1379],{"type":50,"value":1380},"Embeddings",{"type":44,"tag":87,"props":1382,"children":1383},{},[1384],{"type":44,"tag":1095,"props":1385,"children":1388},{"href":1386,"rel":1387},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmigrate.md.txt",[1099],[1389],{"type":50,"value":1390},"SDK migration guide",{"type":44,"tag":364,"props":1392,"children":1393},{},[],{"type":44,"tag":53,"props":1395,"children":1397},{"id":1396},"gemini-live-api",[1398],{"type":50,"value":1399},"Gemini Live API",{"type":44,"tag":64,"props":1401,"children":1402},{},[1403,1405,1414],{"type":50,"value":1404},"For real-time, bidirectional audio\u002Fvideo\u002Ftext streaming with the Gemini Live API, install the ",{"type":44,"tag":227,"props":1406,"children":1407},{},[1408],{"type":44,"tag":91,"props":1409,"children":1411},{"className":1410},[],[1412],{"type":50,"value":1413},"google-gemini\u002Fgemini-live-api-dev",{"type":50,"value":1415}," skill. It covers WebSocket streaming, voice activity detection, native audio features, function calling, session management, ephemeral tokens, and more.",{"type":44,"tag":1417,"props":1418,"children":1419},"style",{},[1420],{"type":50,"value":1421},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1423,"total":821},[1424,1431,1442,1460,1475,1496,1508,1523,1535],{"slug":4,"name":4,"fn":5,"description":6,"org":1425,"tags":1426,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1427,1428,1429,1430],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":1432,"name":1432,"fn":1433,"description":1434,"org":1435,"tags":1436,"stars":25,"repoUrl":26,"updatedAt":1441},"gemini-interactions-api","implement Gemini API calls for text and multimodal generation","Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. This skill covers the Interactions API, the recommended way to use Gemini models and agents in Python and TypeScript.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1437,1438,1439,1440],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},"2026-07-24T05:42:41.109676",{"slug":1443,"name":1443,"fn":1444,"description":1445,"org":1446,"tags":1447,"stars":25,"repoUrl":26,"updatedAt":1459},"gemini-live-api-dev","build real-time streaming apps with Gemini Live API","Use this skill when building real-time, bidirectional streaming applications with the Gemini Live API. Covers WebSocket-based audio\u002Fvideo\u002Ftext streaming, voice activity detection (VAD), native audio features, function calling, session management, ephemeral tokens for client-side auth, live translation, and all Live API configuration options. SDKs covered - google-genai (Python), @google\u002Fgenai (JavaScript\u002FTypeScript).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1448,1451,1452,1453,1456],{"name":1449,"slug":1450,"type":15},"Audio","audio",{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":1454,"slug":1455,"type":15},"Video","video",{"name":1457,"slug":1458,"type":15},"WebSockets","websockets","2026-04-06T18:24:48.861661",{"slug":1461,"name":1461,"fn":1462,"description":1463,"org":1464,"tags":1465,"stars":25,"repoUrl":26,"updatedAt":1474},"gemini-omni-flash-api","generate and edit video with Gemini","Use this skill for generative video editing, text-to-video, image-referenced video generation, and first-frame-to-video transition animations using the official google-genai SDK. Includes workflows for pre-processing\u002Foptimizing high-resolution or long source videos with ffmpeg, stripping audio for full sound regeneration, and handling turn-by-turn video editing and parallel execution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1466,1469,1470,1473],{"name":1467,"slug":1468,"type":15},"Animation","animation",{"name":23,"slug":24,"type":15},{"name":1471,"slug":1472,"type":15},"Generative Art","generative-art",{"name":1454,"slug":1455,"type":15},"2026-07-01T07:47:06.8657",{"slug":1476,"name":1476,"fn":1477,"description":1478,"org":1479,"tags":1480,"stars":1493,"repoUrl":1494,"updatedAt":1495},"briefing","format daily news and trend briefings","Formats the standalone daily briefing — curated picks with why-it-matters lines, community buzz, the trend read across runs, and the taste note that keeps the learning visible.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1481,1484,1487,1490],{"name":1482,"slug":1483,"type":15},"Communications","communications",{"name":1485,"slug":1486,"type":15},"Research","research",{"name":1488,"slug":1489,"type":15},"Summarization","summarization",{"name":1491,"slug":1492,"type":15},"Writing","writing",56,"https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-managed-agents-templates","2026-07-24T06:08:46.318988",{"slug":1497,"name":1497,"fn":1498,"description":1499,"org":1500,"tags":1501,"stars":1493,"repoUrl":1494,"updatedAt":1507},"curation","curate and rank news items","Selection and ranking rules — how to turn the raw fetched pool into the handful of items the reader actually wants, guided by the taste profile in interests.json.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1502,1505,1506],{"name":1503,"slug":1504,"type":15},"Automation","automation",{"name":1485,"slug":1486,"type":15},{"name":1488,"slug":1489,"type":15},"2026-07-24T06:08:49.164617",{"slug":1509,"name":1509,"fn":1510,"description":1511,"org":1512,"tags":1513,"stars":1493,"repoUrl":1494,"updatedAt":1522},"deliver","post daily briefings to chat platforms","Posts a condensed version of the briefing to a Google Chat or Slack incoming webhook, so the daily run delivers itself — skips silently when no webhook is configured.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1514,1515,1516,1519],{"name":1503,"slug":1504,"type":15},{"name":1482,"slug":1483,"type":15},{"name":1517,"slug":1518,"type":15},"Messaging","messaging",{"name":1520,"slug":1521,"type":15},"Slack","slack","2026-07-24T06:09:04.439512",{"slug":1524,"name":1524,"fn":1525,"description":1526,"org":1527,"tags":1528,"stars":1493,"repoUrl":1494,"updatedAt":1534},"fetch-news","fetch and deduplicate news articles","Pulls the latest Google News and Hacker News items for every topic and genre in the reader's interests, deduped against every item shown in previous runs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1529,1530,1531],{"name":1503,"slug":1504,"type":15},{"name":1485,"slug":1486,"type":15},{"name":1532,"slug":1533,"type":15},"Search","search","2026-07-24T06:08:47.09259",{"slug":1536,"name":1536,"fn":1537,"description":1538,"org":1539,"tags":1540,"stars":1549,"repoUrl":1550,"updatedAt":1551},"gemini-api-cli","interact with Gemini API via CLI","Guide for using the Gemini API CLI tool. Use when you need to interact with the Gemini API via the command line, manage agents, or generate media (images, audio).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1541,1544,1545,1548],{"name":1542,"slug":1543,"type":15},"Agents","agents",{"name":20,"slug":21,"type":15},{"name":1546,"slug":1547,"type":15},"CLI","cli",{"name":23,"slug":24,"type":15},37,"https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-api-cli","2026-06-30T07:10:10.809",{"items":1553,"total":419},[1554,1561,1568,1576],{"slug":4,"name":4,"fn":5,"description":6,"org":1555,"tags":1556,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1557,1558,1559,1560],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":1432,"name":1432,"fn":1433,"description":1434,"org":1562,"tags":1563,"stars":25,"repoUrl":26,"updatedAt":1441},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1564,1565,1566,1567],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":1443,"name":1443,"fn":1444,"description":1445,"org":1569,"tags":1570,"stars":25,"repoUrl":26,"updatedAt":1459},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1571,1572,1573,1574,1575],{"name":1449,"slug":1450,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":1454,"slug":1455,"type":15},{"name":1457,"slug":1458,"type":15},{"slug":1461,"name":1461,"fn":1462,"description":1463,"org":1577,"tags":1578,"stars":25,"repoUrl":26,"updatedAt":1474},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1579,1580,1581,1582],{"name":1467,"slug":1468,"type":15},{"name":23,"slug":24,"type":15},{"name":1471,"slug":1472,"type":15},{"name":1454,"slug":1455,"type":15}]