https://avatarai-xi.vercel.app/
The AI-avatar-generator is a web application that allows users to create AI-generated influencers. Users can upload an image or generate one using predefined prompts, and then create a video using the generated image. This MVP focuses on providing a seamless experience for users to create and customize their AI influencers.
- Image Generation: Users can upload an image or input a prompt to generate an AI image.
- Predefined Prompts: Predefined images with associated prompts for quick selection.
- Video Generation: Create videos using the generated image and predefined video styles.
- User-Friendly Interface: Intuitive layout with responsive design for easy navigation.
- Next.js: A React framework for building fast and scalable web applications.
- FallAI: An AI service used for generating images and videos.
- Tailwind CSS: For styling and ensuring a responsive, modern design.
-
Clone the repository:
git clone https://github.com/deifos/AI-avatar-generator.git cd ai-avatar-generator
-
Install dependencies:
npm install
-
Set up environment variables:
- Create a
.env.local
file in the root directory. - Add the following environment variables:
FALLAI_API_KEY=your_fallai_api_key
- Create a
-
Run the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000
to view the app.
-
Image Generation:
- Use the left panel to upload an image or type a prompt.
- Select a predefined image from the right panel if preferred.
- Click "Generate Image" to create an AI-generated image.
-
Video Generation:
- After generating an image, click the "Generate Video" button.
- Use the left panel to input a video prompt.
- Select a predefined video style from the right panel.
- Click "Generate Video" to create a video using the AI-generated image.
-
Download/Retry:
- Once the video is generated, download it or retry with a new prompt.
-
Build the application:
npm run build
-
Start the production server:
npm start
-
Deploy to a platform like Vercel or Netlify for continuous deployment.
Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure your code follows the project's style guidelines and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE
file for more details.