gemini-image-generation
SKILL.md
Image Generation
Use this skill when you need to create one or more image files from a text prompt, or edit one or more existing images with Gemini.
Requirements
GEMINI_API_KEYmust be available in the environment.GEMINI_MODEL_IDmust be available in the environment and should point to a model that supports image output. For image editing, it should support image input as well.GEMINI_BASE_URLis optional in the environment for custom endpoints, and should not have a trailing slash if provided.- Node.js must be installed in the workspace environment.
- Install dependencies once with
npm installfrom the workspace root.
When To Use
- The user asks to generate a new image from a text prompt.
- The user asks to modify, restyle, extend, or otherwise edit one or more existing images.
- The user wants the generated image saved to a workspace file.
- The task should be handled through a reusable OpenClaw skill instead of ad hoc SDK code.