Generates AI images, stickers, icons, and seamless textures via multiple models (GPT Image 2, Gemini, SiliconFlow Qwen-Image). Useful for creating or editing visual assets.
Ships in hairyf-skills-4. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Generate images through scripts/imagine.js, a zero-dependency Node.js CLI (Node 18+, no npm install) backed by multiple providers. It saves images to disk and prints the absolute paths.
# Generate an image
node scripts/imagine.js "a retro synthwave poster, neon grid, 80s style" -o poster.png
# Edit an existing image
node scripts/imagine.js "add a red balloon in the sky" -e photo.png -o edited.png
# Multi-step session: keep context across calls (design first, then its three views)
node scripts/imagine.js "a cute robot mascot, front view, flat vector style" --session mascot -o design.png
node scripts/imagine.js "draw its three views (front, side, back) from the same design" --session mascot -o views.png
# Clean up the session cache when the workflow is done
node scripts/imagine.js --clear mascot
Priority for general images: GPT Image 2 (gpt-image-2) → Nano Banana (gemini-2.5-flash-image) → SiliconFlow Qwen-Image (Qwen/Qwen-Image) → OpenAI GPT Image (gpt-image-1). When a provider has no API key, fall back to the next configured one.
| Asset | Recommended models (priority order) |
|---|---|
| Images / posters | gpt-image-2 → gemini-2.5-flash-image → Qwen/Qwen-Image → gpt-image-1 |
| Stickers / icons / logos | Ideogram 3.0 (transparent) → gpt-image-1.5 / gpt-image-2 with --background transparent -f png → FLUX.2 pro |
| Seamless textures | Z-Image Turbo Tiling (fal.ai) → FLUX.2 pro → any strong model with a strict tiling prompt |
Specialist models outside the script's providers (Ideogram, fal tiling) are called through their own APIs; imagine.js covers OpenAI, SiliconFlow, Gemini, and OpenAI-compatible relays.
--background transparent -f png (never jpeg); phrase stickers as "die-cut sticker, thick white border, bold clean shapes".--aspect 16:9; OpenAI/SiliconFlow via -s WxH (Qwen native sizes like 1328x1328, 1664x928).Qwen/Qwen-Image / Nano Banana or -q low, render finals on gpt-image-2 with -q high; --seed for reproducible output.| When | Reference |
|---|---|
| Full CLI arguments, session details, exit codes | core-usage |
| First run with no API key configured (env keys, AGENTS.md merge) | core-setup |
| Debugging the pipeline or editing the scripts | core-script |
AGENTS.md (opens in a new tab)references/core-script.md (opens in a new tab)references/core-setup.md (opens in a new tab)references/core-usage.md (opens in a new tab)scripts/imagine.js (opens in a new tab)scripts/lib/config.js (opens in a new tab)scripts/lib/env.js (opens in a new tab)scripts/lib/http.js (opens in a new tab)scripts/lib/output.js (opens in a new tab)scripts/lib/providers.js (opens in a new tab)scripts/lib/session.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ai-image-generation, asset-creation, textures, stickers, multi-model
/hairyf-skills-4:imaginefrom hairyf-skills-4
hairyf-skills-4@cascade-code-languages-misc-1 is listed by joshuarweaver/cascade-code-languages-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin hairyf-skills-480 skills in this plugin
/animeAnime.js v4 - A fast, multipurpose and lightweight JavaScript animation library. Use when creating animations, timelines, draggable interactions, SVG animations, text effects, or working with CSS properties, DOM attributes and JavaScript objects./antfuAnthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences./arch-nuxtVitesse-style Nuxt 4 starter with Vite, UnoCSS, Pinia, VueUse, PWA. Use when scaffolding or maintaining a Nuxt app with this stack.Other plugins' skills for the same job