#Getting setup
1 messages · Page 1 of 1 (latest)
Easiest way in OpenClaw is to enable a bundled image-gen skill and drop in an API key. Two common routes:
Option A (usually the smoothest): nano-banana-pro (Gemini image API)
- Install the one required binary:
uv(Python runner). - Add your Gemini key in
~/.openclaw/openclaw.json:
{
skills: {
entries: {
"nano-banana-pro": {
enabled: true,
apiKey: "YOUR_GEMINI_API_KEY"
}
}
}
}
- Start a new chat/session (or restart the gateway), then ask something like:
“Generate a simple black-and-white worksheet illustration of a frog life cycle. No text. Clean line art. White background.”
That skill’s script prints a MEDIA: line, so OpenClaw will typically auto-attach the generated image back into chat.
Docs: https://docs.openclaw.ai/tools/skills
Config: https://docs.openclaw.ai/tools/skills-config
Option B: openai-image-gen (OpenAI Images API)
- Requires
python3+OPENAI_API_KEYset (same idea: put it underskills.entriesinopenclaw.json). - It’s more “batch/gallery”-oriented, but works fine if you already have an OpenAI key.