Overview
Kotoba Japanese Speech-to-Text (STT) Streaming transcribes Japanese speech in real time on Amazon SageMaker. Stream audio over a SageMaker bidirectional stream and receive the transcript on the same stream as it is spoken, with optional turn detection, timestamps, keyword biasing and katakana person names.
Data residency: the model runs on an endpoint in your own AWS account, in the Region you choose, with network isolation. Audio and transcripts are processed within your environment.
Pricing: $0.50 per hour of input audio. One inference is one hour (3,600 seconds) of input audio, metered as each chunk is decoded and billed in proportion to the audio sent (about $0.0083 per minute, or $0.000139 per second). SageMaker instance charges apply separately.
Highlights
- Real-time Japanese transcription: text arrives while the speaker is still talking, with katakana person names, keyword biasing for up to 1,000 terms, turn detection and timestamps
- Runs in your AWS account and the Region you choose, with network isolation: audio and transcripts stay within your environment
- $0.50 per hour of audio: one inference is one hour (3,600 seconds) of input audio, billed in proportion to the audio you send
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 | $0.50/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
Initial release.
- Real-time Japanese transcription over SageMaker bidirectional streaming: transcript deltas arrive while audio is still being sent
- Verbatim transcripts by default, or clean transcripts with fillers and restarts (えーと, あの) removed (style_preference.verbatim: false)
- Person names in katakana (style_preference.human_name: "kana")
- Keyword biasing for names, products and jargon: up to 1,000 terms
- Optional turn detection: silence-based (server_vad) or sentence-aware (semantic_vad)
- Optional timestamps: where each delta and turn falls in the input audio (start_ms / end_ms)
- pcm16, float32, mulaw / twilio and Ogg/Opus input at any sample rate
- Billed per hour of input audio
Additional details
Inputs
- Summary
This model accepts audio over SageMaker bidirectional streaming (HTTP/2, model invocation path invocations-bidirectional-stream). Every event is a JSON text payload; send it with data_type="UTF8".
Client events:
-
transcription_session.update - Configure the session once, after transcription_session.created. The settings cannot be changed later; open a new stream to change them.
- input_audio_format: "pcm16" (default), "float32", "mulaw", "twilio" or "opus"
- input_audio_sample_rate: Sample rate in Hz of pcm16 / float32 audio (default: 24000). Any positive rate; the server resamples
- input_audio_number_of_channels: Interleaved channels of pcm16, float32, mulaw or twilio audio (default: 1); the server downmixes them to mono
- input_audio_transcription.target_language: "ja" (required)
- input_audio_transcription.language: Spoken language, "ja" (optional)
- input_audio_transcription.keywords: Terms the transcript should prefer (names, products, jargon), written as they should appear (default: null). Up to 1,000 terms of up to 64 characters each
- input_audio_transcription.style_preference.human_name: "kana" writes person names in katakana; "default" (default) does not
- input_audio_transcription.style_preference.verbatim: true (default) keeps fillers and restarts (えーと, あの) as spoken; false removes them for a clean transcript
- input_audio_transcription.timestamps: true adds start_ms / end_ms (position in the input audio) to deltas and turns (default: false)
- turn_detection: false (default), {"type": "server_vad", "silence_duration_ms": 800} (a turn ends after that much audio with no new words; default 800), or {"type": "semantic_vad", "eagerness": "medium"} (a turn ends soon after a finished sentence and waits longer through pauses inside one; eagerness: "low", "medium", "high" or "auto")
-
input_audio_buffer.append - Send one audio chunk
- audio: Base64-encoded audio in the configured format
- event_id: Optional correlation ID (up to 36 characters of A-Z a-z 0-9 _ -)
-
input_audio_buffer.commit - No more audio. The server transcribes the remaining audio and replies with input_audio_buffer.committed
- event_id: Optional correlation ID
Supported Audio Formats:
- pcm16: 16-bit signed integer PCM, little-endian, any sample rate
- float32: 32-bit floating point PCM, little-endian, range [-1.0, 1.0], any sample rate
- mulaw / twilio: G.711 μ-law, 8 kHz (twilio matches Twilio Media Streams)
- opus: Ogg/Opus; each append carries a complete, self-contained Ogg/Opus stream
Recommended Settings:
- Sample rate: 24000 Hz PCM
- Chunk duration: 80 ms per append, sent in real time
-
- Limitations for input type
- - Bidirectional streaming only: `POST /invocations` and batch transform do not transcribe audio - Supported language: ja - Maximum audio per append: 8 seconds. A larger chunk is answered with an `error` event (`payload_too_large`), dropped and not billed - Keywords: up to 1,000 terms, each up to 64 characters. A `transcription_session.update` over either limit is answered with an `error` event (`error.code`: `invalid_parameters`) - `transcription_session.update` must be accepted within 60 seconds of connecting, or the server sends `timeout_error` and closes the stream - One commit per session: the server closes the stream after `input_audio_buffer.committed` - Concurrent sessions per instance: up to 48 on NVIDIA L4 (ml.g6) and up to 128 on NVIDIA L40S (ml.g6e). A connection over capacity is refused with HTTP 503 (`system_busy`) before the stream opens
- 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.