An API that helps you find a relevant emoji based on a sentence, in any language.
Powered by GROQ using the LLaMA 3.1 8B Instant model.
- Emoji generation from multilingual text.
- Secure authentication via API key.
- Simple web interface to quickly test the API.
-
Clone the repository:
git clone <repo-url> cd emojie-api cp env.example .env # Edit the environment variables in the .env file npm install npm run dev
Access the interface at http://localhost:3000 to easily test the API.
Make an HTTP POST call:
curl -X POST "http://localhost:3000/api/emoji" \
-H "Content-Type: application/json" \
-H "X-API-KEY: YOUR_SECRET_API_KEY" \
-d '{"text": "Your text" }'