Logo: Gemini Image Gen

Gemini Image Gen

Communautéit
maystudios
gemini-image-gen

Generéiert Biller mat Google Gemini iwwer Chrome-Browserautomatiséierung. Benotzt dës Skill, wann Dir Biller mat Gemini, Google AI oder Imagen erstelle wëllt. Ënnerstëtzt d’Kontroll iwwer d’Opléisung (0.5K, 1K, 2K, 4K), Bildformatverhältnisser, bis zu 14 Referenzbiller, Stiltransfer, Text am Bild, d’Bearbechte vu Biller an Inpainting. Déi generéiert Biller ginn automatesch erofgelueden an op déi gewënscht Plaz geréckelt. D’Skill kënnt bei Ufroe wéi „generéiert e Bild“, „erstallt e Bild mat Gemini“, „maacht mir e 4K-Bild“ oder „benotzt Gemini, fir e Konschtwierk ze erstellen“ zum Asaz.

Add to TypingMind

Iwwersiicht

Editeurmaystudios
Repositoryclaude-skills
Skill-Nummgemini-image-gen
Stären
30
Forks
3
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    maystudios huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Gemini Image Gen an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/maystudios/claude-skills/tree/main/gemini-image-gen
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/maystudios/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/gemini-image-gen .claude/skills/gemini-image-gen
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Gemini Image Gen an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Gemini Image Gen automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Gemini Image Gen net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Gemini Image Generation via Chrome

Generate images through Google Gemini's web interface using Chrome browser automation. Built on the Nano Banana / Gemini 3 image generation models.

Prerequisites

  • Chrome browser with the Claude-in-Chrome extension installed and active
  • User must be logged into their Google account at https://gemini.google.com
  • Chrome MCP tools available (mcp__claude-in-chrome__*)

Tool Mapping

ActionMCP Tool
Get tab contextmcp__claude-in-chrome__tabs_context_mcp
Create new tabmcp__claude-in-chrome__tabs_create_mcp
Navigate to URLmcp__claude-in-chrome__navigate
Click, type, screenshot, hover, scroll, waitmcp__claude-in-chrome__computer
Find elements by descriptionmcp__claude-in-chrome__find
Read page accessibility treemcp__claude-in-chrome__read_page
Set form valuesmcp__claude-in-chrome__form_input
Upload reference imagesmcp__claude-in-chrome__upload_image
Extract page textmcp__claude-in-chrome__get_page_text

Workflow

Step 1: Initialize Browser Session

1. Call tabs_context_mcp to discover existing tabs
2. Call tabs_create_mcp to create a fresh tab
3. Navigate to https://gemini.google.com/app
4. Take a screenshot to verify the page loaded

Step 2: Start a New Chat with Image Generation Enabled

1. Use find to locate the "New chat" button (top-left area / sidebar), then click it with computer
2. Take a screenshot with computer to confirm the new chat is open
3. Use find to locate the "Tools" or settings area in the chat interface
4. Enable "Image generation" / "Bilderstellung" tool by clicking it
5. Take a screenshot to confirm image generation is enabled

Step 3: Upload Reference Images (if provided)

If the user provides reference images (up to 14 supported), upload them BEFORE submitting the prompt:

1. Use find to locate the attachment/upload button in the chat input area
2. For each reference image:
   a. Click the upload button with computer
   b. Use upload_image to upload the file to the file input or drop zone
3. Supported formats: PNG, JPEG, WebP, HEIC, HEIF
4. Verify uploads appear in the chat input area via screenshot

Step 4: Construct and Submit the Prompt

Build the prompt using the structured framework below, then type and submit it.

Prompt Construction Formula:

For text-to-image (no references):

[Subject] + [Action] + [Location/Context] + [Composition] + [Style]

For multimodal generation (with references):

[Reference images] + [Relationship instruction] + [New scenario]

Include in the prompt when the user specifies:

  • Resolution: Append the desired resolution naturally, e.g. "Generate this in 4K resolution" or "Create a 2K image of..."
    • Available: 0.5K (512px), 1K, 2K, 4K
  • Aspect Ratio: Specify the ratio, e.g. "in 16:9 aspect ratio"
    • Available: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1
  • Style: Use photographic/cinematic language from the prompting guide

Submitting:

1. Use find to locate the prompt input field (textarea / chat input)
2. Type the constructed prompt using computer action "type"
3. Press Enter or click the send button via computer to submit
4. Wait for the image to generate (use computer wait action, 15-30 seconds typical, up to 60s for 4K)
5. Take a screenshot with computer to verify the image was generated

Step 5: Download the Generated Image

1. Take a screenshot with computer to see the generated image
2. Hover over the generated image using computer action "hover" to reveal download controls
3. Look for "Download original size" / "Originalgröße herunterladen" button
   (appears top-right corner of the image on hover)
4. Click the download button with computer
5. Wait 3-5 seconds (computer wait action) for the download to complete
6. The file will be saved to the user's Downloads folder

Step 6: Move the Downloaded File

1. Find the most recently downloaded file in the Downloads folder:
   ls -t ~/Downloads/ | head -5
2. Move the file to the user's specified destination using Bash:
   mv ~/Downloads/filename.png "/desired/destination/filename.png"
3. Report the final file location to the user

Prompt Enhancement Guidelines

When the user provides a basic prompt, enhance it using these principles:

  1. Be specific: Add concrete details on subject, lighting, composition
  2. Use positive framing: Describe what you want, not what you don't want ("empty street" not "no cars")
  3. Control the camera: Use photographic terms like "low angle", "aerial view", "macro lens"
  4. Start with a strong verb: "Create", "Generate", "Design", "Photograph"
  5. Describe narratively: Write scene descriptions, not keyword lists

Lighting terms: three-point softbox, chiaroscuro, golden hour backlighting, Rembrandt lighting Camera terms: GoPro (distorted/immersive), Fujifilm (color science), macro lens (detail), wide-angle (scale) Film/color: "1980s color film, slightly grainy", "cinematic muted teal tones", "high saturation editorial" Materiality: Specify textures -- "navy blue tweed" not just "jacket", "ornate elven plate armor, etched with silver leaf" not just "armor"

For text rendering in images:

  • Enclose text in quotes: "Happy Birthday"
  • Specify font: "bold white sans-serif font" or "Century Gothic 12px"
  • Supports 10+ languages for multilingual text

Resolution and Aspect Ratio Quick Reference

ResolutionPixelsBest For
0.5K~512pxQuick drafts, thumbnails
1K~1024pxWeb use, social media
2K~2048pxHigh-quality prints, presentations
4K~4096pxLarge prints, professional use
Aspect RatioUse Case
1:1Social media posts, profile pictures
16:9Widescreen, YouTube thumbnails, presentations
9:16Phone wallpapers, Instagram/TikTok stories
3:2Photography standard
4:3Classic display ratio
21:9Ultra-wide, cinematic
4:5Instagram portrait
1:4 / 4:1Banners, panoramic
1:8 / 8:1Extreme banners

Prompting Frameworks

For detailed prompting strategies covering all five frameworks (Image Generation, Image Editing, Real-Time Web Search, Text Rendering, Creative Direction), consult the bundled reference:

Reference: references/prompting-guide.md -- comprehensive prompting guide with examples for every framework

Image Editing (Follow-up Prompts)

After generating an image, the user can request edits in the same chat:

  • Inpainting: "Remove the person from the background" (semantic masking via text)
  • Style transfer: "Recreate this in watercolor style"
  • Adding elements: "Add a red umbrella to the scene"
  • Upscaling: "Upscale this to 4K"

Be explicit about what to keep: "Keep everything else exactly the same, only change..."

Error Handling

  • If the page doesn't load: retry navigation, check internet connection
  • If image generation fails: simplify the prompt, remove complex instructions
  • If download button doesn't appear: try scrolling, hovering more precisely over the image
  • If the file isn't in Downloads after 10 seconds: check with ls -t ~/Downloads/ | head -5
  • If tools/image generation toggle isn't found: take a screenshot and look for alternative UI paths

Notes

  • All Gemini-generated images include C2PA Content Credentials and SynthID watermarks
  • The models have a knowledge cutoff of January 2025 but can use real-time web search
  • Maximum input: 131,072 tokens (Flash) / 65,536 tokens (Pro)
  • Maximum output: 32,768 tokens for both models
  • Supported input file types for references: PNG, JPEG, WebP, HEIC, HEIF
  • PDF and text file inputs are also supported (up to 50MB)

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Gemini Image Gen?

Generéiert Biller mat Google Gemini iwwer Chrome-Browserautomatiséierung. Benotzt dës Skill, wann Dir Biller mat Gemini, Google AI oder Imagen erstelle wëllt. Ënnerstëtzt d’Kontroll iwwer d’Opléisung (0.5K, 1K, 2K, 4K), Bildformatverhältnisser, bis zu 14 Referenzbiller, Stiltransfer, Text am Bild, d’Bearbechte vu Biller an Inpainting. Déi generéiert Biller ginn automatesch erofgelueden an op déi gewënscht Plaz geréckelt. D’Skill kënnt bei Ufroe wéi „generéiert e Bild“, „erstallt e Bild mat Gemini“, „maacht mir e 4K-Bild“ oder „benotzt Gemini, fir e Konschtwierk ze erstellen“ zum Asaz.

Firwat Gemini Image Gen op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Gemini Image Gen besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Gemini Image Gen an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/maystudios/claude-skills/tree/main/gemini-image-gen an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Gemini Image Gen benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Gemini Image Gen benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Gemini Image Gen domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Gemini Image Gen gratis?

Jo. maystudios huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇