skills/skills.volces.com/gemini-image-generation

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_KEY must be available in the environment.
  • GEMINI_MODEL_ID must 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_URL is 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 install from 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.
Installs
8
First Seen
Mar 25, 2026