ボイスボックスBot
ボイスボックスBot · GPT 작업
Get voice
Retrieves voice data for user request.
GET /synthesisGetVoiceGet voice data for user text
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Get voice",
"description": "Retrieves voice data for user request.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.tts.quest/v3/voicevox"
}
],
"paths": {
"/synthesis": {
"get": {
"description": "Get voice data for user text",
" \"x-openai-isConsequential\"": false,
"operationId": "GetVoice",
"parameters": [
{
"name": "text",
"in": "query",
"description": "Text to be spoken",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "speaker",
"in": "query",
"description": "Speaker ID",
"required": true,
"schema": {
"type": "string",
"default": 8
}
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"audioStatusUrl": {
"type": "string"
},
"mp3DownloadUrl": {
"type": "string"
}
},
"required": [
"success",
"audioStatusUrl",
"mp3DownloadUrl"
]
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
},
"deprecated": false
}
}
},
"components": {
"schemas": {
"Error": {
"type": "object",
"properties": {
"retryAfter": {
"type": "integer"
}
}
}
}
}
}