This application that uses the OpenAI API to Translate text to different Language based on user input.
Installation To install the app and its dependencies, run the following command:
npm install
# or
yarn install
# or
pnpm install
To Run the app You need to get OpenAI API key to get it follow https://platform.openai.com/docs/introduction
After Completing th above steps Create .env
file and add Your API key OPENAI_API_KEY= <your-api-key-here>
To run the app run the commands:
npm run dev
# or
yarn dev
# or
pnpm dev
When you enter a text prompt and click the "Translate" button, the app sends a request to the OpenAI API to Translate text based on the input. The Translated text is then displayed on the screen.
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
If you find a bug or want to contribute to the project, please feel free to create a pull request or open an issue on Github.