Skip to main content
POST
/
accent_phrases
Get accent phrases from text
curl --request POST \
  --url https://api.example.com/accent_phrases
[
  {
    "moras": [
      {
        "text": "<string>",
        "vowel": "<string>",
        "vowel_length": 123,
        "pitch": 123,
        "consonant": "<string>",
        "consonant_length": 123
      }
    ],
    "accent": 123,
    "pause_mora": {
      "text": "<string>",
      "vowel": "<string>",
      "vowel_length": 123,
      "pitch": 123,
      "consonant": "<string>",
      "consonant_length": 123
    },
    "is_interrogative": false
  }
]

Query Parameters

text
string
required
speaker
integer
required
is_kana
boolean
default:false
enable_katakana_english
boolean
default:true
core_version
string

Response

Successful Response

moras
Mora · object[]
required

List of moras

accent
integer
required

Accent position

pause_mora
Pause Mora · object

Silent mora appended to the end of the accent phrase. If null, no silent mora is appended.

is_interrogative
boolean
default:false

Whether the phrase is interrogative

Last modified on May 27, 2026