Derja is the source language
Set target: "Derja" to translate English into what people in Tunis actually say, instead of a stilted MSA gloss that nobody speaks.
Derja in, real meaning out — in both directions.
Tapra-Translate is built on Hy-MT2 with Tunisian adapters. It translates Derja, including the French and English words mixed into it, into French, English, MSA, and 38 other languages — and back again, so an English reply lands as something a Tunisian would actually say. Streaming NDJSON deltas make it usable inside live chat and dubbing pipelines.
POST /v1/translations
tapra-translate-v1Input · target: French
عندي برشا خدمة اليوم، نكلمك بعد ال réunion.
French
J’ai beaucoup de travail aujourd’hui, je vous appellerai après la réunion.
Live output · hops: 2
Real output
Every output on this page came from tapra-translate-v1 on 8 October 2026 and is shown unedited, mistakes included. Each live response also carries its exact charge in x-tapra-cost-tnd.
A Derja sentence with a French loan word. The model reads réunion as part of the sentence, not as noise.
Input · target: French
عندي برشا خدمة اليوم، نكلمك بعد ال réunion.
French
J’ai beaucoup de travail aujourd’hui, je vous appellerai après la réunion.
The French target goes through an internal English hop. Only the final French is returned, and here it picked the formal vous.
What it does
Set target: "Derja" to translate English into what people in Tunis actually say, instead of a stilted MSA gloss that nobody speaks.
forward translates Derja into the target. reverse takes French, English, or MSA into Derja. base handles English ↔ another Hy-MT2 language.
The pipeline may route through English internally, but that English step is never returned to you — only the final target text.
The default response is NDJSON: status, then delta frames, then done. That is what powers live dubbing and chat replies as they are written.
Integrate
import json, requests
res = requests.post(
f"{BASE_URL}/v1/translations",
headers={"Authorization": f"Bearer {API_KEY}"},
json={
"model": "tapra-translate-v1",
"input": "عندي برشا خدمة اليوم، نكلمك بعد ال réunion.",
"target": "French",
"stream": True,
},
stream=True,
)
for line in res.iter_lines(decode_unicode=True):
if line:
event = json.loads(line)
if event.get("delta"):
print(event["delta"], end="")Comparison
Compared with general-purpose MT APIs, which route Derja through MSA or English and lose the vernacular on the way.
| Capability | Tapra-Translate | Generic alternative |
|---|---|---|
| Tunisian Derja as a language | First-class source and target | Not in the language list; falls back to Arabic or MSA |
| Derja round trips | Meaning kept, phrasing stays local | Double pivot through English flattens idioms |
| Code-switched input | Derja with French or English words in the same line | Mixed-language input confuses source detection |
| Output streaming | NDJSON deltas in the default response | Full-string responses only |
| Pivot transparency | Intermediate English is never returned | Pivots are invisible and quietly change tone |
| Cost | 0.150 TND / 1k chars (≈ $0.050), $0.001 minimum | Per-token pricing that grows with prompt scaffolding |
Pricing
You pay for exactly what you send. The same prepaid balance covers all five Tapra models, billed in TND.
Headline rate
0.150 TND / 1k chars
Translation that treats Tunisian as a language, not as broken Arabic: French, English, and MSA without ironing out the local phrasing.
Questions
In the API, "Arabic" means Modern Standard Arabic. Ask for target: "Derja" when you want the vernacular, and the model writes Tunisian phrasing instead of MSA.
It is accepted in the forward direction, but quality is best on Arabic script. Run Arabizi through Tapra-Script (ZI2AR) first; it costs 0.100 TND / 1k chars and takes tens of milliseconds.
Set stream: false. You get the same fields — translation, target, target_code, hops, processing_ms, usage — in a single response.
The rest of the family
Tapra-Voice
Batch Tunisian speech to text, with the code-switching intact.
Explore02 · ConverterTapra-Script
Arabizi ⇄ Arabic script, without eating your numbers.
Explore04 · TTSTapra-Speak
A Tunisian voice that sounds like it grew up here.
Explore05 · RealtimeTapra-Voice-Realtime
Partial tokens while the sentence is still being spoken.
ExplorePut Tapra-Translate behind a real workload.
2 TND welcome balance, no credit card, playground and API keys included.