POST /inference
Body Request Parameters
file: file://1.m4a
temperature: "0.2"
response-format: json
audio_format: m4a| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| body | body | object | No | none |
| » file | body | string(binary) | No | filename |
| » temperature | body | string | No | none |
| » response-format | body | string | No | none |
| » audio_format | body | string | No | audio format, support m4a, mp3, and wav |
Response Example
Success
{
"code": 0,
"data": [
{
"sentence": " And so my fellow Americans ask not what your country can do for you, ask what you can do for your country.",
"t0": 0,
"t1": 1100
}
]
}| Status Code | Status Code Meaning | Description | Data Model |
|---|---|---|---|
| 200 | OK | Success | Inline |