Skill
Cloudflare Image Generation (Free)
AI image generation via Cloudflare Workers AI (free tier, FLUX models) with optional prompt enhancement via Ollama or the primary LLM agent. Use when generat...
When to use Cloudflare Image Generation (Free)
Choose if
You want agent-driven text-to-image generation on Cloudflare Workers AI (FLUX-schnell, FLUX-dev, SDXL, dreamshaper) with optional Ollama prompt enhancement, at zero cost on the free 10K neurons/day tier. Useful when an agent needs image assets in a Claude-Code or OpenClaw workspace and you already have a Cloudflare account.
Avoid if
You need production-grade image generation with no rate limits, custom model fine-tuning, or enterprise content-filter overrides โ the free tier and content filters make this unsuitable for high-volume or unrestricted workloads. Also avoid if you can't or won't set up Cloudflare Workers AI credentials.
Risk Flags
- MEDIUM rate_limit Free tier capped at roughly 10K neurons/day on Cloudflare Workers AI; hitting it returns HTTP 429 and requires waiting before retrying.
- MEDIUM auth Requires CF_WORKERS_AI_TOKEN and CF_WORKERS_AI_ACCOUNT stored at ~/.openclaw/workspace/ACCESS/cloudflare-workers-ai.env; agents without these credentials can't call the skill.
- LOW data_quality Cloudflare content filters may block prompts and return no image despite a successful API response; Ollama prompt-enhancement gracefully degrades to the original prompt when Ollama is unavailable.
Cost
Type: Freemium ยท Free tier: Free tier on Cloudflare Workers AI grants roughly 10,000 neurons per day; exceeding it returns HTTP 429 until reset.
Hidden costs
- Requires a Cloudflare account and Workers AI access token; paid Cloudflare Workers AI usage above the free tier bills against the user's Cloudflare account (not disclosed in this skill's README).
Dependencies
Minimum runtime: Node.js 18+
Distribution
- ClawHub
cf-img-gen