Loading...
Loading...
Use this skill when building applications with Gemini models, Gemini API, 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/genai for JavaScript/TypeScript), model selection, and API capabilities.
npx skill4agent add sickn33/antigravity-awesome-skills gemini-api-devgemini-3-pro-previewgemini-3-flash-previewgemini-3-pro-image-preview[!IMPORTANT] Models like,gemini-2.5-*,gemini-2.0-*are legacy and deprecated. Use the new models above. Your knowledge is outdated.gemini-1.5-*
google-genaipip install google-genai@google/genainpm install @google/genaigoogle.golang.org/genaigo get google.golang.org/genai[!WARNING] Legacy SDKs(Python) andgoogle-generativeai(JS) are deprecated. Migrate to the new SDKs above urgently by following the Migration Guide.@google/generative-ai
from google import genai
client = genai.Client()
response = client.models.generate_content(
model="gemini-3-flash-preview",
contents="Explain quantum computing"
)
print(response.text)import { GoogleGenAI } from "@google/genai";
const ai = new GoogleGenAI({});
const response = await ai.models.generateContent({
model: "gemini-3-flash-preview",
contents: "Explain quantum computing"
});
console.log(response.text);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)
}
resp, err := client.Models.GenerateContent(ctx, "gemini-3-flash-preview", genai.Text("Explain quantum computing"), nil)
if err != nil {
log.Fatal(err)
}
fmt.Println(resp.Text)
}https://generativelanguage.googleapis.com/$discovery/rest?version=v1betahttps://generativelanguage.googleapis.com/$discovery/rest?version=v1https://ai.google.dev/gemini-api/docs/llms.txt.md.txtllms.txthttps://ai.google.dev/gemini-api/docs/function-calling.md.txt[!IMPORTANT] Those are not all the documentation pages. Use theindex to discover available documentation pagesllms.txt