@tranthien/astraler-generate-image
v1.0.0
Published
Astraler image generation skill for Claude Code — generates high-quality images using Google Gemini / Imagen 3 API. Installs automatically to ~/.claude/skills/
Maintainers
Readme
astraler-generate-image
Astraler's image generation skill for Claude Code — generates high-quality images using Google Gemini / Imagen 3 API
Installation
One-line install (Recommended)
curl -fsSL https://raw.githubusercontent.com/tranthien/my-skills/main/astraler-generate-image/install.sh | bashInstalls automatically to ~/.claude/skills/astraler-generate-image/
Manual install (clone)
git clone https://github.com/tranthien/my-skills /tmp/my-skills
cp -r /tmp/my-skills/astraler-generate-image ~/.claude/skills/Update
Re-run the install command — existing .env config is preserved.
curl -fsSL https://raw.githubusercontent.com/tranthien/my-skills/main/astraler-generate-image/install.sh | bashUninstall
rm -rf ~/.claude/skills/astraler-generate-imageConfiguration (Required)
After installation, set your Gemini API key:
# Edit the .env file
nano ~/.claude/skills/astraler-generate-image/.env
# Set: GEMINI_API_KEY=your_key_hereGet a free API key at: https://aistudio.google.com/app/apikey
Usage
After installation and configuration, just talk to Claude:
"Astraler tạo ảnh một thành phố cyberpunk về đêm"
"nhờ Astraler vẽ ảnh, tỷ lệ 16:9"
"dùng Astraler generate image of a snowy mountain"
"Astraler draw me a logo for a coffee shop"
"tạo ảnh bằng Astraler phong cách anime"Note: This skill only activates when you say "Astraler" — generic image requests go to 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+ (no additional packages — stdlib only)
curlorwget(for install script)- Gemini API Key (free tier available)
License
MIT
