{
  "aboutHtml": "<p>GLM-TTS เป็นโมเดลสังเคราะห์เสียงของ Zhipu ที่เลือกด้วย ID ที่ตรงตามนี้คือ glm-tts ส่ง POST /v1/audio/speech พร้อม model, input และ voice ใส่คำที่จะพูดลงใน input โดยตรง และเลือก response_format=wav สำหรับโปรไฟล์นี้ ผลลัพธ์คือเสียงบันทึกการอ่านสคริปต์ที่ป้อนให้ เหมาะสำหรับเล่นกลับหรือนำเข้าโปรแกรมตัดต่อเสียงหรือวิดีโอ</p><p>ใช้สำหรับคำอธิบายสินค้าสั้น ๆ คำต้อนรับแบบเสียง ข้อความแนะนำวิธีทำ หรือประกาศ เตรียมสคริปต์ตามที่ต้องการให้อ่านออกเสียง โดยใส่จุดแบ่งประโยคที่ต้องการและเขียนคำที่การออกเสียงมีความสำคัญต่องานให้ชัดเจน สำหรับบทสอน คำขอหนึ่งอาจมีคำแนะนำที่เจาะจงเพื่อประกอบขั้นตอนที่เห็นเพียงขั้นตอนเดียว สำหรับข้อความต้อนรับ ให้ป้อนถ้อยคำจริงและตรวจทานเสียงบันทึกก่อนใส่ลงในขั้นตอนใช้งานของลูกค้า</p><p>ความยาวอินพุตสูงสุดตามเอกสารคือ 1,024 อักขระ ตรวจขีดจำกัดนี้จากข้อความที่เสร็จแล้ว รวมเครื่องหมายวรรคตอนและช่องว่าง เสียงบรรยายที่ยาวกว่านี้ต้องแบ่งสคริปต์เป็นช่วงที่เหมาะสม เก็บลำดับของช่วงและการตั้งค่าที่เลือกไว้พร้อมเสียงบันทึก เพื่อประกอบและตรวจทานร่วมกันได้ ขีดจำกัดอักขระอธิบายข้อความอินพุตและไม่ได้กำหนดระยะเวลาบันทึกเสียงตายตัว</p><p>สคีมาของ voice ระบุ tongtong, chuichui, jam, kazi, douji และ luodo ตัวอย่างที่เผยแพร่ใช้ tongtong พร้อม speed=1 และ volume=1 ทั้ง speed และ volume เป็นตัวควบคุมที่เลือกใส่ได้ โดยมีค่าเริ่มต้นตามเอกสารเป็น 1 สำหรับเมธอด WAV นี้ speed เป็นจำนวนเต็มที่รับ 1 หรือ 2 และ volume เป็นจำนวนเต็มตั้งแต่ 1 ถึง 10 ค่าบูลีน watermark_enabled ที่เลือกใส่ได้ควบคุมลายน้ำเสียง ไม่ต้องระบุ stream หรือกำหนดเป็น false เพื่อรับเสียงบันทึก WAV ที่สมบูรณ์ เริ่มจากตัวอย่างที่ชัดเจนนี้เมื่อเตรียมเสียงบันทึกครั้งแรก จากนั้นใช้เสียงที่เลือกและการตั้งค่าที่ระบบยอมรับให้สม่ำเสมอในช่วงที่เกี่ยวข้องกัน</p><p>เสียงบันทึก WAV คือเอาต์พุตที่เสร็จแล้วของคำขอเสียงพูด เก็บผลลัพธ์เสียงทั้งหมดและข้อมูลการตอบกลับ จากนั้นฟังตลอดทั้งช่วงเพื่อตรวจการออกเสียง ถ้อยคำ การเว้นจังหวะ และลำดับที่ต้องการ เก็บสคริปต์ต้นฉบับที่ตรงกันไว้ข้างเสียงบันทึกเมื่อเตรียมแก้ไข หากผลลัพธ์ของคำขอยังไม่แน่ชัด ให้เก็บคำขอเดิมและข้อมูลผลลัพธ์ที่ส่งกลับมาก่อนสร้างคำขอสังเคราะห์อีกครั้ง การไม่มีไฟล์ให้เล่นเพียงอย่างเดียวไม่ได้ยืนยันว่าไม่มีการสร้างเสียงบันทึก</p>",
  "aboutText": "GLM-TTS เป็นโมเดลสังเคราะห์เสียงของ Zhipu ที่เลือกด้วย ID ที่ตรงตามนี้คือ glm-tts ส่ง POST /v1/audio/speech พร้อม model, input และ voice ใส่คำที่จะพูดลงใน input โดยตรง และเลือก response_format=wav สำหรับโปรไฟล์นี้ ผลลัพธ์คือเสียงบันทึกการอ่านสคริปต์ที่ป้อนให้ เหมาะสำหรับเล่นกลับหรือนำเข้าโปรแกรมตัดต่อเสียงหรือวิดีโอ\n\nใช้สำหรับคำอธิบายสินค้าสั้น ๆ คำต้อนรับแบบเสียง ข้อความแนะนำวิธีทำ หรือประกาศ เตรียมสคริปต์ตามที่ต้องการให้อ่านออกเสียง โดยใส่จุดแบ่งประโยคที่ต้องการและเขียนคำที่การออกเสียงมีความสำคัญต่องานให้ชัดเจน สำหรับบทสอน คำขอหนึ่งอาจมีคำแนะนำที่เจาะจงเพื่อประกอบขั้นตอนที่เห็นเพียงขั้นตอนเดียว สำหรับข้อความต้อนรับ ให้ป้อนถ้อยคำจริงและตรวจทานเสียงบันทึกก่อนใส่ลงในขั้นตอนใช้งานของลูกค้า\n\nความยาวอินพุตสูงสุดตามเอกสารคือ 1,024 อักขระ ตรวจขีดจำกัดนี้จากข้อความที่เสร็จแล้ว รวมเครื่องหมายวรรคตอนและช่องว่าง เสียงบรรยายที่ยาวกว่านี้ต้องแบ่งสคริปต์เป็นช่วงที่เหมาะสม เก็บลำดับของช่วงและการตั้งค่าที่เลือกไว้พร้อมเสียงบันทึก เพื่อประกอบและตรวจทานร่วมกันได้ ขีดจำกัดอักขระอธิบายข้อความอินพุตและไม่ได้กำหนดระยะเวลาบันทึกเสียงตายตัว\n\nสคีมาของ voice ระบุ tongtong, chuichui, jam, kazi, douji และ luodo ตัวอย่างที่เผยแพร่ใช้ tongtong พร้อม speed=1 และ volume=1 ทั้ง speed และ volume เป็นตัวควบคุมที่เลือกใส่ได้ โดยมีค่าเริ่มต้นตามเอกสารเป็น 1 สำหรับเมธอด WAV นี้ speed เป็นจำนวนเต็มที่รับ 1 หรือ 2 และ volume เป็นจำนวนเต็มตั้งแต่ 1 ถึง 10 ค่าบูลีน watermark_enabled ที่เลือกใส่ได้ควบคุมลายน้ำเสียง ไม่ต้องระบุ stream หรือกำหนดเป็น false เพื่อรับเสียงบันทึก WAV ที่สมบูรณ์ เริ่มจากตัวอย่างที่ชัดเจนนี้เมื่อเตรียมเสียงบันทึกครั้งแรก จากนั้นใช้เสียงที่เลือกและการตั้งค่าที่ระบบยอมรับให้สม่ำเสมอในช่วงที่เกี่ยวข้องกัน\n\nเสียงบันทึก WAV คือเอาต์พุตที่เสร็จแล้วของคำขอเสียงพูด เก็บผลลัพธ์เสียงทั้งหมดและข้อมูลการตอบกลับ จากนั้นฟังตลอดทั้งช่วงเพื่อตรวจการออกเสียง ถ้อยคำ การเว้นจังหวะ และลำดับที่ต้องการ เก็บสคริปต์ต้นฉบับที่ตรงกันไว้ข้างเสียงบันทึกเมื่อเตรียมแก้ไข หากผลลัพธ์ของคำขอยังไม่แน่ชัด ให้เก็บคำขอเดิมและข้อมูลผลลัพธ์ที่ส่งกลับมาก่อนสร้างคำขอสังเคราะห์อีกครั้ง การไม่มีไฟล์ให้เล่นเพียงอย่างเดียวไม่ได้ยืนยันว่าไม่มีการสร้างเสียงบันทึก",
  "editorialOverlay": {
    "copy_fields": null,
    "copy_sha256": null,
    "copy_source": null,
    "html_sha256": "8bb5349d78297e099fd31c19174dcc8d739dc2d08c2f461be75addd481d4c210",
    "module_sha256": "ee9dc1c50b1e6a8fb7fa062030fcb4646b9aaaeb08be513b723a5a92a7290f06",
    "raw_model_unchanged": true,
    "schema": "ailoot-native-model-editorial-v1"
  },
  "locale": "th",
  "methods": [
    {
      "html": "<div class=\"sheet-head\"><span class=\"mav\" aria-hidden=\"true\">•</span><h2 id=\"sheet-title\">glm-tts</h2><button class=\"icon-btn\" type=\"button\" data-close-sheet aria-label=\"ปิด\">×</button></div><div class=\"idline\"><span>ZHIPU /</span><code>glm-tts</code><button type=\"button\" id=\"copy-id\">คัดลอก ID</button></div><nav class=\"card-jump-nav\" aria-label=\"ส่วนต่าง ๆ ของการ์ดโมเดล\"><button type=\"button\" data-card-jump=\"overview\">เริ่มต้น</button><button type=\"button\" data-card-jump=\"methods\">อินพุตและเมธอด</button><button type=\"button\" data-card-jump=\"pricing\">ราคา</button><button type=\"button\" data-card-jump=\"examples\">ตัวอย่าง</button><button type=\"button\" data-card-jump=\"results\">ผลลัพธ์</button><button type=\"button\" data-card-jump=\"aliases\">ชื่ออื่น</button></nav><div class=\"card-method-tabs\" role=\"tablist\" aria-label=\"เมธอด API\"><button type=\"button\" role=\"tab\" tabindex=\"0\" aria-controls=\"card-method-content\" aria-selected=\"true\" id=\"card-method-tab-0\" data-card-method=\"Ultra|speech|/v1/audio/speech|glm-tts\">การสังเคราะห์เสียงพูด</button></div><div id=\"card-method-content\" role=\"tabpanel\" aria-labelledby=\"card-method-tab-0\"><section class=\"card-section\" data-card-section=\"overview\"><h3 tabindex=\"-1\">เริ่มต้น</h3><p class=\"mdesc-full\">GLM-TTS แปลงสคริปต์ที่ป้อนให้เป็นเสียงพูด โปรไฟล์ glm-tts ใช้เมธอด Audio Speech พร้อมระบุ voice อย่างชัดเจนและเอาต์พุต WAV จึงเหมาะกับเสียงบรรยายสั้น คำแนะนำแบบเสียง และการเล่นข้อความเสียง เตรียมข้อความให้อยู่ภายในขีดจำกัดอินพุต 1,024 อักขระตามเอกสาร</p><dl class=\"card-io\" data-card-io><div><dt>อินพุตที่รองรับ</dt><dd>ข้อความ</dd></div><div><dt>ผลลัพธ์</dt><dd>เสียง</dd></div></dl><details class=\"card-about\"><summary>เกี่ยวกับโมเดล</summary><p class=\"note-s\" data-model-method-boundary>คำอธิบายนี้ครอบคลุมความสามารถของโมเดล อินพุต เอาต์พุต และตัวเลือกที่ใช้ได้ใน Ailoot แสดงด้านล่างตามเมธอดที่เลือก</p><div class=\"mabout\" id=\"m-about\"><p>GLM-TTS เป็นโมเดลสังเคราะห์เสียงของ Zhipu ที่เลือกด้วย ID ที่ตรงตามนี้คือ glm-tts ส่ง POST /v1/audio/speech พร้อม model, input และ voice ใส่คำที่จะพูดลงใน input โดยตรง และเลือก response_format=wav สำหรับโปรไฟล์นี้ ผลลัพธ์คือเสียงบันทึกการอ่านสคริปต์ที่ป้อนให้ เหมาะสำหรับเล่นกลับหรือนำเข้าโปรแกรมตัดต่อเสียงหรือวิดีโอ</p><p>ใช้สำหรับคำอธิบายสินค้าสั้น ๆ คำต้อนรับแบบเสียง ข้อความแนะนำวิธีทำ หรือประกาศ เตรียมสคริปต์ตามที่ต้องการให้อ่านออกเสียง โดยใส่จุดแบ่งประโยคที่ต้องการและเขียนคำที่การออกเสียงมีความสำคัญต่องานให้ชัดเจน สำหรับบทสอน คำขอหนึ่งอาจมีคำแนะนำที่เจาะจงเพื่อประกอบขั้นตอนที่เห็นเพียงขั้นตอนเดียว สำหรับข้อความต้อนรับ ให้ป้อนถ้อยคำจริงและตรวจทานเสียงบันทึกก่อนใส่ลงในขั้นตอนใช้งานของลูกค้า</p><p>ความยาวอินพุตสูงสุดตามเอกสารคือ 1,024 อักขระ ตรวจขีดจำกัดนี้จากข้อความที่เสร็จแล้ว รวมเครื่องหมายวรรคตอนและช่องว่าง เสียงบรรยายที่ยาวกว่านี้ต้องแบ่งสคริปต์เป็นช่วงที่เหมาะสม เก็บลำดับของช่วงและการตั้งค่าที่เลือกไว้พร้อมเสียงบันทึก เพื่อประกอบและตรวจทานร่วมกันได้ ขีดจำกัดอักขระอธิบายข้อความอินพุตและไม่ได้กำหนดระยะเวลาบันทึกเสียงตายตัว</p><p>สคีมาของ voice ระบุ tongtong, chuichui, jam, kazi, douji และ luodo ตัวอย่างที่เผยแพร่ใช้ tongtong พร้อม speed=1 และ volume=1 ทั้ง speed และ volume เป็นตัวควบคุมที่เลือกใส่ได้ โดยมีค่าเริ่มต้นตามเอกสารเป็น 1 สำหรับเมธอด WAV นี้ speed เป็นจำนวนเต็มที่รับ 1 หรือ 2 และ volume เป็นจำนวนเต็มตั้งแต่ 1 ถึง 10 ค่าบูลีน watermark_enabled ที่เลือกใส่ได้ควบคุมลายน้ำเสียง ไม่ต้องระบุ stream หรือกำหนดเป็น false เพื่อรับเสียงบันทึก WAV ที่สมบูรณ์ เริ่มจากตัวอย่างที่ชัดเจนนี้เมื่อเตรียมเสียงบันทึกครั้งแรก จากนั้นใช้เสียงที่เลือกและการตั้งค่าที่ระบบยอมรับให้สม่ำเสมอในช่วงที่เกี่ยวข้องกัน</p><p>เสียงบันทึก WAV คือเอาต์พุตที่เสร็จแล้วของคำขอเสียงพูด เก็บผลลัพธ์เสียงทั้งหมดและข้อมูลการตอบกลับ จากนั้นฟังตลอดทั้งช่วงเพื่อตรวจการออกเสียง ถ้อยคำ การเว้นจังหวะ และลำดับที่ต้องการ เก็บสคริปต์ต้นฉบับที่ตรงกันไว้ข้างเสียงบันทึกเมื่อเตรียมแก้ไข หากผลลัพธ์ของคำขอยังไม่แน่ชัด ให้เก็บคำขอเดิมและข้อมูลผลลัพธ์ที่ส่งกลับมาก่อนสร้างคำขอสังเคราะห์อีกครั้ง การไม่มีไฟล์ให้เล่นเพียงอย่างเดียวไม่ได้ยืนยันว่าไม่มีการสร้างเสียงบันทึก</p></div></details></section><section class=\"card-section\" data-card-section=\"methods\"><h3 tabindex=\"-1\">ใช้งานได้ใน Ailoot · อินพุตและเมธอด</h3><details class=\"card-method\" open><summary><b>Ailoot Ultra · Speech</b> <code>POST /v1/audio/speech</code></summary><dl class=\"method-capabilities\"><div><dt>ขาเข้า</dt><dd><code>text</code></dd></div><div><dt>ขาออก</dt><dd><code>audio</code></dd></div><div><dt>รูปแบบเอาต์พุต</dt><dd>wav</dd></div></dl><div class=\"tw\" data-card-parameters data-typed-parameters><table><thead><tr><th>ฟิลด์</th><th>ประเภท</th><th>ข้อกำหนด</th><th>ค่าและข้อจำกัด</th><th>ค่าเริ่มต้น</th></tr></thead><tbody><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">model</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>string</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>จำเป็น</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>glm-tts</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">input</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>string</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>จำเป็น</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">voice</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>string</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>จำเป็น</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>tongtong, chuichui, jam, kazi, douji, luodo</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">response_format</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>string</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>จำเป็น</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>wav</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">encode_format</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>string</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>base64, hex</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">speed</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>integer</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>ขั้นต่ำ: 1</div><div>สูงสุด: 2</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"known\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>1</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">volume</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>integer</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>ขั้นต่ำ: 1</div><div>สูงสุด: 10</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"known\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>1</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">watermark_enabled</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>boolean</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">stream</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>boolean</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>false</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr></tbody></table></div><details class=\"note-s\" data-method-contract><summary>พารามิเตอร์และวงจรการทำงานของเมธอด</summary><div class=\"tw\" data-card-table=\"contract\"><table><thead><tr><th>พารามิเตอร์</th><th>ข้อกำหนด</th></tr></thead><tbody><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>content_type</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>application/json</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>required</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>model, input, voice, response_format</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>optional</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>encode_format, speed, volume, watermark_enabled, stream</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>material_types</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>text</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>conditions</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>Use direct WAV output. speed and volume are positive integers within the listed bounds. stream is false or omitted.</td></tr></tbody></table></div><p>วงจรการทำงาน: <code>synchronous_result_then_owned_library</code></p><p class=\"note-s\"><code>GET /v1/media/assets</code></p><p class=\"note-s\"><code>GET /v1/media/assets/{asset_id}</code></p></details></details></section><section class=\"card-section\" data-card-section=\"pricing\"><h3 tabindex=\"-1\">ราคา</h3><div data-native-semantic-method=\"v1\" data-tariff-reference-only><p class=\"note-s\" data-rate-support-note>ข้อมูลอัตราราคาไม่ได้เพิ่มตัวเลือกคำขอ พารามิเตอร์ที่รองรับระบุไว้สำหรับเมธอดที่เลือก</p><dl data-price-conditions><dt>โหมดรวดเร็ว</dt><dd>ไม่ได้ระบุ <span class=\"note-s\">เมื่อเลือกโหมดรวดเร็ว</span></dd><dt>โหมดยืดหยุ่น</dt><dd>ไม่ได้ระบุ <span class=\"note-s\">เมื่อเลือกโหมด flex</span></dd><dt>ระดับการใช้เหตุผลสูงสุด</dt><dd>ไม่ได้ระบุ <span class=\"note-s\">เมื่อใช้การปรับตามค่าเริ่มต้น (default) สำหรับระดับการใช้เหตุผลสูงสุด</span></dd></dl></div><div data-declared-tariff-pricing><h4>อัตราค่าบริการ Ailoot</h4><h4>ราคาตามการตั้งค่า</h4><p class=\"note-s\">เทียบค่าบริการแต่ละรายการกับเงื่อนไขที่แสดง เลือกใช้อัตราเดียวสำหรับแต่ละชุดการตั้งค่าที่เป็นตัวเลือกทดแทนกัน</p><div class=\"tw\" data-pricing-profiles><table><thead><tr><th>การตั้งค่า</th><th>ตารางอัตราค่าบริการ</th><th>ปริมาณที่คิดค่าบริการ</th><th>หน่วยคิดค่าบริการ</th><th>ค่าบริการ</th></tr></thead><tbody><tr><th data-cell-label=\"การตั้งค่า\" scope=\"row\"><span class=\"card-cell-label\">การตั้งค่า</span>อัตราค่าบริการโทเคนพื้นฐาน</th><td data-cell-label=\"ตารางอัตราค่าบริการ\"><span class=\"card-cell-label\">ตารางอัตราค่าบริการ</span>อัตราพื้นฐาน</td><td data-cell-label=\"ปริมาณที่คิดค่าบริการ\"><span class=\"card-cell-label\">ปริมาณที่คิดค่าบริการ</span>—</td><td data-cell-label=\"หน่วยคิดค่าบริการ\"><span class=\"card-cell-label\">หน่วยคิดค่าบริการ</span>—</td><td data-cell-label=\"ค่าบริการ\"><span class=\"card-cell-label\">ค่าบริการ</span><div><span>ขาเข้า · โทเค็นอินพุต</span> <b>—</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาออก · โทเค็นเอาต์พุต</span> <b>—</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาเข้า · การอ่านแคช</span> <b>—</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาเข้า · การเขียนแคช</span> <b>—</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาเข้า · การเขียนแคช, 1 ชั่วโมง</span> <b>—</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div></td></tr><tr><th data-cell-label=\"การตั้งค่า\" scope=\"row\"><span class=\"card-cell-label\">การตั้งค่า</span>อักขระขาเข้า</th><td data-cell-label=\"ตารางอัตราค่าบริการ\"><span class=\"card-cell-label\">ตารางอัตราค่าบริการ</span>—</td><td data-cell-label=\"ปริมาณที่คิดค่าบริการ\"><span class=\"card-cell-label\">ปริมาณที่คิดค่าบริการ</span>—</td><td data-cell-label=\"หน่วยคิดค่าบริการ\"><span class=\"card-cell-label\">หน่วยคิดค่าบริการ</span>ต่ออักขระอินพุต</td><td data-cell-label=\"ค่าบริการ\"><span class=\"card-cell-label\">ค่าบริการ</span><div><span>ขาเข้า · อักขระขาเข้า</span> <b>$0.00006</b> <span class=\"price-unit\">ต่ออักขระอินพุต</span></div></td></tr><tr><th data-cell-label=\"การตั้งค่า\" scope=\"row\"><span class=\"card-cell-label\">การตั้งค่า</span>ต่อคำขอ</th><td data-cell-label=\"ตารางอัตราค่าบริการ\"><span class=\"card-cell-label\">ตารางอัตราค่าบริการ</span>—</td><td data-cell-label=\"ปริมาณที่คิดค่าบริการ\"><span class=\"card-cell-label\">ปริมาณที่คิดค่าบริการ</span>หนึ่งคำขอ</td><td data-cell-label=\"หน่วยคิดค่าบริการ\"><span class=\"card-cell-label\">หน่วยคิดค่าบริการ</span>—</td><td data-cell-label=\"ค่าบริการ\"><span class=\"card-cell-label\">ค่าบริการ</span><div><span>ขาเข้า</span> <b>$0</b> <span class=\"price-unit\">ต่อคำขอ</span></div></td></tr></tbody></table></div></div><p class=\"note-s\">Ailoot กันยอดเงินประมาณการไว้ก่อนส่งคำขอ หลังได้ผลลัพธ์ จะคิดค่าบริการสุดท้ายตามการใช้งานที่วัดได้ การคิดค่าบริการแบบสตรีมใช้บันทึกการใช้งานสุดท้าย <a href=\"/docs/th/billing/reserve/\">วิธีกันยอดเงินและคิดค่าบริการสุดท้าย →</a></p></section><section class=\"card-section\" data-card-section=\"examples\"><h3 tabindex=\"-1\">ตัวอย่างคำขอ</h3><h4>Ailoot Ultra · Speech</h4><div class=\"code-group\"><div class=\"cg-bar\"><div class=\"cg-tabs\" role=\"tablist\" aria-label=\"ตัวเลือกโค้ด\"><button class=\"cg-tab\" id=\"model-code-12-tab-0\" role=\"tab\" type=\"button\" aria-controls=\"model-code-12-panel-0\" aria-selected=\"true\" tabindex=\"0\">curl · สร้างครั้งเดียวและเก็บผลลัพธ์ไว้ให้ครบถ้วน</button></div><div class=\"cg-tools\"><button class=\"cg-btn cg-copy\" type=\"button\" aria-label=\"คัดลอกโค้ด\"><svg class=\"cp\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\"><rect x=\"5.25\" y=\"5.25\" width=\"8.5\" height=\"8.5\" rx=\"1.75\"/><path d=\"M10.75 5.25V3.5a1.25 1.25 0 0 0-1.25-1.25H3.5A1.25 1.25 0 0 0 2.25 3.5v6a1.25 1.25 0 0 0 1.25 1.25h1.75\"/></svg><svg class=\"ok\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\"><path d=\"m3 8.5 3.25 3.25L13 5\"/></svg></button></div></div><div class=\"cg-body\"><div class=\"cg-pane\" id=\"model-code-12-panel-0\" role=\"tabpanel\" aria-labelledby=\"model-code-12-tab-0\"><pre data-lang=\"bash\"><code>set -eu\n: &quot;${AILOOT_API_KEY:?Set your Ailoot API key}&quot;\nexport AILOOT_API_KEY\npython3 - &lt;&lt;&#39;PY_REQUEST&#39;\nimport json,os\nfrom pathlib import Path\np=json.loads(&#39;{&quot;model&quot;: &quot;glm-tts&quot;, &quot;input&quot;: &quot;Hello, this is a short speech example.&quot;, &quot;voice&quot;: &quot;tongtong&quot;, &quot;response_format&quot;: &quot;wav&quot;}&#39;)\n\nPath(&quot;request.json&quot;).write_text(json.dumps(p,ensure_ascii=False))\nPY_REQUEST\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/audio/speech \\\n  -H &quot;Authorization: Bearer $AILOOT_API_KEY&quot; -H &#39;Content-Type: application/json&#39; \\\n  --data-binary @request.json -D response-headers.txt -o result.json\n# Submit once. Retain the complete result, original identifiers and every response header.\n</code></pre></div></div></div></section><section class=\"card-section\" data-card-section=\"results\"><h3 tabindex=\"-1\">รับและบันทึกผลลัพธ์</h3><h4>Ailoot Ultra · Speech</h4><p class=\"note-s\">wav</p><ul class=\"card-result-paths\"><li><code>GET /v1/media/assets</code></li><li><code>GET /v1/media/assets/{asset_id}</code></li></ul><div class=\"card-result-process\" data-all-results><h5>เก็บผลลัพธ์ที่เสร็จสมบูรณ์ทั้งหมด</h5><p class=\"note-s\">เก็บทุกการตอบกลับ ไฟล์ และส่วนเนื้อหาที่ส่งกลับมาอย่างครบถ้วน</p><p class=\"note-s\">Retain the complete binary WAV, response headers and original request identity.</p></div><div class=\"card-result-process\" data-unknown-recovery><h5>เมื่อต้องตรวจสอบการตอบกลับต้นฉบับ</h5><p class=\"note-s\">Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.</p></div></section><section class=\"card-section\" data-card-section=\"aliases\"><h3 tabindex=\"-1\">ชื่ออื่น</h3><h4>ชื่ออื่นของโมเดล</h4><p class=\"note-s\"><span data-model-alias-route=\"Ultra\"><b>Ailoot Ultra</b> <a href=\"#m=glm-tts&amp;route=Ultra&amp;caller=glm-tts&amp;fmt=speech\"><code>glm-tts</code></a></span></p><h4>ชื่อพาธเมธอดอื่น</h4><p class=\"note-s\">ใช้พาธเมธอดที่แสดงด้านบน</p><h4>ID ที่เกี่ยวข้องสำหรับเรียกใช้โมเดล</h4><p class=\"note-s\"><a href=\"#m=glm-tts&amp;route=Ultra&amp;caller=glm-tts&amp;fmt=speech\"><code>glm-tts</code></a></p></section></div>",
      "method_identity": {
        "effective_request_model_id": "glm-tts",
        "fmt": "speech",
        "http": "POST",
        "path": "/v1/audio/speech",
        "request_model_id": "glm-tts",
        "route_label": "Ultra"
      },
      "method_key": "Ultra|speech|/v1/audio/speech|glm-tts",
      "ordinal": 0,
      "rawMethod": {
        "available": null,
        "cache_read": null,
        "cache_write": null,
        "cache_write_1h": null,
        "contract": {
          "data": {
            "all_results": "Retain the complete response, all actual results, original identifiers, usage and response headers.",
            "authentication": {
              "api_key_source": "AILOOT_API_KEY",
              "header": "Authorization: Bearer"
            },
            "example_body": {
              "input": "Hello, this is a short speech example.",
              "model": "glm-tts",
              "response_format": "wav",
              "voice": "tongtong"
            },
            "lifecycle": {
              "assets": [
                {
                  "http": "GET",
                  "path": "/v1/media/assets",
                  "query": {
                    "cursor": "actual returned next_cursor, when present",
                    "family": "audio"
                  }
                },
                {
                  "http": "GET",
                  "path": "/v1/media/assets/{asset_id}"
                }
              ],
              "cancel_endpoint": null,
              "create": {
                "http": "POST",
                "path": "/v1/audio/speech"
              },
              "mode": "synchronous_result_then_owned_library",
              "operation_id_is_not_task_id": true,
              "owned_content": {
                "http": "GET",
                "path": "/v1/media/assets/{asset_id}/content",
                "url_source": "Use the exact returned content_url. Refresh an expired link by reading the same existing asset."
              },
              "status": [],
              "unknown": "Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.",
              "unknown_no_replay": true
            },
            "outputs": {
              "all_results": "Retain the complete binary WAV, response headers and original request identity.",
              "family": "audio",
              "format": "wav"
            },
            "parameters": [
              {
                "default_known": false,
                "enum": [
                  "glm-tts"
                ],
                "enum_known": true,
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "default_known": false,
                "enum_known": false,
                "maxLength": 1024,
                "minLength": 1,
                "name": "input",
                "required": true,
                "type": "string"
              },
              {
                "default_known": false,
                "enum": [
                  "tongtong",
                  "chuichui",
                  "jam",
                  "kazi",
                  "douji",
                  "luodo"
                ],
                "enum_known": true,
                "name": "voice",
                "required": true,
                "type": "string"
              },
              {
                "default_known": false,
                "enum": [
                  "wav"
                ],
                "enum_known": true,
                "name": "response_format",
                "required": true,
                "type": "string"
              },
              {
                "default_known": false,
                "enum": [
                  "base64",
                  "hex"
                ],
                "enum_known": true,
                "name": "encode_format",
                "required": false,
                "type": "string"
              },
              {
                "default": 1,
                "default_known": true,
                "enum_known": false,
                "maximum": 2,
                "minimum": 1,
                "name": "speed",
                "required": false,
                "type": "integer"
              },
              {
                "default": 1,
                "default_known": true,
                "enum_known": false,
                "maximum": 10,
                "minimum": 1,
                "name": "volume",
                "required": false,
                "type": "integer"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "watermark_enabled",
                "required": false,
                "type": "boolean"
              },
              {
                "default_known": false,
                "enum": [
                  false
                ],
                "enum_known": true,
                "name": "stream",
                "required": false,
                "type": "boolean"
              }
            ],
            "request_schema": {
              "properties": {
                "encode_format": {
                  "enum": [
                    "base64",
                    "hex"
                  ],
                  "type": "string"
                },
                "input": {
                  "maxLength": 1024,
                  "minLength": 1,
                  "type": "string"
                },
                "model": {
                  "enum": [
                    "glm-tts"
                  ],
                  "type": "string"
                },
                "response_format": {
                  "enum": [
                    "wav"
                  ],
                  "type": "string"
                },
                "speed": {
                  "default": 1,
                  "maximum": 2,
                  "minimum": 1,
                  "type": "integer"
                },
                "stream": {
                  "enum": [
                    false
                  ],
                  "type": "boolean"
                },
                "voice": {
                  "enum": [
                    "tongtong",
                    "chuichui",
                    "jam",
                    "kazi",
                    "douji",
                    "luodo"
                  ],
                  "type": "string"
                },
                "volume": {
                  "default": 1,
                  "maximum": 10,
                  "minimum": 1,
                  "type": "integer"
                },
                "watermark_enabled": {
                  "type": "boolean"
                }
              },
              "required": [
                "model",
                "input",
                "voice",
                "response_format"
              ],
              "type": "object"
            },
            "schema_template": {
              "body": {
                "input": "Hello, this is a short speech example.",
                "model": "glm-tts",
                "response_format": "wav",
                "voice": "tongtong"
              },
              "content_type": "application/json"
            }
          },
          "input": {
            "conditions": [
              "Use direct WAV output. speed and volume are positive integers within the listed bounds. stream is false or omitted."
            ],
            "content_type": "application/json",
            "material_types": [
              "text"
            ],
            "optional": [
              "encode_format",
              "speed",
              "volume",
              "watermark_enabled",
              "stream"
            ],
            "required": [
              "model",
              "input",
              "voice",
              "response_format"
            ]
          },
          "lifecycle": {
            "assets": [
              {
                "http": "GET",
                "path": "/v1/media/assets",
                "query": {
                  "cursor": "actual returned next_cursor, when present",
                  "family": "audio"
                }
              },
              {
                "http": "GET",
                "path": "/v1/media/assets/{asset_id}"
              }
            ],
            "cancel_endpoint": null,
            "create": {
              "http": "POST",
              "path": "/v1/audio/speech"
            },
            "mode": "synchronous_result_then_owned_library",
            "operation_id_is_not_task_id": true,
            "owned_content": {
              "http": "GET",
              "path": "/v1/media/assets/{asset_id}/content",
              "url_source": "Use the exact returned content_url. Refresh an expired link by reading the same existing asset."
            },
            "status": [],
            "unknown": "Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.",
            "unknown_no_replay": true
          },
          "method": {
            "http": "POST",
            "path": "/v1/audio/speech"
          },
          "method_aliases": [],
          "output": {
            "all_results": "Retain the complete binary WAV, response headers and original request identity.",
            "family": "audio",
            "format": "wav"
          }
        },
        "ctx": null,
        "declared_pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "Base token rates",
            "units": [
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          },
          {
            "dimensions": {
              "quoted_unit": "per input character"
            },
            "label": "input character",
            "units": [
              {
                "amount": "0.00006",
                "amount_unit": "usd_per_exact_native_unit",
                "billing_input": true,
                "estimate_only": false,
                "key": "audio_input_character",
                "label": "input character",
                "native_amount_usd_per_unit": "0.00006",
                "native_quantity": 1,
                "public_unit_label": "per input character",
                "quantity": 1,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "audio_input_character"
              }
            ]
          },
          {
            "dimensions": {
              "billing_quantity": "one request"
            },
            "label": "Per request",
            "units": [
              {
                "amount": "0",
                "amount_unit": "usd_per_exact_native_unit",
                "billing_input": true,
                "estimate_only": false,
                "key": "per_request",
                "label": "per request",
                "native_amount_usd_per_unit": "0",
                "native_quantity": 1,
                "public_unit_label": "per request",
                "quantity": 1,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "per_request"
              }
            ]
          }
        ],
        "examples": [
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\nexport AILOOT_API_KEY\npython3 - <<'PY_REQUEST'\nimport json,os\nfrom pathlib import Path\np=json.loads('{\"model\": \"glm-tts\", \"input\": \"Hello, this is a short speech example.\", \"voice\": \"tongtong\", \"response_format\": \"wav\"}')\n\nPath(\"request.json\").write_text(json.dumps(p,ensure_ascii=False))\nPY_REQUEST\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/audio/speech \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -H 'Content-Type: application/json' \\\n  --data-binary @request.json -D response-headers.txt -o result.json\n# Submit once. Retain the complete result, original identifiers and every response header.\n",
            "label": "curl · create once and retain the complete result",
            "language": "bash"
          }
        ],
        "family": "openai",
        "fast_multiplier": null,
        "flex_multiplier": null,
        "fmt": "speech",
        "http": "POST",
        "img_in": null,
        "img_out": null,
        "in": null,
        "input": [
          "text"
        ],
        "label": "Speech",
        "max_out": null,
        "max_reasoning_effort_multiplier": null,
        "method_aliases": [],
        "out": null,
        "output": [
          "audio"
        ],
        "path": "/v1/audio/speech",
        "price_conditions": [
          {
            "label": "Fast mode",
            "value": "Not specified",
            "when": "When fast mode is selected"
          },
          {
            "label": "Flex mode",
            "value": "Not specified",
            "when": "When flex mode is selected"
          },
          {
            "label": "Maximum reasoning effort",
            "value": "Not specified",
            "when": "When maximum reasoning effort uses the default adjustment"
          }
        ],
        "pricing": {
          "billing_mode": "per_request",
          "cache_read_price": null,
          "cache_write_1h_price": null,
          "cache_write_price": null,
          "fast_multiplier": null,
          "flex_multiplier": null,
          "image_input_price": null,
          "image_output_price": null,
          "input_price": null,
          "intervals": null,
          "max_reasoning_effort_multiplier": null,
          "output_price": null,
          "per_request_price": 0,
          "unit_prices": {
            "audio_input_character": "0.00006"
          }
        },
        "pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "Base token rates",
            "units": [
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          },
          {
            "dimensions": {
              "quoted_unit": "per input character"
            },
            "label": "input character",
            "units": [
              {
                "amount": "0.00006",
                "amount_unit": "usd_per_exact_native_unit",
                "billing_input": true,
                "estimate_only": false,
                "key": "audio_input_character",
                "label": "input character",
                "native_amount_usd_per_unit": "0.00006",
                "native_quantity": 1,
                "public_unit_label": "per input character",
                "quantity": 1,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "audio_input_character"
              }
            ]
          },
          {
            "dimensions": {
              "billing_quantity": "one request"
            },
            "label": "Per request",
            "units": [
              {
                "amount": "0",
                "amount_unit": "usd_per_exact_native_unit",
                "billing_input": true,
                "estimate_only": false,
                "key": "per_request",
                "label": "per request",
                "native_amount_usd_per_unit": "0",
                "native_quantity": 1,
                "public_unit_label": "per request",
                "quantity": 1,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "per_request"
              }
            ]
          }
        ],
        "request_model_id": "glm-tts",
        "route_label": "Ultra",
        "status_reads": [],
        "tiers": [],
        "unit": "per_request",
        "units": [
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "input_price",
            "label": "Input tokens",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "input_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "output_price",
            "label": "Output tokens",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "output_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "out",
            "unit": "output_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_read_price",
            "label": "Cache read",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "cached_input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "cached_input_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_price",
            "label": "Cache write",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "generic_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "generic_cache_creation_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_1h_price",
            "label": "Cache write, 1 hour",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "one_hour_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "one_hour_cache_creation_token"
          },
          {
            "amount": "0.00006",
            "amount_unit": "usd_per_exact_native_unit",
            "billing_input": true,
            "estimate_only": false,
            "key": "audio_input_character",
            "label": "input character",
            "native_amount_usd_per_unit": "0.00006",
            "native_quantity": 1,
            "public_unit_label": "per input character",
            "quantity": 1,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "audio_input_character"
          },
          {
            "amount": "0",
            "amount_unit": "usd_per_exact_native_unit",
            "billing_input": true,
            "estimate_only": false,
            "key": "per_request",
            "label": "per request",
            "native_amount_usd_per_unit": "0",
            "native_quantity": 1,
            "public_unit_label": "per request",
            "quantity": 1,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "per_request"
          }
        ]
      }
    }
  ],
  "model_id": "glm-tts",
  "nativeProvenance": {
    "input_facts_canonical_sha256": "38d5ff0433df1072559ad6d2a0025240990a6cc86e9a106d3e9261043da3cbf8",
    "input_html_sha256": "4be8c3fca7ec8649cbd4da239fe8578dec67f49a3047937cbafd1a6f5abd4729",
    "private_audit_sha256": "83fac75d25432a756384fc517369f8a28af2afa581c512af80475217ed01ed6f",
    "role": "historical-normalized-input-audit-hashes",
    "schema": "ailoot-native-model-provenance-v2"
  },
  "page": {
    "canonical": "https://ailoot.ai/models/th/glm-tts/",
    "description": "GLM-TTS แปลงสคริปต์ที่ป้อนให้เป็นเสียงพูด โปรไฟล์ glm-tts ใช้เมธอด Audio Speech พร้อมระบุ voice อย่างชัดเจนและเอาต์พุต WAV จึงเหมาะกับเสียงบรรยายสั้น คำแนะนำแบบเสียง และการเล่นข้อความเสียง เตรียมข้อความให้อยู่ภายในขีดจำกัดอินพุต 1,024 อักขระตามเอกสาร",
    "locale": "th",
    "md_url": "https://ailoot.ai/models/th/glm-tts/index.md",
    "title": "glm-tts — Ailoot",
    "url": "https://ailoot.ai/models/th/glm-tts/"
  },
  "rawModel": {
    "about": "GLM-TTS เป็นโมเดลสังเคราะห์เสียงของ Zhipu ที่เลือกด้วย ID ที่ตรงตามนี้คือ glm-tts ส่ง POST /v1/audio/speech พร้อม model, input และ voice ใส่คำที่จะพูดลงใน input โดยตรง และเลือก response_format=wav สำหรับโปรไฟล์นี้ ผลลัพธ์คือเสียงบันทึกการอ่านสคริปต์ที่ป้อนให้ เหมาะสำหรับเล่นกลับหรือนำเข้าโปรแกรมตัดต่อเสียงหรือวิดีโอ\n\nใช้สำหรับคำอธิบายสินค้าสั้น ๆ คำต้อนรับแบบเสียง ข้อความแนะนำวิธีทำ หรือประกาศ เตรียมสคริปต์ตามที่ต้องการให้อ่านออกเสียง โดยใส่จุดแบ่งประโยคที่ต้องการและเขียนคำที่การออกเสียงมีความสำคัญต่องานให้ชัดเจน สำหรับบทสอน คำขอหนึ่งอาจมีคำแนะนำที่เจาะจงเพื่อประกอบขั้นตอนที่เห็นเพียงขั้นตอนเดียว สำหรับข้อความต้อนรับ ให้ป้อนถ้อยคำจริงและตรวจทานเสียงบันทึกก่อนใส่ลงในขั้นตอนใช้งานของลูกค้า\n\nความยาวอินพุตสูงสุดตามเอกสารคือ 1,024 อักขระ ตรวจขีดจำกัดนี้จากข้อความที่เสร็จแล้ว รวมเครื่องหมายวรรคตอนและช่องว่าง เสียงบรรยายที่ยาวกว่านี้ต้องแบ่งสคริปต์เป็นช่วงที่เหมาะสม เก็บลำดับของช่วงและการตั้งค่าที่เลือกไว้พร้อมเสียงบันทึก เพื่อประกอบและตรวจทานร่วมกันได้ ขีดจำกัดอักขระอธิบายข้อความอินพุตและไม่ได้กำหนดระยะเวลาบันทึกเสียงตายตัว\n\nสคีมาของ voice ระบุ tongtong, chuichui, jam, kazi, douji และ luodo ตัวอย่างที่เผยแพร่ใช้ tongtong พร้อม speed=1 และ volume=1 ทั้ง speed และ volume เป็นตัวควบคุมที่เลือกใส่ได้ โดยมีค่าเริ่มต้นตามเอกสารเป็น 1 สำหรับเมธอด WAV นี้ speed เป็นจำนวนเต็มที่รับ 1 หรือ 2 และ volume เป็นจำนวนเต็มตั้งแต่ 1 ถึง 10 ค่าบูลีน watermark_enabled ที่เลือกใส่ได้ควบคุมลายน้ำเสียง ไม่ต้องระบุ stream หรือกำหนดเป็น false เพื่อรับเสียงบันทึก WAV ที่สมบูรณ์ เริ่มจากตัวอย่างที่ชัดเจนนี้เมื่อเตรียมเสียงบันทึกครั้งแรก จากนั้นใช้เสียงที่เลือกและการตั้งค่าที่ระบบยอมรับให้สม่ำเสมอในช่วงที่เกี่ยวข้องกัน\n\nเสียงบันทึก WAV คือเอาต์พุตที่เสร็จแล้วของคำขอเสียงพูด เก็บผลลัพธ์เสียงทั้งหมดและข้อมูลการตอบกลับ จากนั้นฟังตลอดทั้งช่วงเพื่อตรวจการออกเสียง ถ้อยคำ การเว้นจังหวะ และลำดับที่ต้องการ เก็บสคริปต์ต้นฉบับที่ตรงกันไว้ข้างเสียงบันทึกเมื่อเตรียมแก้ไข หากผลลัพธ์ของคำขอยังไม่แน่ชัด ให้เก็บคำขอเดิมและข้อมูลผลลัพธ์ที่ส่งกลับมาก่อนสร้างคำขอสังเคราะห์อีกครั้ง การไม่มีไฟล์ให้เล่นเพียงอย่างเดียวไม่ได้ยืนยันว่าไม่มีการสร้างเสียงบันทึก",
    "alias_of": null,
    "aliases": [],
    "author": "ZHIPU",
    "ctx": null,
    "formats": [
      "speech"
    ],
    "id": "glm-tts",
    "input": [
      "text"
    ],
    "kind": "speech",
    "max_out": null,
    "methods": [
      {
        "available": null,
        "cache_read": null,
        "cache_write": null,
        "cache_write_1h": null,
        "contract": {
          "data": {
            "all_results": "Retain the complete response, all actual results, original identifiers, usage and response headers.",
            "authentication": {
              "api_key_source": "AILOOT_API_KEY",
              "header": "Authorization: Bearer"
            },
            "example_body": {
              "input": "Hello, this is a short speech example.",
              "model": "glm-tts",
              "response_format": "wav",
              "voice": "tongtong"
            },
            "lifecycle": {
              "assets": [
                {
                  "http": "GET",
                  "path": "/v1/media/assets",
                  "query": {
                    "cursor": "actual returned next_cursor, when present",
                    "family": "audio"
                  }
                },
                {
                  "http": "GET",
                  "path": "/v1/media/assets/{asset_id}"
                }
              ],
              "cancel_endpoint": null,
              "create": {
                "http": "POST",
                "path": "/v1/audio/speech"
              },
              "mode": "synchronous_result_then_owned_library",
              "operation_id_is_not_task_id": true,
              "owned_content": {
                "http": "GET",
                "path": "/v1/media/assets/{asset_id}/content",
                "url_source": "Use the exact returned content_url. Refresh an expired link by reading the same existing asset."
              },
              "status": [],
              "unknown": "Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.",
              "unknown_no_replay": true
            },
            "outputs": {
              "all_results": "Retain the complete binary WAV, response headers and original request identity.",
              "family": "audio",
              "format": "wav"
            },
            "parameters": [
              {
                "default_known": false,
                "enum": [
                  "glm-tts"
                ],
                "enum_known": true,
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "default_known": false,
                "enum_known": false,
                "maxLength": 1024,
                "minLength": 1,
                "name": "input",
                "required": true,
                "type": "string"
              },
              {
                "default_known": false,
                "enum": [
                  "tongtong",
                  "chuichui",
                  "jam",
                  "kazi",
                  "douji",
                  "luodo"
                ],
                "enum_known": true,
                "name": "voice",
                "required": true,
                "type": "string"
              },
              {
                "default_known": false,
                "enum": [
                  "wav"
                ],
                "enum_known": true,
                "name": "response_format",
                "required": true,
                "type": "string"
              },
              {
                "default_known": false,
                "enum": [
                  "base64",
                  "hex"
                ],
                "enum_known": true,
                "name": "encode_format",
                "required": false,
                "type": "string"
              },
              {
                "default": 1,
                "default_known": true,
                "enum_known": false,
                "maximum": 2,
                "minimum": 1,
                "name": "speed",
                "required": false,
                "type": "integer"
              },
              {
                "default": 1,
                "default_known": true,
                "enum_known": false,
                "maximum": 10,
                "minimum": 1,
                "name": "volume",
                "required": false,
                "type": "integer"
              },
              {
                "default_known": false,
                "enum_known": false,
                "name": "watermark_enabled",
                "required": false,
                "type": "boolean"
              },
              {
                "default_known": false,
                "enum": [
                  false
                ],
                "enum_known": true,
                "name": "stream",
                "required": false,
                "type": "boolean"
              }
            ],
            "request_schema": {
              "properties": {
                "encode_format": {
                  "enum": [
                    "base64",
                    "hex"
                  ],
                  "type": "string"
                },
                "input": {
                  "maxLength": 1024,
                  "minLength": 1,
                  "type": "string"
                },
                "model": {
                  "enum": [
                    "glm-tts"
                  ],
                  "type": "string"
                },
                "response_format": {
                  "enum": [
                    "wav"
                  ],
                  "type": "string"
                },
                "speed": {
                  "default": 1,
                  "maximum": 2,
                  "minimum": 1,
                  "type": "integer"
                },
                "stream": {
                  "enum": [
                    false
                  ],
                  "type": "boolean"
                },
                "voice": {
                  "enum": [
                    "tongtong",
                    "chuichui",
                    "jam",
                    "kazi",
                    "douji",
                    "luodo"
                  ],
                  "type": "string"
                },
                "volume": {
                  "default": 1,
                  "maximum": 10,
                  "minimum": 1,
                  "type": "integer"
                },
                "watermark_enabled": {
                  "type": "boolean"
                }
              },
              "required": [
                "model",
                "input",
                "voice",
                "response_format"
              ],
              "type": "object"
            },
            "schema_template": {
              "body": {
                "input": "Hello, this is a short speech example.",
                "model": "glm-tts",
                "response_format": "wav",
                "voice": "tongtong"
              },
              "content_type": "application/json"
            }
          },
          "input": {
            "conditions": [
              "Use direct WAV output. speed and volume are positive integers within the listed bounds. stream is false or omitted."
            ],
            "content_type": "application/json",
            "material_types": [
              "text"
            ],
            "optional": [
              "encode_format",
              "speed",
              "volume",
              "watermark_enabled",
              "stream"
            ],
            "required": [
              "model",
              "input",
              "voice",
              "response_format"
            ]
          },
          "lifecycle": {
            "assets": [
              {
                "http": "GET",
                "path": "/v1/media/assets",
                "query": {
                  "cursor": "actual returned next_cursor, when present",
                  "family": "audio"
                }
              },
              {
                "http": "GET",
                "path": "/v1/media/assets/{asset_id}"
              }
            ],
            "cancel_endpoint": null,
            "create": {
              "http": "POST",
              "path": "/v1/audio/speech"
            },
            "mode": "synchronous_result_then_owned_library",
            "operation_id_is_not_task_id": true,
            "owned_content": {
              "http": "GET",
              "path": "/v1/media/assets/{asset_id}/content",
              "url_source": "Use the exact returned content_url. Refresh an expired link by reading the same existing asset."
            },
            "status": [],
            "unknown": "Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.",
            "unknown_no_replay": true
          },
          "method": {
            "http": "POST",
            "path": "/v1/audio/speech"
          },
          "method_aliases": [],
          "output": {
            "all_results": "Retain the complete binary WAV, response headers and original request identity.",
            "family": "audio",
            "format": "wav"
          }
        },
        "ctx": null,
        "declared_pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "Base token rates",
            "units": [
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          },
          {
            "dimensions": {
              "quoted_unit": "per input character"
            },
            "label": "input character",
            "units": [
              {
                "amount": "0.00006",
                "amount_unit": "usd_per_exact_native_unit",
                "billing_input": true,
                "estimate_only": false,
                "key": "audio_input_character",
                "label": "input character",
                "native_amount_usd_per_unit": "0.00006",
                "native_quantity": 1,
                "public_unit_label": "per input character",
                "quantity": 1,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "audio_input_character"
              }
            ]
          },
          {
            "dimensions": {
              "billing_quantity": "one request"
            },
            "label": "Per request",
            "units": [
              {
                "amount": "0",
                "amount_unit": "usd_per_exact_native_unit",
                "billing_input": true,
                "estimate_only": false,
                "key": "per_request",
                "label": "per request",
                "native_amount_usd_per_unit": "0",
                "native_quantity": 1,
                "public_unit_label": "per request",
                "quantity": 1,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "per_request"
              }
            ]
          }
        ],
        "examples": [
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\nexport AILOOT_API_KEY\npython3 - <<'PY_REQUEST'\nimport json,os\nfrom pathlib import Path\np=json.loads('{\"model\": \"glm-tts\", \"input\": \"Hello, this is a short speech example.\", \"voice\": \"tongtong\", \"response_format\": \"wav\"}')\n\nPath(\"request.json\").write_text(json.dumps(p,ensure_ascii=False))\nPY_REQUEST\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/audio/speech \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -H 'Content-Type: application/json' \\\n  --data-binary @request.json -D response-headers.txt -o result.json\n# Submit once. Retain the complete result, original identifiers and every response header.\n",
            "label": "curl · create once and retain the complete result",
            "language": "bash"
          }
        ],
        "family": "openai",
        "fast_multiplier": null,
        "flex_multiplier": null,
        "fmt": "speech",
        "http": "POST",
        "img_in": null,
        "img_out": null,
        "in": null,
        "input": [
          "text"
        ],
        "label": "Speech",
        "max_out": null,
        "max_reasoning_effort_multiplier": null,
        "method_aliases": [],
        "out": null,
        "output": [
          "audio"
        ],
        "path": "/v1/audio/speech",
        "price_conditions": [
          {
            "label": "Fast mode",
            "value": "Not specified",
            "when": "When fast mode is selected"
          },
          {
            "label": "Flex mode",
            "value": "Not specified",
            "when": "When flex mode is selected"
          },
          {
            "label": "Maximum reasoning effort",
            "value": "Not specified",
            "when": "When maximum reasoning effort uses the default adjustment"
          }
        ],
        "pricing": {
          "billing_mode": "per_request",
          "cache_read_price": null,
          "cache_write_1h_price": null,
          "cache_write_price": null,
          "fast_multiplier": null,
          "flex_multiplier": null,
          "image_input_price": null,
          "image_output_price": null,
          "input_price": null,
          "intervals": null,
          "max_reasoning_effort_multiplier": null,
          "output_price": null,
          "per_request_price": 0,
          "unit_prices": {
            "audio_input_character": "0.00006"
          }
        },
        "pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "Base token rates",
            "units": [
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          },
          {
            "dimensions": {
              "quoted_unit": "per input character"
            },
            "label": "input character",
            "units": [
              {
                "amount": "0.00006",
                "amount_unit": "usd_per_exact_native_unit",
                "billing_input": true,
                "estimate_only": false,
                "key": "audio_input_character",
                "label": "input character",
                "native_amount_usd_per_unit": "0.00006",
                "native_quantity": 1,
                "public_unit_label": "per input character",
                "quantity": 1,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "audio_input_character"
              }
            ]
          },
          {
            "dimensions": {
              "billing_quantity": "one request"
            },
            "label": "Per request",
            "units": [
              {
                "amount": "0",
                "amount_unit": "usd_per_exact_native_unit",
                "billing_input": true,
                "estimate_only": false,
                "key": "per_request",
                "label": "per request",
                "native_amount_usd_per_unit": "0",
                "native_quantity": 1,
                "public_unit_label": "per request",
                "quantity": 1,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "per_request"
              }
            ]
          }
        ],
        "request_model_id": "glm-tts",
        "route_label": "Ultra",
        "status_reads": [],
        "tiers": [],
        "unit": "per_request",
        "units": [
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "input_price",
            "label": "Input tokens",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "input_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "output_price",
            "label": "Output tokens",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "output_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "out",
            "unit": "output_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_read_price",
            "label": "Cache read",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "cached_input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "cached_input_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_price",
            "label": "Cache write",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "generic_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "generic_cache_creation_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_1h_price",
            "label": "Cache write, 1 hour",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "one_hour_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "one_hour_cache_creation_token"
          },
          {
            "amount": "0.00006",
            "amount_unit": "usd_per_exact_native_unit",
            "billing_input": true,
            "estimate_only": false,
            "key": "audio_input_character",
            "label": "input character",
            "native_amount_usd_per_unit": "0.00006",
            "native_quantity": 1,
            "public_unit_label": "per input character",
            "quantity": 1,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "audio_input_character"
          },
          {
            "amount": "0",
            "amount_unit": "usd_per_exact_native_unit",
            "billing_input": true,
            "estimate_only": false,
            "key": "per_request",
            "label": "per request",
            "native_amount_usd_per_unit": "0",
            "native_quantity": 1,
            "public_unit_label": "per request",
            "quantity": 1,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "per_request"
          }
        ]
      }
    ],
    "model_aliases": [
      {
        "canonical_model_id": "glm-tts",
        "request_model_id": "glm-tts",
        "route_label": "Ultra"
      }
    ],
    "name": "glm-tts",
    "price": {
      "in": null,
      "in_label": null,
      "out": null,
      "out_label": null,
      "sort_in": null,
      "sort_out": null,
      "varies": true
    },
    "short": "GLM-TTS แปลงสคริปต์ที่ป้อนให้เป็นเสียงพูด โปรไฟล์ glm-tts ใช้เมธอด Audio Speech พร้อมระบุ voice อย่างชัดเจนและเอาต์พุต WAV จึงเหมาะกับเสียงบรรยายสั้น คำแนะนำแบบเสียง และการเล่นข้อความเสียง เตรียมข้อความให้อยู่ภายในขีดจำกัดอินพุต 1,024 อักขระตามเอกสาร"
  },
  "renderer_schema": {
    "method_order": "Original DTO methods order; every exact route/format/path/caller survives.",
    "prices": "Original public DTO fields and original native display HTML; no flattened or normalized offers."
  },
  "representation": "exact-public-dto-and-native-renderer-html",
  "representationNotes": {
    "current_reference": {
      "about_json_pointer": "/aboutHtml",
      "methods": [
        {
          "contract_json_pointer": "/methods/0/rawMethod/contract",
          "html_json_pointer": "/methods/0/html",
          "method_ordinal": 0
        }
      ],
      "role": "current-semantic-reference"
    },
    "raw_input": {
      "examples_role": "historical-input-not-current-ready-examples",
      "json_pointers": [
        "/rawModel",
        "/methods/0/rawMethod"
      ],
      "role": "historical-owner-input"
    },
    "schema": "ailoot-native-model-representations-v1"
  },
  "schema": "ailoot-static-model-facts-v1",
  "schema_version": 1,
  "shortText": "GLM-TTS แปลงสคริปต์ที่ป้อนให้เป็นเสียงพูด โปรไฟล์ glm-tts ใช้เมธอด Audio Speech พร้อมระบุ voice อย่างชัดเจนและเอาต์พุต WAV จึงเหมาะกับเสียงบรรยายสั้น คำแนะนำแบบเสียง และการเล่นข้อความเสียง เตรียมข้อความให้อยู่ภายในขีดจำกัดอินพุต 1,024 อักขระตามเอกสาร",
  "source": {
    "audit_sha256": "2e00086bcbfc28e64d0cebe97aa47c17d8d5618963027f8ffb9dc6123d7d25b1",
    "bridge_map_sha256": "1125275768b9636fc8461bc7da5061239a81ddfe508e2557843ca42c58ab0036",
    "raw_model_json_sha256": "a2d3fe60fcd4e9617056d630ab8f3e43d5e6dc98e5d9875456ab954d4c09d0cf",
    "renderer_sha256": "890edb706fafafdd4f598bb324acf65fada58918b0911b97eb80e68be2ef65d9"
  },
  "sourceRevision": "fce32a1b5c3c5d55efe371f15d00dd8b14716d525ecf44f9d386e9703ec4eb1e"
}
