Install
openclaw skills install gemini-nano-imagesGenerate ultra-realistic images and Instagram content using Gemini 2.0 Flash Experimental. Use when creating photorealistic images, social media content, or visual assets for Instagram workflows. Supports standalone image generation and complete Instagram post creation (image + caption).
openclaw skills install gemini-nano-imagesGenerate ultra-realistic, photorealistic images using Google's Gemini 2.0 Flash Experimental model with native image generation capabilities.
export GEMINI_API_KEY="your-api-key-here"
Get your API key at: https://aistudio.google.com/app/apikey
python3 scripts/generate_image.py "A cozy family breakfast scene with warm morning light"
python3 scripts/generate_instagram_post.py "Morning routine with kids" --mood cozy
Creates ultra-realistic images from text prompts.
Usage:
python3 scripts/generate_image.py "PROMPT" [options]
Options:
-o, --output DIR - Output directory (default: current)-k, --api-key KEY - Gemini API key--style {realistic,artistic,minimal} - Style presetExample:
python3 scripts/generate_image.py "Father reading bedtime story to child" -o ~/images
Creates complete Instagram posts: image + caption.
Usage:
python3 scripts/generate_instagram_post.py "TOPIC" [options]
Options:
-m, --mood MOOD - Post mood: inspiring, cozy, energetic, calm, family, productive-o, --output DIR - Output directory (default: ~/.openclaw/workspace/assets)-k, --api-key KEY - Gemini API keyExample:
python3 scripts/generate_instagram_post.py "Organized family calendar" --mood productive
| Mood | Description |
|---|---|
inspiring | Uplifting, motivational, golden hour |
cozy | Warm, comfortable, soft lighting |
energetic | Vibrant, dynamic, bright colors |
calm | Peaceful, serene, soft pastels |
family | Loving family moments, candid |
productive | Organized, clean, modern aesthetic |
~/.openclaw/workspace/assetsGenerated content can be directly used with the Social Media Suite:
Generate content:
python3 scripts/generate_instagram_post.py "Weekend family adventure"
Results saved to assets folder, ready for posting
Use with instagram-poster or instagrapi workflow
Für 1-2 Wochen nur Stockfotos posten (keine KI-Generierung):
# Stock-Only Mode für 14 Tage aktivieren
cd ~/.openclaw/workspace/skills/ig-automation
python3 smart_poster_v4.py --set-mode stock_only --stock-days 14
# Stockfotos in Ordner legen
mkdir -p assets/stock
cp ~/deine-stockfotos/*.jpg assets/stock/
# Jetzt werden nur Stockfotos gepostet (zufällige Auswahl, keine Doppelungen)
python3 smart_poster_v4.py
# Nach 14 Tagen automatischer Wechsel zu "auto" (KI + Stock)
Modes:
auto - Bevorzugt KI, Fallback zu Stockstock_only - Nur Stockfotos aus assets/stock/ai_only - Nur KI-generierte BilderWichtig: Bei Stockfotos kein Wasserzeichen (Logo) - sieht authentischer aus!
pip install google-genai
See references/gemini_api.md for API details.