Agent skill

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.

Stars 6
Forks 1

Install this agent skill to your Project

npx add-skill https://github.com/acking-you/myclaude-skills/tree/main/skills/gemini-image

SKILL.md

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.md to 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

bash
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 methods
  • tips/chinese-text.md - Chinese text handling tips

Expand your agent's capabilities with these related and highly-rated skills.

acking-you/myclaude-skills

github-wrapped

Generate a verifiable GitHub Wrapped year-in-review as a single-file HTML (raw gh API JSON saved, Python-built dataset embedded), with a Bilibili-style narrative, smooth transitions, and mobile-friendly paged mode. Requires gh CLI to be authenticated.

6 1
Explore
acking-you/myclaude-skills

codex-session-history

Search Codex local session history stored in SQLite and session_index.jsonl. Use this skill when the user wants to list, search, filter, or inspect locally saved Codex sessions by session id, provider, time range, preview text, thread name, or archived status.

6 1
Explore
acking-you/myclaude-skills

tech-impl-doc

Write precise technical implementation docs (developer or user) with clear structure, accurate flows, render-safe Mermaid diagrams, and audience-appropriate detail; avoid boilerplate; include a meaningful Code Index for developer docs.

6 1
Explore
acking-you/myclaude-skills

excalidraw

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.

6 1
Explore
acking-you/myclaude-skills

research

Structured web research with multi-source validation. Output reports with complete citation links. Focus on key results, verify information quality.

6 1
Explore
acking-you/myclaude-skills

gen-commit-msg

Generate concise commit messages based on conversation context and minimal git inspection.

6 1
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results