Text 2 Image Generation with Analog & Cloudflare Worker AI

Text 2 Image Generation with Analog & Cloudflare Worker AI

This is a submission for the Cloudflare AI Challenge.

What I Built

This is simple app where you generate images from text input.

Demo

Demo link: https://cloudflare-challange.pages.dev/

My Code

You can check my code at: https://github.com/dalenguyen/cloudflare-challenge

Journey

This is an interesting challenge since I haven’t used CloudFlare Pages to deploy web applications. Turns out that, the deployment process is really straightforward and can be done via Cloudflare dashboard.

Another thing is that this’s done with Analog – a full-stack Angular meta framework which means that you create an entire application with full support from backend.

Here is the stack detail:

Analog
Nx Workspace
Github
Cloudflare Pages
Worker AI

@cf/bytedance/stable-diffusion-xl-lightning for text to image model generation

Leave a Reply

Your email address will not be published. Required fields are marked *