+
Skip to content

Zopsss/ImageGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ImageGenerator

This is a React + Django Image Generator project which uses OpenAI's API to generate 3 images based on user's prompt and displays them to the frontend. It uses React, Tailwind CSS in frontend and Django, Django Rest Framework, OpenAI Dall-E API, Django Cors Headers in backend.

Setup

Frontend

cd frontend
npm install
npm run dev

Backend

Create a .env file in the root of backend folder with API_KEY variable and add your Dall-E API key there.

cd backend
pip install -r requirements.txt
python manage.py runserver

NOTE: Make sure to start both servers ( backend & frontend ) before running the project otherwise it will give errors.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载