> For the complete documentation index, see [llms.txt](https://rpeltz.gitbook.io/portfolio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rpeltz.gitbook.io/portfolio/projects/hackathon-projects/dev.to-cloudflare-ai-challenge-recipe-generator.md).

# Dev.to Cloudflare AI Challenge: Recipe Generator

<figure><img src="https://320946203-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsIsDrn266jEHtiYlP71n%2Fuploads%2FwsDlBVPLNocpBYwllXAN%2Fhummingbird-cake.png?alt=media&amp;token=dcea697d-1ae1-4476-acea-4237e9cd27ff" alt=""><figcaption><p>Cloudflare Generative AI Dev.to Hackathon</p></figcaption></figure>

[Code](https://github.com/rebeccapeltz/sandbox-react-cld)

### Description

[Dev.to](https://dev.to/) is a website where developers use blogs to share ideas and code.  Dev.to sponsors hackathons with its partners.

I created a web application that shares text and pictures for recipes. I used Cloudflare models to generate streaming text for the recipe and an image generator to visualize what the recipe might produce.

### Tools/Technology

This application was created for a [dev.to challenge](https://dev.to/challenges/cloudflare). It uses two Cloudflare models that were available at the time:&#x20;

* Chat: @hf/thebloke/llama-2-13b-chat-awq
* Image Generator: @cf/bytedance/stable-diffusion-xl-lightning
