Debian Codegraph @

wyoming/http/conf/tts.yaml

raw
1 ---
2 openapi: "3.0.0"
3 info:
4 title: 'Wyoming TTS'
5 version: '1.0.0'
6 description: 'API for Text to Speech'
7 paths:
8 /api/info:
9 get:
10 summary: 'Get service information'
11 responses:
12 '200':
13 description: OK
14 content:
15 application/json:
16 schema:
17 /api/text-to-speech:
18 post:
19 summary: 'Synthesize speech from text'
20 requestBody:
21 description: 'Text to speak'
22 required: true
23 content:
24 text/plain:
25 schema:
26 type: string
27 parameters:
28 - in: query
29 name: uri
30 description: 'URI of Wyoming TTS service'
31 schema:
32 type: string
33 - in: query
34 name: voice
35 description: 'Name of voice to use for synthesis'
36 schema:
37 type: string
38 - in: query
39 name: speaker
40 description: 'Name of voice speaker to use for synthesis'
41 schema:
42 type: string
43 responses:
44 '200':
45 description: OK
46 content:
47 audio/wav:
48 schema:
49 type: string
50 format: binary
51 get:
52 summary: 'Synthesize speech from text'
53 parameters:
54 - in: query
55 name: text
56 description: 'Text to speak'
57 required: true
58 schema:
59 type: string
60 - in: query
61 name: uri
62 description: 'URI of Wyoming TTS service'
63 schema:
64 type: string
65 - in: query
66 name: voice
67 description: 'Name of voice to use for synthesis'
68 schema:
69 type: string
70 - in: query
71 name: speaker
72 description: 'Name of voice speaker to use for synthesis'
73 schema:
74 type: string
75 responses:
76 '200':
77 description: OK
78 content:
79 audio/wav:
80 schema:
81 type: string
82 format: binary