munajat-api / README.md
Consulawtech's picture
fix: switch to Docker SDK, remove Gradio dependency
c7f28a0
|
Raw History Blame Contribute Delete
645 Bytes
metadata
title: Munājāt Translation API
emoji: 🕌
colorFrom: green
colorTo: yellow
sdk: docker
pinned: false
license: mit

Munājāt — Arabic Dua Translation & Transliteration API

REST API for translating Arabic duas with transliteration. Powered by Mistral-7B via HuggingFace Inference API.

API Usage

POST /translate

curl -X POST "https://consulawtech-munajat-api.hf.space/translate" \
  -H "Content-Type: application/json" \
  -d '{"arabic_text":"اللَّهُمَّ أَنْتَ رَبِّي","target_language":"english"}'

GET /health

curl "https://consulawtech-munajat-api.hf.space/health"