ส่ง name เพื่อตั้งชื่อเสียง หรือไม่ส่งเพื่อใช้ชื่อที่ได้จากการออกแบบ การบันทึก draft เดิมซ้ำจะคืนเสียงเดิมและไม่ใช้ช่องเพิ่ม จึงส่งซ้ำได้อย่างปลอดภัย
บัญชีที่ใช้ช่องครบแล้วจะตอบ 403 voice_slots_full ดูจำนวนช่องของแต่ละแพ็กเกจได้ในเสียงที่ออกแบบเอง การบันทึกไม่ใช้เครดิตและไม่นับรวมในอัตราจำกัดคำขอ
เฮดเดอร์#
authorizationBearer pxa_...จำเป็นAuthorization: Bearer pxa_... (recommended).
x-api-keypxa_...Alternative to the Authorization header. Ignored when Authorization is present.
เนื้อหา#
draftstringจำเป็นThe draft a design response returned. Saving one draft again returns the voice it made and takes no slot.
namestringA name for the voice, up to 60 characters. Omitted, the voice keeps the name the design response gave it. 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.