ReplicateSpeech to textComing soon

ibm-granite/granite-speech-4.1-2b

ibm-granite/granite-speech-4.1-2b is a speech to text tool from Replicate that runs in the background and returns structured JSON. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
json
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
seednumber (whole)—Random seed. Leave unspecified to randomize the seed.
stoplist—A list of sequences to stop generation at. For example, ["<end>","<stop>"] will stop generation at the first instance of "<end>" or "<stop>".
audioURLs or files—Completion API Audio input.
top_knumber (whole)—The number of highest probability tokens to consider for generating the output. If > 0, only keep the top k tokens with highest probability (top-k filtering).
top_pnumber—A probability threshold for generating the output. If < 1.0, only keep the top tokens with cumulative probability >= top_p (nucleus filtering). Nucleus filtering is described in Holtzman et al. (http://arxiv.org/abs/1904.09751).
prompttext—Completion API user prompt.
messagesJSON—Chat completion API messages.
max_tokensnumber (whole)—max_tokens is deprecated in favor of the max_completion_tokens field.
min_tokensnumber (whole)0The minimum number of tokens the model should generate as output.
temperaturenumber—The value used to modulate the next token probabilities.
chat_templatetext—A template to format the prompt with. If not specified, the chat template provided by the model will be used.
system_prompttext—Completion API system prompt. The chat template provides a good default.
presence_penaltynumber—Presence penalty
frequency_penaltynumber—Frequency penalty
repetition_penaltynumber—Repetition penalty
chat_template_kwargsJSON—Additional arguments to be passed to the chat template.
add_generation_prompttrue or falsetrueAdd generation prompt. Passed to the chat template. Defaults to True.
max_completion_tokensnumber (whole)—An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "replicate",
    "model": "ibm-granite/granite-speech-4.1-2b",
    "input": {}
  }'