tyrchen/claude-skills/ai-image
Claude Code and agent skill by tyrchen/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate AI images using OpenAI's gpt-image-1 model with customizable aspect ratios and artistic themes. Use when the user wants to create images, generate artwork, or mentions image generation with specific styles like Ghibli, futuristic, Pixar, oil painting, or Chinese painting.
Install
npx vskill@latest install tyrchen/claude-skills/ai-imageSKILL.md
The same SKILL.md was published earlier as diegosouzapw/awesome-omni-skill/ai-image.
AI Image Generation Skill
Generate high-quality AI images using OpenAI's gpt-image-1 model with customizable styles and themes.
When to Use This Skill
Use this skill when the user wants to:
- Generate images from text descriptions
- Create artwork with specific artistic styles
- Generate images with particular aspect ratios (vertical, horizontal, square)
- Apply themed visual styles (Studio Ghibli, futuristic, Pixar, oil painting, Chinese painting)
Instructions
- Check for API Key: Verify that the OPENAI_API_KEY environment variable is set
- Gather Requirements: Ask the user for:
- Image prompt (required)
- Style/aspect ratio: vertical (1024x1536), horizontal (1536x1024), or square (1024x1024)
- Theme: ghibli, futuristic, pixar, oil-paint, or chinese-paint (optional)
- Output location (optional, defaults to ./generated_image.png)
- Run the CLI: Execute the main.py script with the appropriate parameters
- Report Results: Show the user where the image was saved and any relevant details
Available Options
Aspect Ratios (--style)
vertical: 1024x1536 pixels (portrait orientation)horizontal: 1536x1024 pixels (landscape orientation)square: 1024x1024 pixels (default)
Artistic Themes (--theme)
ghibli: Studio Ghibli animation style with whimsical, dreamlike aestheticsfuturistic: Sci-fi style with sleek designs and neon lightspixar: Vibrant 3D animation style with expressive charactersoil-paint: Classical oil painting with rich textures and brushstrokeschinese-paint: Traditional Chinese ink painting with delicate brushwork
Usage Examples
Basic Usage
With Style and Theme
Futuristic Portrait
Studio Ghibli Landscape
Setup Requirements
This skill requires an OpenAI API key with access to the gpt-image-1 model:
Note: Using gpt-image-1 requires organization verification on the OpenAI platform.
Technical Details
- Model: OpenAI gpt-image-1 (released April 2025)
- Response Format: Base64 encoded images (b64_json)
- Supported Sizes: 1024x1024, 1024x1536, 1536x1024
- Maximum Resolution: Up to 4096x4096 pixels
- Dependencies: openai>=2.7.1
Pricing Information
Usage is priced per token:
- Text tokens: $5 per million
- Image input tokens: $10 per million
- Image output tokens: $40 per million
Approximate costs per generated image:
- Low quality square: ~$0.02
- Medium quality square: ~$0.07
- High quality square: ~$0.19
Troubleshooting
API Key Not Set
If you see "Error: OPENAI_API_KEY environment variable not set", ensure your API key is exported in your shell session.
Organization Not Verified
gpt-image-1 requires organization verification on platform.openai.com. Visit your OpenAI account settings to complete verification.
Invalid Size Error
Ensure you're using one of the supported sizes: 1024x1024, 1024x1536, or 1536x1024.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingai-image/SKILL.md
Popularity
- Repository stars
- 45
- Repository forks
- 11
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tyrchen/claude-skills/ai-image)