xiaohongshu
xiaohongshu
gemini-genai
Google python-genai SDK for Gemini 3 Flash, Gemini 3 Pro, and Gemini models. Use when building with Google's Gemini API, google-genai, implementing thinking/reasoning, structured outputs, function calling, image generation, or multimodal. Triggers on "gemini", "google ai", "genai".
Full skill instructions
| Model | ID |
|---|---|
| Gemini 3 Flash | gemini-3-flash-preview |
| Gemini 3 Pro | gemini-3-pro-preview |
| Gemini 3 Pro Image | gemini-3-pro-image-preview |
| Gemini 2.5 Flash | gemini-2.5-flash |
| Gemini 2.5 Pro | gemini-2.5-pro |
Token Limits: 1,048,576 input / 65,536 output (confirmed 1M context)
Inputs: Text, Image, Video, Audio, PDF
Supported: Batch API, Caching, Code execution, File search, Function calling, Search grounding, Structured outputs, Thinking, URL context
Not Supported: Audio generation, Image generation (use gemini-3-pro-image-preview), Live API, Grounding with Google Maps
Knowledge cutoff: January 2025
Keep temperature=1.0 - Lower values cause response looping.
config=types.GenerateContentConfig(
thinking_config=types.ThinkingConfig(thinking_level="high") # minimal|low|medium|high
)
minimal: No thinking, lowest latency (Flash only)high: Maximum reasoning (default)async with genai.Client().aio as client:
response = await client.models.generate_content(...)
# Async chat
chat = client.aio.chats.create(model="gemini-3-flash-preview")
client = genai.Client(http_options=types.HttpOptions(api_version='v1alpha'))
types.Part(
inline_data=types.Blob(mime_type="image/jpeg", data=image_bytes),
media_resolution={"level": "media_resolution_high"} # low|medium|high|ultra_high
)
Tokens: low=280, medium=560, high=1120
config=types.GenerateContentConfig(
tools=[{"google_search": {}}], # Web search
# tools=[{"url_context": {}}], # Fetch URL content
# tools=[{"code_execution": {}}], # Run code
)
from enum import Enum
class Category(Enum):
A = "A"
B = "B"
config={
"response_mime_type": "text/x.enum",
"response_schema": Category,
}
response = client.models.generate_content(
model="gemini-3-pro-image-preview",
contents="A cyberpunk city",
config=types.GenerateContentConfig(
response_modalities=["IMAGE"],
image_config=types.ImageConfig(aspect_ratio="16:9", image_size="4K"),
),
)
image = response.parts[0].as_image()
image.save("out.png")
Grounded (with search): Add tools=[{"google_search": {}}]
response.text # Text content
response.parsed # Auto-parsed JSON (when using response_json_schema)
response.function_calls # List of function calls (cleaner than candidates drilling)
Input: $0.50/1M | Output: $3.00/1M | Context caching: up to 90% reduction
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience