id และเสียงยังเหมือนเดิม ชื่อที่ซ้ำกับเสียงในแคตตาล็อกจะตอบ 400 voice_name_taken และ id ที่บัญชีไม่มีจะตอบ 400 unknown_voice การเปลี่ยนชื่อไม่ใช้เครดิตและไม่นับรวมในอัตราจำกัดคำขอ
เฮดเดอร์#
authorizationBearer pxa_...จำเป็นAuthorization: Bearer pxa_... (recommended).
x-api-keypxa_...Alternative to the Authorization header. Ignored when Authorization is present.
พารามิเตอร์ในพาธ#
idstringจำเป็นThe designed voice's id, starting "voice_".
เนื้อหา#
namestringจำเป็นThe new name, up to 60 characters. A catalog voice's name answers 400 voice_name_taken.
การตอบกลับ#
A designed voice the account saved.
idstringจำเป็นThe voice id, starting "voice_". Send it as voice with model paxa-tts-flash-v2 on POST /v1/tts, POST /v1/audio/speech, or the /v1/tts/live socket.
namestringจำเป็นDisplay name, which PATCH changes. The voice field does not accept it.
rolestringจำเป็นWho the voice is, in a few words.
descriptionstringจำเป็นHow the voice sounds, in one sentence.
gender"f" or "m"จำเป็นVoice gender, "f" or "m".
language"th" or "en" or "zh"จำเป็นThe one language the voice speaks: "th" (Thai), "en" (English), or "zh" (Mandarin Chinese, Simplified script).
modelstringจำเป็นThe model the voice speaks on.
created_atstringจำเป็นSave time, ISO 8601.