goldens/capabilities/tts.v1.json 1.5 KiB 66 lines Raw
1 {2   "capability": "tts",3   "channels": [4     {5       "channel": "pcm",6       "mime": "audio/pcm; enc=s16le; rate=24000; channels=1",7       "payload": "one run of audio bytes. The mime states the sample format, the rate, and the channel count."8     },9     {10       "channel": "progress",11       "mime": "application/json",12       "payload": "{stage, pct} while the plugin synthesises"13     }14   ],15   "meta": [16     {17       "key": "model",18       "meaning": "the served name that ran the job",19       "type": "string"20     },21     {22       "key": "rate",23       "meaning": "the sample rate in hertz, measured by the plugin",24       "type": "uint"25     },26     {27       "key": "channels",28       "meaning": "the channel count, measured by the plugin",29       "type": "uint"30     },31     {32       "key": "format",33       "meaning": "the sample format that the plugin used",34       "type": "string"35     }36   ],37   "parameters": [38     {39       "default": "catalogue",40       "meaning": "the voice to speak with",41       "name": "voice",42       "type": "string"43     },44     {45       "default": "1.0",46       "meaning": "the speaking rate multiplier",47       "name": "speed",48       "type": "float"49     },50     {51       "default": "catalogue",52       "meaning": "the sample format to emit",53       "name": "format",54       "type": "string"55     }56   ],57   "parts": [58     {59       "kind": "text",60       "meaning": "the text to speak. The role is not significant.",61       "required": "yes, one or more",62       "role": "any"63     }64   ],65   "version": 166 }