Subspace Institute

Moyin TTS API

Generates speech audio from the provided text using Moyin's Text-to-Speech service

POST
/tts-moyin
textstring
Length1 <= length <= 3000
voice?string

The voice to use for speech generation

Default"cissy_meet"
speed?number

Speaking speed, from 0.5 to 2.0

Default1
Range0.5 <= value <= 2
volume?number

Speaking volume, from 0.1 to 1.0

Default1
Range0.1 <= value <= 1
pitch?number

Speaking pitch, from -10 to 10

Default0
Range-10 <= value <= 10
tokenstring

Moyin API appkey for authentication

Length1 <= length
secretstring

Moyin API secret for authentication

Length1 <= length
audioType?string

Audio output format

Default"mp3"
Value in"pcm" | "mp3" | "speex-wb-10" | "wav"
ignoreLimit?boolean

Whether to ignore 1000 characters limit

Defaultfalse
symbolSil?string

Symbol silence mapping, e.g. semi_200,exclamation_200,question_200,comma_200,stop_200

Response Body

curl -X POST "https://edge-workers.laplace.cn/laplace/tts-moyin" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "感谢ドラゴンラプラスWeChat的SC:一发sc没被念到我就冷汗直流心跳加速头皮发麻双手痉挛两腿打颤,还不好意思刷弹幕说你漏了,我好怕你看到了装作没看到。我的sc通常很短只有一小时,只有短短的3600秒,但它存在的时候,我会用心跳来为它倒数。私のBANを解除してください。もう二度とスパムしません😭",
    "token": "string",
    "secret": "string"
  }'
null
{
  "success": false,
  "message": "string",
  "code": "string",
  "type": "string"
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "type": "string"
}