DALL·E 3 Example Image Generation
This AI Image Generator is a React web application that interfaces with the OpenAI API to generate images based on user-provided prompts. It utilizes the DALL·E 3 model to create unique artwork from textual descriptions.
Features
- Generate images using manual text prompts.
- Predefined style and mood options to influence the image generation.
- Ability to download the generated images.
- Responsive UI for various devices.
Experimental Notice
This application is experimental and showcases the capabilities of OpenAI's DALL·E 3 API.
Prerequisites
Before running this application, make sure you have:
- Node.js installed on your system.
- An API key from OpenAI.
Installation
To set up the AI Image Generator, follow these steps:
- Clone the repository:
git clone https://github.com/zinedkaloc/dall-e-image-generator.git
- Navigate to the project directory:
cd dall-e-image-generator
- Install the required dependencies:
npm install
- Create a
.env
file in the root of the project and add your OpenAI API key:REACT_APP_OPENAI_API_KEY=your_openai_api_key
Running the Application
To run the application in development mode, use the following command:
npm start
This will start the React app and open it in your default web browser.
Usage
- Choose between the "Manual Prompt" or "Predefined Options" tab.
- Input a description for the image you wish to generate.
- Click "Generate" to request an image from OpenAI's API.
- Once the image is generated, it will be displayed with an option to download.
Contributing
Contributions are welcome! Feel free to open a pull request or an issue if you have suggestions or improvements.
License
Distributed under the MIT License. See LICENSE
for more information.
Acknowledgments
- OpenAI for providing the DALL-E API.
- All contributors who help in improving this project.
Disclaimer
The images generated by this tool are created by OpenAI's DALL-E model and the content is the responsibility of the user.
Generated by AI Image Generator - making creative AI accessible to everyone.