askill
gemini-image

gemini-imageSafety 70Repository

Generate images using AI when user wants to create pictures, draw, paint, or generate artwork. Supports text-to-image and image-to-image generation.

6 stars
1.2k downloads
Updated 1/23/2026

Package Files

Loading files...
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

ModePrompt FormatExample
Text-to-Imagedescription texta cute orange cat
Image-to-Imageimage_URL descriptionhttps://xxx.jpg draw similar style
Multi-Image ReferenceURL1 URL2 descriptionhttps://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 methods
  • tips/chinese-text.md - Chinese text handling tips

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

82/100Analyzed 2/18/2026

Well-structured image generation skill with clear steps, trigger section, and actionable API examples. Good reusability as a general-purpose tool.

70
85
85
75
80

Metadata

Licenseunknown
Version-
Updated1/23/2026
Publisheracking-you

Tags

apiprompting