ScapeGen is an image generation tool that leverages DALL-E 3 to produce images in different aspects: landscape, portrait, and square. It's handy for quickly generating visuals for presentations and mockups.
- Dynamic Image Generation: Generate images on the fly based on user input.
- Multiple Aspect Ratios: Supports landscape, portrait, and square images to fit various presentation formats.
- User-friendly Interface: Simple and intuitive UI, allowing for seamless operation.
- Download Capability: Easily download the generated images for offline use.
This project is built with a modern tech stack, chosen for performance and scalability:
- Vanilla JavaScript (ES6+): For the core functionality of the application.
- OpenAI's DALL-E 3: For image generation.
- CSS: For styling the application.
To get a local copy up and running, follow these simple steps.
Ensure you have the latest version of npm installed:
npm install npm@latest -g
- Clone the repo
git clone https://github.com/your_username_/ScapeGen.git
- Install NPM packages
npm install
- Enter your API key in
.env
VITE_OPENAI_API_KEY = 'ENTER YOUR API';
To use ScapeGen, follow these steps:
-
Run the application:
npm start
-
Navigate to
http://localhost:5173/
(or the configured port). -
Enter your image generation prompt, select the desired size and style, and hit the "Create" button.
-
Wait for the image to be generated and displayed on the screen.
-
Use the "Download" button to save the image locally.