Free FLUX 2 Klein 4b API via Cloudflare Workers AI with 10,000 daily free Neurons. Zero setup fee, no credit card required.
FLUX.2 [klein] is an ultra-fast, distilled image model. It unifies image generation and editing in a single model, delivering state-of-the-art quality enabling interactive workflows, real-time previews, and latency-critical applications.
Cloudflare Workers AI gives every free account 10,000 Neurons/day (~10k tokens, dozens of image generations, or audio transcriptions). Sign in with GitHub with no credit card required and call via Workers bindings or the REST API.
Cloudflare Workers AI gives every free account 10,000 Neurons per day (about 10k Tokens a day, dozens of image generations, or several audio transcriptions). No overseas credit card is required. One-click GitHub sign-in is supported, and you can call models worldwide at low latency through a Workers binding or the unified REST API.
FLUX.2 [klein] is an ultra-fast, distilled image model. It unifies image generation and editing in a single model, delivering state-of-the-art quality enabling interactive workflows, real-time previews, and latency-critical applications.
Call it directly with your own Cloudflare Account ID and an API Token that has Workers AI permission. Standard REST endpoints are supported, and you can also paste the key into this site's Playground to try it online.
Chat with free AI models right in your browser — multi-turn conversations, switch models mid-chat, and your API key stays in this browser.
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/@cf/black-forest-labs/flux-2-klein-4b \
-H "Authorization: Bearer $CF_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A futuristic city in cyberpunk style, highly detailed 8k",
"steps": 4
}' --output image.jpg
Community Feedback
Comments are tied to your GitHub account — sign in to join the discussion.