This is a submission for the Cloudflare AI Challenge.
What I Built
I have build a simple cloudfare worker application that randomly generated quote with nice looking image for background base on openchat-3.5-0106
and dreamshaper-8-lcm
models.
Demo
https://cloudfareworkers.infoaselalk.workers.dev/
My Code
https://github.com/zaselalk/animal-inspired-ai-quote
Journey
Building this application was an amazing journey for me, I have learn lot about different type of cloudflare services including Cloudflare workers, R2 and more echo system that provided by Cloudflare for developers.
Even though I'm not using all those services provided by Cloudflare, to what I build, I learn lot about them by when I go through the documentation.
I also go through the video published by Cloudflare then I have studies several sample application provided in the example and as well as the project on Github.
Video : https://youtu.be/H7Qe96fqg1M?si=jKhlzvjaigrPV3an
I also did experiment with hono framework as well, then I started building the application which make me struggle few hours due to internet connection issues, the npm refuse to install packages on my local machine abut luckily Github codespace save my day.
First I tried to develop AI post drafted application and but when I try different models, I realized these models are well suited for short text generation, after hours of testing different models I selected the openchat-3.5-0106
model and then try with text to image models as well, The model of dreamshaper-8-lcm
is fine for me.
Then I release app with some basic design and share with my friends to take some feedback, the feedback was positive and then some of them are asking about the feature of selecting animal, which I planned to add as next update.
Multiple Models and/or Triple Task Types
I have use two models to achive the quote creation task
-
openchat-3.5-0106
for text generation -
dreamshaper-8-lcm
for image generation
there are some other quotes generated by application, try your self as well.
Top comments (2)
This is some interesting application. I tried out and it is helpful to generate Animal-Based Quotes easily.
Thank you. π₯