google-gemini-image
БесплатноБез исполняемых скриптовНе проверенPlan, generate, edit, and quality-check still images with Google's Gemini native image models (Nano Banana), including Gemini 3.1 Flash Image, Gemini 3.1…
от calesthio★ 262 звезды на GitHubОб этом скилле
Produce still images with Gemini
Treat this as a production discipline, not a bag of adjectives. Establish rights and delivery constraints, choose a route and model, assign references explicit roles, generate a reviewable draft, and repair one defect class at a time.
Evidence labels and freshness
Interpret labels consistently:
- Documented fact: stated in a cited Google first-party source.
- Inference: a conclusion drawn from documented capabilities; validate it on the actual workload.
- Production heuristic: operational advice, not a provider guarantee.
All volatile facts in this skill were verified 2026-07-09. Recheck model IDs, launch stages, locations, pricing, quotas, API schemas, retention, and deprecation dates before a consequential run. Provider words such as “best” or “professional” are positioning, not independent benchmark results.
Bound the job before calling a model
Collect or infer these fields. Stop for user input when an assumption would alter rights, identity, factual meaning, or required deliverables.
deliverable: file count, channel, crop/aspect ratio, minimum pixels, file type
intent: what the image must communicate and to whom
must_preserve: identities, product geometry, approved logo, exact copy, legal marks
may_change: background, lighting, styling, pose, crop, color treatment
references: file -> role -> rights/consent -> priority
factuality: timeless invention | supplied facts | current facts requiring grounding
privacy: public | internal | confidential | personal/biometric
acceptance_tests: exact strings, subject match, layout, factual checks, brand checks
route_constraints: Gemini Developer API or Google Cloud; latency/cost/batch needs
Do not cover Veo, motion generation, or Gemini Live/audio. Gemini 3.1 Flash Image and Gemini 3.1 Flash-Lite Image can accept video as context for a still-image result through generateContent, but that is an image workflow; do not let it expand this skill into video production.
Choose the route first
Do not mix payload dialects. Record the route, API interface, SDK version, model ID, location, storage setting, and response schema in the run manifest.
Gemini Developer API: Interactions API
Documented facts: As of June 2026, the Interactions API is GA and Google recommends it for new Gemini API projects. It uses interactions.create; the REST endpoint is https://generativelanguage.googleapis.com/v1beta/interactions with an API key. previous_interaction_id retrieves stored conversation history. Tools, system instructions, and generation configuration are interaction-scoped, so repeat them on later turns. Requests default to store=true; paid-tier interactions are retained for 55 days and free-tier interactions for one day unless storage is disabled. store=false prevents later use of previous_interaction_id and background execution. Custom safety settings are not yet available in Interactions. Interactions API
Use Interactions when server-side continuation, observable steps, current image features, or concise multi-turn editing matters. For sensitive content, evaluate whether paid service terms and storage controls are sufficient; use store=false only with an explicit stateless history plan.
Minimal single-turn image request:
from google import genai
import base64
client = genai.Client() # GEMINI_API_KEY
interaction = client.interactions.create(
model="gemini-3.1-flash-image",
input="Create one editorial still image of a wind farm at dawn, viewed from a low hill.",
response_format={
"type": "image",
"mime_type": "image/png",
"aspect_ratio": "16:9",
"image_size": "2K",
},
)
with open("wind-farm.png", "wb") as f:
f.write(base64.b64decode(interaction.output_image.data))
Gemini Developer API: generateContent
Documented fact: generateContent is considered legacy but remains fully supported. Its payload uses contents/parts, generationConfig, response modalities, and image configuration rather than the Interactions resource schema. Generate Content image guide
Keep it for an existing integration or a feature not yet exposed by Interactions, such as custom safety settings or Batch API use. Preserve full response parts and thought signatures in stateless multi-turn histories. Do not translate field names by guesswork; consult the current guide for the chosen interface.
Complete Developer API generateContent example:
import os
from pathlib import Path
from google import genai
from google.genai import types
client = genai.Client(api_key=os.environ["GEMINI_API_KEY"])
response = client.models.generate_content(
model="gemini-3.1-flash-image",
contents="Create one 16:9 editorial illustration of a coastal wetland at sunrise; no text.",
config=t
Установить google-gemini-image в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл google-gemini-image?
Plan, generate, edit, and quality-check still images with Google's Gemini native image models (Nano Banana), including Gemini 3.1 Flash Image, Gemini 3.1 Flash-Lite Image, Gemini 3 Pro Image, and legacy Gemini 2.5 Flash Image. Use for model and API-route selection, conversational editing, multi-reference composition, thinking and Google Search grounding, resolution/aspect-ratio control, exact-text and brand workflows, SynthID/provenance, safety, privacy, rights, and migration from legacy Gemini or Imagen image endpoints. Do not use for Veo/video generation or Gemini Live/audio work.
Как установить скилл google-gemini-image?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл google-gemini-image запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic