image-gen
Generate images using fal.ai Nano Banana Pro API. Use this skill when you need to create a featured image for blog content.
$ Installieren
git clone https://github.com/vm0-ai/vm0-cookbooks /tmp/vm0-cookbooks && cp -r /tmp/vm0-cookbooks/204-content-farm/claude-content-farm/skills/image-gen ~/.claude/skills/vm0-cookbooks// tip: Run this command in your terminal to install the skill
SKILL.md
name: image-gen description: Generate images using fal.ai Nano Banana Pro API. Use this skill when you need to create a featured image for blog content.
Image Generator (Nano Banana Pro)
This skill generates high-quality images using the fal.ai Nano Banana Pro API (powered by Google Gemini 3 Pro Image).
When to Use
Use this skill when:
- Creating a featured image for a blog post
- Need a visual representation of the article topic
- Want to generate custom illustrations for content
Prerequisites
The FAL_KEY environment variable must be set with your fal.ai API key.
How to Use
Execute the script with a prompt describing the desired image:
/home/user/.claude/skills/image-gen/scripts/image-gen.sh "prompt" [aspect_ratio] [resolution]
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
| prompt | Yes | - | Text description of the image to generate |
| aspect_ratio | No | 16:9 | Image aspect ratio (1:1, 16:9, 4:3, 9:16, etc.) |
| resolution | No | 1K | Image resolution (1K, 2K, 4K) |
Examples
# Generate a blog header image with default settings
/home/user/.claude/skills/image-gen/scripts/image-gen.sh "Modern AI technology concept, neural networks and data visualization, blue and purple gradient, clean professional style" "16:9" "1K"
# Generate a square image for social media
/home/user/.claude/skills/image-gen/scripts/image-gen.sh "Modern tech startup office with developers" "1:1"
# Generate a high-resolution vertical image
/home/user/.claude/skills/image-gen/scripts/image-gen.sh "Abstract neural network visualization" "9:16" "2K"
Output
- Images are saved to
/tmp/images/generated_[timestamp].png - The script outputs the file path upon completion
- Image URL from fal.ai is also displayed (use this URL for Dev.to cover images)
Prompt Guidelines
For best results when creating blog featured images:
- Describe the article's main theme visually
- Include style hints: "modern", "professional", "tech-style", "digital art", "photorealistic", "minimalist"
- Specify colors that match the topic mood
- Add "professional", "clean", "modern" for business content
Example prompt for an AI article:
"Modern AI technology concept, neural networks and data visualization, blue and purple gradient, clean professional style"
Copying Output for Publishing
After generating the image, copy it to the output folder:
mkdir -p /home/user/workspace/output
cp /tmp/images/generated_*.png /home/user/workspace/output/featured.png
Response Format
The fal.ai API returns:
{
"images": [{
"url": "https://storage.googleapis.com/...",
"width": 1920,
"height": 1080,
"content_type": "image/png"
}]
}
Use the url field directly as the cover image URL when publishing to Dev.to.
Pricing
- 1K resolution: ~$0.15 per image
- 2K resolution: ~$0.15 per image
- 4K resolution: ~$0.30 per image
Repository

vm0-ai
Author
vm0-ai/vm0-cookbooks/204-content-farm/claude-content-farm/skills/image-gen
4
Stars
1
Forks
Updated2d ago
Added6d ago