This project leverages ML models to restore face photos and generate images from text using Stable Diffusion and Real Vision.
The toolkit uses GFPGAN for face restoration via Next.js API routes, allowing users to upload photos and get restored images. It also supports text-to-image generation.
Clone the repository:
git clone https://github.com/MrPutzi/design-ai-toolkit.git
cd design-ai-toolkit
Set up API keys:
Create an .env
file:
REPLICATE_API_TOKEN=your_replicate_api_token
Install dependencies:
npm install
Run the application:
npm run dev
Visit
http://localhost:3000.
Ensure environment variables are set correctly.
Check the console for error logs.
Fork the repository.
Create a new branch (git checkout -b feature/your-feature-name).
Commit your changes (git commit -am 'Add new feature').
Push to the branch (git push origin feature/your-feature-name).
Open a pull request.
Replicate Upload Vercel
MIT