200 and the following JSON structure:{
"request_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"created_at": "2026-01-20T11:39:02+08:00",
"status_code": 200,
"model_id": "flash_v2_5",
"first_packet_latency_ms": 277,
"tts_latency_ms": 0,
"total_duration_ms": 327,
"request_params": {
"format": "mp3_44100_64",
"language_code": "",
"model_id": "flash_v2_5",
"quality": "0",
"text_length": 20,
"voice_uid": "771e***************e852"
}
}| Field | Type | Description |
|---|---|---|
request_id | string | Unique request identifier for tracing and troubleshooting |
created_at | string (ISO 8601) | Time the server generated the response, including the time zone |
status_code | integer | HTTP status code. 200 indicates success. |
model_id | string | TTS model actually used |
first_packet_latency_ms | integer | Time to first audio (ms). From receipt of the request by the server to return of the first audio data. |
tts_latency_ms | integer | Synthesis time (ms). May be unavailable for some modes and may return 0. |
total_duration_ms | integer | End-to-end time (ms). Covers the entire request lifecycle. |
0. This alone does not indicate failure.total_duration_ms ≥ first_packet_latency_msrequest_params lists the settings actually applied to this request.| Field | Type | Description |
|---|---|---|
format | string | Output audio format, for example mp3_44100_64 |
language_code | string | Language code. An empty string "" indicates automatic selection or the default language policy. |
model_id | string | Model ID used for this request |
quality | string | Synthesis quality level as a string enum, for example "0" |
text_length | integer | Input text length |
voice_uid | string | Voice ID |
request_paramsreports the server’s effective settings. They may differ from the input sent by the client.
20.277ms, illustrating a low-latency response.327ms.tts_latency_ms = 0 means the example does not report a separate synthesis time. The request succeeded.request_idcreated_atstatus_codemodel_idfirst_packet_latency_mstts_latency_mstotal_duration_msrequest_paramscurl --location 'https://api.voicelibrary.co/enterprise/v1/tts/requests?request_id=undefined&api_key=undefined'{
"request_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"created_at": "2026-01-20T11:39:02+08:00",
"status_code": 200,
"model_id": "flash_v2_5",
"first_packet_latency_ms": 277,
"tts_latency_ms": 0,
"total_duration_ms": 327,
"request_params": {
"format": "mp3_44100_64",
"language_code": "",
"model_id": "flash_v2_5",
"quality": "0",
"text_length": 20,
"voice_uid": "771e***************e852"
}
}