Listing Thumbnail

    Kotoba Japanese Text-to-Speech (TTS) Streaming

     Info
    Deployed on AWS
    Free Trial
    Real-time Japanese text-to-speech that runs on SageMaker in your own AWS account and Region. Sub-second first-audio latency. $0.020 per 1,000 UTF-8 bytes of input text (one inference = 1,000,000 bytes, $20.00).

    Overview

    Kotoba Japanese Text-to-Speech (TTS) Streaming synthesizes natural Japanese speech in real time on Amazon SageMaker. Send text over a SageMaker bidirectional stream and receive audio on the same stream as it is generated. Choose from five preset voices, adjust speed, pitch and volume per session or per request, request text-to-audio timestamps to track what has been heard, and pipeline several requests on one session. Output is mono pcm16 or float32 (8, 16 or 24 kHz), 8 kHz mu-law, or 24 kHz Ogg/Opus.

    Data residency: the model runs on an endpoint in your own AWS account, in the Region you choose, with network isolation. Input text and synthesized audio stay within your environment.

    Pricing: $0.020 per 1,000 UTF-8 bytes of input text. One inference is 1,000,000 bytes ($20.00), and usage is reported in fractions of an inference, so you pay for the bytes you send. A request is billed once it reaches the model; requests cancelled while queued, refused before any audio (for example text over the input limit, or an instance at capacity) or rejected at submission are not billed. SageMaker instance charges apply separately.

    Highlights

    • Real-time Japanese speech synthesis: audio streams back as it is generated, with preset voices, speed, pitch and volume control, text-to-audio timestamps and pipelined requests
    • Runs in your AWS account and the Region you choose, with network isolation: input text and audio stay within your environment
    • $0.020 per 1,000 UTF-8 bytes of input text (about $0.06 per 1,000 Japanese characters): one inference is 1,000,000 bytes, and text refused before any audio is not billed

    Details

    Delivery method

    Latest version

    Deployed on AWS

    Features and programs

    Financing for AWS Marketplace purchases

    AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
    Financing for AWS Marketplace purchases

    Pricing

    Free trial

    Try this product free for 7 days according to the free trial terms set by the vendor.

    Kotoba Japanese Text-to-Speech (TTS) Streaming

     Info
    Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.

    Usage costs (2)

     Info
    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
    $20.00/request

    Vendor refund policy

    N/A

    How can we make this page better?

    Tell us how we can improve this page, or report an issue with this product.
    Tell us how we can improve this page, or report an issue with this product.

    Legal

    Vendor terms and conditions

    Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA) .

    Content disclaimer

    Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.

    Usage information

     Info

    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.

    Deploy the model on Amazon SageMaker AI using the following options:
    Deploy the model as an API endpoint for your applications. When you send data to the endpoint, SageMaker processes it and returns results by API response. The endpoint runs continuously until you delete it. You're billed for software and SageMaker infrastructure costs while the endpoint runs. AWS Marketplace models don't support Amazon SageMaker Asynchronous Inference. For more information, see Deploy models for real-time inference  .
    Deploy the model to process batches of data stored in Amazon Simple Storage Service (Amazon S3). SageMaker runs the job, processes your data, and returns results to Amazon S3. When complete, SageMaker stops the model. You're billed for software and SageMaker infrastructure costs only during the batch job. Duration depends on your model, instance type, and dataset size. AWS Marketplace models don't support Amazon SageMaker Asynchronous Inference. For more information, see Batch transform for inference with Amazon SageMaker AI  .
    Version release notes

    v1.0 Initial release

    Japanese streaming text-to-speech, billed per input text

    • Japanese speech synthesis over SageMaker bidirectional streaming, with preset voices, voice settings (speed, pitch, volume), text-to-audio timestamps, and pipelining.
    • Billed per inference: one inference is 1,000,000 UTF-8 bytes of input text (see Usage instructions).
    • Text longer than the model's input limit is refused with an invalid_request error and not billed.

    Additional details

    Inputs

    Summary

    Kotoba Japanese Streaming TTS v1.0 accepts text input via SageMaker bidirectional streaming (HTTP/2) at the path /invocations-bidirectional-stream. Standard POST /invocations and batch transform jobs are NOT supported.

    A synthesis session is a sequence of JSON events sent over the bidirectional stream:

    1. open (required, first event)

      • language (string, optional, default ja): ISO-639-1 language code.
      • speaker_id (string, optional, default default): preset voice. Male: male-01 (default is the same voice). Female: female-01, female-02, female-03, female-04.
      • voice_settings (object, optional): the session's default voice controls (speed, pitch, volume; see response.create). Each response.create may override them field by field.
      • format (string, optional, default float32): output audio format. One of float32 (little-endian float32), pcm16 (little-endian signed 16-bit), mulaw (8-bit G.711 mu-law), or opus (Ogg/Opus).
      • sample_rate (integer, optional, default 24000): output sample rate in Hz. PCM formats (float32, pcm16) accept 8000, 16000, or 24000. mulaw is always emitted at 8000 and opus at 24000, so this field is ignored for them. The negotiated format and sample_rate are echoed on session.created.
    2. response.create (one synthesis turn; repeatable, and may be sent without waiting for the previous response.done — see Pipelining below)

      • text (string, required): the full text to synthesize. The model is one-shot, so the text is not streamed in chunks.
      • response_id (string, optional): client-supplied correlation id; echoed on response.queued / response.created / audio.chunk / response.done. Must be unique among outstanding (active or queued) responses, and reusable once its response.done has been delivered. When omitted the server assigns a UUID.
      • with_timestamps (boolean, optional, default false): when true, audio.chunk events for this response carry alignments records mapping spans of the request text to times in the output audio (see Model output details).
      • voice_settings (object, optional): voice controls for this response. Fields left out keep the session default from open.
        • speed (number, optional, default 1.0): speaking rate from 0.7 to 1.5 without changing the pitch; 1.5 is 1.5x faster.
        • pitch (number, optional, default 0): pitch shift in semitones from -4 to +4 without changing the speaking rate.
        • volume (number, optional, default 1.0): loudness multiplier from 0.0 to 2.0; 0.0 is silent. Above 1.0 the audio is limited at full scale, so the loudest passages may clip slightly.
    3. response.cancel (optional)

      • response_id (string, optional): cancel the response with this id, whether it is the active response or one still queued. Without it, the active response is cancelled.

    Pipelining: while a response is active, additional response.create events are accepted with a response.queued event (carrying the same response.id) and synthesized one at a time in FIFO order. The pending queue holds at most 15 responses; exceeding it yields a non-fatal error (too many queued responses).

    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.

    Limitations for input type
    - `open` must arrive within 10 s of connection (`WS_OPEN_TIMEOUT`). Sessions idle for 60 s are closed (`WS_IDLE_TIMEOUT`). - `response.create.text` must be a non-empty string. - `voice_settings`: `speed` 0.7 to 1.5, `pitch` -4 to 4, `volume` 0.0 to 2.0. Other values return a non-fatal `error` on `response.create` and a fatal one on `open`. - With `with_timestamps: true`, `text` is limited to 400 characters; longer text returns a non-fatal `error`. Without timestamps, text beyond the model's input limit (about 1,600 tokens) is refused with `response.done` (status=failed, `invalid_request`) and not billed; split it across several `response.create` events. - A session synthesizes one response at a time; up to 15 more can queue (non-fatal `error` beyond). An instance synthesizes at most 32 (L4) or 64 (L40S) responses at once across sessions. - Bidirectional streaming over HTTP/2 only (no `POST /invocations` or batch transform); Python clients need Python 3.12+.
    Input MIME type
    application/json
    https://github.com/kotoba-tech/api-samples/blob/main/japanese-streaming-tts/data/sample_input.json
    Not supported

    Support

    Vendor support

    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.

    Similar products

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 reviews
    No customer reviews yet
    Be the first to review this product . We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.