A simple API for Kuroshiro library.
Send POST
request to /
. The body should be a JSON object (Content-Type: application/json
) with the following properties:
text
: The text to be converted. (Required)type
: The conversion type. (Required) You can choosehiragana
,katakana
, orromaji
.mode
: The conversion mode. (Optional) You can choosenormal
,spaced
, orokurigana
.romajiSystem
The romaji system. Only works when type isromaji
. (Optional) You can choosehepburn
,nippon
, orpassport
.