Developer platform
Limits
Size ceilings, audio formats, and how the allowance is counted.
On this page
Request limits
| Limit | Product | Value |
|---|---|---|
text | Loly 3.5 | Up to 5,000 characters per generate call. |
text_length | Loly 3.5 | Up to 10,000 characters per streaming session. |
file | Voice Library | Up to 10 MiB per enrollment. |
audio | Loli 2.0 | Up to 100 MiB and 30 minutes. |
stream_token | Loly 3.5 | Expires 60 seconds after it is issued. |
Audio formats
| Limit | Format | Description |
|---|---|---|
Output, generate | mp3, wav | Selected with format: wav produces audio/wav and mp3 produces audio/mpeg. |
Output, streaming | PCM16 | Mono at 24 kHz, in frames of roughly 200 ms. No WAV header. |
Input, transcription | wav, mp3, webm, ogg, mp4 | WAV 16-bit PCM, MP3, WebM, OGG and MP4 or M4A. Anything else returns 415. |
Input, real time | PCM16 | Mono PCM16, sent as it is captured. |
Input, enrollment | audio/* | Audio MIME types, and the extensions listed on the Loly 3.5 page. |
Usage allowance
The allowance is counted per credential and per account behind it, by the characters of text you submit, not by the length of the audio produced. Read the value from the usage endpoint rather than assuming it.
How the allowance is deducted
Batch generation deducts by the length of the submitted text. Streaming deducts when the token is issued, by the
text_length you declare, even if the session ends early or you send less. Refund behaviour follows the current contract, so declare a figure close to what you will actually use.The default limit in the current contract is 500 characters per month, returned as limit by the usage endpoint.
Track consumption with GET /api/v1/usage.