π Dreamify is a web application that allows you to generate images with AI π¨
π Over 500 generations!
Dreamify is a web application that allows you to generate images with AI. It uses the Stable Diffusion model to generate images. The model is run on cloud with Replicate.
Stable Diffusion is a deep learning, text-to-image model released in 2022. It is primarily used to generate detailed images conditioned on text descriptions, though it can also be applied to other tasks such as inpainting, outpainting, and generating image-to-image translations guided by a text prompt.
This Diffusion Model is run on cloud with Replicate. Replicate is a platform for running and sharing machine learning models. Dreamify uses the Replicate API to run the model.
Dreamify is built with Tailwind CSS. Components like the Buttons, Inputs, Modals and Progress Bar are developed with Shadcn/ui, a collection of re-usable components built using Radix UI.
Dreamify is deployed on Vercel.
Dreamify is built with Next.js 13.2, React and Tailwind CSS.
Since it's the latest build of Next.js, it uses many of the new features like Image Component, File System Routing and Incremental Static Regeneration.
If you want to run Dreamify locally, after clone this repository and run the following commands:
# Install dependencies
npm install
# Create .env.local
touch .env.local
In order to run Stable Diffusion model, you need to create an account on Replicate and get your API Key.
Then, add the following environment variables to .env.local
:
REPLICATE_API_TOKEN="YOUR_API_KEY"
And that's it! Now you can run the following command to start the development server:
npm run dev
Dreamify is an open source project.
If you want to be the author of a new feature, fix a bug or contribute with something new.
Fork the repository and make changes as you like. Pull requests are warmly welcome.
Distributed under the MIT License.
See LICENSE
for more information.