
Granite Speech 4.1 2B Plus
Speech-to-text in English, French, German, Spanish and Portuguese that can also label who is speaking and time every…
Fine-tunableGRANITE_SPEECH_4_1_2BSpeech-to-text with punctuation and capitalization in English, French, German, Spanish, Portuguese and Japanese, and translation of that speech into English.

| Name | Type | Required | Default | Details |
|---|---|---|---|---|
audio | file | Yes | — | The recording to transcribe (WAV, MP3, FLAC, OGG, M4A, AAC or WebM), up to 60 minutes and 1 GB, sampled at 4 to 192 kHz with at most 8 channels. Max 2048 characters · audio/wav, mpeg, flac, ogg, mp4, aac, webm |
return_timestamps | boolean | No | false | Return JSON with timed segments instead of plain text. |
task | text | No | transcribe | transcribe writes down what is said; translate returns it in English (only models that support translation). Allowed: transcribe, translate |
language | text | No | auto | The spoken language as an ISO 639-1 code such as en or fr, or auto to detect it. Each model lists the languages it supports. Allowed: auto, en, fr, de, es, pt, ja · Max 4 characters |
Output. The transcript; with timestamps, JSON: {"text": "...", "segments": [{"start": 0.0, "end": 4.2, "text": "..."}]} in seconds. Whisper models time each phrase; the others, and fine-tuned models, give one segment per window of up to 30 seconds.
Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=GRANITE_SPEECH_4_1_2B" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"audio": "https://example.com/input.png",
"language": "auto",
"return_timestamps": false,
"task": "transcribe"
},
"outputFormat": "json"
}'
# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
-H "X-API-Key: kg_your_api_key"from kainguru import KainguruClient
with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
submitted = client.executions.execute(
"GRANITE_SPEECH_4_1_2B",
{
"audio": "https://example.com/input.png",
"language": "auto",
"return_timestamps": False,
"task": "transcribe"
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune Granite Speech 4.1 2B on your own data and run the tuned model through the same API. Dataset: Audio clips of at most 30 seconds and 50 MB each (4 to 192 kHz, at most 8 channels), each with the transcript of what is said in it (at most 2000 characters and 440 tokens): {"file": ..., "text": ...} items, up to 2000 clips and 10 GB in total.
The steps are in the docs.
Price per second: 0.0001242 credits ($0.000001242). The price is shown again before every run; all prices are on the pricing page.

Speech-to-text in English, French, German, Spanish and Portuguese that can also label who is speaking and time every…
Fine-tunable
Speech-to-text and speech translation for 25 European languages. Transcribe a recording in its own language, or…
Fine-tunable
Transcription with speaker labels and timestamps for meetings, calls and podcasts of up to 60 minutes in one pass, in…
Fine-tunable
Speech-to-text in 1,600+ languages, Azerbaijani, Turkish, Russian, Kazakh and Uzbek among them, by a 1B-parameter CTC…
Fine-tunable
Speech-to-text in 30 languages with automatic language detection, for recordings up to an hour, speech over music and…
Fine-tunable
Accurate speech-to-text in English, Spanish, French, Portuguese, Hindi, German, Dutch and Italian, with automatic…
Fine-tunable