Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
196 changes: 86 additions & 110 deletions src/libs/SmallestAI/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@
"textToSpeech"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "Accept",
"in": "header",
Expand Down Expand Up @@ -92,7 +84,12 @@
}
}
}
}
},
"security": [
{
"BearerAuth": []
}
]
}
},
"/waves/v1/tts/live": {
Expand All @@ -104,14 +101,6 @@
"textToSpeech"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "x-expire-content",
"in": "header",
Expand Down Expand Up @@ -172,7 +161,12 @@
}
}
}
}
},
"security": [
{
"BearerAuth": []
}
]
}
},
"/waves/v1/{model}/get_voices": {
Expand Down Expand Up @@ -246,23 +240,13 @@
"tags": [
"voiceCloning"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Voice clone created. Includes pre-generated sample clips of the new voice.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Voice Cloning_createVoiceClone_Response_200"
"$ref": "#/components/schemas/Voice_Cloning_createVoiceClone_Response_200"
}
}
}
Expand Down Expand Up @@ -344,7 +328,12 @@
}
}
}
}
},
"security": [
{
"BearerAuth": []
}
]
},
"get": {
"operationId": "voiceCloning_listVoiceClones",
Expand All @@ -353,23 +342,13 @@
"tags": [
"voiceCloning"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "List of voice clones.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Voice Cloning_listVoiceClones_Response_200"
"$ref": "#/components/schemas/Voice_Cloning_listVoiceClones_Response_200"
}
}
}
Expand All @@ -394,7 +373,12 @@
}
}
}
}
},
"security": [
{
"BearerAuth": []
}
]
}
},
"/waves/v1/pronunciation-dicts": {
Expand All @@ -405,16 +389,6 @@
"tags": [
"pronunciationDictionaries"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "List of pronunciation dictionaries",
Expand Down Expand Up @@ -449,7 +423,12 @@
}
}
}
}
},
"security": [
{
"BearerAuth": []
}
]
},
"post": {
"operationId": "pronunciationDictionaries_createPronunciationDict",
Expand All @@ -458,16 +437,6 @@
"tags": [
"pronunciationDictionaries"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successfully created pronunciation dictionary",
Expand Down Expand Up @@ -518,7 +487,12 @@
}
}
}
}
},
"security": [
{
"BearerAuth": []
}
]
},
"put": {
"operationId": "pronunciationDictionaries_updatePronunciationDict",
Expand All @@ -527,16 +501,6 @@
"tags": [
"pronunciationDictionaries"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successfully updated pronunciation dictionary",
Expand Down Expand Up @@ -587,7 +551,12 @@
}
}
}
}
},
"security": [
{
"BearerAuth": []
}
]
},
"delete": {
"operationId": "pronunciationDictionaries_deletePronunciationDict",
Expand All @@ -596,16 +565,6 @@
"tags": [
"pronunciationDictionaries"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successfully deleted pronunciation dictionary",
Expand Down Expand Up @@ -656,7 +615,12 @@
}
}
}
}
},
"security": [
{
"BearerAuth": []
}
]
}
},
"/waves/v1/stt/": {
Expand Down Expand Up @@ -775,14 +739,6 @@
"default": "false"
}
},
{
"name": "Authorization",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "x-expire-content",
"in": "header",
Expand All @@ -799,7 +755,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Speech to Text_transcribe_Response_200"
"$ref": "#/components/schemas/Speech_to_Text_transcribe_Response_200"
}
}
}
Expand Down Expand Up @@ -879,7 +835,12 @@
}
}
}
}
},
"security": [
{
"BearerAuth": []
}
]
}
},
"/waves/v1/chat/completions": {
Expand All @@ -890,16 +851,6 @@
"tags": [
"electron"
],
"parameters": [
{
"name": "Authorization",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Non-streaming: standard OpenAI `chat.completion` object.\n\nStreaming (`stream: true`): `text/event-stream` SSE — each\nevent is a `chat.completion.chunk` delta, terminated by\n`data: [DONE]`.\n",
Expand Down Expand Up @@ -980,10 +931,35 @@
}
}
}
}
},
"security": [
{
"BearerAuth": []
}
]
}
}
},
"tags": [
{
"name": "textToSpeech"
},
{
"name": "voices"
},
{
"name": "voiceCloning"
},
{
"name": "pronunciationDictionaries"
},
{
"name": "speechToText"
},
{
"name": "electron"
}
],
"servers": [
{
"url": "https://api.smallest.ai",
Expand Down Expand Up @@ -1454,7 +1430,7 @@
},
"title": "WavesV1VoiceCloningPostResponsesContentApplicationJsonSchemaData"
},
"Voice Cloning_createVoiceClone_Response_200": {
"Voice_Cloning_createVoiceClone_Response_200": {
"type": "object",
"properties": {
"message": {
Expand Down Expand Up @@ -1572,7 +1548,7 @@
},
"title": "WavesV1VoiceCloningGetResponsesContentApplicationJsonSchemaDataItems"
},
"Voice Cloning_listVoiceClones_Response_200": {
"Voice_Cloning_listVoiceClones_Response_200": {
"type": "object",
"properties": {
"data": {
Expand Down Expand Up @@ -2002,7 +1978,7 @@
"description": "Returned by Pulse Pro when `webhook_url` is set. The transcription arrives on the webhook when ready.",
"title": "AsyncAccepted"
},
"Speech to Text_transcribe_Response_200": {
"Speech_to_Text_transcribe_Response_200": {
"oneOf": [
{
"$ref": "#/components/schemas/TranscriptionResponse"
Expand Down