DEV Community

Raunaq Chawhan
Raunaq Chawhan

Posted on

PicsTweakr

This is a submission for the Cloudflare AI Challenge.

What I Built

I've tried to come up with a simple fun app as this was my first interaction with using AI.

Demo

The app can be tested out at: https://picstweakr.pages.dev/

Image description

My Code

The code can be found here: https://github.com/RaunaqChawhan/picstweakr

Journey

The journey of building this app was fun. It was more of exploring the various models provided by Cloudfare and it was very well documented on how to utilize the models.
This app basically requires a user to upload an image and based on that image, the various AI models will generate images, generate a description and a creative short story of that image.

Multiple Models and/or Triple Task Types
I've used the following models to come up with the app:
"@cf/unum/uform-gen2-qwen-500m" - this model will provide a detailed description of the image uploaded.

"@cf/lykon/dreamshaper-8-lcm" - this model will generate new images based on description.

"@cf/meta/llama-2-7b-chat-fp16" - this model will create a short creative story based on the description of the original image uploaded by user.

Top comments (0)