テキストがAquesTalk 風記法に従っているか判定する
curl --request POST \
--url https://api.example.com/validate_kanaimport requests
url = "https://api.example.com/validate_kana"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/validate_kana', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/validate_kana",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/validate_kana"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/validate_kana")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/validate_kana")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodytrue{
"text": "<string>",
"error_name": "<string>",
"error_args": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}テキストがAquesTalk 風記法に従っているか判定する
テキストがAquesTalk 風記法に従っているかどうかを判定します。
従っていない場合はエラーが返ります。
Laravel実装状況: ✅ Laravelのみで対応(フォールバック不要)
POST
/
validate_kana
テキストがAquesTalk 風記法に従っているか判定する
curl --request POST \
--url https://api.example.com/validate_kanaimport requests
url = "https://api.example.com/validate_kana"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/validate_kana', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/validate_kana",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/validate_kana"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/validate_kana")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/validate_kana")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodytrue{
"text": "<string>",
"error_name": "<string>",
"error_args": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}クエリパラメータ
判定する対象の文字列
レスポンス
Successful Response
The response is of type boolean.
最終更新日 2026年5月27日
関連トピック
ネイティブモード:トーク(テキスト音声合成) - VOICEVOX for Laravelテキストからアクセント句を得るエンジン API モード:トーク(テキスト音声合成) - VOICEVOX for LaravelContext(コンテキスト)指定したスタイルに対してエンジン内のキャラクターがモーフィングが可能か判定するこのページは役に立ちましたか?
⌘I