Skip to main content
POST
/
mora_pitch
Get pitch from accent phrases
curl --request POST \
  --url https://api.example.com/mora_pitch \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "moras": [
      {
        "text": "<string>",
        "vowel": "<string>",
        "vowel_length": 123,
        "pitch": 123,
        "consonant": "<string>",
        "consonant_length": 123
      }
    ],
    "accent": 123,
    "is_interrogative": false
  }
]
'
[
  {
    "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

speaker
integer
required
core_version
string

Body

application/json
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

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