voicer 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +46 -0
- data/Rakefile +8 -0
- data/doc/openapi.json +3442 -0
- data/lib/voicer/accent_phrase.rb +50 -0
- data/lib/voicer/client.rb +10 -0
- data/lib/voicer/rest_api.rb +428 -0
- data/lib/voicer/rest_api_helper.rb +32 -0
- data/lib/voicer/version.rb +5 -0
- data/lib/voicer/voice.rb +66 -0
- data/lib/voicer/voicevox_api.rb +144 -0
- data/lib/voicer.rb +10 -0
- data/sig/voicer.rbs +4 -0
- metadata +60 -0
data/doc/openapi.json
ADDED
@@ -0,0 +1,3442 @@
|
|
1
|
+
{
|
2
|
+
"openapi": "3.1.0",
|
3
|
+
"info": {
|
4
|
+
"title": "VOICEVOX Engine",
|
5
|
+
"description": "VOICEVOX の音声合成エンジンです。",
|
6
|
+
"version": "0.20.0"
|
7
|
+
},
|
8
|
+
"paths": {
|
9
|
+
"/audio_query": {
|
10
|
+
"post": {
|
11
|
+
"tags": [
|
12
|
+
"クエリ作成"
|
13
|
+
],
|
14
|
+
"summary": "音声合成用のクエリを作成する",
|
15
|
+
"description": "音声合成用のクエリの初期値を得ます。ここで得られたクエリはそのまま音声合成に利用できます。各値の意味は`Schemas`を参照してください。",
|
16
|
+
"operationId": "audio_query_audio_query_post",
|
17
|
+
"parameters": [
|
18
|
+
{
|
19
|
+
"name": "text",
|
20
|
+
"in": "query",
|
21
|
+
"required": true,
|
22
|
+
"schema": {
|
23
|
+
"type": "string",
|
24
|
+
"title": "Text"
|
25
|
+
}
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "speaker",
|
29
|
+
"in": "query",
|
30
|
+
"required": true,
|
31
|
+
"schema": {
|
32
|
+
"type": "integer",
|
33
|
+
"title": "Speaker"
|
34
|
+
}
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"name": "core_version",
|
38
|
+
"in": "query",
|
39
|
+
"required": false,
|
40
|
+
"schema": {
|
41
|
+
"type": "string",
|
42
|
+
"title": "Core Version"
|
43
|
+
}
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"responses": {
|
47
|
+
"200": {
|
48
|
+
"description": "Successful Response",
|
49
|
+
"content": {
|
50
|
+
"application/json": {
|
51
|
+
"schema": {
|
52
|
+
"$ref": "#/components/schemas/AudioQuery"
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"422": {
|
58
|
+
"description": "Validation Error",
|
59
|
+
"content": {
|
60
|
+
"application/json": {
|
61
|
+
"schema": {
|
62
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
},
|
70
|
+
"/audio_query_from_preset": {
|
71
|
+
"post": {
|
72
|
+
"tags": [
|
73
|
+
"クエリ作成"
|
74
|
+
],
|
75
|
+
"summary": "音声合成用のクエリをプリセットを用いて作成する",
|
76
|
+
"description": "音声合成用のクエリの初期値を得ます。ここで得られたクエリはそのまま音声合成に利用できます。各値の意味は`Schemas`を参照してください。",
|
77
|
+
"operationId": "audio_query_from_preset_audio_query_from_preset_post",
|
78
|
+
"parameters": [
|
79
|
+
{
|
80
|
+
"name": "text",
|
81
|
+
"in": "query",
|
82
|
+
"required": true,
|
83
|
+
"schema": {
|
84
|
+
"type": "string",
|
85
|
+
"title": "Text"
|
86
|
+
}
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"name": "preset_id",
|
90
|
+
"in": "query",
|
91
|
+
"required": true,
|
92
|
+
"schema": {
|
93
|
+
"type": "integer",
|
94
|
+
"title": "Preset Id"
|
95
|
+
}
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"name": "core_version",
|
99
|
+
"in": "query",
|
100
|
+
"required": false,
|
101
|
+
"schema": {
|
102
|
+
"type": "string",
|
103
|
+
"title": "Core Version"
|
104
|
+
}
|
105
|
+
}
|
106
|
+
],
|
107
|
+
"responses": {
|
108
|
+
"200": {
|
109
|
+
"description": "Successful Response",
|
110
|
+
"content": {
|
111
|
+
"application/json": {
|
112
|
+
"schema": {
|
113
|
+
"$ref": "#/components/schemas/AudioQuery"
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
},
|
118
|
+
"422": {
|
119
|
+
"description": "Validation Error",
|
120
|
+
"content": {
|
121
|
+
"application/json": {
|
122
|
+
"schema": {
|
123
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
},
|
131
|
+
"/accent_phrases": {
|
132
|
+
"post": {
|
133
|
+
"tags": [
|
134
|
+
"クエリ編集"
|
135
|
+
],
|
136
|
+
"summary": "テキストからアクセント句を得る",
|
137
|
+
"description": "テキストからアクセント句を得ます。\nis_kanaが`true`のとき、テキストは次のAquesTalk 風記法で解釈されます。デフォルトは`false`です。\n* 全てのカナはカタカナで記述される\n* アクセント句は`/`または`、`で区切る。`、`で区切った場合に限り無音区間が挿入される。\n* カナの手前に`_`を入れるとそのカナは無声化される\n* アクセント位置を`'`で指定する。全てのアクセント句にはアクセント位置を1つ指定する必要がある。\n* アクセント句末に`?`(全角)を入れることにより疑問文の発音ができる。",
|
138
|
+
"operationId": "accent_phrases_accent_phrases_post",
|
139
|
+
"parameters": [
|
140
|
+
{
|
141
|
+
"name": "text",
|
142
|
+
"in": "query",
|
143
|
+
"required": true,
|
144
|
+
"schema": {
|
145
|
+
"type": "string",
|
146
|
+
"title": "Text"
|
147
|
+
}
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"name": "speaker",
|
151
|
+
"in": "query",
|
152
|
+
"required": true,
|
153
|
+
"schema": {
|
154
|
+
"type": "integer",
|
155
|
+
"title": "Speaker"
|
156
|
+
}
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"name": "is_kana",
|
160
|
+
"in": "query",
|
161
|
+
"required": false,
|
162
|
+
"schema": {
|
163
|
+
"type": "boolean",
|
164
|
+
"default": false,
|
165
|
+
"title": "Is Kana"
|
166
|
+
}
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"name": "core_version",
|
170
|
+
"in": "query",
|
171
|
+
"required": false,
|
172
|
+
"schema": {
|
173
|
+
"type": "string",
|
174
|
+
"title": "Core Version"
|
175
|
+
}
|
176
|
+
}
|
177
|
+
],
|
178
|
+
"responses": {
|
179
|
+
"200": {
|
180
|
+
"description": "Successful Response",
|
181
|
+
"content": {
|
182
|
+
"application/json": {
|
183
|
+
"schema": {
|
184
|
+
"type": "array",
|
185
|
+
"items": {
|
186
|
+
"$ref": "#/components/schemas/AccentPhrase"
|
187
|
+
},
|
188
|
+
"title": "Response Accent Phrases Accent Phrases Post"
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
},
|
193
|
+
"400": {
|
194
|
+
"description": "読み仮名のパースに失敗",
|
195
|
+
"content": {
|
196
|
+
"application/json": {
|
197
|
+
"schema": {
|
198
|
+
"$ref": "#/components/schemas/ParseKanaBadRequest"
|
199
|
+
}
|
200
|
+
}
|
201
|
+
}
|
202
|
+
},
|
203
|
+
"422": {
|
204
|
+
"description": "Validation Error",
|
205
|
+
"content": {
|
206
|
+
"application/json": {
|
207
|
+
"schema": {
|
208
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|
215
|
+
},
|
216
|
+
"/mora_data": {
|
217
|
+
"post": {
|
218
|
+
"tags": [
|
219
|
+
"クエリ編集"
|
220
|
+
],
|
221
|
+
"summary": "アクセント句から音高・音素長を得る",
|
222
|
+
"operationId": "mora_data_mora_data_post",
|
223
|
+
"parameters": [
|
224
|
+
{
|
225
|
+
"name": "speaker",
|
226
|
+
"in": "query",
|
227
|
+
"required": true,
|
228
|
+
"schema": {
|
229
|
+
"type": "integer",
|
230
|
+
"title": "Speaker"
|
231
|
+
}
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"name": "core_version",
|
235
|
+
"in": "query",
|
236
|
+
"required": false,
|
237
|
+
"schema": {
|
238
|
+
"type": "string",
|
239
|
+
"title": "Core Version"
|
240
|
+
}
|
241
|
+
}
|
242
|
+
],
|
243
|
+
"requestBody": {
|
244
|
+
"required": true,
|
245
|
+
"content": {
|
246
|
+
"application/json": {
|
247
|
+
"schema": {
|
248
|
+
"type": "array",
|
249
|
+
"items": {
|
250
|
+
"$ref": "#/components/schemas/AccentPhrase"
|
251
|
+
},
|
252
|
+
"title": "Accent Phrases"
|
253
|
+
}
|
254
|
+
}
|
255
|
+
}
|
256
|
+
},
|
257
|
+
"responses": {
|
258
|
+
"200": {
|
259
|
+
"description": "Successful Response",
|
260
|
+
"content": {
|
261
|
+
"application/json": {
|
262
|
+
"schema": {
|
263
|
+
"type": "array",
|
264
|
+
"items": {
|
265
|
+
"$ref": "#/components/schemas/AccentPhrase"
|
266
|
+
},
|
267
|
+
"title": "Response Mora Data Mora Data Post"
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
},
|
272
|
+
"422": {
|
273
|
+
"description": "Validation Error",
|
274
|
+
"content": {
|
275
|
+
"application/json": {
|
276
|
+
"schema": {
|
277
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
284
|
+
},
|
285
|
+
"/mora_length": {
|
286
|
+
"post": {
|
287
|
+
"tags": [
|
288
|
+
"クエリ編集"
|
289
|
+
],
|
290
|
+
"summary": "アクセント句から音素長を得る",
|
291
|
+
"operationId": "mora_length_mora_length_post",
|
292
|
+
"parameters": [
|
293
|
+
{
|
294
|
+
"name": "speaker",
|
295
|
+
"in": "query",
|
296
|
+
"required": true,
|
297
|
+
"schema": {
|
298
|
+
"type": "integer",
|
299
|
+
"title": "Speaker"
|
300
|
+
}
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"name": "core_version",
|
304
|
+
"in": "query",
|
305
|
+
"required": false,
|
306
|
+
"schema": {
|
307
|
+
"type": "string",
|
308
|
+
"title": "Core Version"
|
309
|
+
}
|
310
|
+
}
|
311
|
+
],
|
312
|
+
"requestBody": {
|
313
|
+
"required": true,
|
314
|
+
"content": {
|
315
|
+
"application/json": {
|
316
|
+
"schema": {
|
317
|
+
"type": "array",
|
318
|
+
"items": {
|
319
|
+
"$ref": "#/components/schemas/AccentPhrase"
|
320
|
+
},
|
321
|
+
"title": "Accent Phrases"
|
322
|
+
}
|
323
|
+
}
|
324
|
+
}
|
325
|
+
},
|
326
|
+
"responses": {
|
327
|
+
"200": {
|
328
|
+
"description": "Successful Response",
|
329
|
+
"content": {
|
330
|
+
"application/json": {
|
331
|
+
"schema": {
|
332
|
+
"type": "array",
|
333
|
+
"items": {
|
334
|
+
"$ref": "#/components/schemas/AccentPhrase"
|
335
|
+
},
|
336
|
+
"title": "Response Mora Length Mora Length Post"
|
337
|
+
}
|
338
|
+
}
|
339
|
+
}
|
340
|
+
},
|
341
|
+
"422": {
|
342
|
+
"description": "Validation Error",
|
343
|
+
"content": {
|
344
|
+
"application/json": {
|
345
|
+
"schema": {
|
346
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
347
|
+
}
|
348
|
+
}
|
349
|
+
}
|
350
|
+
}
|
351
|
+
}
|
352
|
+
}
|
353
|
+
},
|
354
|
+
"/mora_pitch": {
|
355
|
+
"post": {
|
356
|
+
"tags": [
|
357
|
+
"クエリ編集"
|
358
|
+
],
|
359
|
+
"summary": "アクセント句から音高を得る",
|
360
|
+
"operationId": "mora_pitch_mora_pitch_post",
|
361
|
+
"parameters": [
|
362
|
+
{
|
363
|
+
"name": "speaker",
|
364
|
+
"in": "query",
|
365
|
+
"required": true,
|
366
|
+
"schema": {
|
367
|
+
"type": "integer",
|
368
|
+
"title": "Speaker"
|
369
|
+
}
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"name": "core_version",
|
373
|
+
"in": "query",
|
374
|
+
"required": false,
|
375
|
+
"schema": {
|
376
|
+
"type": "string",
|
377
|
+
"title": "Core Version"
|
378
|
+
}
|
379
|
+
}
|
380
|
+
],
|
381
|
+
"requestBody": {
|
382
|
+
"required": true,
|
383
|
+
"content": {
|
384
|
+
"application/json": {
|
385
|
+
"schema": {
|
386
|
+
"type": "array",
|
387
|
+
"items": {
|
388
|
+
"$ref": "#/components/schemas/AccentPhrase"
|
389
|
+
},
|
390
|
+
"title": "Accent Phrases"
|
391
|
+
}
|
392
|
+
}
|
393
|
+
}
|
394
|
+
},
|
395
|
+
"responses": {
|
396
|
+
"200": {
|
397
|
+
"description": "Successful Response",
|
398
|
+
"content": {
|
399
|
+
"application/json": {
|
400
|
+
"schema": {
|
401
|
+
"type": "array",
|
402
|
+
"items": {
|
403
|
+
"$ref": "#/components/schemas/AccentPhrase"
|
404
|
+
},
|
405
|
+
"title": "Response Mora Pitch Mora Pitch Post"
|
406
|
+
}
|
407
|
+
}
|
408
|
+
}
|
409
|
+
},
|
410
|
+
"422": {
|
411
|
+
"description": "Validation Error",
|
412
|
+
"content": {
|
413
|
+
"application/json": {
|
414
|
+
"schema": {
|
415
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
416
|
+
}
|
417
|
+
}
|
418
|
+
}
|
419
|
+
}
|
420
|
+
}
|
421
|
+
}
|
422
|
+
},
|
423
|
+
"/synthesis": {
|
424
|
+
"post": {
|
425
|
+
"tags": [
|
426
|
+
"音声合成"
|
427
|
+
],
|
428
|
+
"summary": "音声合成する",
|
429
|
+
"operationId": "synthesis_synthesis_post",
|
430
|
+
"parameters": [
|
431
|
+
{
|
432
|
+
"name": "speaker",
|
433
|
+
"in": "query",
|
434
|
+
"required": true,
|
435
|
+
"schema": {
|
436
|
+
"type": "integer",
|
437
|
+
"title": "Speaker"
|
438
|
+
}
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"name": "enable_interrogative_upspeak",
|
442
|
+
"in": "query",
|
443
|
+
"required": false,
|
444
|
+
"schema": {
|
445
|
+
"type": "boolean",
|
446
|
+
"description": "疑問系のテキストが与えられたら語尾を自動調整する",
|
447
|
+
"default": true,
|
448
|
+
"title": "Enable Interrogative Upspeak"
|
449
|
+
},
|
450
|
+
"description": "疑問系のテキストが与えられたら語尾を自動調整する"
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"name": "core_version",
|
454
|
+
"in": "query",
|
455
|
+
"required": false,
|
456
|
+
"schema": {
|
457
|
+
"type": "string",
|
458
|
+
"title": "Core Version"
|
459
|
+
}
|
460
|
+
}
|
461
|
+
],
|
462
|
+
"requestBody": {
|
463
|
+
"required": true,
|
464
|
+
"content": {
|
465
|
+
"application/json": {
|
466
|
+
"schema": {
|
467
|
+
"$ref": "#/components/schemas/AudioQuery"
|
468
|
+
}
|
469
|
+
}
|
470
|
+
}
|
471
|
+
},
|
472
|
+
"responses": {
|
473
|
+
"200": {
|
474
|
+
"description": "Successful Response",
|
475
|
+
"content": {
|
476
|
+
"audio/wav": {
|
477
|
+
"schema": {
|
478
|
+
"type": "string",
|
479
|
+
"format": "binary"
|
480
|
+
}
|
481
|
+
}
|
482
|
+
}
|
483
|
+
},
|
484
|
+
"422": {
|
485
|
+
"description": "Validation Error",
|
486
|
+
"content": {
|
487
|
+
"application/json": {
|
488
|
+
"schema": {
|
489
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
490
|
+
}
|
491
|
+
}
|
492
|
+
}
|
493
|
+
}
|
494
|
+
}
|
495
|
+
}
|
496
|
+
},
|
497
|
+
"/cancellable_synthesis": {
|
498
|
+
"post": {
|
499
|
+
"tags": [
|
500
|
+
"音声合成"
|
501
|
+
],
|
502
|
+
"summary": "音声合成する(キャンセル可能)",
|
503
|
+
"operationId": "cancellable_synthesis_cancellable_synthesis_post",
|
504
|
+
"parameters": [
|
505
|
+
{
|
506
|
+
"name": "speaker",
|
507
|
+
"in": "query",
|
508
|
+
"required": true,
|
509
|
+
"schema": {
|
510
|
+
"type": "integer",
|
511
|
+
"title": "Speaker"
|
512
|
+
}
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"name": "core_version",
|
516
|
+
"in": "query",
|
517
|
+
"required": false,
|
518
|
+
"schema": {
|
519
|
+
"type": "string",
|
520
|
+
"title": "Core Version"
|
521
|
+
}
|
522
|
+
}
|
523
|
+
],
|
524
|
+
"requestBody": {
|
525
|
+
"required": true,
|
526
|
+
"content": {
|
527
|
+
"application/json": {
|
528
|
+
"schema": {
|
529
|
+
"$ref": "#/components/schemas/AudioQuery"
|
530
|
+
}
|
531
|
+
}
|
532
|
+
}
|
533
|
+
},
|
534
|
+
"responses": {
|
535
|
+
"200": {
|
536
|
+
"description": "Successful Response",
|
537
|
+
"content": {
|
538
|
+
"audio/wav": {
|
539
|
+
"schema": {
|
540
|
+
"type": "string",
|
541
|
+
"format": "binary"
|
542
|
+
}
|
543
|
+
}
|
544
|
+
}
|
545
|
+
},
|
546
|
+
"422": {
|
547
|
+
"description": "Validation Error",
|
548
|
+
"content": {
|
549
|
+
"application/json": {
|
550
|
+
"schema": {
|
551
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
552
|
+
}
|
553
|
+
}
|
554
|
+
}
|
555
|
+
}
|
556
|
+
}
|
557
|
+
}
|
558
|
+
},
|
559
|
+
"/multi_synthesis": {
|
560
|
+
"post": {
|
561
|
+
"tags": [
|
562
|
+
"音声合成"
|
563
|
+
],
|
564
|
+
"summary": "複数まとめて音声合成する",
|
565
|
+
"operationId": "multi_synthesis_multi_synthesis_post",
|
566
|
+
"parameters": [
|
567
|
+
{
|
568
|
+
"name": "speaker",
|
569
|
+
"in": "query",
|
570
|
+
"required": true,
|
571
|
+
"schema": {
|
572
|
+
"type": "integer",
|
573
|
+
"title": "Speaker"
|
574
|
+
}
|
575
|
+
},
|
576
|
+
{
|
577
|
+
"name": "core_version",
|
578
|
+
"in": "query",
|
579
|
+
"required": false,
|
580
|
+
"schema": {
|
581
|
+
"type": "string",
|
582
|
+
"title": "Core Version"
|
583
|
+
}
|
584
|
+
}
|
585
|
+
],
|
586
|
+
"requestBody": {
|
587
|
+
"required": true,
|
588
|
+
"content": {
|
589
|
+
"application/json": {
|
590
|
+
"schema": {
|
591
|
+
"type": "array",
|
592
|
+
"items": {
|
593
|
+
"$ref": "#/components/schemas/AudioQuery"
|
594
|
+
},
|
595
|
+
"title": "Queries"
|
596
|
+
}
|
597
|
+
}
|
598
|
+
}
|
599
|
+
},
|
600
|
+
"responses": {
|
601
|
+
"200": {
|
602
|
+
"description": "Successful Response",
|
603
|
+
"content": {
|
604
|
+
"application/zip": {
|
605
|
+
"schema": {
|
606
|
+
"type": "string",
|
607
|
+
"format": "binary"
|
608
|
+
}
|
609
|
+
}
|
610
|
+
}
|
611
|
+
},
|
612
|
+
"422": {
|
613
|
+
"description": "Validation Error",
|
614
|
+
"content": {
|
615
|
+
"application/json": {
|
616
|
+
"schema": {
|
617
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
618
|
+
}
|
619
|
+
}
|
620
|
+
}
|
621
|
+
}
|
622
|
+
}
|
623
|
+
}
|
624
|
+
},
|
625
|
+
"/sing_frame_audio_query": {
|
626
|
+
"post": {
|
627
|
+
"tags": [
|
628
|
+
"クエリ作成"
|
629
|
+
],
|
630
|
+
"summary": "歌唱音声合成用のクエリを作成する",
|
631
|
+
"description": "歌唱音声合成用のクエリの初期値を得ます。ここで得られたクエリはそのまま歌唱音声合成に利用できます。各値の意味は`Schemas`を参照してください。",
|
632
|
+
"operationId": "sing_frame_audio_query_sing_frame_audio_query_post",
|
633
|
+
"parameters": [
|
634
|
+
{
|
635
|
+
"name": "speaker",
|
636
|
+
"in": "query",
|
637
|
+
"required": true,
|
638
|
+
"schema": {
|
639
|
+
"type": "integer",
|
640
|
+
"title": "Speaker"
|
641
|
+
}
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"name": "core_version",
|
645
|
+
"in": "query",
|
646
|
+
"required": false,
|
647
|
+
"schema": {
|
648
|
+
"type": "string",
|
649
|
+
"title": "Core Version"
|
650
|
+
}
|
651
|
+
}
|
652
|
+
],
|
653
|
+
"requestBody": {
|
654
|
+
"required": true,
|
655
|
+
"content": {
|
656
|
+
"application/json": {
|
657
|
+
"schema": {
|
658
|
+
"$ref": "#/components/schemas/Score"
|
659
|
+
}
|
660
|
+
}
|
661
|
+
}
|
662
|
+
},
|
663
|
+
"responses": {
|
664
|
+
"200": {
|
665
|
+
"description": "Successful Response",
|
666
|
+
"content": {
|
667
|
+
"application/json": {
|
668
|
+
"schema": {
|
669
|
+
"$ref": "#/components/schemas/FrameAudioQuery"
|
670
|
+
}
|
671
|
+
}
|
672
|
+
}
|
673
|
+
},
|
674
|
+
"422": {
|
675
|
+
"description": "Validation Error",
|
676
|
+
"content": {
|
677
|
+
"application/json": {
|
678
|
+
"schema": {
|
679
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
680
|
+
}
|
681
|
+
}
|
682
|
+
}
|
683
|
+
}
|
684
|
+
}
|
685
|
+
}
|
686
|
+
},
|
687
|
+
"/sing_frame_volume": {
|
688
|
+
"post": {
|
689
|
+
"tags": [
|
690
|
+
"クエリ編集"
|
691
|
+
],
|
692
|
+
"summary": "スコア・歌唱音声合成用のクエリからフレームごとの音量を得る",
|
693
|
+
"operationId": "sing_frame_volume_sing_frame_volume_post",
|
694
|
+
"parameters": [
|
695
|
+
{
|
696
|
+
"name": "speaker",
|
697
|
+
"in": "query",
|
698
|
+
"required": true,
|
699
|
+
"schema": {
|
700
|
+
"type": "integer",
|
701
|
+
"title": "Speaker"
|
702
|
+
}
|
703
|
+
},
|
704
|
+
{
|
705
|
+
"name": "core_version",
|
706
|
+
"in": "query",
|
707
|
+
"required": false,
|
708
|
+
"schema": {
|
709
|
+
"type": "string",
|
710
|
+
"title": "Core Version"
|
711
|
+
}
|
712
|
+
}
|
713
|
+
],
|
714
|
+
"requestBody": {
|
715
|
+
"required": true,
|
716
|
+
"content": {
|
717
|
+
"application/json": {
|
718
|
+
"schema": {
|
719
|
+
"$ref": "#/components/schemas/Body_sing_frame_volume_sing_frame_volume_post"
|
720
|
+
}
|
721
|
+
}
|
722
|
+
}
|
723
|
+
},
|
724
|
+
"responses": {
|
725
|
+
"200": {
|
726
|
+
"description": "Successful Response",
|
727
|
+
"content": {
|
728
|
+
"application/json": {
|
729
|
+
"schema": {
|
730
|
+
"type": "array",
|
731
|
+
"items": {
|
732
|
+
"type": "number"
|
733
|
+
},
|
734
|
+
"title": "Response Sing Frame Volume Sing Frame Volume Post"
|
735
|
+
}
|
736
|
+
}
|
737
|
+
}
|
738
|
+
},
|
739
|
+
"422": {
|
740
|
+
"description": "Validation Error",
|
741
|
+
"content": {
|
742
|
+
"application/json": {
|
743
|
+
"schema": {
|
744
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
745
|
+
}
|
746
|
+
}
|
747
|
+
}
|
748
|
+
}
|
749
|
+
}
|
750
|
+
}
|
751
|
+
},
|
752
|
+
"/frame_synthesis": {
|
753
|
+
"post": {
|
754
|
+
"tags": [
|
755
|
+
"音声合成"
|
756
|
+
],
|
757
|
+
"summary": "Frame Synthesis",
|
758
|
+
"description": "歌唱音声合成を行います。",
|
759
|
+
"operationId": "frame_synthesis_frame_synthesis_post",
|
760
|
+
"parameters": [
|
761
|
+
{
|
762
|
+
"name": "speaker",
|
763
|
+
"in": "query",
|
764
|
+
"required": true,
|
765
|
+
"schema": {
|
766
|
+
"type": "integer",
|
767
|
+
"title": "Speaker"
|
768
|
+
}
|
769
|
+
},
|
770
|
+
{
|
771
|
+
"name": "core_version",
|
772
|
+
"in": "query",
|
773
|
+
"required": false,
|
774
|
+
"schema": {
|
775
|
+
"type": "string",
|
776
|
+
"title": "Core Version"
|
777
|
+
}
|
778
|
+
}
|
779
|
+
],
|
780
|
+
"requestBody": {
|
781
|
+
"required": true,
|
782
|
+
"content": {
|
783
|
+
"application/json": {
|
784
|
+
"schema": {
|
785
|
+
"$ref": "#/components/schemas/FrameAudioQuery"
|
786
|
+
}
|
787
|
+
}
|
788
|
+
}
|
789
|
+
},
|
790
|
+
"responses": {
|
791
|
+
"200": {
|
792
|
+
"description": "Successful Response",
|
793
|
+
"content": {
|
794
|
+
"audio/wav": {
|
795
|
+
"schema": {
|
796
|
+
"type": "string",
|
797
|
+
"format": "binary"
|
798
|
+
}
|
799
|
+
}
|
800
|
+
}
|
801
|
+
},
|
802
|
+
"422": {
|
803
|
+
"description": "Validation Error",
|
804
|
+
"content": {
|
805
|
+
"application/json": {
|
806
|
+
"schema": {
|
807
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
808
|
+
}
|
809
|
+
}
|
810
|
+
}
|
811
|
+
}
|
812
|
+
}
|
813
|
+
}
|
814
|
+
},
|
815
|
+
"/connect_waves": {
|
816
|
+
"post": {
|
817
|
+
"tags": [
|
818
|
+
"その他"
|
819
|
+
],
|
820
|
+
"summary": "base64エンコードされた複数のwavデータを一つに結合する",
|
821
|
+
"description": "base64エンコードされたwavデータを一纏めにし、wavファイルで返します。",
|
822
|
+
"operationId": "connect_waves_connect_waves_post",
|
823
|
+
"requestBody": {
|
824
|
+
"content": {
|
825
|
+
"application/json": {
|
826
|
+
"schema": {
|
827
|
+
"items": {
|
828
|
+
"type": "string"
|
829
|
+
},
|
830
|
+
"type": "array",
|
831
|
+
"title": "Waves"
|
832
|
+
}
|
833
|
+
}
|
834
|
+
},
|
835
|
+
"required": true
|
836
|
+
},
|
837
|
+
"responses": {
|
838
|
+
"200": {
|
839
|
+
"description": "Successful Response",
|
840
|
+
"content": {
|
841
|
+
"audio/wav": {
|
842
|
+
"schema": {
|
843
|
+
"type": "string",
|
844
|
+
"format": "binary"
|
845
|
+
}
|
846
|
+
}
|
847
|
+
}
|
848
|
+
},
|
849
|
+
"422": {
|
850
|
+
"description": "Validation Error",
|
851
|
+
"content": {
|
852
|
+
"application/json": {
|
853
|
+
"schema": {
|
854
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
855
|
+
}
|
856
|
+
}
|
857
|
+
}
|
858
|
+
}
|
859
|
+
}
|
860
|
+
}
|
861
|
+
},
|
862
|
+
"/validate_kana": {
|
863
|
+
"post": {
|
864
|
+
"tags": [
|
865
|
+
"その他"
|
866
|
+
],
|
867
|
+
"summary": "テキストがAquesTalk 風記法に従っているか判定する",
|
868
|
+
"description": "テキストがAquesTalk 風記法に従っているかどうかを判定します。\n従っていない場合はエラーが返ります。",
|
869
|
+
"operationId": "validate_kana_validate_kana_post",
|
870
|
+
"parameters": [
|
871
|
+
{
|
872
|
+
"name": "text",
|
873
|
+
"in": "query",
|
874
|
+
"required": true,
|
875
|
+
"schema": {
|
876
|
+
"type": "string",
|
877
|
+
"description": "判定する対象の文字列",
|
878
|
+
"title": "Text"
|
879
|
+
},
|
880
|
+
"description": "判定する対象の文字列"
|
881
|
+
}
|
882
|
+
],
|
883
|
+
"responses": {
|
884
|
+
"200": {
|
885
|
+
"description": "Successful Response",
|
886
|
+
"content": {
|
887
|
+
"application/json": {
|
888
|
+
"schema": {
|
889
|
+
"type": "boolean",
|
890
|
+
"title": "Response Validate Kana Validate Kana Post"
|
891
|
+
}
|
892
|
+
}
|
893
|
+
}
|
894
|
+
},
|
895
|
+
"400": {
|
896
|
+
"description": "テキストが不正です",
|
897
|
+
"content": {
|
898
|
+
"application/json": {
|
899
|
+
"schema": {
|
900
|
+
"$ref": "#/components/schemas/ParseKanaBadRequest"
|
901
|
+
}
|
902
|
+
}
|
903
|
+
}
|
904
|
+
},
|
905
|
+
"422": {
|
906
|
+
"description": "Validation Error",
|
907
|
+
"content": {
|
908
|
+
"application/json": {
|
909
|
+
"schema": {
|
910
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
911
|
+
}
|
912
|
+
}
|
913
|
+
}
|
914
|
+
}
|
915
|
+
}
|
916
|
+
}
|
917
|
+
},
|
918
|
+
"/initialize_speaker": {
|
919
|
+
"post": {
|
920
|
+
"tags": [
|
921
|
+
"その他"
|
922
|
+
],
|
923
|
+
"summary": "Initialize Speaker",
|
924
|
+
"description": "指定されたスタイルを初期化します。\n実行しなくても他のAPIは使用できますが、初回実行時に時間がかかることがあります。",
|
925
|
+
"operationId": "initialize_speaker_initialize_speaker_post",
|
926
|
+
"parameters": [
|
927
|
+
{
|
928
|
+
"name": "speaker",
|
929
|
+
"in": "query",
|
930
|
+
"required": true,
|
931
|
+
"schema": {
|
932
|
+
"type": "integer",
|
933
|
+
"title": "Speaker"
|
934
|
+
}
|
935
|
+
},
|
936
|
+
{
|
937
|
+
"name": "skip_reinit",
|
938
|
+
"in": "query",
|
939
|
+
"required": false,
|
940
|
+
"schema": {
|
941
|
+
"type": "boolean",
|
942
|
+
"description": "既に初期化済みのスタイルの再初期化をスキップするかどうか",
|
943
|
+
"default": false,
|
944
|
+
"title": "Skip Reinit"
|
945
|
+
},
|
946
|
+
"description": "既に初期化済みのスタイルの再初期化をスキップするかどうか"
|
947
|
+
},
|
948
|
+
{
|
949
|
+
"name": "core_version",
|
950
|
+
"in": "query",
|
951
|
+
"required": false,
|
952
|
+
"schema": {
|
953
|
+
"type": "string",
|
954
|
+
"title": "Core Version"
|
955
|
+
}
|
956
|
+
}
|
957
|
+
],
|
958
|
+
"responses": {
|
959
|
+
"204": {
|
960
|
+
"description": "Successful Response"
|
961
|
+
},
|
962
|
+
"422": {
|
963
|
+
"description": "Validation Error",
|
964
|
+
"content": {
|
965
|
+
"application/json": {
|
966
|
+
"schema": {
|
967
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
968
|
+
}
|
969
|
+
}
|
970
|
+
}
|
971
|
+
}
|
972
|
+
}
|
973
|
+
}
|
974
|
+
},
|
975
|
+
"/is_initialized_speaker": {
|
976
|
+
"get": {
|
977
|
+
"tags": [
|
978
|
+
"その他"
|
979
|
+
],
|
980
|
+
"summary": "Is Initialized Speaker",
|
981
|
+
"description": "指定されたスタイルが初期化されているかどうかを返します。",
|
982
|
+
"operationId": "is_initialized_speaker_is_initialized_speaker_get",
|
983
|
+
"parameters": [
|
984
|
+
{
|
985
|
+
"name": "speaker",
|
986
|
+
"in": "query",
|
987
|
+
"required": true,
|
988
|
+
"schema": {
|
989
|
+
"type": "integer",
|
990
|
+
"title": "Speaker"
|
991
|
+
}
|
992
|
+
},
|
993
|
+
{
|
994
|
+
"name": "core_version",
|
995
|
+
"in": "query",
|
996
|
+
"required": false,
|
997
|
+
"schema": {
|
998
|
+
"type": "string",
|
999
|
+
"title": "Core Version"
|
1000
|
+
}
|
1001
|
+
}
|
1002
|
+
],
|
1003
|
+
"responses": {
|
1004
|
+
"200": {
|
1005
|
+
"description": "Successful Response",
|
1006
|
+
"content": {
|
1007
|
+
"application/json": {
|
1008
|
+
"schema": {
|
1009
|
+
"type": "boolean",
|
1010
|
+
"title": "Response Is Initialized Speaker Is Initialized Speaker Get"
|
1011
|
+
}
|
1012
|
+
}
|
1013
|
+
}
|
1014
|
+
},
|
1015
|
+
"422": {
|
1016
|
+
"description": "Validation Error",
|
1017
|
+
"content": {
|
1018
|
+
"application/json": {
|
1019
|
+
"schema": {
|
1020
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1021
|
+
}
|
1022
|
+
}
|
1023
|
+
}
|
1024
|
+
}
|
1025
|
+
}
|
1026
|
+
}
|
1027
|
+
},
|
1028
|
+
"/supported_devices": {
|
1029
|
+
"get": {
|
1030
|
+
"tags": [
|
1031
|
+
"その他"
|
1032
|
+
],
|
1033
|
+
"summary": "Supported Devices",
|
1034
|
+
"description": "対応デバイスの一覧を取得します。",
|
1035
|
+
"operationId": "supported_devices_supported_devices_get",
|
1036
|
+
"parameters": [
|
1037
|
+
{
|
1038
|
+
"name": "core_version",
|
1039
|
+
"in": "query",
|
1040
|
+
"required": false,
|
1041
|
+
"schema": {
|
1042
|
+
"type": "string",
|
1043
|
+
"title": "Core Version"
|
1044
|
+
}
|
1045
|
+
}
|
1046
|
+
],
|
1047
|
+
"responses": {
|
1048
|
+
"200": {
|
1049
|
+
"description": "Successful Response",
|
1050
|
+
"content": {
|
1051
|
+
"application/json": {
|
1052
|
+
"schema": {
|
1053
|
+
"$ref": "#/components/schemas/SupportedDevicesInfo"
|
1054
|
+
}
|
1055
|
+
}
|
1056
|
+
}
|
1057
|
+
},
|
1058
|
+
"422": {
|
1059
|
+
"description": "Validation Error",
|
1060
|
+
"content": {
|
1061
|
+
"application/json": {
|
1062
|
+
"schema": {
|
1063
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1064
|
+
}
|
1065
|
+
}
|
1066
|
+
}
|
1067
|
+
}
|
1068
|
+
}
|
1069
|
+
}
|
1070
|
+
},
|
1071
|
+
"/morphable_targets": {
|
1072
|
+
"post": {
|
1073
|
+
"tags": [
|
1074
|
+
"音声合成"
|
1075
|
+
],
|
1076
|
+
"summary": "指定したスタイルに対してエンジン内のキャラクターがモーフィングが可能か判定する",
|
1077
|
+
"description": "指定されたベーススタイルに対してエンジン内の各キャラクターがモーフィング機能を利用可能か返します。\nモーフィングの許可/禁止は`/speakers`の`speaker.supported_features.synthesis_morphing`に記載されています。\nプロパティが存在しない場合は、モーフィングが許可されているとみなします。\n返り値のスタイルIDはstring型なので注意。",
|
1078
|
+
"operationId": "morphable_targets_morphable_targets_post",
|
1079
|
+
"parameters": [
|
1080
|
+
{
|
1081
|
+
"name": "core_version",
|
1082
|
+
"in": "query",
|
1083
|
+
"required": false,
|
1084
|
+
"schema": {
|
1085
|
+
"type": "string",
|
1086
|
+
"title": "Core Version"
|
1087
|
+
}
|
1088
|
+
}
|
1089
|
+
],
|
1090
|
+
"requestBody": {
|
1091
|
+
"required": true,
|
1092
|
+
"content": {
|
1093
|
+
"application/json": {
|
1094
|
+
"schema": {
|
1095
|
+
"type": "array",
|
1096
|
+
"items": {
|
1097
|
+
"type": "integer"
|
1098
|
+
},
|
1099
|
+
"title": "Base Style Ids"
|
1100
|
+
}
|
1101
|
+
}
|
1102
|
+
}
|
1103
|
+
},
|
1104
|
+
"responses": {
|
1105
|
+
"200": {
|
1106
|
+
"description": "Successful Response",
|
1107
|
+
"content": {
|
1108
|
+
"application/json": {
|
1109
|
+
"schema": {
|
1110
|
+
"type": "array",
|
1111
|
+
"items": {
|
1112
|
+
"type": "object",
|
1113
|
+
"additionalProperties": {
|
1114
|
+
"$ref": "#/components/schemas/MorphableTargetInfo"
|
1115
|
+
}
|
1116
|
+
},
|
1117
|
+
"title": "Response Morphable Targets Morphable Targets Post"
|
1118
|
+
}
|
1119
|
+
}
|
1120
|
+
}
|
1121
|
+
},
|
1122
|
+
"422": {
|
1123
|
+
"description": "Validation Error",
|
1124
|
+
"content": {
|
1125
|
+
"application/json": {
|
1126
|
+
"schema": {
|
1127
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1128
|
+
}
|
1129
|
+
}
|
1130
|
+
}
|
1131
|
+
}
|
1132
|
+
}
|
1133
|
+
}
|
1134
|
+
},
|
1135
|
+
"/synthesis_morphing": {
|
1136
|
+
"post": {
|
1137
|
+
"tags": [
|
1138
|
+
"音声合成"
|
1139
|
+
],
|
1140
|
+
"summary": "2種類のスタイルでモーフィングした音声を合成する",
|
1141
|
+
"description": "指定された2種類のスタイルで音声を合成、指定した割合でモーフィングした音声を得ます。\nモーフィングの割合は`morph_rate`で指定でき、0.0でベースのスタイル、1.0でターゲットのスタイルに近づきます。",
|
1142
|
+
"operationId": "_synthesis_morphing_synthesis_morphing_post",
|
1143
|
+
"parameters": [
|
1144
|
+
{
|
1145
|
+
"name": "base_speaker",
|
1146
|
+
"in": "query",
|
1147
|
+
"required": true,
|
1148
|
+
"schema": {
|
1149
|
+
"type": "integer",
|
1150
|
+
"title": "Base Speaker"
|
1151
|
+
}
|
1152
|
+
},
|
1153
|
+
{
|
1154
|
+
"name": "target_speaker",
|
1155
|
+
"in": "query",
|
1156
|
+
"required": true,
|
1157
|
+
"schema": {
|
1158
|
+
"type": "integer",
|
1159
|
+
"title": "Target Speaker"
|
1160
|
+
}
|
1161
|
+
},
|
1162
|
+
{
|
1163
|
+
"name": "morph_rate",
|
1164
|
+
"in": "query",
|
1165
|
+
"required": true,
|
1166
|
+
"schema": {
|
1167
|
+
"type": "number",
|
1168
|
+
"maximum": 1,
|
1169
|
+
"minimum": 0,
|
1170
|
+
"title": "Morph Rate"
|
1171
|
+
}
|
1172
|
+
},
|
1173
|
+
{
|
1174
|
+
"name": "core_version",
|
1175
|
+
"in": "query",
|
1176
|
+
"required": false,
|
1177
|
+
"schema": {
|
1178
|
+
"type": "string",
|
1179
|
+
"title": "Core Version"
|
1180
|
+
}
|
1181
|
+
}
|
1182
|
+
],
|
1183
|
+
"requestBody": {
|
1184
|
+
"required": true,
|
1185
|
+
"content": {
|
1186
|
+
"application/json": {
|
1187
|
+
"schema": {
|
1188
|
+
"$ref": "#/components/schemas/AudioQuery"
|
1189
|
+
}
|
1190
|
+
}
|
1191
|
+
}
|
1192
|
+
},
|
1193
|
+
"responses": {
|
1194
|
+
"200": {
|
1195
|
+
"description": "Successful Response",
|
1196
|
+
"content": {
|
1197
|
+
"audio/wav": {
|
1198
|
+
"schema": {
|
1199
|
+
"type": "string",
|
1200
|
+
"format": "binary"
|
1201
|
+
}
|
1202
|
+
}
|
1203
|
+
}
|
1204
|
+
},
|
1205
|
+
"422": {
|
1206
|
+
"description": "Validation Error",
|
1207
|
+
"content": {
|
1208
|
+
"application/json": {
|
1209
|
+
"schema": {
|
1210
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1211
|
+
}
|
1212
|
+
}
|
1213
|
+
}
|
1214
|
+
}
|
1215
|
+
}
|
1216
|
+
}
|
1217
|
+
},
|
1218
|
+
"/presets": {
|
1219
|
+
"get": {
|
1220
|
+
"tags": [
|
1221
|
+
"その他"
|
1222
|
+
],
|
1223
|
+
"summary": "Get Presets",
|
1224
|
+
"description": "エンジンが保持しているプリセットの設定を返します",
|
1225
|
+
"operationId": "get_presets_presets_get",
|
1226
|
+
"responses": {
|
1227
|
+
"200": {
|
1228
|
+
"description": "プリセットのリスト",
|
1229
|
+
"content": {
|
1230
|
+
"application/json": {
|
1231
|
+
"schema": {
|
1232
|
+
"items": {
|
1233
|
+
"$ref": "#/components/schemas/Preset"
|
1234
|
+
},
|
1235
|
+
"type": "array",
|
1236
|
+
"title": "Response Get Presets Presets Get"
|
1237
|
+
}
|
1238
|
+
}
|
1239
|
+
}
|
1240
|
+
}
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
},
|
1244
|
+
"/add_preset": {
|
1245
|
+
"post": {
|
1246
|
+
"tags": [
|
1247
|
+
"その他"
|
1248
|
+
],
|
1249
|
+
"summary": "Add Preset",
|
1250
|
+
"description": "新しいプリセットを追加します",
|
1251
|
+
"operationId": "add_preset_add_preset_post",
|
1252
|
+
"requestBody": {
|
1253
|
+
"content": {
|
1254
|
+
"application/json": {
|
1255
|
+
"schema": {
|
1256
|
+
"allOf": [
|
1257
|
+
{
|
1258
|
+
"$ref": "#/components/schemas/Preset"
|
1259
|
+
}
|
1260
|
+
],
|
1261
|
+
"title": "Preset",
|
1262
|
+
"description": "新しいプリセット。プリセットIDが既存のものと重複している場合は、新規のプリセットIDが採番されます。"
|
1263
|
+
}
|
1264
|
+
}
|
1265
|
+
},
|
1266
|
+
"required": true
|
1267
|
+
},
|
1268
|
+
"responses": {
|
1269
|
+
"200": {
|
1270
|
+
"description": "追加したプリセットのプリセットID",
|
1271
|
+
"content": {
|
1272
|
+
"application/json": {
|
1273
|
+
"schema": {
|
1274
|
+
"type": "integer",
|
1275
|
+
"title": "Response Add Preset Add Preset Post"
|
1276
|
+
}
|
1277
|
+
}
|
1278
|
+
}
|
1279
|
+
},
|
1280
|
+
"422": {
|
1281
|
+
"description": "Validation Error",
|
1282
|
+
"content": {
|
1283
|
+
"application/json": {
|
1284
|
+
"schema": {
|
1285
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1286
|
+
}
|
1287
|
+
}
|
1288
|
+
}
|
1289
|
+
}
|
1290
|
+
}
|
1291
|
+
}
|
1292
|
+
},
|
1293
|
+
"/update_preset": {
|
1294
|
+
"post": {
|
1295
|
+
"tags": [
|
1296
|
+
"その他"
|
1297
|
+
],
|
1298
|
+
"summary": "Update Preset",
|
1299
|
+
"description": "既存のプリセットを更新します",
|
1300
|
+
"operationId": "update_preset_update_preset_post",
|
1301
|
+
"requestBody": {
|
1302
|
+
"content": {
|
1303
|
+
"application/json": {
|
1304
|
+
"schema": {
|
1305
|
+
"allOf": [
|
1306
|
+
{
|
1307
|
+
"$ref": "#/components/schemas/Preset"
|
1308
|
+
}
|
1309
|
+
],
|
1310
|
+
"title": "Preset",
|
1311
|
+
"description": "更新するプリセット。プリセットIDが更新対象と一致している必要があります。"
|
1312
|
+
}
|
1313
|
+
}
|
1314
|
+
},
|
1315
|
+
"required": true
|
1316
|
+
},
|
1317
|
+
"responses": {
|
1318
|
+
"200": {
|
1319
|
+
"description": "更新したプリセットのプリセットID",
|
1320
|
+
"content": {
|
1321
|
+
"application/json": {
|
1322
|
+
"schema": {
|
1323
|
+
"type": "integer",
|
1324
|
+
"title": "Response Update Preset Update Preset Post"
|
1325
|
+
}
|
1326
|
+
}
|
1327
|
+
}
|
1328
|
+
},
|
1329
|
+
"422": {
|
1330
|
+
"description": "Validation Error",
|
1331
|
+
"content": {
|
1332
|
+
"application/json": {
|
1333
|
+
"schema": {
|
1334
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1335
|
+
}
|
1336
|
+
}
|
1337
|
+
}
|
1338
|
+
}
|
1339
|
+
}
|
1340
|
+
}
|
1341
|
+
},
|
1342
|
+
"/delete_preset": {
|
1343
|
+
"post": {
|
1344
|
+
"tags": [
|
1345
|
+
"その他"
|
1346
|
+
],
|
1347
|
+
"summary": "Delete Preset",
|
1348
|
+
"description": "既存のプリセットを削除します",
|
1349
|
+
"operationId": "delete_preset_delete_preset_post",
|
1350
|
+
"parameters": [
|
1351
|
+
{
|
1352
|
+
"name": "id",
|
1353
|
+
"in": "query",
|
1354
|
+
"required": true,
|
1355
|
+
"schema": {
|
1356
|
+
"type": "integer",
|
1357
|
+
"description": "削除するプリセットのプリセットID",
|
1358
|
+
"title": "Id"
|
1359
|
+
},
|
1360
|
+
"description": "削除するプリセットのプリセットID"
|
1361
|
+
}
|
1362
|
+
],
|
1363
|
+
"responses": {
|
1364
|
+
"204": {
|
1365
|
+
"description": "Successful Response"
|
1366
|
+
},
|
1367
|
+
"422": {
|
1368
|
+
"description": "Validation Error",
|
1369
|
+
"content": {
|
1370
|
+
"application/json": {
|
1371
|
+
"schema": {
|
1372
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1373
|
+
}
|
1374
|
+
}
|
1375
|
+
}
|
1376
|
+
}
|
1377
|
+
}
|
1378
|
+
}
|
1379
|
+
},
|
1380
|
+
"/speakers": {
|
1381
|
+
"get": {
|
1382
|
+
"tags": [
|
1383
|
+
"その他"
|
1384
|
+
],
|
1385
|
+
"summary": "Speakers",
|
1386
|
+
"description": "喋れるキャラクターの情報の一覧を返します。",
|
1387
|
+
"operationId": "speakers_speakers_get",
|
1388
|
+
"parameters": [
|
1389
|
+
{
|
1390
|
+
"name": "core_version",
|
1391
|
+
"in": "query",
|
1392
|
+
"required": false,
|
1393
|
+
"schema": {
|
1394
|
+
"type": "string",
|
1395
|
+
"title": "Core Version"
|
1396
|
+
}
|
1397
|
+
}
|
1398
|
+
],
|
1399
|
+
"responses": {
|
1400
|
+
"200": {
|
1401
|
+
"description": "Successful Response",
|
1402
|
+
"content": {
|
1403
|
+
"application/json": {
|
1404
|
+
"schema": {
|
1405
|
+
"type": "array",
|
1406
|
+
"items": {
|
1407
|
+
"$ref": "#/components/schemas/Speaker"
|
1408
|
+
},
|
1409
|
+
"title": "Response Speakers Speakers Get"
|
1410
|
+
}
|
1411
|
+
}
|
1412
|
+
}
|
1413
|
+
},
|
1414
|
+
"422": {
|
1415
|
+
"description": "Validation Error",
|
1416
|
+
"content": {
|
1417
|
+
"application/json": {
|
1418
|
+
"schema": {
|
1419
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1420
|
+
}
|
1421
|
+
}
|
1422
|
+
}
|
1423
|
+
}
|
1424
|
+
}
|
1425
|
+
}
|
1426
|
+
},
|
1427
|
+
"/speaker_info": {
|
1428
|
+
"get": {
|
1429
|
+
"tags": [
|
1430
|
+
"その他"
|
1431
|
+
],
|
1432
|
+
"summary": "Speaker Info",
|
1433
|
+
"description": "UUID で指定された喋れるキャラクターの情報を返します。\n画像や音声はresource_formatで指定した形式で返されます。",
|
1434
|
+
"operationId": "speaker_info_speaker_info_get",
|
1435
|
+
"parameters": [
|
1436
|
+
{
|
1437
|
+
"name": "speaker_uuid",
|
1438
|
+
"in": "query",
|
1439
|
+
"required": true,
|
1440
|
+
"schema": {
|
1441
|
+
"type": "string",
|
1442
|
+
"title": "Speaker Uuid"
|
1443
|
+
}
|
1444
|
+
},
|
1445
|
+
{
|
1446
|
+
"name": "resource_format",
|
1447
|
+
"in": "query",
|
1448
|
+
"required": false,
|
1449
|
+
"schema": {
|
1450
|
+
"enum": [
|
1451
|
+
"base64",
|
1452
|
+
"url"
|
1453
|
+
],
|
1454
|
+
"type": "string",
|
1455
|
+
"default": "base64",
|
1456
|
+
"title": "Resource Format"
|
1457
|
+
}
|
1458
|
+
},
|
1459
|
+
{
|
1460
|
+
"name": "core_version",
|
1461
|
+
"in": "query",
|
1462
|
+
"required": false,
|
1463
|
+
"schema": {
|
1464
|
+
"type": "string",
|
1465
|
+
"title": "Core Version"
|
1466
|
+
}
|
1467
|
+
}
|
1468
|
+
],
|
1469
|
+
"responses": {
|
1470
|
+
"200": {
|
1471
|
+
"description": "Successful Response",
|
1472
|
+
"content": {
|
1473
|
+
"application/json": {
|
1474
|
+
"schema": {
|
1475
|
+
"$ref": "#/components/schemas/SpeakerInfo"
|
1476
|
+
}
|
1477
|
+
}
|
1478
|
+
}
|
1479
|
+
},
|
1480
|
+
"422": {
|
1481
|
+
"description": "Validation Error",
|
1482
|
+
"content": {
|
1483
|
+
"application/json": {
|
1484
|
+
"schema": {
|
1485
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1486
|
+
}
|
1487
|
+
}
|
1488
|
+
}
|
1489
|
+
}
|
1490
|
+
}
|
1491
|
+
}
|
1492
|
+
},
|
1493
|
+
"/singers": {
|
1494
|
+
"get": {
|
1495
|
+
"tags": [
|
1496
|
+
"その他"
|
1497
|
+
],
|
1498
|
+
"summary": "Singers",
|
1499
|
+
"description": "歌えるキャラクターの情報の一覧を返します。",
|
1500
|
+
"operationId": "singers_singers_get",
|
1501
|
+
"parameters": [
|
1502
|
+
{
|
1503
|
+
"name": "core_version",
|
1504
|
+
"in": "query",
|
1505
|
+
"required": false,
|
1506
|
+
"schema": {
|
1507
|
+
"type": "string",
|
1508
|
+
"title": "Core Version"
|
1509
|
+
}
|
1510
|
+
}
|
1511
|
+
],
|
1512
|
+
"responses": {
|
1513
|
+
"200": {
|
1514
|
+
"description": "Successful Response",
|
1515
|
+
"content": {
|
1516
|
+
"application/json": {
|
1517
|
+
"schema": {
|
1518
|
+
"type": "array",
|
1519
|
+
"items": {
|
1520
|
+
"$ref": "#/components/schemas/Speaker"
|
1521
|
+
},
|
1522
|
+
"title": "Response Singers Singers Get"
|
1523
|
+
}
|
1524
|
+
}
|
1525
|
+
}
|
1526
|
+
},
|
1527
|
+
"422": {
|
1528
|
+
"description": "Validation Error",
|
1529
|
+
"content": {
|
1530
|
+
"application/json": {
|
1531
|
+
"schema": {
|
1532
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1533
|
+
}
|
1534
|
+
}
|
1535
|
+
}
|
1536
|
+
}
|
1537
|
+
}
|
1538
|
+
}
|
1539
|
+
},
|
1540
|
+
"/singer_info": {
|
1541
|
+
"get": {
|
1542
|
+
"tags": [
|
1543
|
+
"その他"
|
1544
|
+
],
|
1545
|
+
"summary": "Singer Info",
|
1546
|
+
"description": "UUID で指定された歌えるキャラクターの情報を返します。\n画像や音声はresource_formatで指定した形式で返されます。",
|
1547
|
+
"operationId": "singer_info_singer_info_get",
|
1548
|
+
"parameters": [
|
1549
|
+
{
|
1550
|
+
"name": "speaker_uuid",
|
1551
|
+
"in": "query",
|
1552
|
+
"required": true,
|
1553
|
+
"schema": {
|
1554
|
+
"type": "string",
|
1555
|
+
"title": "Speaker Uuid"
|
1556
|
+
}
|
1557
|
+
},
|
1558
|
+
{
|
1559
|
+
"name": "resource_format",
|
1560
|
+
"in": "query",
|
1561
|
+
"required": false,
|
1562
|
+
"schema": {
|
1563
|
+
"enum": [
|
1564
|
+
"base64",
|
1565
|
+
"url"
|
1566
|
+
],
|
1567
|
+
"type": "string",
|
1568
|
+
"default": "base64",
|
1569
|
+
"title": "Resource Format"
|
1570
|
+
}
|
1571
|
+
},
|
1572
|
+
{
|
1573
|
+
"name": "core_version",
|
1574
|
+
"in": "query",
|
1575
|
+
"required": false,
|
1576
|
+
"schema": {
|
1577
|
+
"type": "string",
|
1578
|
+
"title": "Core Version"
|
1579
|
+
}
|
1580
|
+
}
|
1581
|
+
],
|
1582
|
+
"responses": {
|
1583
|
+
"200": {
|
1584
|
+
"description": "Successful Response",
|
1585
|
+
"content": {
|
1586
|
+
"application/json": {
|
1587
|
+
"schema": {
|
1588
|
+
"$ref": "#/components/schemas/SpeakerInfo"
|
1589
|
+
}
|
1590
|
+
}
|
1591
|
+
}
|
1592
|
+
},
|
1593
|
+
"422": {
|
1594
|
+
"description": "Validation Error",
|
1595
|
+
"content": {
|
1596
|
+
"application/json": {
|
1597
|
+
"schema": {
|
1598
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1599
|
+
}
|
1600
|
+
}
|
1601
|
+
}
|
1602
|
+
}
|
1603
|
+
}
|
1604
|
+
}
|
1605
|
+
},
|
1606
|
+
"/downloadable_libraries": {
|
1607
|
+
"get": {
|
1608
|
+
"tags": [
|
1609
|
+
"音声ライブラリ管理"
|
1610
|
+
],
|
1611
|
+
"summary": "Downloadable Libraries",
|
1612
|
+
"description": "ダウンロード可能な音声ライブラリの情報を返します。",
|
1613
|
+
"operationId": "downloadable_libraries_downloadable_libraries_get",
|
1614
|
+
"responses": {
|
1615
|
+
"200": {
|
1616
|
+
"description": "ダウンロード可能な音声ライブラリの情報リスト",
|
1617
|
+
"content": {
|
1618
|
+
"application/json": {
|
1619
|
+
"schema": {
|
1620
|
+
"items": {
|
1621
|
+
"$ref": "#/components/schemas/DownloadableLibraryInfo"
|
1622
|
+
},
|
1623
|
+
"type": "array",
|
1624
|
+
"title": "Response Downloadable Libraries Downloadable Libraries Get"
|
1625
|
+
}
|
1626
|
+
}
|
1627
|
+
}
|
1628
|
+
}
|
1629
|
+
}
|
1630
|
+
}
|
1631
|
+
},
|
1632
|
+
"/installed_libraries": {
|
1633
|
+
"get": {
|
1634
|
+
"tags": [
|
1635
|
+
"音声ライブラリ管理"
|
1636
|
+
],
|
1637
|
+
"summary": "Installed Libraries",
|
1638
|
+
"description": "インストールした音声ライブラリの情報を返します。",
|
1639
|
+
"operationId": "installed_libraries_installed_libraries_get",
|
1640
|
+
"responses": {
|
1641
|
+
"200": {
|
1642
|
+
"description": "インストールした音声ライブラリの情報",
|
1643
|
+
"content": {
|
1644
|
+
"application/json": {
|
1645
|
+
"schema": {
|
1646
|
+
"additionalProperties": {
|
1647
|
+
"$ref": "#/components/schemas/InstalledLibraryInfo"
|
1648
|
+
},
|
1649
|
+
"type": "object",
|
1650
|
+
"title": "Response Installed Libraries Installed Libraries Get"
|
1651
|
+
}
|
1652
|
+
}
|
1653
|
+
}
|
1654
|
+
}
|
1655
|
+
}
|
1656
|
+
}
|
1657
|
+
},
|
1658
|
+
"/install_library/{library_uuid}": {
|
1659
|
+
"post": {
|
1660
|
+
"tags": [
|
1661
|
+
"音声ライブラリ管理"
|
1662
|
+
],
|
1663
|
+
"summary": "Install Library",
|
1664
|
+
"description": "音声ライブラリをインストールします。\n音声ライブラリのZIPファイルをリクエストボディとして送信してください。",
|
1665
|
+
"operationId": "install_library_install_library__library_uuid__post",
|
1666
|
+
"parameters": [
|
1667
|
+
{
|
1668
|
+
"name": "library_uuid",
|
1669
|
+
"in": "path",
|
1670
|
+
"required": true,
|
1671
|
+
"schema": {
|
1672
|
+
"type": "string",
|
1673
|
+
"description": "音声ライブラリのID",
|
1674
|
+
"title": "Library Uuid"
|
1675
|
+
},
|
1676
|
+
"description": "音声ライブラリのID"
|
1677
|
+
}
|
1678
|
+
],
|
1679
|
+
"responses": {
|
1680
|
+
"204": {
|
1681
|
+
"description": "Successful Response"
|
1682
|
+
},
|
1683
|
+
"422": {
|
1684
|
+
"description": "Validation Error",
|
1685
|
+
"content": {
|
1686
|
+
"application/json": {
|
1687
|
+
"schema": {
|
1688
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1689
|
+
}
|
1690
|
+
}
|
1691
|
+
}
|
1692
|
+
}
|
1693
|
+
}
|
1694
|
+
}
|
1695
|
+
},
|
1696
|
+
"/uninstall_library/{library_uuid}": {
|
1697
|
+
"post": {
|
1698
|
+
"tags": [
|
1699
|
+
"音声ライブラリ管理"
|
1700
|
+
],
|
1701
|
+
"summary": "Uninstall Library",
|
1702
|
+
"description": "音声ライブラリをアンインストールします。",
|
1703
|
+
"operationId": "uninstall_library_uninstall_library__library_uuid__post",
|
1704
|
+
"parameters": [
|
1705
|
+
{
|
1706
|
+
"name": "library_uuid",
|
1707
|
+
"in": "path",
|
1708
|
+
"required": true,
|
1709
|
+
"schema": {
|
1710
|
+
"type": "string",
|
1711
|
+
"description": "音声ライブラリのID",
|
1712
|
+
"title": "Library Uuid"
|
1713
|
+
},
|
1714
|
+
"description": "音声ライブラリのID"
|
1715
|
+
}
|
1716
|
+
],
|
1717
|
+
"responses": {
|
1718
|
+
"204": {
|
1719
|
+
"description": "Successful Response"
|
1720
|
+
},
|
1721
|
+
"422": {
|
1722
|
+
"description": "Validation Error",
|
1723
|
+
"content": {
|
1724
|
+
"application/json": {
|
1725
|
+
"schema": {
|
1726
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1727
|
+
}
|
1728
|
+
}
|
1729
|
+
}
|
1730
|
+
}
|
1731
|
+
}
|
1732
|
+
}
|
1733
|
+
},
|
1734
|
+
"/user_dict": {
|
1735
|
+
"get": {
|
1736
|
+
"tags": [
|
1737
|
+
"ユーザー辞書"
|
1738
|
+
],
|
1739
|
+
"summary": "Get User Dict Words",
|
1740
|
+
"description": "ユーザー辞書に登録されている単語の一覧を返します。\n単語の表層形(surface)は正規化済みの物を返します。",
|
1741
|
+
"operationId": "get_user_dict_words_user_dict_get",
|
1742
|
+
"responses": {
|
1743
|
+
"200": {
|
1744
|
+
"description": "単語のUUIDとその詳細",
|
1745
|
+
"content": {
|
1746
|
+
"application/json": {
|
1747
|
+
"schema": {
|
1748
|
+
"additionalProperties": {
|
1749
|
+
"$ref": "#/components/schemas/UserDictWord"
|
1750
|
+
},
|
1751
|
+
"type": "object",
|
1752
|
+
"title": "Response Get User Dict Words User Dict Get"
|
1753
|
+
}
|
1754
|
+
}
|
1755
|
+
}
|
1756
|
+
}
|
1757
|
+
}
|
1758
|
+
}
|
1759
|
+
},
|
1760
|
+
"/user_dict_word": {
|
1761
|
+
"post": {
|
1762
|
+
"tags": [
|
1763
|
+
"ユーザー辞書"
|
1764
|
+
],
|
1765
|
+
"summary": "Add User Dict Word",
|
1766
|
+
"description": "ユーザー辞書に言葉を追加します。",
|
1767
|
+
"operationId": "add_user_dict_word_user_dict_word_post",
|
1768
|
+
"parameters": [
|
1769
|
+
{
|
1770
|
+
"name": "surface",
|
1771
|
+
"in": "query",
|
1772
|
+
"required": true,
|
1773
|
+
"schema": {
|
1774
|
+
"type": "string",
|
1775
|
+
"description": "言葉の表層形",
|
1776
|
+
"title": "Surface"
|
1777
|
+
},
|
1778
|
+
"description": "言葉の表層形"
|
1779
|
+
},
|
1780
|
+
{
|
1781
|
+
"name": "pronunciation",
|
1782
|
+
"in": "query",
|
1783
|
+
"required": true,
|
1784
|
+
"schema": {
|
1785
|
+
"type": "string",
|
1786
|
+
"description": "言葉の発音(カタカナ)",
|
1787
|
+
"title": "Pronunciation"
|
1788
|
+
},
|
1789
|
+
"description": "言葉の発音(カタカナ)"
|
1790
|
+
},
|
1791
|
+
{
|
1792
|
+
"name": "accent_type",
|
1793
|
+
"in": "query",
|
1794
|
+
"required": true,
|
1795
|
+
"schema": {
|
1796
|
+
"type": "integer",
|
1797
|
+
"description": "アクセント型(音が下がる場所を指す)",
|
1798
|
+
"title": "Accent Type"
|
1799
|
+
},
|
1800
|
+
"description": "アクセント型(音が下がる場所を指す)"
|
1801
|
+
},
|
1802
|
+
{
|
1803
|
+
"name": "word_type",
|
1804
|
+
"in": "query",
|
1805
|
+
"required": false,
|
1806
|
+
"schema": {
|
1807
|
+
"allOf": [
|
1808
|
+
{
|
1809
|
+
"$ref": "#/components/schemas/WordTypes"
|
1810
|
+
}
|
1811
|
+
],
|
1812
|
+
"description": "PROPER_NOUN(固有名詞)、COMMON_NOUN(普通名詞)、VERB(動詞)、ADJECTIVE(形容詞)、SUFFIX(語尾)のいずれか",
|
1813
|
+
"title": "Word Type"
|
1814
|
+
},
|
1815
|
+
"description": "PROPER_NOUN(固有名詞)、COMMON_NOUN(普通名詞)、VERB(動詞)、ADJECTIVE(形容詞)、SUFFIX(語尾)のいずれか"
|
1816
|
+
},
|
1817
|
+
{
|
1818
|
+
"name": "priority",
|
1819
|
+
"in": "query",
|
1820
|
+
"required": false,
|
1821
|
+
"schema": {
|
1822
|
+
"type": "integer",
|
1823
|
+
"description": "単語の優先度(0から10までの整数)。数字が大きいほど優先度が高くなる。1から9までの値を指定することを推奨",
|
1824
|
+
"maximum": 10,
|
1825
|
+
"minimum": 0,
|
1826
|
+
"title": "Priority"
|
1827
|
+
},
|
1828
|
+
"description": "単語の優先度(0から10までの整数)。数字が大きいほど優先度が高くなる。1から9までの値を指定することを推奨"
|
1829
|
+
}
|
1830
|
+
],
|
1831
|
+
"responses": {
|
1832
|
+
"200": {
|
1833
|
+
"description": "Successful Response",
|
1834
|
+
"content": {
|
1835
|
+
"application/json": {
|
1836
|
+
"schema": {
|
1837
|
+
"type": "string",
|
1838
|
+
"title": "Response Add User Dict Word User Dict Word Post"
|
1839
|
+
}
|
1840
|
+
}
|
1841
|
+
}
|
1842
|
+
},
|
1843
|
+
"422": {
|
1844
|
+
"description": "Validation Error",
|
1845
|
+
"content": {
|
1846
|
+
"application/json": {
|
1847
|
+
"schema": {
|
1848
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1849
|
+
}
|
1850
|
+
}
|
1851
|
+
}
|
1852
|
+
}
|
1853
|
+
}
|
1854
|
+
}
|
1855
|
+
},
|
1856
|
+
"/user_dict_word/{word_uuid}": {
|
1857
|
+
"put": {
|
1858
|
+
"tags": [
|
1859
|
+
"ユーザー辞書"
|
1860
|
+
],
|
1861
|
+
"summary": "Rewrite User Dict Word",
|
1862
|
+
"description": "ユーザー辞書に登録されている言葉を更新します。",
|
1863
|
+
"operationId": "rewrite_user_dict_word_user_dict_word__word_uuid__put",
|
1864
|
+
"parameters": [
|
1865
|
+
{
|
1866
|
+
"name": "word_uuid",
|
1867
|
+
"in": "path",
|
1868
|
+
"required": true,
|
1869
|
+
"schema": {
|
1870
|
+
"type": "string",
|
1871
|
+
"description": "更新する言葉のUUID",
|
1872
|
+
"title": "Word Uuid"
|
1873
|
+
},
|
1874
|
+
"description": "更新する言葉のUUID"
|
1875
|
+
},
|
1876
|
+
{
|
1877
|
+
"name": "surface",
|
1878
|
+
"in": "query",
|
1879
|
+
"required": true,
|
1880
|
+
"schema": {
|
1881
|
+
"type": "string",
|
1882
|
+
"description": "言葉の表層形",
|
1883
|
+
"title": "Surface"
|
1884
|
+
},
|
1885
|
+
"description": "言葉の表層形"
|
1886
|
+
},
|
1887
|
+
{
|
1888
|
+
"name": "pronunciation",
|
1889
|
+
"in": "query",
|
1890
|
+
"required": true,
|
1891
|
+
"schema": {
|
1892
|
+
"type": "string",
|
1893
|
+
"description": "言葉の発音(カタカナ)",
|
1894
|
+
"title": "Pronunciation"
|
1895
|
+
},
|
1896
|
+
"description": "言葉の発音(カタカナ)"
|
1897
|
+
},
|
1898
|
+
{
|
1899
|
+
"name": "accent_type",
|
1900
|
+
"in": "query",
|
1901
|
+
"required": true,
|
1902
|
+
"schema": {
|
1903
|
+
"type": "integer",
|
1904
|
+
"description": "アクセント型(音が下がる場所を指す)",
|
1905
|
+
"title": "Accent Type"
|
1906
|
+
},
|
1907
|
+
"description": "アクセント型(音が下がる場所を指す)"
|
1908
|
+
},
|
1909
|
+
{
|
1910
|
+
"name": "word_type",
|
1911
|
+
"in": "query",
|
1912
|
+
"required": false,
|
1913
|
+
"schema": {
|
1914
|
+
"allOf": [
|
1915
|
+
{
|
1916
|
+
"$ref": "#/components/schemas/WordTypes"
|
1917
|
+
}
|
1918
|
+
],
|
1919
|
+
"description": "PROPER_NOUN(固有名詞)、COMMON_NOUN(普通名詞)、VERB(動詞)、ADJECTIVE(形容詞)、SUFFIX(語尾)のいずれか",
|
1920
|
+
"title": "Word Type"
|
1921
|
+
},
|
1922
|
+
"description": "PROPER_NOUN(固有名詞)、COMMON_NOUN(普通名詞)、VERB(動詞)、ADJECTIVE(形容詞)、SUFFIX(語尾)のいずれか"
|
1923
|
+
},
|
1924
|
+
{
|
1925
|
+
"name": "priority",
|
1926
|
+
"in": "query",
|
1927
|
+
"required": false,
|
1928
|
+
"schema": {
|
1929
|
+
"type": "integer",
|
1930
|
+
"description": "単語の優先度(0から10までの整数)。数字が大きいほど優先度が高くなる。1から9までの値を指定することを推奨。",
|
1931
|
+
"maximum": 10,
|
1932
|
+
"minimum": 0,
|
1933
|
+
"title": "Priority"
|
1934
|
+
},
|
1935
|
+
"description": "単語の優先度(0から10までの整数)。数字が大きいほど優先度が高くなる。1から9までの値を指定することを推奨。"
|
1936
|
+
}
|
1937
|
+
],
|
1938
|
+
"responses": {
|
1939
|
+
"204": {
|
1940
|
+
"description": "Successful Response"
|
1941
|
+
},
|
1942
|
+
"422": {
|
1943
|
+
"description": "Validation Error",
|
1944
|
+
"content": {
|
1945
|
+
"application/json": {
|
1946
|
+
"schema": {
|
1947
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1948
|
+
}
|
1949
|
+
}
|
1950
|
+
}
|
1951
|
+
}
|
1952
|
+
}
|
1953
|
+
},
|
1954
|
+
"delete": {
|
1955
|
+
"tags": [
|
1956
|
+
"ユーザー辞書"
|
1957
|
+
],
|
1958
|
+
"summary": "Delete User Dict Word",
|
1959
|
+
"description": "ユーザー辞書に登録されている言葉を削除します。",
|
1960
|
+
"operationId": "delete_user_dict_word_user_dict_word__word_uuid__delete",
|
1961
|
+
"parameters": [
|
1962
|
+
{
|
1963
|
+
"name": "word_uuid",
|
1964
|
+
"in": "path",
|
1965
|
+
"required": true,
|
1966
|
+
"schema": {
|
1967
|
+
"type": "string",
|
1968
|
+
"description": "削除する言葉のUUID",
|
1969
|
+
"title": "Word Uuid"
|
1970
|
+
},
|
1971
|
+
"description": "削除する言葉のUUID"
|
1972
|
+
}
|
1973
|
+
],
|
1974
|
+
"responses": {
|
1975
|
+
"204": {
|
1976
|
+
"description": "Successful Response"
|
1977
|
+
},
|
1978
|
+
"422": {
|
1979
|
+
"description": "Validation Error",
|
1980
|
+
"content": {
|
1981
|
+
"application/json": {
|
1982
|
+
"schema": {
|
1983
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
1984
|
+
}
|
1985
|
+
}
|
1986
|
+
}
|
1987
|
+
}
|
1988
|
+
}
|
1989
|
+
}
|
1990
|
+
},
|
1991
|
+
"/import_user_dict": {
|
1992
|
+
"post": {
|
1993
|
+
"tags": [
|
1994
|
+
"ユーザー辞書"
|
1995
|
+
],
|
1996
|
+
"summary": "Import User Dict Words",
|
1997
|
+
"description": "他のユーザー辞書をインポートします。",
|
1998
|
+
"operationId": "import_user_dict_words_import_user_dict_post",
|
1999
|
+
"parameters": [
|
2000
|
+
{
|
2001
|
+
"name": "override",
|
2002
|
+
"in": "query",
|
2003
|
+
"required": true,
|
2004
|
+
"schema": {
|
2005
|
+
"type": "boolean",
|
2006
|
+
"description": "重複したエントリがあった場合、上書きするかどうか",
|
2007
|
+
"title": "Override"
|
2008
|
+
},
|
2009
|
+
"description": "重複したエントリがあった場合、上書きするかどうか"
|
2010
|
+
}
|
2011
|
+
],
|
2012
|
+
"requestBody": {
|
2013
|
+
"required": true,
|
2014
|
+
"content": {
|
2015
|
+
"application/json": {
|
2016
|
+
"schema": {
|
2017
|
+
"type": "object",
|
2018
|
+
"additionalProperties": {
|
2019
|
+
"$ref": "#/components/schemas/UserDictWord"
|
2020
|
+
},
|
2021
|
+
"description": "インポートするユーザー辞書のデータ",
|
2022
|
+
"title": "Import Dict Data"
|
2023
|
+
}
|
2024
|
+
}
|
2025
|
+
}
|
2026
|
+
},
|
2027
|
+
"responses": {
|
2028
|
+
"204": {
|
2029
|
+
"description": "Successful Response"
|
2030
|
+
},
|
2031
|
+
"422": {
|
2032
|
+
"description": "Validation Error",
|
2033
|
+
"content": {
|
2034
|
+
"application/json": {
|
2035
|
+
"schema": {
|
2036
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
2037
|
+
}
|
2038
|
+
}
|
2039
|
+
}
|
2040
|
+
}
|
2041
|
+
}
|
2042
|
+
}
|
2043
|
+
},
|
2044
|
+
"/version": {
|
2045
|
+
"get": {
|
2046
|
+
"tags": [
|
2047
|
+
"その他"
|
2048
|
+
],
|
2049
|
+
"summary": "Version",
|
2050
|
+
"description": "エンジンのバージョンを取得します。",
|
2051
|
+
"operationId": "version_version_get",
|
2052
|
+
"responses": {
|
2053
|
+
"200": {
|
2054
|
+
"description": "Successful Response",
|
2055
|
+
"content": {
|
2056
|
+
"application/json": {
|
2057
|
+
"schema": {
|
2058
|
+
"type": "string",
|
2059
|
+
"title": "Response Version Version Get"
|
2060
|
+
}
|
2061
|
+
}
|
2062
|
+
}
|
2063
|
+
}
|
2064
|
+
}
|
2065
|
+
}
|
2066
|
+
},
|
2067
|
+
"/core_versions": {
|
2068
|
+
"get": {
|
2069
|
+
"tags": [
|
2070
|
+
"その他"
|
2071
|
+
],
|
2072
|
+
"summary": "Core Versions",
|
2073
|
+
"description": "利用可能なコアのバージョン一覧を取得します。",
|
2074
|
+
"operationId": "core_versions_core_versions_get",
|
2075
|
+
"responses": {
|
2076
|
+
"200": {
|
2077
|
+
"description": "Successful Response",
|
2078
|
+
"content": {
|
2079
|
+
"application/json": {
|
2080
|
+
"schema": {
|
2081
|
+
"items": {
|
2082
|
+
"type": "string"
|
2083
|
+
},
|
2084
|
+
"type": "array",
|
2085
|
+
"title": "Response Core Versions Core Versions Get"
|
2086
|
+
}
|
2087
|
+
}
|
2088
|
+
}
|
2089
|
+
}
|
2090
|
+
}
|
2091
|
+
}
|
2092
|
+
},
|
2093
|
+
"/engine_manifest": {
|
2094
|
+
"get": {
|
2095
|
+
"tags": [
|
2096
|
+
"その他"
|
2097
|
+
],
|
2098
|
+
"summary": "Engine Manifest",
|
2099
|
+
"description": "エンジンマニフェストを取得します。",
|
2100
|
+
"operationId": "engine_manifest_engine_manifest_get",
|
2101
|
+
"responses": {
|
2102
|
+
"200": {
|
2103
|
+
"description": "Successful Response",
|
2104
|
+
"content": {
|
2105
|
+
"application/json": {
|
2106
|
+
"schema": {
|
2107
|
+
"$ref": "#/components/schemas/EngineManifest"
|
2108
|
+
}
|
2109
|
+
}
|
2110
|
+
}
|
2111
|
+
}
|
2112
|
+
}
|
2113
|
+
}
|
2114
|
+
},
|
2115
|
+
"/setting": {
|
2116
|
+
"get": {
|
2117
|
+
"tags": [
|
2118
|
+
"設定"
|
2119
|
+
],
|
2120
|
+
"summary": "Setting Get",
|
2121
|
+
"description": "設定ページを返します。",
|
2122
|
+
"operationId": "setting_get_setting_get",
|
2123
|
+
"responses": {
|
2124
|
+
"200": {
|
2125
|
+
"description": "Successful Response"
|
2126
|
+
}
|
2127
|
+
}
|
2128
|
+
},
|
2129
|
+
"post": {
|
2130
|
+
"tags": [
|
2131
|
+
"設定"
|
2132
|
+
],
|
2133
|
+
"summary": "Setting Post",
|
2134
|
+
"description": "設定を更新します。",
|
2135
|
+
"operationId": "setting_post_setting_post",
|
2136
|
+
"requestBody": {
|
2137
|
+
"content": {
|
2138
|
+
"application/x-www-form-urlencoded": {
|
2139
|
+
"schema": {
|
2140
|
+
"$ref": "#/components/schemas/Body_setting_post_setting_post"
|
2141
|
+
}
|
2142
|
+
}
|
2143
|
+
},
|
2144
|
+
"required": true
|
2145
|
+
},
|
2146
|
+
"responses": {
|
2147
|
+
"204": {
|
2148
|
+
"description": "Successful Response"
|
2149
|
+
},
|
2150
|
+
"422": {
|
2151
|
+
"description": "Validation Error",
|
2152
|
+
"content": {
|
2153
|
+
"application/json": {
|
2154
|
+
"schema": {
|
2155
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
2156
|
+
}
|
2157
|
+
}
|
2158
|
+
}
|
2159
|
+
}
|
2160
|
+
}
|
2161
|
+
}
|
2162
|
+
},
|
2163
|
+
"/": {
|
2164
|
+
"get": {
|
2165
|
+
"tags": [
|
2166
|
+
"その他"
|
2167
|
+
],
|
2168
|
+
"summary": "Get Portal Page",
|
2169
|
+
"description": "ポータルページを返します。",
|
2170
|
+
"operationId": "get_portal_page__get",
|
2171
|
+
"responses": {
|
2172
|
+
"200": {
|
2173
|
+
"description": "Successful Response",
|
2174
|
+
"content": {
|
2175
|
+
"text/html": {
|
2176
|
+
"schema": {
|
2177
|
+
"type": "string"
|
2178
|
+
}
|
2179
|
+
}
|
2180
|
+
}
|
2181
|
+
}
|
2182
|
+
}
|
2183
|
+
}
|
2184
|
+
}
|
2185
|
+
},
|
2186
|
+
"components": {
|
2187
|
+
"schemas": {
|
2188
|
+
"AccentPhrase": {
|
2189
|
+
"properties": {
|
2190
|
+
"moras": {
|
2191
|
+
"items": {
|
2192
|
+
"$ref": "#/components/schemas/Mora"
|
2193
|
+
},
|
2194
|
+
"type": "array",
|
2195
|
+
"title": "Moras",
|
2196
|
+
"description": "モーラのリスト"
|
2197
|
+
},
|
2198
|
+
"accent": {
|
2199
|
+
"type": "integer",
|
2200
|
+
"title": "Accent",
|
2201
|
+
"description": "アクセント箇所"
|
2202
|
+
},
|
2203
|
+
"pause_mora": {
|
2204
|
+
"allOf": [
|
2205
|
+
{
|
2206
|
+
"$ref": "#/components/schemas/Mora"
|
2207
|
+
}
|
2208
|
+
],
|
2209
|
+
"title": "Pause Mora",
|
2210
|
+
"description": "後ろに無音を付けるかどうか"
|
2211
|
+
},
|
2212
|
+
"is_interrogative": {
|
2213
|
+
"type": "boolean",
|
2214
|
+
"title": "Is Interrogative",
|
2215
|
+
"description": "疑問系かどうか",
|
2216
|
+
"default": false
|
2217
|
+
}
|
2218
|
+
},
|
2219
|
+
"type": "object",
|
2220
|
+
"required": [
|
2221
|
+
"moras",
|
2222
|
+
"accent"
|
2223
|
+
],
|
2224
|
+
"title": "AccentPhrase",
|
2225
|
+
"description": "アクセント句ごとの情報"
|
2226
|
+
},
|
2227
|
+
"AudioQuery": {
|
2228
|
+
"properties": {
|
2229
|
+
"accent_phrases": {
|
2230
|
+
"items": {
|
2231
|
+
"$ref": "#/components/schemas/AccentPhrase"
|
2232
|
+
},
|
2233
|
+
"type": "array",
|
2234
|
+
"title": "Accent Phrases",
|
2235
|
+
"description": "アクセント句のリスト"
|
2236
|
+
},
|
2237
|
+
"speedScale": {
|
2238
|
+
"type": "number",
|
2239
|
+
"title": "Speedscale",
|
2240
|
+
"description": "全体の話速"
|
2241
|
+
},
|
2242
|
+
"pitchScale": {
|
2243
|
+
"type": "number",
|
2244
|
+
"title": "Pitchscale",
|
2245
|
+
"description": "全体の音高"
|
2246
|
+
},
|
2247
|
+
"intonationScale": {
|
2248
|
+
"type": "number",
|
2249
|
+
"title": "Intonationscale",
|
2250
|
+
"description": "全体の抑揚"
|
2251
|
+
},
|
2252
|
+
"volumeScale": {
|
2253
|
+
"type": "number",
|
2254
|
+
"title": "Volumescale",
|
2255
|
+
"description": "全体の音量"
|
2256
|
+
},
|
2257
|
+
"prePhonemeLength": {
|
2258
|
+
"type": "number",
|
2259
|
+
"title": "Prephonemelength",
|
2260
|
+
"description": "音声の前の無音時間"
|
2261
|
+
},
|
2262
|
+
"postPhonemeLength": {
|
2263
|
+
"type": "number",
|
2264
|
+
"title": "Postphonemelength",
|
2265
|
+
"description": "音声の後の無音時間"
|
2266
|
+
},
|
2267
|
+
"pauseLength": {
|
2268
|
+
"anyOf": [
|
2269
|
+
{
|
2270
|
+
"type": "number"
|
2271
|
+
},
|
2272
|
+
{
|
2273
|
+
"type": "null"
|
2274
|
+
}
|
2275
|
+
],
|
2276
|
+
"title": "Pauselength",
|
2277
|
+
"description": "句読点などの無音時間。nullのときは無視される。デフォルト値はnull"
|
2278
|
+
},
|
2279
|
+
"pauseLengthScale": {
|
2280
|
+
"type": "number",
|
2281
|
+
"title": "Pauselengthscale",
|
2282
|
+
"description": "句読点などの無音時間(倍率)。デフォルト値は1",
|
2283
|
+
"default": 1
|
2284
|
+
},
|
2285
|
+
"outputSamplingRate": {
|
2286
|
+
"type": "integer",
|
2287
|
+
"title": "Outputsamplingrate",
|
2288
|
+
"description": "音声データの出力サンプリングレート"
|
2289
|
+
},
|
2290
|
+
"outputStereo": {
|
2291
|
+
"type": "boolean",
|
2292
|
+
"title": "Outputstereo",
|
2293
|
+
"description": "音声データをステレオ出力するか否か"
|
2294
|
+
},
|
2295
|
+
"kana": {
|
2296
|
+
"type": "string",
|
2297
|
+
"title": "Kana",
|
2298
|
+
"description": "[読み取り専用]AquesTalk 風記法によるテキスト。音声合成用のクエリとしては無視される"
|
2299
|
+
}
|
2300
|
+
},
|
2301
|
+
"type": "object",
|
2302
|
+
"required": [
|
2303
|
+
"accent_phrases",
|
2304
|
+
"speedScale",
|
2305
|
+
"pitchScale",
|
2306
|
+
"intonationScale",
|
2307
|
+
"volumeScale",
|
2308
|
+
"prePhonemeLength",
|
2309
|
+
"postPhonemeLength",
|
2310
|
+
"outputSamplingRate",
|
2311
|
+
"outputStereo"
|
2312
|
+
],
|
2313
|
+
"title": "AudioQuery",
|
2314
|
+
"description": "音声合成用のクエリ"
|
2315
|
+
},
|
2316
|
+
"Body_setting_post_setting_post": {
|
2317
|
+
"properties": {
|
2318
|
+
"cors_policy_mode": {
|
2319
|
+
"$ref": "#/components/schemas/CorsPolicyMode"
|
2320
|
+
},
|
2321
|
+
"allow_origin": {
|
2322
|
+
"type": "string",
|
2323
|
+
"title": "Allow Origin"
|
2324
|
+
}
|
2325
|
+
},
|
2326
|
+
"type": "object",
|
2327
|
+
"required": [
|
2328
|
+
"cors_policy_mode"
|
2329
|
+
],
|
2330
|
+
"title": "Body_setting_post_setting_post"
|
2331
|
+
},
|
2332
|
+
"Body_sing_frame_volume_sing_frame_volume_post": {
|
2333
|
+
"properties": {
|
2334
|
+
"score": {
|
2335
|
+
"$ref": "#/components/schemas/Score"
|
2336
|
+
},
|
2337
|
+
"frame_audio_query": {
|
2338
|
+
"$ref": "#/components/schemas/FrameAudioQuery"
|
2339
|
+
}
|
2340
|
+
},
|
2341
|
+
"type": "object",
|
2342
|
+
"required": [
|
2343
|
+
"score",
|
2344
|
+
"frame_audio_query"
|
2345
|
+
],
|
2346
|
+
"title": "Body_sing_frame_volume_sing_frame_volume_post"
|
2347
|
+
},
|
2348
|
+
"CorsPolicyMode": {
|
2349
|
+
"type": "string",
|
2350
|
+
"enum": [
|
2351
|
+
"all",
|
2352
|
+
"localapps"
|
2353
|
+
],
|
2354
|
+
"title": "CorsPolicyMode",
|
2355
|
+
"description": "CORSの許可モード"
|
2356
|
+
},
|
2357
|
+
"DownloadableLibraryInfo": {
|
2358
|
+
"properties": {
|
2359
|
+
"name": {
|
2360
|
+
"type": "string",
|
2361
|
+
"title": "Name",
|
2362
|
+
"description": "音声ライブラリの名前"
|
2363
|
+
},
|
2364
|
+
"uuid": {
|
2365
|
+
"type": "string",
|
2366
|
+
"title": "Uuid",
|
2367
|
+
"description": "音声ライブラリのUUID"
|
2368
|
+
},
|
2369
|
+
"version": {
|
2370
|
+
"type": "string",
|
2371
|
+
"title": "Version",
|
2372
|
+
"description": "音声ライブラリのバージョン"
|
2373
|
+
},
|
2374
|
+
"download_url": {
|
2375
|
+
"type": "string",
|
2376
|
+
"title": "Download Url",
|
2377
|
+
"description": "音声ライブラリのダウンロードURL"
|
2378
|
+
},
|
2379
|
+
"bytes": {
|
2380
|
+
"type": "integer",
|
2381
|
+
"title": "Bytes",
|
2382
|
+
"description": "音声ライブラリのバイト数"
|
2383
|
+
},
|
2384
|
+
"speakers": {
|
2385
|
+
"items": {
|
2386
|
+
"$ref": "#/components/schemas/LibrarySpeaker"
|
2387
|
+
},
|
2388
|
+
"type": "array",
|
2389
|
+
"title": "Speakers",
|
2390
|
+
"description": "音声ライブラリに含まれるキャラクターのリスト"
|
2391
|
+
}
|
2392
|
+
},
|
2393
|
+
"type": "object",
|
2394
|
+
"required": [
|
2395
|
+
"name",
|
2396
|
+
"uuid",
|
2397
|
+
"version",
|
2398
|
+
"download_url",
|
2399
|
+
"bytes",
|
2400
|
+
"speakers"
|
2401
|
+
],
|
2402
|
+
"title": "DownloadableLibraryInfo",
|
2403
|
+
"description": "ダウンロード可能な音声ライブラリの情報"
|
2404
|
+
},
|
2405
|
+
"EngineManifest": {
|
2406
|
+
"properties": {
|
2407
|
+
"manifest_version": {
|
2408
|
+
"type": "string",
|
2409
|
+
"title": "Manifest Version",
|
2410
|
+
"description": "マニフェストのバージョン"
|
2411
|
+
},
|
2412
|
+
"name": {
|
2413
|
+
"type": "string",
|
2414
|
+
"title": "Name",
|
2415
|
+
"description": "エンジン名"
|
2416
|
+
},
|
2417
|
+
"brand_name": {
|
2418
|
+
"type": "string",
|
2419
|
+
"title": "Brand Name",
|
2420
|
+
"description": "ブランド名"
|
2421
|
+
},
|
2422
|
+
"uuid": {
|
2423
|
+
"type": "string",
|
2424
|
+
"title": "Uuid",
|
2425
|
+
"description": "エンジンのUUID"
|
2426
|
+
},
|
2427
|
+
"url": {
|
2428
|
+
"type": "string",
|
2429
|
+
"title": "Url",
|
2430
|
+
"description": "エンジンのURL"
|
2431
|
+
},
|
2432
|
+
"icon": {
|
2433
|
+
"type": "string",
|
2434
|
+
"title": "Icon",
|
2435
|
+
"description": "エンジンのアイコンをBASE64エンコードしたもの"
|
2436
|
+
},
|
2437
|
+
"default_sampling_rate": {
|
2438
|
+
"type": "integer",
|
2439
|
+
"title": "Default Sampling Rate",
|
2440
|
+
"description": "デフォルトのサンプリング周波数"
|
2441
|
+
},
|
2442
|
+
"frame_rate": {
|
2443
|
+
"type": "number",
|
2444
|
+
"title": "Frame Rate",
|
2445
|
+
"description": "エンジンのフレームレート"
|
2446
|
+
},
|
2447
|
+
"terms_of_service": {
|
2448
|
+
"type": "string",
|
2449
|
+
"title": "Terms Of Service",
|
2450
|
+
"description": "エンジンの利用規約"
|
2451
|
+
},
|
2452
|
+
"update_infos": {
|
2453
|
+
"items": {
|
2454
|
+
"$ref": "#/components/schemas/UpdateInfo"
|
2455
|
+
},
|
2456
|
+
"type": "array",
|
2457
|
+
"title": "Update Infos",
|
2458
|
+
"description": "エンジンのアップデート情報"
|
2459
|
+
},
|
2460
|
+
"dependency_licenses": {
|
2461
|
+
"items": {
|
2462
|
+
"$ref": "#/components/schemas/LicenseInfo"
|
2463
|
+
},
|
2464
|
+
"type": "array",
|
2465
|
+
"title": "Dependency Licenses",
|
2466
|
+
"description": "依存関係のライセンス情報"
|
2467
|
+
},
|
2468
|
+
"supported_vvlib_manifest_version": {
|
2469
|
+
"type": "string",
|
2470
|
+
"title": "Supported Vvlib Manifest Version",
|
2471
|
+
"description": "エンジンが対応するvvlibのバージョン"
|
2472
|
+
},
|
2473
|
+
"supported_features": {
|
2474
|
+
"allOf": [
|
2475
|
+
{
|
2476
|
+
"$ref": "#/components/schemas/SupportedFeatures"
|
2477
|
+
}
|
2478
|
+
],
|
2479
|
+
"description": "エンジンが持つ機能"
|
2480
|
+
}
|
2481
|
+
},
|
2482
|
+
"type": "object",
|
2483
|
+
"required": [
|
2484
|
+
"manifest_version",
|
2485
|
+
"name",
|
2486
|
+
"brand_name",
|
2487
|
+
"uuid",
|
2488
|
+
"url",
|
2489
|
+
"icon",
|
2490
|
+
"default_sampling_rate",
|
2491
|
+
"frame_rate",
|
2492
|
+
"terms_of_service",
|
2493
|
+
"update_infos",
|
2494
|
+
"dependency_licenses",
|
2495
|
+
"supported_features"
|
2496
|
+
],
|
2497
|
+
"title": "EngineManifest",
|
2498
|
+
"description": "エンジン自体に関する情報"
|
2499
|
+
},
|
2500
|
+
"FrameAudioQuery": {
|
2501
|
+
"properties": {
|
2502
|
+
"f0": {
|
2503
|
+
"items": {
|
2504
|
+
"type": "number"
|
2505
|
+
},
|
2506
|
+
"type": "array",
|
2507
|
+
"title": "F0",
|
2508
|
+
"description": "フレームごとの基本周波数"
|
2509
|
+
},
|
2510
|
+
"volume": {
|
2511
|
+
"items": {
|
2512
|
+
"type": "number"
|
2513
|
+
},
|
2514
|
+
"type": "array",
|
2515
|
+
"title": "Volume",
|
2516
|
+
"description": "フレームごとの音量"
|
2517
|
+
},
|
2518
|
+
"phonemes": {
|
2519
|
+
"items": {
|
2520
|
+
"$ref": "#/components/schemas/FramePhoneme"
|
2521
|
+
},
|
2522
|
+
"type": "array",
|
2523
|
+
"title": "Phonemes",
|
2524
|
+
"description": "音素のリスト"
|
2525
|
+
},
|
2526
|
+
"volumeScale": {
|
2527
|
+
"type": "number",
|
2528
|
+
"title": "Volumescale",
|
2529
|
+
"description": "全体の音量"
|
2530
|
+
},
|
2531
|
+
"outputSamplingRate": {
|
2532
|
+
"type": "integer",
|
2533
|
+
"title": "Outputsamplingrate",
|
2534
|
+
"description": "音声データの出力サンプリングレート"
|
2535
|
+
},
|
2536
|
+
"outputStereo": {
|
2537
|
+
"type": "boolean",
|
2538
|
+
"title": "Outputstereo",
|
2539
|
+
"description": "音声データをステレオ出力するか否か"
|
2540
|
+
}
|
2541
|
+
},
|
2542
|
+
"type": "object",
|
2543
|
+
"required": [
|
2544
|
+
"f0",
|
2545
|
+
"volume",
|
2546
|
+
"phonemes",
|
2547
|
+
"volumeScale",
|
2548
|
+
"outputSamplingRate",
|
2549
|
+
"outputStereo"
|
2550
|
+
],
|
2551
|
+
"title": "FrameAudioQuery",
|
2552
|
+
"description": "フレームごとの音声合成用のクエリ"
|
2553
|
+
},
|
2554
|
+
"FramePhoneme": {
|
2555
|
+
"properties": {
|
2556
|
+
"phoneme": {
|
2557
|
+
"type": "string",
|
2558
|
+
"title": "Phoneme",
|
2559
|
+
"description": "音素"
|
2560
|
+
},
|
2561
|
+
"frame_length": {
|
2562
|
+
"type": "integer",
|
2563
|
+
"title": "Frame Length",
|
2564
|
+
"description": "音素のフレーム長"
|
2565
|
+
}
|
2566
|
+
},
|
2567
|
+
"type": "object",
|
2568
|
+
"required": [
|
2569
|
+
"phoneme",
|
2570
|
+
"frame_length"
|
2571
|
+
],
|
2572
|
+
"title": "FramePhoneme",
|
2573
|
+
"description": "音素の情報"
|
2574
|
+
},
|
2575
|
+
"HTTPValidationError": {
|
2576
|
+
"properties": {
|
2577
|
+
"detail": {
|
2578
|
+
"items": {
|
2579
|
+
"$ref": "#/components/schemas/ValidationError"
|
2580
|
+
},
|
2581
|
+
"type": "array",
|
2582
|
+
"title": "Detail"
|
2583
|
+
}
|
2584
|
+
},
|
2585
|
+
"type": "object",
|
2586
|
+
"title": "HTTPValidationError"
|
2587
|
+
},
|
2588
|
+
"InstalledLibraryInfo": {
|
2589
|
+
"properties": {
|
2590
|
+
"name": {
|
2591
|
+
"type": "string",
|
2592
|
+
"title": "Name",
|
2593
|
+
"description": "音声ライブラリの名前"
|
2594
|
+
},
|
2595
|
+
"uuid": {
|
2596
|
+
"type": "string",
|
2597
|
+
"title": "Uuid",
|
2598
|
+
"description": "音声ライブラリのUUID"
|
2599
|
+
},
|
2600
|
+
"version": {
|
2601
|
+
"type": "string",
|
2602
|
+
"title": "Version",
|
2603
|
+
"description": "音声ライブラリのバージョン"
|
2604
|
+
},
|
2605
|
+
"download_url": {
|
2606
|
+
"type": "string",
|
2607
|
+
"title": "Download Url",
|
2608
|
+
"description": "音声ライブラリのダウンロードURL"
|
2609
|
+
},
|
2610
|
+
"bytes": {
|
2611
|
+
"type": "integer",
|
2612
|
+
"title": "Bytes",
|
2613
|
+
"description": "音声ライブラリのバイト数"
|
2614
|
+
},
|
2615
|
+
"speakers": {
|
2616
|
+
"items": {
|
2617
|
+
"$ref": "#/components/schemas/LibrarySpeaker"
|
2618
|
+
},
|
2619
|
+
"type": "array",
|
2620
|
+
"title": "Speakers",
|
2621
|
+
"description": "音声ライブラリに含まれるキャラクターのリスト"
|
2622
|
+
},
|
2623
|
+
"uninstallable": {
|
2624
|
+
"type": "boolean",
|
2625
|
+
"title": "Uninstallable",
|
2626
|
+
"description": "アンインストール可能かどうか"
|
2627
|
+
}
|
2628
|
+
},
|
2629
|
+
"type": "object",
|
2630
|
+
"required": [
|
2631
|
+
"name",
|
2632
|
+
"uuid",
|
2633
|
+
"version",
|
2634
|
+
"download_url",
|
2635
|
+
"bytes",
|
2636
|
+
"speakers",
|
2637
|
+
"uninstallable"
|
2638
|
+
],
|
2639
|
+
"title": "InstalledLibraryInfo",
|
2640
|
+
"description": "インストール済み音声ライブラリの情報"
|
2641
|
+
},
|
2642
|
+
"LibrarySpeaker": {
|
2643
|
+
"properties": {
|
2644
|
+
"speaker": {
|
2645
|
+
"$ref": "#/components/schemas/Speaker"
|
2646
|
+
},
|
2647
|
+
"speaker_info": {
|
2648
|
+
"$ref": "#/components/schemas/SpeakerInfo"
|
2649
|
+
}
|
2650
|
+
},
|
2651
|
+
"type": "object",
|
2652
|
+
"required": [
|
2653
|
+
"speaker",
|
2654
|
+
"speaker_info"
|
2655
|
+
],
|
2656
|
+
"title": "LibrarySpeaker",
|
2657
|
+
"description": "音声ライブラリに含まれるキャラクターの情報"
|
2658
|
+
},
|
2659
|
+
"LicenseInfo": {
|
2660
|
+
"properties": {
|
2661
|
+
"name": {
|
2662
|
+
"type": "string",
|
2663
|
+
"title": "Name",
|
2664
|
+
"description": "依存ライブラリ名"
|
2665
|
+
},
|
2666
|
+
"version": {
|
2667
|
+
"type": "string",
|
2668
|
+
"title": "Version",
|
2669
|
+
"description": "依存ライブラリのバージョン"
|
2670
|
+
},
|
2671
|
+
"license": {
|
2672
|
+
"type": "string",
|
2673
|
+
"title": "License",
|
2674
|
+
"description": "依存ライブラリのライセンス名"
|
2675
|
+
},
|
2676
|
+
"text": {
|
2677
|
+
"type": "string",
|
2678
|
+
"title": "Text",
|
2679
|
+
"description": "依存ライブラリのライセンス本文"
|
2680
|
+
}
|
2681
|
+
},
|
2682
|
+
"type": "object",
|
2683
|
+
"required": [
|
2684
|
+
"name",
|
2685
|
+
"text"
|
2686
|
+
],
|
2687
|
+
"title": "LicenseInfo",
|
2688
|
+
"description": "依存ライブラリのライセンス情報"
|
2689
|
+
},
|
2690
|
+
"Mora": {
|
2691
|
+
"properties": {
|
2692
|
+
"text": {
|
2693
|
+
"type": "string",
|
2694
|
+
"title": "Text",
|
2695
|
+
"description": "文字"
|
2696
|
+
},
|
2697
|
+
"consonant": {
|
2698
|
+
"type": "string",
|
2699
|
+
"title": "Consonant",
|
2700
|
+
"description": "子音の音素"
|
2701
|
+
},
|
2702
|
+
"consonant_length": {
|
2703
|
+
"type": "number",
|
2704
|
+
"title": "Consonant Length",
|
2705
|
+
"description": "子音の音長"
|
2706
|
+
},
|
2707
|
+
"vowel": {
|
2708
|
+
"type": "string",
|
2709
|
+
"title": "Vowel",
|
2710
|
+
"description": "母音の音素"
|
2711
|
+
},
|
2712
|
+
"vowel_length": {
|
2713
|
+
"type": "number",
|
2714
|
+
"title": "Vowel Length",
|
2715
|
+
"description": "母音の音長"
|
2716
|
+
},
|
2717
|
+
"pitch": {
|
2718
|
+
"type": "number",
|
2719
|
+
"title": "Pitch",
|
2720
|
+
"description": "音高"
|
2721
|
+
}
|
2722
|
+
},
|
2723
|
+
"type": "object",
|
2724
|
+
"required": [
|
2725
|
+
"text",
|
2726
|
+
"vowel",
|
2727
|
+
"vowel_length",
|
2728
|
+
"pitch"
|
2729
|
+
],
|
2730
|
+
"title": "Mora",
|
2731
|
+
"description": "モーラ(子音+母音)ごとの情報"
|
2732
|
+
},
|
2733
|
+
"MorphableTargetInfo": {
|
2734
|
+
"properties": {
|
2735
|
+
"is_morphable": {
|
2736
|
+
"type": "boolean",
|
2737
|
+
"title": "Is Morphable",
|
2738
|
+
"description": "指定したキャラクターに対してモーフィングの可否"
|
2739
|
+
}
|
2740
|
+
},
|
2741
|
+
"type": "object",
|
2742
|
+
"required": [
|
2743
|
+
"is_morphable"
|
2744
|
+
],
|
2745
|
+
"title": "MorphableTargetInfo"
|
2746
|
+
},
|
2747
|
+
"Note": {
|
2748
|
+
"properties": {
|
2749
|
+
"key": {
|
2750
|
+
"type": "integer",
|
2751
|
+
"title": "Key",
|
2752
|
+
"description": "音階"
|
2753
|
+
},
|
2754
|
+
"frame_length": {
|
2755
|
+
"type": "integer",
|
2756
|
+
"title": "Frame Length",
|
2757
|
+
"description": "音符のフレーム長"
|
2758
|
+
},
|
2759
|
+
"lyric": {
|
2760
|
+
"type": "string",
|
2761
|
+
"title": "Lyric",
|
2762
|
+
"description": "音符の歌詞"
|
2763
|
+
}
|
2764
|
+
},
|
2765
|
+
"type": "object",
|
2766
|
+
"required": [
|
2767
|
+
"frame_length",
|
2768
|
+
"lyric"
|
2769
|
+
],
|
2770
|
+
"title": "Note",
|
2771
|
+
"description": "音符ごとの情報"
|
2772
|
+
},
|
2773
|
+
"ParseKanaBadRequest": {
|
2774
|
+
"properties": {
|
2775
|
+
"text": {
|
2776
|
+
"type": "string",
|
2777
|
+
"title": "Text",
|
2778
|
+
"description": "エラーメッセージ"
|
2779
|
+
},
|
2780
|
+
"error_name": {
|
2781
|
+
"type": "string",
|
2782
|
+
"title": "Error Name",
|
2783
|
+
"description": "エラー名\n\n|name|description|\n|---|---|\n| UNKNOWN_TEXT | 判別できない読み仮名があります: {text} |\n| ACCENT_TOP | 句頭にアクセントは置けません: {text} |\n| ACCENT_TWICE | 1つのアクセント句に二つ以上のアクセントは置けません: {text} |\n| ACCENT_NOTFOUND | アクセントを指定していないアクセント句があります: {text} |\n| EMPTY_PHRASE | {position}番目のアクセント句が空白です |\n| INTERROGATION_MARK_NOT_AT_END | アクセント句末以外に「?」は置けません: {text} |\n| INFINITE_LOOP | 処理時に無限ループになってしまいました...バグ報告をお願いします。 |"
|
2784
|
+
},
|
2785
|
+
"error_args": {
|
2786
|
+
"additionalProperties": {
|
2787
|
+
"type": "string"
|
2788
|
+
},
|
2789
|
+
"type": "object",
|
2790
|
+
"title": "Error Args",
|
2791
|
+
"description": "エラーを起こした箇所"
|
2792
|
+
}
|
2793
|
+
},
|
2794
|
+
"type": "object",
|
2795
|
+
"required": [
|
2796
|
+
"text",
|
2797
|
+
"error_name",
|
2798
|
+
"error_args"
|
2799
|
+
],
|
2800
|
+
"title": "ParseKanaBadRequest"
|
2801
|
+
},
|
2802
|
+
"Preset": {
|
2803
|
+
"properties": {
|
2804
|
+
"id": {
|
2805
|
+
"type": "integer",
|
2806
|
+
"title": "Id",
|
2807
|
+
"description": "プリセットID"
|
2808
|
+
},
|
2809
|
+
"name": {
|
2810
|
+
"type": "string",
|
2811
|
+
"title": "Name",
|
2812
|
+
"description": "プリセット名"
|
2813
|
+
},
|
2814
|
+
"speaker_uuid": {
|
2815
|
+
"type": "string",
|
2816
|
+
"title": "Speaker Uuid",
|
2817
|
+
"description": "キャラクターのUUID"
|
2818
|
+
},
|
2819
|
+
"style_id": {
|
2820
|
+
"type": "integer",
|
2821
|
+
"title": "Style Id",
|
2822
|
+
"description": "スタイルID"
|
2823
|
+
},
|
2824
|
+
"speedScale": {
|
2825
|
+
"type": "number",
|
2826
|
+
"title": "Speedscale",
|
2827
|
+
"description": "全体の話速"
|
2828
|
+
},
|
2829
|
+
"pitchScale": {
|
2830
|
+
"type": "number",
|
2831
|
+
"title": "Pitchscale",
|
2832
|
+
"description": "全体の音高"
|
2833
|
+
},
|
2834
|
+
"intonationScale": {
|
2835
|
+
"type": "number",
|
2836
|
+
"title": "Intonationscale",
|
2837
|
+
"description": "全体の抑揚"
|
2838
|
+
},
|
2839
|
+
"volumeScale": {
|
2840
|
+
"type": "number",
|
2841
|
+
"title": "Volumescale",
|
2842
|
+
"description": "全体の音量"
|
2843
|
+
},
|
2844
|
+
"prePhonemeLength": {
|
2845
|
+
"type": "number",
|
2846
|
+
"title": "Prephonemelength",
|
2847
|
+
"description": "音声の前の無音時間"
|
2848
|
+
},
|
2849
|
+
"postPhonemeLength": {
|
2850
|
+
"type": "number",
|
2851
|
+
"title": "Postphonemelength",
|
2852
|
+
"description": "音声の後の無音時間"
|
2853
|
+
},
|
2854
|
+
"pauseLength": {
|
2855
|
+
"type": "number",
|
2856
|
+
"title": "Pauselength",
|
2857
|
+
"description": "句読点などの無音時間"
|
2858
|
+
},
|
2859
|
+
"pauseLengthScale": {
|
2860
|
+
"type": "number",
|
2861
|
+
"title": "Pauselengthscale",
|
2862
|
+
"description": "句読点などの無音時間(倍率)",
|
2863
|
+
"default": 1
|
2864
|
+
}
|
2865
|
+
},
|
2866
|
+
"type": "object",
|
2867
|
+
"required": [
|
2868
|
+
"id",
|
2869
|
+
"name",
|
2870
|
+
"speaker_uuid",
|
2871
|
+
"style_id",
|
2872
|
+
"speedScale",
|
2873
|
+
"pitchScale",
|
2874
|
+
"intonationScale",
|
2875
|
+
"volumeScale",
|
2876
|
+
"prePhonemeLength",
|
2877
|
+
"postPhonemeLength"
|
2878
|
+
],
|
2879
|
+
"title": "Preset",
|
2880
|
+
"description": "プリセット情報"
|
2881
|
+
},
|
2882
|
+
"Score": {
|
2883
|
+
"properties": {
|
2884
|
+
"notes": {
|
2885
|
+
"items": {
|
2886
|
+
"$ref": "#/components/schemas/Note"
|
2887
|
+
},
|
2888
|
+
"type": "array",
|
2889
|
+
"title": "Notes",
|
2890
|
+
"description": "音符のリスト"
|
2891
|
+
}
|
2892
|
+
},
|
2893
|
+
"type": "object",
|
2894
|
+
"required": [
|
2895
|
+
"notes"
|
2896
|
+
],
|
2897
|
+
"title": "Score",
|
2898
|
+
"description": "楽譜情報"
|
2899
|
+
},
|
2900
|
+
"Speaker": {
|
2901
|
+
"properties": {
|
2902
|
+
"name": {
|
2903
|
+
"type": "string",
|
2904
|
+
"title": "Name",
|
2905
|
+
"description": "名前"
|
2906
|
+
},
|
2907
|
+
"speaker_uuid": {
|
2908
|
+
"type": "string",
|
2909
|
+
"title": "Speaker Uuid",
|
2910
|
+
"description": "キャラクターのUUID"
|
2911
|
+
},
|
2912
|
+
"styles": {
|
2913
|
+
"items": {
|
2914
|
+
"$ref": "#/components/schemas/SpeakerStyle"
|
2915
|
+
},
|
2916
|
+
"type": "array",
|
2917
|
+
"title": "Styles",
|
2918
|
+
"description": "スタイルの一覧"
|
2919
|
+
},
|
2920
|
+
"version": {
|
2921
|
+
"type": "string",
|
2922
|
+
"title": "Version",
|
2923
|
+
"description": "キャラクターのバージョン"
|
2924
|
+
},
|
2925
|
+
"supported_features": {
|
2926
|
+
"allOf": [
|
2927
|
+
{
|
2928
|
+
"$ref": "#/components/schemas/SpeakerSupportedFeatures"
|
2929
|
+
}
|
2930
|
+
],
|
2931
|
+
"description": "キャラクターの対応機能"
|
2932
|
+
}
|
2933
|
+
},
|
2934
|
+
"type": "object",
|
2935
|
+
"required": [
|
2936
|
+
"name",
|
2937
|
+
"speaker_uuid",
|
2938
|
+
"styles",
|
2939
|
+
"version"
|
2940
|
+
],
|
2941
|
+
"title": "Speaker",
|
2942
|
+
"description": "キャラクター情報"
|
2943
|
+
},
|
2944
|
+
"SpeakerInfo": {
|
2945
|
+
"properties": {
|
2946
|
+
"policy": {
|
2947
|
+
"type": "string",
|
2948
|
+
"title": "Policy",
|
2949
|
+
"description": "policy.md"
|
2950
|
+
},
|
2951
|
+
"portrait": {
|
2952
|
+
"type": "string",
|
2953
|
+
"title": "Portrait",
|
2954
|
+
"description": "立ち絵画像をbase64エンコードしたもの、あるいはURL"
|
2955
|
+
},
|
2956
|
+
"style_infos": {
|
2957
|
+
"items": {
|
2958
|
+
"$ref": "#/components/schemas/StyleInfo"
|
2959
|
+
},
|
2960
|
+
"type": "array",
|
2961
|
+
"title": "Style Infos",
|
2962
|
+
"description": "スタイルの追加情報"
|
2963
|
+
}
|
2964
|
+
},
|
2965
|
+
"type": "object",
|
2966
|
+
"required": [
|
2967
|
+
"policy",
|
2968
|
+
"portrait",
|
2969
|
+
"style_infos"
|
2970
|
+
],
|
2971
|
+
"title": "SpeakerInfo",
|
2972
|
+
"description": "キャラクターの追加情報"
|
2973
|
+
},
|
2974
|
+
"SpeakerStyle": {
|
2975
|
+
"properties": {
|
2976
|
+
"name": {
|
2977
|
+
"type": "string",
|
2978
|
+
"title": "Name",
|
2979
|
+
"description": "スタイル名"
|
2980
|
+
},
|
2981
|
+
"id": {
|
2982
|
+
"type": "integer",
|
2983
|
+
"title": "Id",
|
2984
|
+
"description": "スタイルID"
|
2985
|
+
},
|
2986
|
+
"type": {
|
2987
|
+
"type": "string",
|
2988
|
+
"enum": [
|
2989
|
+
"talk",
|
2990
|
+
"singing_teacher",
|
2991
|
+
"frame_decode",
|
2992
|
+
"sing"
|
2993
|
+
],
|
2994
|
+
"title": "Type",
|
2995
|
+
"description": "スタイルの種類。talk:音声合成クエリの作成と音声合成が可能。singing_teacher:歌唱音声合成用のクエリの作成が可能。frame_decode:歌唱音声合成が可能。sing:歌唱音声合成用のクエリの作成と歌唱音声合成が可能。",
|
2996
|
+
"default": "talk"
|
2997
|
+
}
|
2998
|
+
},
|
2999
|
+
"type": "object",
|
3000
|
+
"required": [
|
3001
|
+
"name",
|
3002
|
+
"id"
|
3003
|
+
],
|
3004
|
+
"title": "SpeakerStyle",
|
3005
|
+
"description": "キャラクターのスタイル情報"
|
3006
|
+
},
|
3007
|
+
"SpeakerSupportedFeatures": {
|
3008
|
+
"properties": {
|
3009
|
+
"permitted_synthesis_morphing": {
|
3010
|
+
"type": "string",
|
3011
|
+
"enum": [
|
3012
|
+
"ALL",
|
3013
|
+
"SELF_ONLY",
|
3014
|
+
"NOTHING"
|
3015
|
+
],
|
3016
|
+
"title": "Permitted Synthesis Morphing",
|
3017
|
+
"description": "モーフィング機能への対応。'ALL' は「全て許可」、'SELF_ONLY' は「同じキャラクター内でのみ許可」、'NOTHING' は「全て禁止」",
|
3018
|
+
"default": "ALL"
|
3019
|
+
}
|
3020
|
+
},
|
3021
|
+
"type": "object",
|
3022
|
+
"title": "SpeakerSupportedFeatures",
|
3023
|
+
"description": "キャラクターの対応機能の情報"
|
3024
|
+
},
|
3025
|
+
"StyleInfo": {
|
3026
|
+
"properties": {
|
3027
|
+
"id": {
|
3028
|
+
"type": "integer",
|
3029
|
+
"title": "Id",
|
3030
|
+
"description": "スタイルID"
|
3031
|
+
},
|
3032
|
+
"icon": {
|
3033
|
+
"type": "string",
|
3034
|
+
"title": "Icon",
|
3035
|
+
"description": "このスタイルのアイコンをbase64エンコードしたもの、あるいはURL"
|
3036
|
+
},
|
3037
|
+
"portrait": {
|
3038
|
+
"type": "string",
|
3039
|
+
"title": "Portrait",
|
3040
|
+
"description": "このスタイルの立ち絵画像をbase64エンコードしたもの、あるいはURL"
|
3041
|
+
},
|
3042
|
+
"voice_samples": {
|
3043
|
+
"items": {
|
3044
|
+
"type": "string"
|
3045
|
+
},
|
3046
|
+
"type": "array",
|
3047
|
+
"title": "Voice Samples",
|
3048
|
+
"description": "サンプル音声をbase64エンコードしたもの、あるいはURL"
|
3049
|
+
}
|
3050
|
+
},
|
3051
|
+
"type": "object",
|
3052
|
+
"required": [
|
3053
|
+
"id",
|
3054
|
+
"icon",
|
3055
|
+
"voice_samples"
|
3056
|
+
],
|
3057
|
+
"title": "StyleInfo",
|
3058
|
+
"description": "スタイルの追加情報"
|
3059
|
+
},
|
3060
|
+
"SupportedDevicesInfo": {
|
3061
|
+
"properties": {
|
3062
|
+
"cpu": {
|
3063
|
+
"type": "boolean",
|
3064
|
+
"title": "Cpu",
|
3065
|
+
"description": "CPUに対応しているか"
|
3066
|
+
},
|
3067
|
+
"cuda": {
|
3068
|
+
"type": "boolean",
|
3069
|
+
"title": "Cuda",
|
3070
|
+
"description": "CUDA(Nvidia GPU)に対応しているか"
|
3071
|
+
},
|
3072
|
+
"dml": {
|
3073
|
+
"type": "boolean",
|
3074
|
+
"title": "Dml",
|
3075
|
+
"description": "DirectML(Nvidia GPU/Radeon GPU等)に対応しているか"
|
3076
|
+
}
|
3077
|
+
},
|
3078
|
+
"type": "object",
|
3079
|
+
"required": [
|
3080
|
+
"cpu",
|
3081
|
+
"cuda",
|
3082
|
+
"dml"
|
3083
|
+
],
|
3084
|
+
"title": "SupportedDevicesInfo",
|
3085
|
+
"description": "対応しているデバイスの情報"
|
3086
|
+
},
|
3087
|
+
"SupportedFeatures": {
|
3088
|
+
"properties": {
|
3089
|
+
"adjust_mora_pitch": {
|
3090
|
+
"type": "boolean",
|
3091
|
+
"title": "Adjust Mora Pitch",
|
3092
|
+
"description": "モーラごとの音高の調整"
|
3093
|
+
},
|
3094
|
+
"adjust_phoneme_length": {
|
3095
|
+
"type": "boolean",
|
3096
|
+
"title": "Adjust Phoneme Length",
|
3097
|
+
"description": "音素ごとの長さの調整"
|
3098
|
+
},
|
3099
|
+
"adjust_speed_scale": {
|
3100
|
+
"type": "boolean",
|
3101
|
+
"title": "Adjust Speed Scale",
|
3102
|
+
"description": "全体の話速の調整"
|
3103
|
+
},
|
3104
|
+
"adjust_pitch_scale": {
|
3105
|
+
"type": "boolean",
|
3106
|
+
"title": "Adjust Pitch Scale",
|
3107
|
+
"description": "全体の音高の調整"
|
3108
|
+
},
|
3109
|
+
"adjust_intonation_scale": {
|
3110
|
+
"type": "boolean",
|
3111
|
+
"title": "Adjust Intonation Scale",
|
3112
|
+
"description": "全体の抑揚の調整"
|
3113
|
+
},
|
3114
|
+
"adjust_volume_scale": {
|
3115
|
+
"type": "boolean",
|
3116
|
+
"title": "Adjust Volume Scale",
|
3117
|
+
"description": "全体の音量の調整"
|
3118
|
+
},
|
3119
|
+
"adjust_pause_length": {
|
3120
|
+
"type": "boolean",
|
3121
|
+
"title": "Adjust Pause Length",
|
3122
|
+
"description": "句読点などの無音時間の調整"
|
3123
|
+
},
|
3124
|
+
"interrogative_upspeak": {
|
3125
|
+
"type": "boolean",
|
3126
|
+
"title": "Interrogative Upspeak",
|
3127
|
+
"description": "疑問文の自動調整"
|
3128
|
+
},
|
3129
|
+
"synthesis_morphing": {
|
3130
|
+
"type": "boolean",
|
3131
|
+
"title": "Synthesis Morphing",
|
3132
|
+
"description": "2種類のスタイルでモーフィングした音声を合成"
|
3133
|
+
},
|
3134
|
+
"sing": {
|
3135
|
+
"type": "boolean",
|
3136
|
+
"title": "Sing",
|
3137
|
+
"description": "歌唱音声合成"
|
3138
|
+
},
|
3139
|
+
"manage_library": {
|
3140
|
+
"type": "boolean",
|
3141
|
+
"title": "Manage Library",
|
3142
|
+
"description": "音声ライブラリのインストール・アンインストール"
|
3143
|
+
},
|
3144
|
+
"return_resource_url": {
|
3145
|
+
"type": "boolean",
|
3146
|
+
"title": "Return Resource Url",
|
3147
|
+
"description": "キャラクター情報のリソースをURLで返送"
|
3148
|
+
}
|
3149
|
+
},
|
3150
|
+
"type": "object",
|
3151
|
+
"required": [
|
3152
|
+
"adjust_mora_pitch",
|
3153
|
+
"adjust_phoneme_length",
|
3154
|
+
"adjust_speed_scale",
|
3155
|
+
"adjust_pitch_scale",
|
3156
|
+
"adjust_intonation_scale",
|
3157
|
+
"adjust_volume_scale",
|
3158
|
+
"interrogative_upspeak",
|
3159
|
+
"synthesis_morphing"
|
3160
|
+
],
|
3161
|
+
"title": "SupportedFeatures",
|
3162
|
+
"description": "エンジンが持つ機能の一覧"
|
3163
|
+
},
|
3164
|
+
"UpdateInfo": {
|
3165
|
+
"properties": {
|
3166
|
+
"version": {
|
3167
|
+
"type": "string",
|
3168
|
+
"title": "Version",
|
3169
|
+
"description": "エンジンのバージョン名"
|
3170
|
+
},
|
3171
|
+
"descriptions": {
|
3172
|
+
"items": {
|
3173
|
+
"type": "string"
|
3174
|
+
},
|
3175
|
+
"type": "array",
|
3176
|
+
"title": "Descriptions",
|
3177
|
+
"description": "アップデートの詳細についての説明"
|
3178
|
+
},
|
3179
|
+
"contributors": {
|
3180
|
+
"items": {
|
3181
|
+
"type": "string"
|
3182
|
+
},
|
3183
|
+
"type": "array",
|
3184
|
+
"title": "Contributors",
|
3185
|
+
"description": "貢献者名"
|
3186
|
+
}
|
3187
|
+
},
|
3188
|
+
"type": "object",
|
3189
|
+
"required": [
|
3190
|
+
"version",
|
3191
|
+
"descriptions"
|
3192
|
+
],
|
3193
|
+
"title": "UpdateInfo",
|
3194
|
+
"description": "エンジンのアップデート情報"
|
3195
|
+
},
|
3196
|
+
"UserDictWord": {
|
3197
|
+
"properties": {
|
3198
|
+
"surface": {
|
3199
|
+
"type": "string",
|
3200
|
+
"title": "Surface",
|
3201
|
+
"description": "表層形"
|
3202
|
+
},
|
3203
|
+
"priority": {
|
3204
|
+
"type": "integer",
|
3205
|
+
"maximum": 10,
|
3206
|
+
"minimum": 0,
|
3207
|
+
"title": "Priority",
|
3208
|
+
"description": "優先度"
|
3209
|
+
},
|
3210
|
+
"context_id": {
|
3211
|
+
"type": "integer",
|
3212
|
+
"title": "Context Id",
|
3213
|
+
"description": "文脈ID",
|
3214
|
+
"default": 1348
|
3215
|
+
},
|
3216
|
+
"part_of_speech": {
|
3217
|
+
"type": "string",
|
3218
|
+
"title": "Part Of Speech",
|
3219
|
+
"description": "品詞"
|
3220
|
+
},
|
3221
|
+
"part_of_speech_detail_1": {
|
3222
|
+
"type": "string",
|
3223
|
+
"title": "Part Of Speech Detail 1",
|
3224
|
+
"description": "品詞細分類1"
|
3225
|
+
},
|
3226
|
+
"part_of_speech_detail_2": {
|
3227
|
+
"type": "string",
|
3228
|
+
"title": "Part Of Speech Detail 2",
|
3229
|
+
"description": "品詞細分類2"
|
3230
|
+
},
|
3231
|
+
"part_of_speech_detail_3": {
|
3232
|
+
"type": "string",
|
3233
|
+
"title": "Part Of Speech Detail 3",
|
3234
|
+
"description": "品詞細分類3"
|
3235
|
+
},
|
3236
|
+
"inflectional_type": {
|
3237
|
+
"type": "string",
|
3238
|
+
"title": "Inflectional Type",
|
3239
|
+
"description": "活用型"
|
3240
|
+
},
|
3241
|
+
"inflectional_form": {
|
3242
|
+
"type": "string",
|
3243
|
+
"title": "Inflectional Form",
|
3244
|
+
"description": "活用形"
|
3245
|
+
},
|
3246
|
+
"stem": {
|
3247
|
+
"type": "string",
|
3248
|
+
"title": "Stem",
|
3249
|
+
"description": "原形"
|
3250
|
+
},
|
3251
|
+
"yomi": {
|
3252
|
+
"type": "string",
|
3253
|
+
"title": "Yomi",
|
3254
|
+
"description": "読み"
|
3255
|
+
},
|
3256
|
+
"pronunciation": {
|
3257
|
+
"type": "string",
|
3258
|
+
"title": "Pronunciation",
|
3259
|
+
"description": "発音"
|
3260
|
+
},
|
3261
|
+
"accent_type": {
|
3262
|
+
"type": "integer",
|
3263
|
+
"title": "Accent Type",
|
3264
|
+
"description": "アクセント型"
|
3265
|
+
},
|
3266
|
+
"mora_count": {
|
3267
|
+
"type": "integer",
|
3268
|
+
"title": "Mora Count",
|
3269
|
+
"description": "モーラ数"
|
3270
|
+
},
|
3271
|
+
"accent_associative_rule": {
|
3272
|
+
"type": "string",
|
3273
|
+
"title": "Accent Associative Rule",
|
3274
|
+
"description": "アクセント結合規則"
|
3275
|
+
}
|
3276
|
+
},
|
3277
|
+
"type": "object",
|
3278
|
+
"required": [
|
3279
|
+
"surface",
|
3280
|
+
"priority",
|
3281
|
+
"part_of_speech",
|
3282
|
+
"part_of_speech_detail_1",
|
3283
|
+
"part_of_speech_detail_2",
|
3284
|
+
"part_of_speech_detail_3",
|
3285
|
+
"inflectional_type",
|
3286
|
+
"inflectional_form",
|
3287
|
+
"stem",
|
3288
|
+
"yomi",
|
3289
|
+
"pronunciation",
|
3290
|
+
"accent_type",
|
3291
|
+
"accent_associative_rule"
|
3292
|
+
],
|
3293
|
+
"title": "UserDictWord",
|
3294
|
+
"description": "辞書のコンパイルに使われる情報"
|
3295
|
+
},
|
3296
|
+
"ValidationError": {
|
3297
|
+
"properties": {
|
3298
|
+
"loc": {
|
3299
|
+
"items": {
|
3300
|
+
"anyOf": [
|
3301
|
+
{
|
3302
|
+
"type": "string"
|
3303
|
+
},
|
3304
|
+
{
|
3305
|
+
"type": "integer"
|
3306
|
+
}
|
3307
|
+
]
|
3308
|
+
},
|
3309
|
+
"type": "array",
|
3310
|
+
"title": "Location"
|
3311
|
+
},
|
3312
|
+
"msg": {
|
3313
|
+
"type": "string",
|
3314
|
+
"title": "Message"
|
3315
|
+
},
|
3316
|
+
"type": {
|
3317
|
+
"type": "string",
|
3318
|
+
"title": "Error Type"
|
3319
|
+
}
|
3320
|
+
},
|
3321
|
+
"type": "object",
|
3322
|
+
"required": [
|
3323
|
+
"loc",
|
3324
|
+
"msg",
|
3325
|
+
"type"
|
3326
|
+
],
|
3327
|
+
"title": "ValidationError"
|
3328
|
+
},
|
3329
|
+
"WordTypes": {
|
3330
|
+
"type": "string",
|
3331
|
+
"enum": [
|
3332
|
+
"PROPER_NOUN",
|
3333
|
+
"COMMON_NOUN",
|
3334
|
+
"VERB",
|
3335
|
+
"ADJECTIVE",
|
3336
|
+
"SUFFIX"
|
3337
|
+
],
|
3338
|
+
"title": "WordTypes",
|
3339
|
+
"description": "品詞"
|
3340
|
+
},
|
3341
|
+
"BaseLibraryInfo": {
|
3342
|
+
"description": "音声ライブラリの情報",
|
3343
|
+
"properties": {
|
3344
|
+
"name": {
|
3345
|
+
"description": "音声ライブラリの名前",
|
3346
|
+
"title": "Name",
|
3347
|
+
"type": "string"
|
3348
|
+
},
|
3349
|
+
"uuid": {
|
3350
|
+
"description": "音声ライブラリのUUID",
|
3351
|
+
"title": "Uuid",
|
3352
|
+
"type": "string"
|
3353
|
+
},
|
3354
|
+
"version": {
|
3355
|
+
"description": "音声ライブラリのバージョン",
|
3356
|
+
"title": "Version",
|
3357
|
+
"type": "string"
|
3358
|
+
},
|
3359
|
+
"download_url": {
|
3360
|
+
"description": "音声ライブラリのダウンロードURL",
|
3361
|
+
"title": "Download Url",
|
3362
|
+
"type": "string"
|
3363
|
+
},
|
3364
|
+
"bytes": {
|
3365
|
+
"description": "音声ライブラリのバイト数",
|
3366
|
+
"title": "Bytes",
|
3367
|
+
"type": "integer"
|
3368
|
+
},
|
3369
|
+
"speakers": {
|
3370
|
+
"description": "音声ライブラリに含まれるキャラクターのリスト",
|
3371
|
+
"items": {
|
3372
|
+
"$ref": "#/components/schemas/LibrarySpeaker"
|
3373
|
+
},
|
3374
|
+
"title": "Speakers",
|
3375
|
+
"type": "array"
|
3376
|
+
}
|
3377
|
+
},
|
3378
|
+
"required": [
|
3379
|
+
"name",
|
3380
|
+
"uuid",
|
3381
|
+
"version",
|
3382
|
+
"download_url",
|
3383
|
+
"bytes",
|
3384
|
+
"speakers"
|
3385
|
+
],
|
3386
|
+
"title": "BaseLibraryInfo",
|
3387
|
+
"type": "object"
|
3388
|
+
},
|
3389
|
+
"VvlibManifest": {
|
3390
|
+
"description": "vvlib(VOICEVOX Library)に関する情報",
|
3391
|
+
"properties": {
|
3392
|
+
"manifest_version": {
|
3393
|
+
"description": "マニフェストバージョン",
|
3394
|
+
"title": "Manifest Version",
|
3395
|
+
"type": "string"
|
3396
|
+
},
|
3397
|
+
"name": {
|
3398
|
+
"description": "音声ライブラリ名",
|
3399
|
+
"title": "Name",
|
3400
|
+
"type": "string"
|
3401
|
+
},
|
3402
|
+
"version": {
|
3403
|
+
"description": "音声ライブラリバージョン",
|
3404
|
+
"title": "Version",
|
3405
|
+
"type": "string"
|
3406
|
+
},
|
3407
|
+
"uuid": {
|
3408
|
+
"description": "音声ライブラリのUUID",
|
3409
|
+
"title": "Uuid",
|
3410
|
+
"type": "string"
|
3411
|
+
},
|
3412
|
+
"brand_name": {
|
3413
|
+
"description": "エンジンのブランド名",
|
3414
|
+
"title": "Brand Name",
|
3415
|
+
"type": "string"
|
3416
|
+
},
|
3417
|
+
"engine_name": {
|
3418
|
+
"description": "エンジン名",
|
3419
|
+
"title": "Engine Name",
|
3420
|
+
"type": "string"
|
3421
|
+
},
|
3422
|
+
"engine_uuid": {
|
3423
|
+
"description": "エンジンのUUID",
|
3424
|
+
"title": "Engine Uuid",
|
3425
|
+
"type": "string"
|
3426
|
+
}
|
3427
|
+
},
|
3428
|
+
"required": [
|
3429
|
+
"manifest_version",
|
3430
|
+
"name",
|
3431
|
+
"version",
|
3432
|
+
"uuid",
|
3433
|
+
"brand_name",
|
3434
|
+
"engine_name",
|
3435
|
+
"engine_uuid"
|
3436
|
+
],
|
3437
|
+
"title": "VvlibManifest",
|
3438
|
+
"type": "object"
|
3439
|
+
}
|
3440
|
+
}
|
3441
|
+
}
|
3442
|
+
}
|