
gemini-image
Generate images using AI when user wants to create pictures, draw, paint, or generate artwork. Supports text-to-image and image-to-image generation.
Generate images using AI when user wants to create pictures, draw, paint, or generate artwork. Supports text-to-image and image-to-image generation.
Gemini Image Generation
Use this skill when user expresses intent to generate images (e.g., "draw a...", "generate an image...", "create a picture...").
Steps
1. Read Configuration
- Read
config/secrets.mdto get API Key
2. Construct Prompt
| Mode | Prompt Format | Example |
|---|---|---|
| Text-to-Image | description text |
a cute orange cat |
| Image-to-Image | image_URL description |
https://xxx.jpg draw similar style |
| Multi-Image Reference | URL1 URL2 description |
https://a.jpg https://b.jpg merge these two |
For image-to-image, upload local images first. See tips/image-upload.md.
3. Call API
curl -s -X POST "https://api.apicore.ai/v1/images/generations" \
-H "Authorization: Bearer API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "model_name",
"prompt": "prompt_text",
"size": "aspect_ratio",
"n": 1
}'
4. Return Result
Extract data[0].url from response and return to user.
Reference Docs
tips/image-upload.md- Image upload methodstips/chinese-text.md- Chinese text handling tips
You Might Also Like
Related Skills

songsee
Generate spectrograms and feature-panel visualizations from audio with the songsee CLI.
moltbot
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."
anthropics
algorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
anthropics
brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
anthropics
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
anthropics
canvas-design
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
anthropics