Image generation

From allenhutchison/obsidian-gemini · View interactive version

Image generation is an AI agent skill from the GitHub repository allenhutchison/obsidian-gemini. Generate images from text descriptions and save them to the vault. Activate this skill when users want to create illustrations, diagrams, visual content, or any AI-generated images.

How to use this skill

Skill file

Image Generation

Generate images from text descriptions using the generate_image tool and embed them in vault notes.

How to Use

Call the generate_image tool with these parameters:

Critical Two-Step Workflow

The generate_image tool only generates and saves the image file — it does NOT insert the image into any note. To embed the image in a note:

  1. Call generate_image with your prompt
  2. Use the returned wikilink (e.g., ![[generated-image.png]]) and insert it into the target note with write_file

Always complete both steps when the user wants an image in a specific note.

Prompt Engineering Tips

Write detailed, specific prompts for the best results:

Example Prompts

Common Use Cases

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.