Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cluesmith avatar

Generate Image

  • 92 installs
  • 283 repo stars
  • Updated August 5, 2026
  • cluesmith/codev

Generates images from text prompts via Google Gemini using the codev generate-image subcommand, with resolution, aspect-ratio, and reference-image options.

About

Generates images from text prompts through Google Gemini via a codev CLI subcommand. A developer uses it to create visual assets like logos, diagrams, or illustrations from a prompt.

  • Resolution (1K/2K/4K), aspect ratio, and up to 14 reference images
  • Requires GEMINI_API_KEY or GOOGLE_API_KEY

Generate Image by the numbers

  • 92 all-time installs (skills.sh)
  • Ranked #800 of 1,335 Generative Media skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cluesmith/codev --skill generate-image

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs92
repo stars283
Last updatedAugust 5, 2026
Repositorycluesmith/codev

What it does

Generates images from text prompts via Google Gemini using the codev generate-image subcommand, with resolution, aspect-ratio, and reference-image options.

Files

SKILL.mdMarkdownGitHub ↗

generate-image - AI Image Generation

Uses Google Gemini to generate images from text prompts.

Synopsis

codev generate-image "<prompt>" [options]

Note: this is a codev subcommand, not standalone.

All flags

-o, --output <file>        Output file path (default: output.png)
-r, --resolution <res>     Resolution: 1K, 2K, 4K (default: 1K)
-a, --aspect <ratio>       Aspect ratio (default: 1:1)
--ref <image>              Reference image (repeatable, max 14)

Aspect ratios

1:1 | 16:9 | 9:16 | 3:4 | 4:3 | 3:2 | 2:3

Examples

codev generate-image "A sunset over mountains"
codev generate-image "A futuristic city" -r 4K -a 16:9 -o city.png
codev generate-image "Same style but with cats" --ref style.png --ref layout.png
codev generate-image prompt.txt -o result.png    # Prompt from .txt file

Notes

  • Prompt must be quoted if it contains spaces
  • Prompt can be a .txt file path (auto-detected by extension)
  • Reference images must exist on disk
  • Requires GEMINI_API_KEY or GOOGLE_API_KEY environment variable

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.