JSPM

@astraler/generate-image-skill

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q87328F
  • License MIT

Astraler image generation skill for Claude Code — generates high-quality images using Google Gemini / Imagen 3 API

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@astraler/generate-image-skill) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @astraler/generate-image-skill

    Astraler's image generation skill for Claude Code — generates high-quality images using Google Gemini / Imagen 3 API

    npm version

    Installation

    npx skills add @astraler/generate-image-skill

    The skills CLI will guide you through the installation interactively — asking whether to install globally (~/.claude/skills/) or at project level (.claude/skills/).

    Update

    npx skills update @astraler/generate-image-skill

    Uninstall

    npx skills remove @astraler/generate-image-skill

    Configuration

    After installation, set your Gemini API key:

    nano ~/.claude/skills/astraler-generate-image/.env
    # Set: GEMINI_API_KEY=your_key_here

    Get a free API key at: https://aistudio.google.com/app/apikey


    Usage

    After configuration, talk to Claude Code:

    "Astraler tạo ảnh một thành phố cyberpunk về đêm"
    "nhờ Astraler vẽ ảnh núi tuyết, tỷ lệ 16:9"
    "dùng Astraler generate image of a coffee shop logo"
    "Astraler draw me an anime portrait"

    Note: This skill only activates when you say "Astraler" — generic image requests use the platform's built-in tool.


    Available Models

    Model Quality Notes
    imagen-3.0-generate-002 ⭐⭐⭐⭐⭐ Default, highest quality
    gemini-2.0-flash-exp ⭐⭐⭐ Faster, experimental

    Supported Aspect Ratios

    1:1 · 16:9 · 9:16 · 4:3 · 3:4


    Requirements

    • Python 3.8+
    • Gemini API Key (free tier available)

    License

    MIT