Build an AI Image Generator Playground (Part 1)

Last updated Oct 13, 2025 The new flux models on Workers AI are our most powerful text-to-image AI models yet. In this video, we show you how to deploy your own Workers AI Image Playground in just a few minutes.

There are many businesses being built on top of AI image generation models. Using Workers AI, you can get access to the best models in the industry without having to worry about inference, ops, or deployment. We provide the API for AI image generation, and in a couple of seconds get an image back.

Refer to the AI Image Playground GitHub repository ↗︎ to follow along locally.

<details>

<summary>

Video series

</summary>

  • <a href="https://developers.cloudflare.com/workers-ai/guides/tutorials/image-generation-playground/image-generator-flux/">Build an AI Image Generator Playground (Part 1)</a>
  • <a href="https://developers.cloudflare.com/workers-ai/guides/tutorials/image-generation-playground/image-generator-flux-newmodels/">Add New AI Models to your Playground (Part 2)</a>
  • <a href="https://developers.cloudflare.com/workers-ai/guides/tutorials/image-generation-playground/image-generator-store-and-catalog/">Store and Catalog AI Generated Images with R2 (Part 3)</a>

</details>

Was this helpful?

YesNo

Build an AI Image Generator Playground ( - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/workers-ai/guides/tutorials/image-generation-playground/image-generator-flux/#page","headline":"Build an AI Image Generator Playground (Part 1)","description":"The new flux models on Workers AI are our most powerful text-to-image AI models yet. Using Workers AI, you can get access to the best models in the industry without having to worry about inference, ops, or deployment.","url":"https://developers.cloudflare.com/workers-ai/guides/tutorials/image-generation-playground/image-generator-flux/","inLanguage":"en","image":"https://developers.cloudflare.com/workers-ai/guides/tutorials/image-generation-playground/image-generator-flux/og.png?v=bdb625e8833538b7","dateModified":"2025-10-13","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["AI","TypeScript"]}


description: In part 2, Kristian expands upon the existing environment built in part 1, by showing you how to integrate new AI models and introduce new parameters that allow you to customize how images are generated. title: Add New AI Models to your Playground (Part 2) image: https://developers.cloudflare.com/workers-ai/guides/tutorials/image-generation-playground/image-generator-flux-newmodels/og.png?v=f7903f5b12d44e66


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/workers-ai/llms.txt
Use this file to discover all available pages before exploring further.