gemini-image
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
More from acking-you/myclaude-skills
article-cover
Generate professional article cover images as SVG files. Use when user wants to create cover/banner images for blog posts, technical articles, or documentation. Creates visually appealing covers with titles, diagrams, and tech-themed graphics.
16excalidraw
Generate hand-drawn style diagrams (architecture, flowcharts, system design) as .excalidraw.json files. Use when user wants diagrams, mentions Excalidraw, or needs Mermaid-to-visual conversion.
14tech-design-doc
Generate technical design documents with proper structure, diagrams, and implementation details. Default language is English unless user requests Chinese.
10gen-commit-msg
Generate concise commit messages based on conversation context and minimal git inspection.
9git-squash-commits
Squash multiple git commits into a single commit with an auto-generated comprehensive commit message based on the changes made.
9tech-blog
>-
8