Skip to content

AI Poem Generator is an innovative web application that harnesses the power of artificial intelligence to create unique and inspiring poems. By leveraging the Anthropic API and a suite of modern web technologies, this project offers users a seamless and interactive experience in generating AI-crafted poetry.

Notifications You must be signed in to change notification settings

KrinalSojitra21/ai-poem-generator

Repository files navigation

AI Poem Generator

AI Poem Generator is an innovative web application that harnesses the power of artificial intelligence to create unique and inspiring poems. By leveraging the Anthropic API and a suite of modern web technologies, this project offers users a seamless and interactive experience in generating AI-crafted poetry.

Features ✨

  • AI-Powered Poem Generation: Create stunning poems using advanced AI technology from Anthropic.

  • Customizable Poetry Forms: Choose from various poetic forms like sonnets, haikus, villanelles, and more.

  • Theme and Mood Selection: Tailor your poem's theme and mood to match your creative vision.

  • Literary Device Integration: Incorporate metaphors, symbolism, and other literary devices into your AI-generated poems.

  • Word Inclusion: Specify words to be included in your generated poem for a personalized touch.

  • Adjustable Creativity Levels: Fine-tune the AI's creativity to match your desired output.

  • Tone Selection: Choose the overall tone of your poem, from melancholic to upbeat.

  • Emotion Evocation: Select specific emotions you want your poem to evoke in readers.

  • User-Friendly Interface: Enjoy a sleek, intuitive design that makes poem generation a breeze.

  • Responsive Design: Access the AI Poem Generator on various devices with a responsive layout.

Tech Stack 💻

AI Poem Generator is built using the following technologies:

  • Next.js: The core framework for building a fast and scalable web application.

  • Anthropic API: Powers the AI-driven poem generation capabilities.

  • Tailwind CSS: Utilized for rapid and responsive UI development.

  • TypeScript: Enhances code quality and developer productivity with static typing.

  • Redux Toolkit: Manages the application's state efficiently.

  • React Select: Provides enhanced select input components.

  • React Hot Toast: Offers elegant notifications for user feedback.

  • ESLint & Prettier: Ensures code quality and consistent formatting.

Getting Started 🚀

To run the AI Poem Generator locally:

  1. Clone the repository:
git clone https://github.com/yourusername/ai-poem-generator.git
  1. Install dependencies:
cd ai-poem-generator
npm install
  1. Set up environment variables: Create a .env.local file in the root directory and add your Anthropic API key:
ANTHROPIC_API_KEY=your_api_key_here
  1. Run the development server:
npm run dev

Open http://localhost:3000 in your browser to see the application.

Click here to visit the live demo website.

About

AI Poem Generator is an innovative web application that harnesses the power of artificial intelligence to create unique and inspiring poems. By leveraging the Anthropic API and a suite of modern web technologies, this project offers users a seamless and interactive experience in generating AI-crafted poetry.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published