Free Stable Diffusion V1 5 Inpainting API via Cloudflare Workers AI with 10,000 daily free Neurons. Zero setup fee, no credit card required.
Stable Diffusion Inpainting is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask.
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 a free quota of 10,000 Neurons per day (about 10k tokens a day, dozens of image generations, or several audio transcriptions). No overseas credit card is required, GitHub one-click sign-in is supported, and you can call it directly at low latency worldwide through a Workers binding or the unified REST API.
Stable Diffusion Inpainting is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, with the extra capability of inpainting the pictures by using a mask.
Use your own Cloudflare account Account ID and an API Token with Workers AI permission to call it directly. Standard REST endpoints are supported, and you can also paste the key into this site's Playground for live debugging.
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/runwayml/stable-diffusion-v1-5-inpainting \
-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.