Overview
Kotoba Speech-to-Speech Translation (S2ST) Streaming translates live speech into speech in another language, for multilingual meetings, events and customer support.
Key capabilities:
- Real-time bidirectional streaming over SageMaker HTTP/2: translated speech and translated text stream back while the speaker is still talking.
- Japanese, English, Korean and Chinese in any direction; each session chooses its source and target language.
- One continuous 24 kHz mono PCM output stream that stays aligned in time with the input audio, ready to play as it arrives.
Pricing:
- The software is billed per inference, where one inference is one hour of input audio. The Pricing tab lists it as "inference.count.m.i.c Inference Pricing" with the unit "Requests": one unit is one hour of audio, not one API request or one session.
- Example at $2.70 per inference: a 10-minute session costs $0.45, and a one-hour meeting costs $2.70.
- Usage is the duration of the audio you send, measured to six decimal places of an hour (about 3.6 ms) and not rounded up to minutes or sessions. Silence you send counts like speech; time a stream stays open without audio and the translated output are not billed. The audio format, sample rate and channel count do not change the duration, and chunks rejected as invalid audio are not billed.
- Amazon SageMaker bills the instance hours of your endpoint separately, at SageMaker prices, for as long as the endpoint runs, whether or not sessions are active. Delete endpoints you no longer use.
- Free trial: no software charge for the first 7 days of a subscription; SageMaker instance charges still apply during the trial.
Typical use cases: live interpretation for meetings and events, and translating calls between customers and support staff who speak different languages.
Protocol: SageMaker bidirectional streaming only. Standard POST /invocations and batch transform are not supported. Python clients require Python 3.12+ and aws-sdk-python[sagemaker-runtime-http2].
Highlights
- Speech in, speech out: one model translates speech directly, and one stream returns both the translated speech and the translated text.
- Translates while the speaker talks: translated speech and text stream back during the speech, a few seconds behind it, on one continuous output stream on the same timeline as the input.
- Japanese, English, Korean and Chinese in any direction, chosen per session on a single endpoint.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
Dimension | Description | Cost |
|---|---|---|
ml.c4.2xlarge Inference (Batch) Recommended | Model inference on the ml.c4.2xlarge instance type, batch mode | $0.00/host/hour |
inference.count.m.i.c Inference Pricing | inference.count.m.i.c Inference Pricing | $2.70/request |
Vendor refund policy
N/A
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
Amazon SageMaker model
An Amazon SageMaker model package is a pre-trained machine learning model ready to use without additional training. Use the model package to create a model on Amazon SageMaker for real-time inference or batch processing. Amazon SageMaker is a fully managed platform for building, training, and deploying machine learning models at scale.
Version release notes
v1.0 Initial release
Real-time speech-to-speech translation, billed per hour of input audio
- Speech-to-speech translation over SageMaker bidirectional streaming between Japanese, English, Korean and Chinese, in any direction. The translated speech and the translated text stream back while the speaker is still talking.
- The translated speech is one continuous 24 kHz, 16-bit mono PCM stream that stays aligned in time with the input audio.
- The translated text keeps to the target language's characters: other scripts, the source language's included, are suppressed; Latin letters, digits and common punctuation stay allowed.
- After 15 seconds of input without translated text (a stalled translation or a pause in speech), the session restarts the model and translates the speech that follows; the output stream continues without a break.
- Billed per inference: one inference is one hour of input audio, measured to a few milliseconds (see Usage instructions).
Additional details
Inputs
- Summary
Kotoba Speech-to-Speech Translation (S2ST) Streaming v1.0 accepts audio input via SageMaker bidirectional streaming (HTTP/2) at the path /invocations-bidirectional-stream (the model invocation path v1/realtime_voice serves the same session). Standard POST /invocations and batch transform jobs are NOT supported.
A translation session is a sequence of JSON events sent over the bidirectional stream:
-
voice_session.update (required, once, after the server's voice_session.created)
- session.input_audio_format (string, optional, default pcm16): encoding of the input audio. One of pcm16 (little-endian signed 16-bit), float32 (little-endian float32 in [-1.0, 1.0]), or twilio (8 kHz G.711 mu-law, Twilio Media Streams payloads as-is).
- session.input_audio_sample_rate (integer, optional, default 24000): sample rate of the input audio in Hz. Any positive rate; the server resamples. Ignored for twilio.
- session.input_audio_number_of_channels (integer, optional, default 1): interleaved channels of the input audio; the server downmixes them to mono.
- session.input_audio_transcription.language (string, required): language spoken in the audio, one of ja, en, ko, zh.
- session.input_audio_transcription.target_language (string, required): language to translate into, one of ja, en, ko, zh.
- The settings cannot be changed later; open a new stream to change them. Do not send fields that are not listed here: some names are reserved and are rejected or change how the session behaves.
-
input_audio_buffer.append (repeated)
- audio (string, required): one chunk of base64-encoded audio in the configured format. Each chunk must hold whole samples for every channel. 80 ms per chunk, sent in real time, is recommended.
- event_id (string, optional, up to 56 characters): returned as the item_id of the deltas produced while that chunk is processed. Ids starting with commit_postprocess_ are reserved.
-
input_audio_buffer.commit (once, at the end of the audio): the server finishes translating the audio it has received.
Each JSON event must be sent as a UTF-8 text frame. With the SageMaker HTTP/2 SDK, construct RequestPayloadPart with data_type="UTF8" so the payload is forwarded as text; a binary frame is answered with an invalid_json error.
-
- Limitations for input type
- - Languages: `ja`, `en`, `ko`, `zh`; any other code closes the stream (`invalid_languages`). - Input formats: `pcm16` and `float32` at any positive sample rate and channel count, or `twilio` (8 kHz mu-law). - Send `voice_session.update` once, and audio only after `voice_session.updated`. - One commit per session; the stream closes about 5 s after `input_audio_buffer.committed`. - The server sets no session time limit and no inactivity timeout; an open session holds a slot on the instance until it is closed. - Concurrent sessions per instance: up to 24 on ml.g6e (L40S), 112 on ml.g7e (RTX PRO 6000 Blackwell), 96 on ml.p5.4xlarge (H100). A connection over capacity is refused with HTTP 503 before the stream opens. - Only bidirectional streaming over HTTP/2 is supported, not `POST /invocations` or batch transform. Python clients require Python 3.12+, `aws-sdk-python[sagemaker-runtime-http2]` and `smithy-http[awscrt]`.
- Input MIME type
- application/json
Support
Vendor support
For support, contact: kotoba_product+marketplace@kotoba.tech
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.