This repository contains AI-powered book creation projects created entirely using Windsur AI.
An AI-powered web application that creates personalized children's stories with custom illustrations.
- Generate custom children's stories based on child's interests and preferences
- Choose between two AI providers:
- OpenAI (GPT-4 for text + DALL-E for images)
- Google Gemini (for text) + Stability AI (for images)
- Beautiful, responsive UI built with React and Chakra UI
- Secure API key management
- Node.js (v16 or higher)
- npm or yarn
- API keys for your chosen provider:
- For OpenAI mode: OpenAI API key
- For Gemini mode: Google AI API key + Stability AI API key
- Navigate to the project directory:
cd childrens-book-creator
- Install dependencies:
npm install
# or
yarn install
- Get your API keys:
- OpenAI API key from: https://platform.openai.com/api-keys
- Google AI API key from: https://makersuite.google.com/app/apikey
- Stability AI API key from: https://platform.stability.ai/docs/getting-started
- Start the development server:
npm run dev
# or
yarn dev
- Open your browser and navigate to
http://localhost:5173
- Choose your AI provider (OpenAI or Gemini)
- Enter the required API key(s)
- Fill in the child's information:
- Name
- Age
- Interests
- Story theme
- Click "Generate Story" to create a custom story with illustrations
- View and enjoy your personalized children's book!
- Built with TypeScript and React
- Uses Vite as the build tool
- Chakra UI for the user interface
- State management with React hooks
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.