image-anton-abyzov-specweave
Generate AI images from text prompts. Supports Google Gemini (free) and Pollinations.ai (free). Use when generating images, creating visuals, AI art, text-to-image, image generation, create picture, make illustration, generate photo.
npx skills add majiayu000/claude-skill-registry --skill image-anton-abyzov-specweave --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Image Generation Skill Generate images from text prompts using AI models. Uses a 3-tier fallback chain to maximize reliability. ## Provider Fallback Chain (Follow This Order) ``` Tier 1: Gemini Native (FREE) ─── gemini-2.5-flash-image ──┐ ↓ on error │ gemini-3-pro-image-preview ────────────────────────┤ ↓ on error │ Tier 2: Pollinations.ai (FREE, no key) ───────────────────┤ ↓ on error │ Tier 3: Imagen 4 (PAID, billing required) ────────────────┘ ``` **Key**: Gemini native models generate images via the same `generateContent` API used for text - they're FREE with a daily quota. Imagen 4 uses a separate paid `:predict` endpoint. ## Workflow ### Step 1: Parse User Request Extract from the user's prompt: - **Subject**: What to generate (e.g., "a sunset over mountains") - **Style**: Photorealistic, illustration, painting, etc. (default: photorealistic) - **Output path**: Where to save (default: `./generated-media/`) - **Count**: How many images (default: 1) ### Step 2: Prepare Output Directory ```bash mkdir -p ./generated-media ``` ### Step 3: Load API Key from .env ```bash # Source .env if it exists (for GEMINI_API_KEY) if [ -f .env ]; then export $(grep -E '^GEMINI_API_KEY=' .env |
- Provider Fallback Chain (Follow This Order)
- Workflow
- Step 1: Parse User Request
- Step 2: Prepare Output Directory
- Step 3: Load API Key from .env
- Step 4: Generate Image (Fallback Chain)
- Step 5: Verify Output
- Step 6: Report Result
- Error Handling
- Setup Instructions (Show When No API Key Found)
- Activation Keywords
mkdir -p ./generated-media Source .env if it exists (for GEMINI_API_KEY) if [ -f .env ]; then export $(grep -E '^GEMINI_API_KEY=' .env | xargs) fi Also check parent dirs (monorepo support) if [ -z "$GEMINI_API_KEY" ] && [ -f ../.env ]; then export $(grep -E '^GEMINI_API_KEY=' ../.env | xargs) if [ -n "$GEMINI_API_KEY" ]; then for MODEL in "gemini-2.5-flash-image" "gemini-3-pro-image-preview"; do
What does the image-anton-abyzov-specweave skill do?
Generate AI images from text prompts. Supports Google Gemini (free) and Pollinations.ai (free). Use when generating images, creating visuals, AI art, text-to-image, image generation, create picture, make illustration, generate photo.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill image-anton-abyzov-specweave --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
