Spaces:
Sleeping
Sleeping
|
Download README.md from Consulawtech/munajat-api: direct link, hf CLI and curl.
- Browser
- Download file 645 Bytes
-
https://huggingface.co/spaces/Consulawtech/munajat-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/Consulawtech/munajat-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Consulawtech/munajat-api/resolve/main/README.md
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"