Hyperbolic AI Prompter is a server-side application that leverages Hyperbolic's API for generating text, speech, and images. This project provides endpoints to create content using OpenAI-powered models for text generation, text-to-speech (TTS), and image generation with support for ControlNet and LoRA models.
- Text Generation: Users can input a prompt, and the system will generate a text response using a selected AI model.
- Image Generation: Users can input a description to generate an image based on that description with support for ControlNet and LoRA models.
- Text-to-Speech (TTS): Users can input text and receive a generated audio file (such as a voice reading the text).
- Responsive Design: The UI adapts seamlessly to both desktop and mobile devices for an optimal user experience.
- Frontend:
- React (for building the user interface)
- Tailwind CSS (for styling)
- Backend:
- Node.js (for API handling and text generation)
- Express.js (for routing)
- Body-parser (for handling JSON requests)
- Image generation API (Using hyperbolic API)
- Audio generation API (Using hyperbolic API)
To run this project, you will need the following installed on your system:
- Node.js (version >= 14.x)
- npm or yarn (for package management)
- Git (to clone the repository)
- A code editor (e.g., Visual Studio Code)
Start by cloning the project repository to your local machine:
git clone https://github.com/AustinChris1/hyperbolic-ai-prompter.git
cd hyperbolic-ai-prompterInstall the required dependencies using npm:
pnpm installCreate a .env file in the root directory of the project and add your Hyperbolic API key:
HYPERBOLIC_API_KEY=your_hyperbolic_api_keyYou can obtain your API key from the Hyperbolic platform (https://hyperbolic.xyz).
- Start the server:
cd backend
pnpm install
node server.jsIt should run on port 5000
- Start the client
pnpm run dev- You can access it from the url: https://33mye-ciaaa-aaaaj-azwta-cai.icp0.io/