Synthesize multiple texts at once

POST /voicevox/multi_synthesis

Synthesize multiple texts at once. Returns audio wav file.

application/json

Body Required

Responses

  • 200 application/json

    Default Response

    Hide response attributes Show response attributes object
    • status boolean

      Default value is true.

    • message string

      Default value is success.

    • result object

      Additional properties are allowed.

      Hide result attribute Show result attribute object
      • audios array[string]

        The audio's output

  • 400 application/json

    Invalid request error

    Hide response attributes Show response attributes object
  • 401 application/json

    Authorization error

    Hide response attributes Show response attributes object
  • 500 application/json

    Internal server error

    Hide response attributes Show response attributes object
POST /voicevox/multi_synthesis
curl \
 -X POST https://api.itsrose.rest/voicevox/multi_synthesis \
 -H "Content-Type: application/json" \
 -d '{"speaker":42.0,"enable_interrogative_upspeak":true,"input":{"accent_phrases":[{"moras":[{"text":"string","vowel":"string","vowel_length":42.0,"pitch":42.0}],"accent":42.0,"pause_mora":{"text":"string","vowel":"string","vowel_length":42.0,"pitch":42.0},"is_interrogative":false}],"speedScale":42.0,"pitchScale":42.0,"intonationScale":42.0,"volumeScale":42.0,"prePhonemeLength":42.0,"postPhonemeLength":42.0,"outputSamplingRate":42.0,"outputStereo":false,"kana":"string"}}'
Request examples
{
  "speaker": 42.0,
  "enable_interrogative_upspeak": true,
  "input": {
    "accent_phrases": [
      {
        "moras": [
          {
            "text": "string",
            "vowel": "string",
            "vowel_length": 42.0,
            "pitch": 42.0
          }
        ],
        "accent": 42.0,
        "pause_mora": {
          "text": "string",
          "vowel": "string",
          "vowel_length": 42.0,
          "pitch": 42.0
        },
        "is_interrogative": false
      }
    ],
    "speedScale": 42.0,
    "pitchScale": 42.0,
    "intonationScale": 42.0,
    "volumeScale": 42.0,
    "prePhonemeLength": 42.0,
    "postPhonemeLength": 42.0,
    "outputSamplingRate": 42.0,
    "outputStereo": false,
    "kana": "string"
  }
}
Response examples (200)
{
  "status": true,
  "message": "success",
  "result": {
    "audios": [
      "string"
    ]
  }
}
Response examples (400)
{
  "status": false,
  "message": "string",
  "result": {}
}
Response examples (401)
{
  "status": false,
  "message": "string",
  "result": {}
}
Response examples (500)
{
  "status": false,
  "message": "string",
  "result": {}
}