A Claude Code skill that generates images from markdown prompts, uploads them to Cloudinary, and returns optimized CDN URLs. Composes the gemini-api-dev and cloudinary skills for an end-to-end pipeline.
skillsmith install smith-horn/image-pipelineOr manually copy SKILL.md to ~/.claude/skills/image-pipeline/SKILL.md.
- Reads a markdown file containing image prompt descriptions
- Generates images via Google Gemini API
- Uploads generated images to Cloudinary with automatic optimization
- Returns
f_auto,q_autoCDN URLs ready for use in blog posts or docs - Composes
gemini-api-devandcloudinaryskills automatically
Trigger the skill with /image-pipeline or describe what you need:
/image-pipeline Generate illustrations for my blog post at docs/blog/my-article.md
The skill will ask for:
- Markdown file path containing image prompts
- Article slug (used for Cloudinary folder naming)
- Optional style or brand guide
- Output directory for generated metadata
Then it runs the full pipeline autonomously and returns Cloudinary URLs.
| Variable | Description |
|---|---|
GEMINI_API_KEY |
Google Gemini API key for image generation |
CLOUDINARY_URL |
Cloudinary connection string (cloudinary://key:secret@cloud_name) |
Secrets are injected via Varlock — never exposed in terminal output.
| Type | Values |
|---|---|
| Explicit | /image-pipeline, /gen-images |
| Keywords | generate blog images, image pipeline, create blog illustrations, generate images from markdown, image prompts to cloudinary |