Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iameddieyayaya/AI-LyricsGenerator
Using AI (OpenAI API) to generate lyrics based on prompts.
https://github.com/iameddieyayaya/AI-LyricsGenerator
Last synced: 4 months ago
JSON representation
Using AI (OpenAI API) to generate lyrics based on prompts.
- Host: GitHub
- URL: https://github.com/iameddieyayaya/AI-LyricsGenerator
- Owner: iameddieyayaya
- Created: 2024-08-26T19:21:25.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-27T03:34:01.000Z (5 months ago)
- Last Synced: 2024-08-27T04:44:26.584Z (5 months ago)
- Language: TypeScript
- Homepage: https://lyrics-generator-ai.vercel.app/
- Size: 636 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- project-awesome - iameddieyayaya/AI-LyricsGenerator - Using AI (OpenAI API) to generate lyrics based on prompts. (TypeScript)
README
# AI Lyrics Generator
Welcome to my Next.js application! This project leverages OpenAI's API to generate song lyrics.
## Getting Started
### Prerequisites
Before you can run this application, you'll need to set up an OpenAI API key.
1. **Create an OpenAI Account**: If you don't have one already, sign up at [OpenAI](https://www.openai.com/).
2. **Obtain Your API Key**: After signing in, you can find your API key in the OpenAI dashboard.### Installation
1. **Clone the Repository**
```bash
git clone
```2. **Navigate to the Project Directory**
```bash
cd your-repository
```3. **Install Dependencies**
```bash
npm install
```4. **Set Up Environment Variables**
Create a .env.local file in the root of the project and add your OpenAI API key:
```plaintext
OPENAI_API_KEY=your_openai_api_key
```5. **Running the Application**
```bash
npm run dev
```## Using the Application
Fill in props and click `generate lyrics`
![screenshot](./app-screenshot.png)