PhotoTweak is a web application that allows you to edit photos from text commands. It uses styleclip from Replicate to generate images. It is bootstrapped with the create-next-app.

PhotoTweak

Tech Stack

Features

  • Upload photos to cloudinary and delete them programmatically
  • Edit photos from text commands

Installation

1. Clone the repository

git clone https://github.com/sadmann7/photo-tweak.git

2. Install dependencies

yarn install

3. Create a .env file

Create a .env file in the root directory and add the environment variables as shown in the .env.example file. You can get the Replicate API key from here. You need to create an account if you don't have one. Cloudinary credentials can be obtained from here.

4. Run the application

yarn run dev

The application will be available at http://localhost:3000.

Deployment

The easiest way to deploy the Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out the Next.js deployment documentation for more details.