All skills
cnemri avatar

/nano-banana-build

@ce49e83

Generate and edit high-quality images using Gemini 2.5 Flash Image and Gemini 3 Pro Image (Nano Banana). Supports Text-to-Image, Style Transfer, Virtual Try-On, and Character Consistency.

Use this Skill: https://skilld.dev/gh/cnemri/google-genai-skills/nano-banana-build

This session only. Nothing lands on disk.

referencesthinking_process.md

≈282 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Thinking Process & Thought Signatures

Gemini 3 Pro Image Preview uses a default "Thinking" process to refine composition and logic before generation.

Accessing Thoughts

You can inspect the thoughts that led to the final image.

for part in response.parts:
    if part.thought:
        if part.text:
            print(f"Thought: {part.text}")
        elif part.inline_data:
            # Interim thought image
            image = part.as_image()
            image.show()

Thought Signatures

Crucial for Multi-turn: Thought signatures preserve reasoning context across turns.

  • Automatic Handling: If using client.chats or appending the full response object to history, the SDK handles this automatically.
  • Manual Handling: If manually constructing JSON payloads, you must pass back the thought_signature field exactly as received.

Structure

  • The first non-thought text part has a signature.
  • All inline image parts (except thought images) have signatures.
  • Thought parts do not have signatures.

Failure to circulate thought signatures may cause the response to fail.

Source: SKILL.md on GitHub

1 warning10d4 checks · Risk SAFE
  • Gen Agent Trust Hub10d

    The skill is a comprehensive collection of reference documentation and code recipes for using Google's Gemini image models through the official Python SDK. It provides guidance on image generation, editing, and model comparison, referencing official Google source code repositories.

  • Socket10d

    No alerts

  • Snyk10d

    Risk: LOW · No issues

  • Runlayer7mo

    7/7 files flagged

Signed by skilld at ce49e83. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 8 months ago

README badge

README badge for cnemri/google-genai-skills/nano-banana-build