8000 Extract image generation content into standalone gemini-image-generation skill by Claude · Pull Request #1 · JokerRun/gemini-skills · GitHub
[go: up one dir, main page]

Skip to content

Extract image generation content into standalone gemini-image-generation skill - #1

Draft
JokerRun with Claude wants to merge 3 commits into
mainfrom
claude/create-drawing-skill
Draft

JokerRun with Claude wants to merge 3 commits into
mainfrom
claude/create-drawing-skill

Conversation

@Claude
@Claude Claude AI commented Feb 12, 2026 •
Copy link
Copy Markdown

Created a dedicated Chinese-language skill for Gemini image generation capabilities (Nano Banana), separated from the general-purpose gemini-api-dev skill.

Changes

  • New skill: gemini-image-generation

    • Comprehensive Chinese documentation (791 lines) covering both Nano Banana models
    • Progressive disclosure using <details> tags for better information architecture
    • Complete reference material including:
      • Text-to-image, image editing, multi-turn editing workflows
      • Code examples in Python, TypeScript, and Go
      • Configuration parameters (responseModalities, imageConfig)
      • Best practices for prompt engineering and performance optimization
      • CLI extension usage, API specifications, and troubleshooting
  • Updated gemini-api-dev skill

    • Removed gemini-3-pro-image-preview model reference
    • Removed Nano Banana documentation link
  • Updated README

    • Added installation instructions for the new skill

Example Usage

from google import genai

client = genai.Client()
response = client.models.generate_content(
    model="gemini-3-pro-image-preview",
    contents="一座未来主义风格的城市,日落时分,等距视角",
    config={
        "responseModalities": ["IMAGE"],
        "imageConfig": {
            "aspectRatio": "16:9",
            "imageSize": "4K"
        }
    }
)

image_data = response.candidates[0].content.parts[0].inlineData.data

Claude AI and others added 2 commits February 12, 2026 11:09
Co-authored-by: JokerRun <31248028+JokerRun@users.noreply.github.com>
Co-authored-by: JokerRun <31248028+JokerRun@users.noreply.github.com>
@Claude Claude AI changed the title [WIP] Add drawing skill based on existing content Extract image generation content into standalone gemini-image-generation skill Feb 12, 2026
@Claude
Claude AI requested a review from JokerRun February 12, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0