{
  "aboutHtml": "<p>TTS-1 HD เป็นโมเดลแปลงข้อความเป็นเสียงของ OpenAI ที่ปรับให้เหมาะกับคุณภาพเสียง อินพุตคือบทที่เตรียมไว้ และเอาต์พุตคือเสียงพูด ตัวเลือก HD ต่างจาก TTS-1 ที่เน้นความเร็ว โดย OpenAI อธิบายว่า TTS-1 มีความหน่วงต่ำกว่าแต่คุณภาพต่ำกว่าด้วย HD จึงเป็นตัวเลือกบรรยายที่มีประโยชน์เมื่อเสียงสุดท้ายสำคัญกว่าการเริ่มเล่นให้เร็วที่สุด บทความเขียน ย่อหน้าบทเรียน หรือคำอธิบายที่ขัดเกลาแล้วสามารถเป็นสื่อเสียงได้</p><p>อินพุตหลักคือโมเดลที่เลือก ข้อความที่ตรงตามต้องการ และเสียง คู่มืออ้างอิงการสร้างเสียงของผู้ผลิตจำกัดบทไว้ที่ 4,096 อักขระต่อคำขอ นี่คือความยาวอินพุตเขียน ไม่ใช่การรับประกันระยะเวลาเสียง เตรียมบทที่ฟังเข้าใจได้ ขยายคำย่อกำกวม กำหนดวิธีอ่านจำนวน และรักษาแต่ละย่อหน้าให้ต่อเนื่อง สำหรับบทเรียนหรือบทความยาว ให้แบ่งข้อความตามขอบเขตที่มีความหมายและรักษาลำดับการใช้ย่อหน้าผลลัพธ์</p><p>คู่มือ OpenAI ปัจจุบันระบุตัวเลือกในตัวเก้าเสียงสำหรับ TTS-1 HD คือ alloy, ash, coral, echo, fable, onyx, nova, sage และ shimmer เสียงปรับให้เหมาะกับภาษาอังกฤษ ขณะที่คู่มือแปลงข้อความเป็นเสียงรองรับการสร้างหลายภาษาโดยป้อนข้อความในภาษาที่ต้องการ การเปรียบเทียบเสียงมีประโยชน์ที่สุดเมื่อใช้บทตัวอย่างเดียวกัน รวมชื่อและศัพท์เฉพาะที่จะมีในเนื้อหาสุดท้าย รักษาเสียงกับความเร็วให้สม่ำเสมอเมื่อหลายคลิปประกอบเป็นการบรรยายเดียว</p><p>MP3 เป็นเอาต์พุตเริ่มต้น Opus และ AAC เป็นตัวเลือกรูปแบบเสียงบีบอัดอื่น FLAC ให้การบีบอัดไม่สูญเสียข้อมูล ส่วน WAV ให้เสียงไม่บีบอัด PCM ส่งตัวอย่างเสียงดิบ 24 kHz, 16 บิตแบบมีเครื่องหมายและเรียงไบต์ little-endian โดยไม่มีส่วนหัวไฟล์ ตัวเลือกเหล่านี้ใช้ต่างกัน เช่น ไฟล์แจกจ่ายขนาดเล็ก สื่อสำหรับสตรีม หรือเสียงที่จะส่งเข้าเวิร์กโฟลว์แก้ไข OpenAI แนะนำ WAV หรือ PCM เพื่อให้ตอบสนองเร็วขึ้นเมื่อภาระการถอดรหัสมีความสำคัญ การเลือกรูปแบบไฟล์ไม่ได้เปลี่ยนบทหรือเพิ่มโมเดลควบคุมเสียงอีกตัว</p><p>ส่งเสียงเป็นชังก์ได้ ทำให้เครื่องเล่นเริ่มก่อนที่ไฟล์เสียงทั้งหมดพร้อม นี่คือสตรีมมิงข้อความเป็นเสียง ไม่ได้สร้างบทสนทนาเสียงสองทาง เอกสารอ้างอิงรองรับค่าความเร็ว 0.25 ถึง 4.0 โดย 1.0 เป็นค่าเริ่มต้น ฟิลด์ instructions ภาษาธรรมชาติที่แยกต่างหากใช้ไม่ได้กับ TTS-1 HD และโมเดลนี้ไม่รองรับเอาต์พุตเหตุการณ์ SSE ตัวควบคุมตามเอกสารคือบท เสียงสำเร็จรูป ความเร็ว และรูปแบบเอาต์พุต ไม่ใช่อินเทอร์เฟซพรอมป์ต์กำหนดสำเนียงหรืออารมณ์ของโมเดลเสียงรุ่นใหม่</p><p>คู่มือภาษามีรัสเซีย ยูเครน อังกฤษ ฝรั่งเศส เยอรมัน สเปน โปรตุเกส อิตาลี จีน ญี่ปุ่น เกาหลี อาหรับ ฮินดี และคาซัคในภาษาที่รองรับ เตรียมบทในภาษาเป้าหมาย การสังเคราะห์ถ่ายทอดข้อความนั้น ไม่ได้แปล สำหรับเนื้อหาการเรียน ให้คำนิยามและจุดเปลี่ยนส่วนชัดเจน สำหรับช่วงเสียงอธิบาย ให้เตรียมข้อความตรงตามต้องการและชื่อที่ต้องให้ได้ยิน การปรับเสียงให้เหมาะกับอังกฤษยังเกี่ยวข้องเมื่อประเมินว่าภาษาและคำศัพท์เฉพาะฟังเป็นอย่างไร</p><p>เวิร์กโฟลว์ HD ที่ใช้ได้จริงสร้างย่อหน้าเสียงเพื่อฟัง ตรวจ แล้วใส่ในเนื้อหาที่เสร็จแล้ว ตรวจว่าทุกประโยคถูกอ่าน ชื่อกับจำนวนออกเสียงยอมรับได้ และจังหวะที่เลือกช่วยให้เข้าใจ เก็บบทเขียนคู่กับเสียงเพื่อให้ย้อนการแก้ไขไปยังย่อหน้าที่เกี่ยวข้องได้ OpenAI กำหนดให้เปิดเผยชัดเจนว่าเสียงที่สร้างเป็นเสียงสังเคราะห์ HD อธิบายตระกูล TTS ที่เน้นคุณภาพ ไม่ได้ให้คำรับรองด้วยตัวเองเรื่องเวลาที่แน่นอน ตัวตนผู้พูดกำหนดเอง หรือการควบคุมอารมณ์ของโมเดลอื่น</p>",
  "aboutText": "TTS-1 HD เป็นโมเดลแปลงข้อความเป็นเสียงของ OpenAI ที่ปรับให้เหมาะกับคุณภาพเสียง อินพุตคือบทที่เตรียมไว้ และเอาต์พุตคือเสียงพูด ตัวเลือก HD ต่างจาก TTS-1 ที่เน้นความเร็ว โดย OpenAI อธิบายว่า TTS-1 มีความหน่วงต่ำกว่าแต่คุณภาพต่ำกว่าด้วย HD จึงเป็นตัวเลือกบรรยายที่มีประโยชน์เมื่อเสียงสุดท้ายสำคัญกว่าการเริ่มเล่นให้เร็วที่สุด บทความเขียน ย่อหน้าบทเรียน หรือคำอธิบายที่ขัดเกลาแล้วสามารถเป็นสื่อเสียงได้\n\nอินพุตหลักคือโมเดลที่เลือก ข้อความที่ตรงตามต้องการ และเสียง คู่มืออ้างอิงการสร้างเสียงของผู้ผลิตจำกัดบทไว้ที่ 4,096 อักขระต่อคำขอ นี่คือความยาวอินพุตเขียน ไม่ใช่การรับประกันระยะเวลาเสียง เตรียมบทที่ฟังเข้าใจได้ ขยายคำย่อกำกวม กำหนดวิธีอ่านจำนวน และรักษาแต่ละย่อหน้าให้ต่อเนื่อง สำหรับบทเรียนหรือบทความยาว ให้แบ่งข้อความตามขอบเขตที่มีความหมายและรักษาลำดับการใช้ย่อหน้าผลลัพธ์\n\nคู่มือ OpenAI ปัจจุบันระบุตัวเลือกในตัวเก้าเสียงสำหรับ TTS-1 HD คือ alloy, ash, coral, echo, fable, onyx, nova, sage และ shimmer เสียงปรับให้เหมาะกับภาษาอังกฤษ ขณะที่คู่มือแปลงข้อความเป็นเสียงรองรับการสร้างหลายภาษาโดยป้อนข้อความในภาษาที่ต้องการ การเปรียบเทียบเสียงมีประโยชน์ที่สุดเมื่อใช้บทตัวอย่างเดียวกัน รวมชื่อและศัพท์เฉพาะที่จะมีในเนื้อหาสุดท้าย รักษาเสียงกับความเร็วให้สม่ำเสมอเมื่อหลายคลิปประกอบเป็นการบรรยายเดียว\n\nMP3 เป็นเอาต์พุตเริ่มต้น Opus และ AAC เป็นตัวเลือกรูปแบบเสียงบีบอัดอื่น FLAC ให้การบีบอัดไม่สูญเสียข้อมูล ส่วน WAV ให้เสียงไม่บีบอัด PCM ส่งตัวอย่างเสียงดิบ 24 kHz, 16 บิตแบบมีเครื่องหมายและเรียงไบต์ little-endian โดยไม่มีส่วนหัวไฟล์ ตัวเลือกเหล่านี้ใช้ต่างกัน เช่น ไฟล์แจกจ่ายขนาดเล็ก สื่อสำหรับสตรีม หรือเสียงที่จะส่งเข้าเวิร์กโฟลว์แก้ไข OpenAI แนะนำ WAV หรือ PCM เพื่อให้ตอบสนองเร็วขึ้นเมื่อภาระการถอดรหัสมีความสำคัญ การเลือกรูปแบบไฟล์ไม่ได้เปลี่ยนบทหรือเพิ่มโมเดลควบคุมเสียงอีกตัว\n\nส่งเสียงเป็นชังก์ได้ ทำให้เครื่องเล่นเริ่มก่อนที่ไฟล์เสียงทั้งหมดพร้อม นี่คือสตรีมมิงข้อความเป็นเสียง ไม่ได้สร้างบทสนทนาเสียงสองทาง เอกสารอ้างอิงรองรับค่าความเร็ว 0.25 ถึง 4.0 โดย 1.0 เป็นค่าเริ่มต้น ฟิลด์ instructions ภาษาธรรมชาติที่แยกต่างหากใช้ไม่ได้กับ TTS-1 HD และโมเดลนี้ไม่รองรับเอาต์พุตเหตุการณ์ SSE ตัวควบคุมตามเอกสารคือบท เสียงสำเร็จรูป ความเร็ว และรูปแบบเอาต์พุต ไม่ใช่อินเทอร์เฟซพรอมป์ต์กำหนดสำเนียงหรืออารมณ์ของโมเดลเสียงรุ่นใหม่\n\nคู่มือภาษามีรัสเซีย ยูเครน อังกฤษ ฝรั่งเศส เยอรมัน สเปน โปรตุเกส อิตาลี จีน ญี่ปุ่น เกาหลี อาหรับ ฮินดี และคาซัคในภาษาที่รองรับ เตรียมบทในภาษาเป้าหมาย การสังเคราะห์ถ่ายทอดข้อความนั้น ไม่ได้แปล สำหรับเนื้อหาการเรียน ให้คำนิยามและจุดเปลี่ยนส่วนชัดเจน สำหรับช่วงเสียงอธิบาย ให้เตรียมข้อความตรงตามต้องการและชื่อที่ต้องให้ได้ยิน การปรับเสียงให้เหมาะกับอังกฤษยังเกี่ยวข้องเมื่อประเมินว่าภาษาและคำศัพท์เฉพาะฟังเป็นอย่างไร\n\nเวิร์กโฟลว์ HD ที่ใช้ได้จริงสร้างย่อหน้าเสียงเพื่อฟัง ตรวจ แล้วใส่ในเนื้อหาที่เสร็จแล้ว ตรวจว่าทุกประโยคถูกอ่าน ชื่อกับจำนวนออกเสียงยอมรับได้ และจังหวะที่เลือกช่วยให้เข้าใจ เก็บบทเขียนคู่กับเสียงเพื่อให้ย้อนการแก้ไขไปยังย่อหน้าที่เกี่ยวข้องได้ OpenAI กำหนดให้เปิดเผยชัดเจนว่าเสียงที่สร้างเป็นเสียงสังเคราะห์ HD อธิบายตระกูล TTS ที่เน้นคุณภาพ ไม่ได้ให้คำรับรองด้วยตัวเองเรื่องเวลาที่แน่นอน ตัวตนผู้พูดกำหนดเอง หรือการควบคุมอารมณ์ของโมเดลอื่น",
  "editorialOverlay": {
    "copy_fields": null,
    "copy_sha256": null,
    "copy_source": null,
    "html_sha256": "5139623d15ea26fe178f950f6d2f10084a2a5f9c3fbf0e143a607a64870320f7",
    "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\">tts-1-hd</h2><button class=\"icon-btn\" type=\"button\" data-close-sheet aria-label=\"ปิด\">×</button></div><div class=\"idline\"><span>อื่น ๆ /</span><code>openai/tts-1-hd</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|openai%2Ftts-1-hd\">การสังเคราะห์เสียงพูด</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\">TTS-1 HD เปลี่ยนข้อความเขียนเป็นเสียงพูดคุณภาพสูงขึ้น พร้อมเสียงสำเร็จรูป ความเร็ว และรูปแบบเอาต์พุตหกแบบที่เลือกได้ OpenAI วางตำแหน่ง HD ด้านคุณภาพการบรรยาย ต่างจาก TTS-1 ที่เน้นความหน่วงต่ำกว่า จึงเหมาะกับงานอ่านฉบับสมบูรณ์ สื่อการเรียน และช่วงเสียงที่ผ่านการแก้ไข</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>TTS-1 HD เป็นโมเดลแปลงข้อความเป็นเสียงของ OpenAI ที่ปรับให้เหมาะกับคุณภาพเสียง อินพุตคือบทที่เตรียมไว้ และเอาต์พุตคือเสียงพูด ตัวเลือก HD ต่างจาก TTS-1 ที่เน้นความเร็ว โดย OpenAI อธิบายว่า TTS-1 มีความหน่วงต่ำกว่าแต่คุณภาพต่ำกว่าด้วย HD จึงเป็นตัวเลือกบรรยายที่มีประโยชน์เมื่อเสียงสุดท้ายสำคัญกว่าการเริ่มเล่นให้เร็วที่สุด บทความเขียน ย่อหน้าบทเรียน หรือคำอธิบายที่ขัดเกลาแล้วสามารถเป็นสื่อเสียงได้</p><p>อินพุตหลักคือโมเดลที่เลือก ข้อความที่ตรงตามต้องการ และเสียง คู่มืออ้างอิงการสร้างเสียงของผู้ผลิตจำกัดบทไว้ที่ 4,096 อักขระต่อคำขอ นี่คือความยาวอินพุตเขียน ไม่ใช่การรับประกันระยะเวลาเสียง เตรียมบทที่ฟังเข้าใจได้ ขยายคำย่อกำกวม กำหนดวิธีอ่านจำนวน และรักษาแต่ละย่อหน้าให้ต่อเนื่อง สำหรับบทเรียนหรือบทความยาว ให้แบ่งข้อความตามขอบเขตที่มีความหมายและรักษาลำดับการใช้ย่อหน้าผลลัพธ์</p><p>คู่มือ OpenAI ปัจจุบันระบุตัวเลือกในตัวเก้าเสียงสำหรับ TTS-1 HD คือ alloy, ash, coral, echo, fable, onyx, nova, sage และ shimmer เสียงปรับให้เหมาะกับภาษาอังกฤษ ขณะที่คู่มือแปลงข้อความเป็นเสียงรองรับการสร้างหลายภาษาโดยป้อนข้อความในภาษาที่ต้องการ การเปรียบเทียบเสียงมีประโยชน์ที่สุดเมื่อใช้บทตัวอย่างเดียวกัน รวมชื่อและศัพท์เฉพาะที่จะมีในเนื้อหาสุดท้าย รักษาเสียงกับความเร็วให้สม่ำเสมอเมื่อหลายคลิปประกอบเป็นการบรรยายเดียว</p><p>MP3 เป็นเอาต์พุตเริ่มต้น Opus และ AAC เป็นตัวเลือกรูปแบบเสียงบีบอัดอื่น FLAC ให้การบีบอัดไม่สูญเสียข้อมูล ส่วน WAV ให้เสียงไม่บีบอัด PCM ส่งตัวอย่างเสียงดิบ 24 kHz, 16 บิตแบบมีเครื่องหมายและเรียงไบต์ little-endian โดยไม่มีส่วนหัวไฟล์ ตัวเลือกเหล่านี้ใช้ต่างกัน เช่น ไฟล์แจกจ่ายขนาดเล็ก สื่อสำหรับสตรีม หรือเสียงที่จะส่งเข้าเวิร์กโฟลว์แก้ไข OpenAI แนะนำ WAV หรือ PCM เพื่อให้ตอบสนองเร็วขึ้นเมื่อภาระการถอดรหัสมีความสำคัญ การเลือกรูปแบบไฟล์ไม่ได้เปลี่ยนบทหรือเพิ่มโมเดลควบคุมเสียงอีกตัว</p><p>ส่งเสียงเป็นชังก์ได้ ทำให้เครื่องเล่นเริ่มก่อนที่ไฟล์เสียงทั้งหมดพร้อม นี่คือสตรีมมิงข้อความเป็นเสียง ไม่ได้สร้างบทสนทนาเสียงสองทาง เอกสารอ้างอิงรองรับค่าความเร็ว 0.25 ถึง 4.0 โดย 1.0 เป็นค่าเริ่มต้น ฟิลด์ instructions ภาษาธรรมชาติที่แยกต่างหากใช้ไม่ได้กับ TTS-1 HD และโมเดลนี้ไม่รองรับเอาต์พุตเหตุการณ์ SSE ตัวควบคุมตามเอกสารคือบท เสียงสำเร็จรูป ความเร็ว และรูปแบบเอาต์พุต ไม่ใช่อินเทอร์เฟซพรอมป์ต์กำหนดสำเนียงหรืออารมณ์ของโมเดลเสียงรุ่นใหม่</p><p>คู่มือภาษามีรัสเซีย ยูเครน อังกฤษ ฝรั่งเศส เยอรมัน สเปน โปรตุเกส อิตาลี จีน ญี่ปุ่น เกาหลี อาหรับ ฮินดี และคาซัคในภาษาที่รองรับ เตรียมบทในภาษาเป้าหมาย การสังเคราะห์ถ่ายทอดข้อความนั้น ไม่ได้แปล สำหรับเนื้อหาการเรียน ให้คำนิยามและจุดเปลี่ยนส่วนชัดเจน สำหรับช่วงเสียงอธิบาย ให้เตรียมข้อความตรงตามต้องการและชื่อที่ต้องให้ได้ยิน การปรับเสียงให้เหมาะกับอังกฤษยังเกี่ยวข้องเมื่อประเมินว่าภาษาและคำศัพท์เฉพาะฟังเป็นอย่างไร</p><p>เวิร์กโฟลว์ HD ที่ใช้ได้จริงสร้างย่อหน้าเสียงเพื่อฟัง ตรวจ แล้วใส่ในเนื้อหาที่เสร็จแล้ว ตรวจว่าทุกประโยคถูกอ่าน ชื่อกับจำนวนออกเสียงยอมรับได้ และจังหวะที่เลือกช่วยให้เข้าใจ เก็บบทเขียนคู่กับเสียงเพื่อให้ย้อนการแก้ไขไปยังย่อหน้าที่เกี่ยวข้องได้ OpenAI กำหนดให้เปิดเผยชัดเจนว่าเสียงที่สร้างเป็นเสียงสังเคราะห์ HD อธิบายตระกูล TTS ที่เน้นคุณภาพ ไม่ได้ให้คำรับรองด้วยตัวเองเรื่องเวลาที่แน่นอน ตัวตนผู้พูดกำหนดเอง หรือการควบคุมอารมณ์ของโมเดลอื่น</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 · การสังเคราะห์เสียงพูด</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>mp3</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 data-parameter-availability=\"source_interface\"><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>openai/tts-1-hd</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr data-parameter-availability=\"source_interface\"><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><div>ความยาวขั้นต่ำ: 1</div><div>ความยาวสูงสุด: 4,096</div><div>หน่วย: อักขระ Unicode</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr data-parameter-availability=\"source_interface\"><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>alloy</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr></tbody></table></div><details class=\"card-about\" data-material-combinations><summary>ชุดผสมของสื่ออินพุต</summary><p class=\"note-s\"><b>text_to_speech</b> · จำเป็น: input</p></details><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</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>voice_ids</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>alloy</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>max_input_characters</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>4096</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>other_options</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>false</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>input</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ข้อความ UTF-8 ที่ตรงตามต้นฉบับ นับอักขระ Unicode โดยไม่ปรับรูปแบบมาตรฐาน</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></tbody></table></div><p>วงจรการทำงาน: <code>synchronous_result_then_owned_library</code></p><p class=\"note-s\"><code>GET /v1/media/tasks/{task_id}</code> · ค่า task_id ที่ส่งกลับมาจริง หรือระเบียนในคลังสื่อ</p><p class=\"note-s\"><code>GET /v1/media/assets/{asset_id}/content</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><p class=\"note-s\">เลือกเสียงที่ตรงตามโปรไฟล์ของโมเดลนี้</p><p class=\"note-s\">อักขระขาเข้าและวินาทีเสียงเป็นหน่วยวัดคนละแบบ</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><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>—</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>Ultra</th><td data-cell-label=\"ตารางอัตราค่าบริการ\"><span class=\"card-cell-label\">ตารางอัตราค่าบริการ</span>—</td><td data-cell-label=\"ปริมาณที่ใช้คิดค่าบริการ\"><span class=\"card-cell-label\">ปริมาณที่ใช้คิดค่าบริการ</span>นับแต่ละโค้ดพอยต์ Unicode เป็นหนึ่งอักขระ รวมถึงอักษรฮั่น</td><td data-cell-label=\"ปริมาณที่คิดค่าบริการ\"><span class=\"card-cell-label\">ปริมาณที่คิดค่าบริการ</span>—</td><td data-cell-label=\"หน่วยคิดค่าบริการ\"><span class=\"card-cell-label\">หน่วยคิดค่าบริการ</span>ต่ออักขระอินพุต 1K ตัว</td><td data-cell-label=\"ค่าบริการ\"><span class=\"card-cell-label\">ค่าบริการ</span><div><span>ขาเข้า · อักขระขาเข้า</span> <b>$0.06</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>—</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 · การสังเคราะห์เสียงพูด</h4><div class=\"code-group\"><div class=\"cg-bar\"><div class=\"cg-tabs\" role=\"tablist\" aria-label=\"ตัวเลือกโค้ด\"><button class=\"cg-tab\" id=\"model-code-2181-tab-0\" role=\"tab\" type=\"button\" aria-controls=\"model-code-2181-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-2181-panel-0\" role=\"tabpanel\" aria-labelledby=\"model-code-2181-tab-0\"><pre data-lang=\"bash\"><code>set -eu\n: &quot;${AILOOT_API_KEY:?Set your Ailoot API key}&quot;\npython3 - &lt;&lt;&#39;PY_REQUEST&#39;\nimport json,os\nfrom pathlib import Path\np=json.loads(&#39;{&quot;model&quot;: &quot;openai/tts-1-hd&quot;, &quot;input&quot;: &quot;Good afternoon! This is a short voice take.&quot;, &quot;voice&quot;: &quot;alloy&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 speech.mp3\n</code></pre></div></div></div></section><section class=\"card-section\" data-card-section=\"results\"><h3 tabindex=\"-1\">รับและบันทึกผลลัพธ์</h3><h4>Ailoot Ultra · การสังเคราะห์เสียงพูด</h4><p class=\"note-s\">mp3</p><ul class=\"card-result-paths\"><li><code>GET /v1/media/tasks/{task_id}</code></li><li><code>GET /v1/media/assets/{asset_id}/content</code></li><li><code>GET /v1/media/assets</code></li><li><code>GET /v1/media/assets/{asset_id}</code></li></ul><details class=\"card-about\"><summary>การอ่านเนื้อหาแบบอื่น</summary><div class=\"code-group\"><div class=\"cg-bar\"><div class=\"cg-tabs\" role=\"tablist\" aria-label=\"ตัวเลือกโค้ด\"><button class=\"cg-tab\" id=\"model-code-2182-tab-0\" role=\"tab\" type=\"button\" aria-controls=\"model-code-2182-panel-0\" aria-selected=\"true\" tabindex=\"0\">คลังสื่อ</button><button class=\"cg-tab\" id=\"model-code-2182-tab-1\" role=\"tab\" type=\"button\" aria-controls=\"model-code-2182-panel-1\" aria-selected=\"false\" tabindex=\"-1\">สถานะงาน</button><button class=\"cg-tab\" id=\"model-code-2182-tab-2\" role=\"tab\" type=\"button\" aria-controls=\"model-code-2182-panel-2\" aria-selected=\"false\" tabindex=\"-1\">รายละเอียดไฟล์สื่อ</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-2182-panel-0\" role=\"tabpanel\" aria-labelledby=\"model-code-2182-tab-0\"><pre data-lang=\"bash\"><code>set -eu\n: &quot;${AILOOT_API_KEY:?Set your Ailoot API key}&quot;\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/media/assets \\\n  -H &quot;Authorization: Bearer $AILOOT_API_KEY&quot; -o media-assets.json\n</code></pre></div><div class=\"cg-pane\" id=\"model-code-2182-panel-1\" role=\"tabpanel\" aria-labelledby=\"model-code-2182-tab-1\" hidden><pre data-lang=\"bash\"><code>set -eu\n: &quot;${AILOOT_API_KEY:?Set your Ailoot API key}&quot;\n: &quot;${AILOOT_MEDIA_TASK_ID:?Set the actual ID returned by the response or media-library metadata}&quot;\nexport AILOOT_MEDIA_TASK_ID\nresource_id=$(python3 -c &#39;import os,urllib.parse;print(urllib.parse.quote(os.environ[&quot;AILOOT_MEDIA_TASK_ID&quot;],safe=&quot;&quot;))&#39;)\ncurl --fail-with-body --silent --show-error &quot;https://api.ailoot.ai/v1/media/tasks/$resource_id&quot; \\\n  -H &quot;Authorization: Bearer $AILOOT_API_KEY&quot; -o media-task.json\npython3 - &lt;&lt;&#39;PY_RESULT&#39;\nimport json\nfrom pathlib import Path\nprint(json.dumps(json.loads(Path(&quot;media-task.json&quot;).read_text())))\nPY_RESULT\n</code></pre></div><div class=\"cg-pane\" id=\"model-code-2182-panel-2\" role=\"tabpanel\" aria-labelledby=\"model-code-2182-tab-2\" hidden><pre data-lang=\"bash\"><code>set -eu\n: &quot;${AILOOT_API_KEY:?Set your Ailoot API key}&quot;\n: &quot;${AILOOT_ASSET_ID:?Set the actual ID returned by the response or media-library metadata}&quot;\nexport AILOOT_ASSET_ID\nresource_id=$(python3 -c &#39;import os,urllib.parse;print(urllib.parse.quote(os.environ[&quot;AILOOT_ASSET_ID&quot;],safe=&quot;&quot;))&#39;)\ncurl --fail-with-body --silent --show-error &quot;https://api.ailoot.ai/v1/media/assets/$resource_id&quot; \\\n  -H &quot;Authorization: Bearer $AILOOT_API_KEY&quot; -o media-asset.json\npython3 - &lt;&lt;&#39;PY_RESULT&#39;\nimport json\nfrom pathlib import Path\nprint(json.dumps(json.loads(Path(&quot;media-asset.json&quot;).read_text())))\nPY_RESULT\n</code></pre></div></div></div></details><div class=\"card-result-process\" data-all-results><h5>เก็บผลลัพธ์ที่เสร็จสมบูรณ์ทั้งหมด</h5><p class=\"note-s\">เก็บทุกการตอบกลับ ไฟล์ และส่วนเนื้อหาที่ส่งกลับมาอย่างครบถ้วน</p><p class=\"note-s\">เก็บผลลัพธ์ไบนารีและส่วนหัวให้ครบถ้วน หากได้รับ JSON/ผลลัพธ์หลายรายการ ให้เก็บข้อมูลทุกรายการและดึงไฟล์สื่อจาก URL แบบลงนามทุกรายการที่ได้รับจริง</p></div><div class=\"card-result-process\" data-unknown-recovery><h5>เมื่อต้องตรวจสอบการตอบกลับต้นฉบับ</h5><p class=\"note-s\">เก็บ operation_id/X-Client-Request-ID เดิมไว้เพื่อกระทบยอดโดยไม่ส่งคำขอซ้ำ ไม่มีเส้นทางเฉพาะสำหรับตรวจสอบสถานะงานเสียงเป็นระยะ</p></div><details class=\"card-about\" data-output-fields><summary>ฟิลด์การตอบกลับ</summary><div class=\"tw\" data-card-table=\"output\"><table><thead><tr><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\">binary audio</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span>bytes</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">response headers</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span>headers</td></tr></tbody></table></div></details><details class=\"card-about\" data-method-errors><summary>ข้อผิดพลาดและขั้นตอนถัดไป</summary><div class=\"tw\" data-card-table=\"errors\"><table><thead><tr><th>การตอบกลับ</th><th>เงื่อนไข</th><th>ขั้นตอนถัดไป</th></tr></thead><tbody><tr><th data-cell-label=\"การตอบกลับ\" scope=\"row\"><span class=\"card-cell-label\">การตอบกลับ</span>400 · <code>invalid_request_error</code></th><td data-cell-label=\"เงื่อนไข\"><span class=\"card-cell-label\">เงื่อนไข</span>ฟิลด์จำเป็น รูปแบบการแทนข้อมูล หรือค่าพารามิเตอร์ไม่ถูกต้อง</td><td data-cell-label=\"ขั้นตอนถัดไป\"><span class=\"card-cell-label\">ขั้นตอนถัดไป</span>แก้ฟิลด์ที่ระบุก่อนส่งคำขอสร้างครั้งใหม่</td></tr><tr><th data-cell-label=\"การตอบกลับ\" scope=\"row\"><span class=\"card-cell-label\">การตอบกลับ</span><code>server_error</code></th><td data-cell-label=\"เงื่อนไข\"><span class=\"card-cell-label\">เงื่อนไข</span>การตอบกลับที่ได้รับระบุว่าต้องตรวจสอบการดำเนินการหรือผลลัพธ์</td><td data-cell-label=\"ขั้นตอนถัดไป\"><span class=\"card-cell-label\">ขั้นตอนถัดไป</span>เก็บ ID การดำเนินการ/งานที่ส่งกลับมาแต่เดิม ส่วนหัวของคำขอ และการตอบกลับไว้ แล้วอ่านข้อมูลการดำเนินการเดิมนั้นต่อด้วยวิธีที่รองรับ ห้ามส่งคำขอสร้างซ้ำ</td></tr></tbody></table></div></details></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=openai%2Ftts-1-hd&amp;route=Ultra&amp;caller=openai%2Ftts-1-hd&amp;fmt=speech\"><code>openai/tts-1-hd</code></a></span></p><h4>ชื่อพาธเมธอดอื่น</h4><p class=\"note-s\">ใช้พาธเมธอดที่แสดงด้านบน</p><h4>ID ที่เกี่ยวข้องสำหรับเรียกใช้โมเดล</h4><p class=\"note-s\"><a href=\"#m=openai%2Ftts-1-hd&amp;route=Ultra&amp;caller=openai%2Ftts-1-hd&amp;fmt=speech\"><code>openai/tts-1-hd</code></a></p></section></div>",
      "method_identity": {
        "effective_request_model_id": "openai/tts-1-hd",
        "fmt": "speech",
        "http": "POST",
        "path": "/v1/audio/speech",
        "request_model_id": "openai/tts-1-hd",
        "route_label": "Ultra"
      },
      "method_key": "Ultra|speech|/v1/audio/speech|openai%2Ftts-1-hd",
      "ordinal": 0,
      "rawMethod": {
        "available": null,
        "cache_read": null,
        "cache_write": null,
        "cache_write_1h": null,
        "contract": {
          "data": {
            "all_results": "Keep the complete binary result and headers. If JSON/multiple outputs are returned, retain every data item and fetch each actual signed asset URL.",
            "errors": [
              {
                "code": null,
                "condition": "ฟิลด์จำเป็น รูปแบบการแทนข้อมูล หรือค่าพารามิเตอร์ไม่ถูกต้อง",
                "http_status": 400,
                "recovery": "แก้ฟิลด์ที่ระบุก่อนส่งคำขอสร้างครั้งใหม่",
                "type": "invalid_request_error"
              },
              {
                "code": null,
                "condition": "การตอบกลับที่ได้รับระบุว่าต้องตรวจสอบการดำเนินการหรือผลลัพธ์",
                "http_status": null,
                "recovery": "เก็บ ID การดำเนินการ/งานที่ส่งกลับมาแต่เดิม ส่วนหัวของคำขอ และการตอบกลับไว้ แล้วอ่านข้อมูลการดำเนินการเดิมนั้นต่อด้วยวิธีที่รองรับ ห้ามส่งคำขอสร้างซ้ำ",
                "type": "server_error"
              }
            ],
            "hints": [],
            "ignored_fields": [],
            "lifecycle": {
              "all_results": "Follow everyactualreturnedoutputandownedasset; no result is discardedbecauseindex0orcontent_urlalreadyexists.",
              "assets": [
                {
                  "http": "GET",
                  "path": "/v1/media/assets"
                },
                {
                  "http": "GET",
                  "path": "/v1/media/assets/{asset_id}"
                }
              ],
              "content": [
                {
                  "http": "GET",
                  "path": "/v1/media/assets/{asset_id}/content",
                  "url_source": "exact returned signed URL; never construct token"
                }
              ],
              "mode": "synchronous_result_then_owned_library",
              "operation_id_is_not_task_id": true,
              "status": [
                {
                  "http": "GET",
                  "id_source": "actual returned task_id or media library record",
                  "path": "/v1/media/tasks/{task_id}"
                }
              ],
              "unknown": "เก็บ operation_id/X-Client-Request-ID เดิมไว้เพื่อกระทบยอดโดยไม่ส่งคำขอซ้ำ ไม่มีเส้นทางเฉพาะสำหรับตรวจสอบสถานะงานเสียงเป็นระยะ"
            },
            "material_combinations": [
              {
                "content_type": "application/json",
                "mode": "text_to_speech",
                "required": [
                  "input"
                ]
              }
            ],
            "media_library": {
              "asset": {
                "fields": [
                  {
                    "description": null,
                    "name": "asset_id",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "task_id",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "output_key",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "family",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "model",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "method",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "status",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "content_type",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "sha256",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "size_bytes",
                    "type": "integer"
                  },
                  {
                    "description": null,
                    "name": "content_url",
                    "type": "string"
                  }
                ],
                "http": "GET",
                "id_source": "actual returned asset_id",
                "path": "/v1/media/assets/{asset_id}"
              },
              "content": {
                "http": "GET",
                "path": "/v1/media/assets/{asset_id}/content",
                "range_header_supported": true,
                "url_source": "Use exact returned signed content_url including its token; do not construct a token."
              },
              "expired_link": {
                "code": "link_expired",
                "http_status": 404,
                "recovery": "Read the asset again to obtain its refreshed signed content_url, then fetch that URL. Do not regenerate."
              },
              "list": {
                "all_pages": "Follow every returned next_cursor, then select records by their actual task_id/output_key.",
                "http": "GET",
                "output_fields": [
                  {
                    "description": null,
                    "name": "object",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "data",
                    "type": "asset[]"
                  },
                  {
                    "description": null,
                    "name": "next_cursor",
                    "type": "string|null"
                  }
                ],
                "parameters": [
                  {
                    "availability": "source_interface",
                    "default": null,
                    "default_known": false,
                    "enum": null,
                    "enum_known": false,
                    "name": "family",
                    "required": false,
                    "type": "string"
                  },
                  {
                    "availability": "source_interface",
                    "default": null,
                    "default_known": false,
                    "enum": null,
                    "enum_known": false,
                    "name": "cursor",
                    "required": false,
                    "type": "string"
                  },
                  {
                    "availability": "source_interface",
                    "default": 20,
                    "default_known": true,
                    "enum": null,
                    "enum_known": false,
                    "maximum": 100,
                    "minimum": 1,
                    "name": "limit",
                    "required": false,
                    "type": "integer"
                  }
                ],
                "path": "/v1/media/assets"
              },
              "revoke": {
                "http": "DELETE",
                "meaning": "Revokes/deletes the existing owned file; this is not generation cancellation.",
                "path": "/v1/media/assets/{asset_id}",
                "pending_status": "revoking",
                "success_statuses": [
                  202,
                  204
                ]
              },
              "task": {
                "http": "GET",
                "id_source": "actual returned task_id or media library record; operation_id is not task_id",
                "path": "/v1/media/tasks/{task_id}"
              }
            },
            "operation_modes": [
              "text_to_speech"
            ],
            "outputs": {
              "all_results": "เก็บผลลัพธ์ไบนารีและส่วนหัวให้ครบถ้วน หากได้รับ JSON/ผลลัพธ์หลายรายการ ให้เก็บข้อมูลทุกรายการและดึงไฟล์สื่อจาก URL แบบลงนามทุกรายการที่ได้รับจริง",
              "family": "audio",
              "fields": [
                {
                  "description": null,
                  "name": "binary audio",
                  "type": "bytes"
                },
                {
                  "description": null,
                  "name": "response headers",
                  "type": "headers"
                }
              ],
              "format": "mp3"
            },
            "parameters": [
              {
                "availability": "source_interface",
                "default": null,
                "default_known": false,
                "enum": [
                  "openai/tts-1-hd"
                ],
                "enum_known": true,
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "availability": "source_interface",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "maximum_length": 4096,
                "min_length": 1,
                "name": "input",
                "required": true,
                "type": "string",
                "unit": "อักขระ Unicode"
              },
              {
                "availability": "source_interface",
                "default": null,
                "default_known": false,
                "enum": [
                  "alloy"
                ],
                "enum_known": true,
                "name": "voice",
                "required": true,
                "type": "string"
              }
            ],
            "profile_binding": "Exact existing Ailoot model and method; interface constraints below do not assert provider qualification.",
            "unsupported": [
              "response_format field; omit it",
              "other options"
            ]
          },
          "hints": [
            "เลือกเสียงที่ตรงตามโปรไฟล์ของโมเดลนี้",
            "อักขระขาเข้าและวินาทีเสียงเป็นหน่วยวัดคนละแบบ"
          ],
          "input": {
            "content_type": "application/json",
            "input": "ข้อความ UTF-8 ที่ตรงตามต้นฉบับ นับอักขระ Unicode โดยไม่ปรับรูปแบบมาตรฐาน",
            "material_types": [
              "text"
            ],
            "max_input_characters": 4096,
            "other_options": false,
            "required": [
              "model",
              "input",
              "voice"
            ],
            "voice_ids": [
              "alloy"
            ]
          },
          "lifecycle": {
            "assets": [
              {
                "http": "GET",
                "path": "/v1/media/assets"
              },
              {
                "http": "GET",
                "path": "/v1/media/assets/{asset_id}"
              }
            ],
            "content": [
              {
                "http": "GET",
                "path": "/v1/media/assets/{asset_id}/content",
                "url_source": "exact returned signed URL; never construct token"
              }
            ],
            "mode": "synchronous_result_then_owned_library",
            "operation_id_is_not_task_id": true,
            "status": [
              {
                "http": "GET",
                "id_source": "ค่า task_id ที่ส่งกลับมาจริง หรือระเบียนในคลังสื่อ",
                "path": "/v1/media/tasks/{task_id}"
              }
            ],
            "unknown": "Retain original operation_id/X-Client-Request-ID for reconciliation without resubmission; no dedicated audio poll route."
          },
          "manufacturer_capability": null,
          "method": {
            "http": "POST",
            "path": "/v1/audio/speech"
          },
          "method_aliases": [],
          "operation_modes": [
            "text_to_speech"
          ],
          "output": {
            "family": "audio",
            "format": "mp3",
            "http_success": 200,
            "response": "full binary MP3 plus response headers",
            "result": "complete playable owned MP3"
          }
        },
        "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": {
              "quantity_meter": "utf8.RuneCountInString(validUTF8): one Han codepoint=1; no Han weighting",
              "quoted_unit": "per 1000 input character"
            },
            "label": "Ultra",
            "units": [
              {
                "amount": "0.06000",
                "amount_unit": "usd_per_1000_characters",
                "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 1000 input character",
                "quantity": "1000",
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "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}\"\npython3 - <<'PY_REQUEST'\nimport json,os\nfrom pathlib import Path\np=json.loads('{\"model\": \"openai/tts-1-hd\", \"input\": \"Good afternoon! This is a short voice take.\", \"voice\": \"alloy\"}')\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 speech.mp3\n",
            "label": "curl",
            "language": "bash"
          },
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/media/assets \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -o media-assets.json\n",
            "label": "List actual media assets",
            "language": "bash"
          },
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\n: \"${AILOOT_MEDIA_TASK_ID:?Set the actual ID returned by the response or media-library metadata}\"\nexport AILOOT_MEDIA_TASK_ID\nresource_id=$(python3 -c 'import os,urllib.parse;print(urllib.parse.quote(os.environ[\"AILOOT_MEDIA_TASK_ID\"],safe=\"\"))')\ncurl --fail-with-body --silent --show-error \"https://api.ailoot.ai/v1/media/tasks/$resource_id\" \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -o media-task.json\npython3 - <<'PY_RESULT'\nimport json\nfrom pathlib import Path\nprint(json.dumps(json.loads(Path(\"media-task.json\").read_text())))\nPY_RESULT\n",
            "label": "Read actual media task",
            "language": "bash"
          },
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\n: \"${AILOOT_ASSET_ID:?Set the actual ID returned by the response or media-library metadata}\"\nexport AILOOT_ASSET_ID\nresource_id=$(python3 -c 'import os,urllib.parse;print(urllib.parse.quote(os.environ[\"AILOOT_ASSET_ID\"],safe=\"\"))')\ncurl --fail-with-body --silent --show-error \"https://api.ailoot.ai/v1/media/assets/$resource_id\" \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -o media-asset.json\npython3 - <<'PY_RESULT'\nimport json\nfrom pathlib import Path\nprint(json.dumps(json.loads(Path(\"media-asset.json\").read_text())))\nPY_RESULT\n",
            "label": "Read actual asset metadata",
            "language": "bash"
          }
        ],
        "family": "openai",
        "fast_multiplier": null,
        "flex_multiplier": null,
        "fmt": "speech",
        "hints": [
          "Select exact voice from this model profile.",
          "Input characters and audio seconds are different meters."
        ],
        "http": "POST",
        "in": null,
        "input": [
          "text"
        ],
        "label": "Озвучка текста",
        "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",
          "image_input_price": null,
          "image_output_price": null,
          "per_request_price": 0,
          "unit_prices": {
            "audio_input_character": 6e-05
          }
        },
        "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": {
              "quantity_meter": "utf8.RuneCountInString(validUTF8): one Han codepoint=1; no Han weighting",
              "quoted_unit": "per 1000 input character"
            },
            "label": "Ultra",
            "units": [
              {
                "amount": "0.06000",
                "amount_unit": "usd_per_1000_characters",
                "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 1000 input character",
                "quantity": "1000",
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "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": "openai/tts-1-hd",
        "route_label": "Ultra",
        "status_reads": [
          "GET /v1/media/tasks/{task_id}",
          "GET /v1/media/assets/{asset_id}/content"
        ],
        "tiers": [],
        "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.06000",
            "amount_unit": "usd_per_1000_characters",
            "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 1000 input character",
            "quantity": "1000",
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "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": "openai/tts-1-hd",
  "nativeProvenance": {
    "input_facts_canonical_sha256": "b8ed201dc870f2e3f0442e665b2bf344b2dfb2c49466e838b917aaab5a92bc5a",
    "input_html_sha256": "1dd680d2752fc0bfb6cff444e986cc783a167acedd450e7aa4b8ea16600e1257",
    "private_audit_sha256": "cf387cdba2043f758ec0f95a26dbff55fdf4553f833380a7994c7bbc1df2f9aa",
    "role": "historical-normalized-input-audit-hashes",
    "schema": "ailoot-native-model-provenance-v2"
  },
  "page": {
    "canonical": "https://ailoot.ai/models/th/openai-tts-1-hd/",
    "description": "TTS-1 HD เปลี่ยนข้อความเขียนเป็นเสียงพูดคุณภาพสูงขึ้น พร้อมเสียงสำเร็จรูป ความเร็ว และรูปแบบเอาต์พุตหกแบบที่เลือกได้ OpenAI วางตำแหน่ง HD ด้านคุณภาพการบรรยาย ต่างจาก TTS-1 ที่เน้นความหน่วงต่ำกว่า จึงเหมาะกับงานอ่านฉบับสมบูรณ์ สื่อการเรียน และช่วงเสียงที่ผ่านการแก้ไข",
    "locale": "th",
    "md_url": "https://ailoot.ai/models/th/openai-tts-1-hd/index.md",
    "title": "tts-1-hd — Ailoot",
    "url": "https://ailoot.ai/models/th/openai-tts-1-hd/"
  },
  "rawModel": {
    "about": "TTS-1 HD เป็นโมเดลแปลงข้อความเป็นเสียงของ OpenAI ที่ปรับให้เหมาะกับคุณภาพเสียง อินพุตคือบทที่เตรียมไว้ และเอาต์พุตคือเสียงพูด ตัวเลือก HD ต่างจาก TTS-1 ที่เน้นความเร็ว โดย OpenAI อธิบายว่า TTS-1 มีความหน่วงต่ำกว่าแต่คุณภาพต่ำกว่าด้วย HD จึงเป็นตัวเลือกบรรยายที่มีประโยชน์เมื่อเสียงสุดท้ายสำคัญกว่าการเริ่มเล่นให้เร็วที่สุด บทความเขียน ย่อหน้าบทเรียน หรือคำอธิบายที่ขัดเกลาแล้วสามารถเป็นสื่อเสียงได้\n\nอินพุตหลักคือโมเดลที่เลือก ข้อความที่ตรงตามต้องการ และเสียง คู่มืออ้างอิงการสร้างเสียงของผู้ผลิตจำกัดบทไว้ที่ 4,096 อักขระต่อคำขอ นี่คือความยาวอินพุตเขียน ไม่ใช่การรับประกันระยะเวลาเสียง เตรียมบทที่ฟังเข้าใจได้ ขยายคำย่อกำกวม กำหนดวิธีอ่านจำนวน และรักษาแต่ละย่อหน้าให้ต่อเนื่อง สำหรับบทเรียนหรือบทความยาว ให้แบ่งข้อความตามขอบเขตที่มีความหมายและรักษาลำดับการใช้ย่อหน้าผลลัพธ์\n\nคู่มือ OpenAI ปัจจุบันระบุตัวเลือกในตัวเก้าเสียงสำหรับ TTS-1 HD คือ alloy, ash, coral, echo, fable, onyx, nova, sage และ shimmer เสียงปรับให้เหมาะกับภาษาอังกฤษ ขณะที่คู่มือแปลงข้อความเป็นเสียงรองรับการสร้างหลายภาษาโดยป้อนข้อความในภาษาที่ต้องการ การเปรียบเทียบเสียงมีประโยชน์ที่สุดเมื่อใช้บทตัวอย่างเดียวกัน รวมชื่อและศัพท์เฉพาะที่จะมีในเนื้อหาสุดท้าย รักษาเสียงกับความเร็วให้สม่ำเสมอเมื่อหลายคลิปประกอบเป็นการบรรยายเดียว\n\nMP3 เป็นเอาต์พุตเริ่มต้น Opus และ AAC เป็นตัวเลือกรูปแบบเสียงบีบอัดอื่น FLAC ให้การบีบอัดไม่สูญเสียข้อมูล ส่วน WAV ให้เสียงไม่บีบอัด PCM ส่งตัวอย่างเสียงดิบ 24 kHz, 16 บิตแบบมีเครื่องหมายและเรียงไบต์ little-endian โดยไม่มีส่วนหัวไฟล์ ตัวเลือกเหล่านี้ใช้ต่างกัน เช่น ไฟล์แจกจ่ายขนาดเล็ก สื่อสำหรับสตรีม หรือเสียงที่จะส่งเข้าเวิร์กโฟลว์แก้ไข OpenAI แนะนำ WAV หรือ PCM เพื่อให้ตอบสนองเร็วขึ้นเมื่อภาระการถอดรหัสมีความสำคัญ การเลือกรูปแบบไฟล์ไม่ได้เปลี่ยนบทหรือเพิ่มโมเดลควบคุมเสียงอีกตัว\n\nส่งเสียงเป็นชังก์ได้ ทำให้เครื่องเล่นเริ่มก่อนที่ไฟล์เสียงทั้งหมดพร้อม นี่คือสตรีมมิงข้อความเป็นเสียง ไม่ได้สร้างบทสนทนาเสียงสองทาง เอกสารอ้างอิงรองรับค่าความเร็ว 0.25 ถึง 4.0 โดย 1.0 เป็นค่าเริ่มต้น ฟิลด์ instructions ภาษาธรรมชาติที่แยกต่างหากใช้ไม่ได้กับ TTS-1 HD และโมเดลนี้ไม่รองรับเอาต์พุตเหตุการณ์ SSE ตัวควบคุมตามเอกสารคือบท เสียงสำเร็จรูป ความเร็ว และรูปแบบเอาต์พุต ไม่ใช่อินเทอร์เฟซพรอมป์ต์กำหนดสำเนียงหรืออารมณ์ของโมเดลเสียงรุ่นใหม่\n\nคู่มือภาษามีรัสเซีย ยูเครน อังกฤษ ฝรั่งเศส เยอรมัน สเปน โปรตุเกส อิตาลี จีน ญี่ปุ่น เกาหลี อาหรับ ฮินดี และคาซัคในภาษาที่รองรับ เตรียมบทในภาษาเป้าหมาย การสังเคราะห์ถ่ายทอดข้อความนั้น ไม่ได้แปล สำหรับเนื้อหาการเรียน ให้คำนิยามและจุดเปลี่ยนส่วนชัดเจน สำหรับช่วงเสียงอธิบาย ให้เตรียมข้อความตรงตามต้องการและชื่อที่ต้องให้ได้ยิน การปรับเสียงให้เหมาะกับอังกฤษยังเกี่ยวข้องเมื่อประเมินว่าภาษาและคำศัพท์เฉพาะฟังเป็นอย่างไร\n\nเวิร์กโฟลว์ HD ที่ใช้ได้จริงสร้างย่อหน้าเสียงเพื่อฟัง ตรวจ แล้วใส่ในเนื้อหาที่เสร็จแล้ว ตรวจว่าทุกประโยคถูกอ่าน ชื่อกับจำนวนออกเสียงยอมรับได้ และจังหวะที่เลือกช่วยให้เข้าใจ เก็บบทเขียนคู่กับเสียงเพื่อให้ย้อนการแก้ไขไปยังย่อหน้าที่เกี่ยวข้องได้ OpenAI กำหนดให้เปิดเผยชัดเจนว่าเสียงที่สร้างเป็นเสียงสังเคราะห์ HD อธิบายตระกูล TTS ที่เน้นคุณภาพ ไม่ได้ให้คำรับรองด้วยตัวเองเรื่องเวลาที่แน่นอน ตัวตนผู้พูดกำหนดเอง หรือการควบคุมอารมณ์ของโมเดลอื่น",
    "alias_of": null,
    "aliases": [],
    "author": "Other",
    "available": null,
    "canonical_model": "openai/tts-1-hd",
    "capabilities": {
      "context_length": 0,
      "manufacturer_input": [],
      "manufacturer_output": []
    },
    "card_routes": [
      {
        "label": "Ultra",
        "rates": [
          {
            "amount": "0.06000",
            "amount_unit": "usd_per_1000_characters",
            "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 1000 input character",
            "quantity": "1000",
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "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"
          }
        ],
        "summary": "ดูราคาตามการกำหนดค่าแบบครบถ้วนในรายละเอียด"
      }
    ],
    "ctx": null,
    "entity_type": "model",
    "formats": [
      "speech"
    ],
    "id": "openai/tts-1-hd",
    "input": [
      "text"
    ],
    "kind": "speech",
    "max_out": null,
    "methods": [
      {
        "available": null,
        "cache_read": null,
        "cache_write": null,
        "cache_write_1h": null,
        "contract": {
          "data": {
            "all_results": "Keep the complete binary result and headers. If JSON/multiple outputs are returned, retain every data item and fetch each actual signed asset URL.",
            "errors": [
              {
                "code": null,
                "condition": "ฟิลด์จำเป็น รูปแบบการแทนข้อมูล หรือค่าพารามิเตอร์ไม่ถูกต้อง",
                "http_status": 400,
                "recovery": "แก้ฟิลด์ที่ระบุก่อนส่งคำขอสร้างครั้งใหม่",
                "type": "invalid_request_error"
              },
              {
                "code": null,
                "condition": "การตอบกลับที่ได้รับระบุว่าต้องตรวจสอบการดำเนินการหรือผลลัพธ์",
                "http_status": null,
                "recovery": "เก็บ ID การดำเนินการ/งานที่ส่งกลับมาแต่เดิม ส่วนหัวของคำขอ และการตอบกลับไว้ แล้วอ่านข้อมูลการดำเนินการเดิมนั้นต่อด้วยวิธีที่รองรับ ห้ามส่งคำขอสร้างซ้ำ",
                "type": "server_error"
              }
            ],
            "hints": [],
            "ignored_fields": [],
            "lifecycle": {
              "all_results": "Follow everyactualreturnedoutputandownedasset; no result is discardedbecauseindex0orcontent_urlalreadyexists.",
              "assets": [
                {
                  "http": "GET",
                  "path": "/v1/media/assets"
                },
                {
                  "http": "GET",
                  "path": "/v1/media/assets/{asset_id}"
                }
              ],
              "content": [
                {
                  "http": "GET",
                  "path": "/v1/media/assets/{asset_id}/content",
                  "url_source": "exact returned signed URL; never construct token"
                }
              ],
              "mode": "synchronous_result_then_owned_library",
              "operation_id_is_not_task_id": true,
              "status": [
                {
                  "http": "GET",
                  "id_source": "actual returned task_id or media library record",
                  "path": "/v1/media/tasks/{task_id}"
                }
              ],
              "unknown": "เก็บ operation_id/X-Client-Request-ID เดิมไว้เพื่อกระทบยอดโดยไม่ส่งคำขอซ้ำ ไม่มีเส้นทางเฉพาะสำหรับตรวจสอบสถานะงานเสียงเป็นระยะ"
            },
            "material_combinations": [
              {
                "content_type": "application/json",
                "mode": "text_to_speech",
                "required": [
                  "input"
                ]
              }
            ],
            "media_library": {
              "asset": {
                "fields": [
                  {
                    "description": null,
                    "name": "asset_id",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "task_id",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "output_key",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "family",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "model",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "method",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "status",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "content_type",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "sha256",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "size_bytes",
                    "type": "integer"
                  },
                  {
                    "description": null,
                    "name": "content_url",
                    "type": "string"
                  }
                ],
                "http": "GET",
                "id_source": "actual returned asset_id",
                "path": "/v1/media/assets/{asset_id}"
              },
              "content": {
                "http": "GET",
                "path": "/v1/media/assets/{asset_id}/content",
                "range_header_supported": true,
                "url_source": "Use exact returned signed content_url including its token; do not construct a token."
              },
              "expired_link": {
                "code": "link_expired",
                "http_status": 404,
                "recovery": "Read the asset again to obtain its refreshed signed content_url, then fetch that URL. Do not regenerate."
              },
              "list": {
                "all_pages": "Follow every returned next_cursor, then select records by their actual task_id/output_key.",
                "http": "GET",
                "output_fields": [
                  {
                    "description": null,
                    "name": "object",
                    "type": "string"
                  },
                  {
                    "description": null,
                    "name": "data",
                    "type": "asset[]"
                  },
                  {
                    "description": null,
                    "name": "next_cursor",
                    "type": "string|null"
                  }
                ],
                "parameters": [
                  {
                    "availability": "source_interface",
                    "default": null,
                    "default_known": false,
                    "enum": null,
                    "enum_known": false,
                    "name": "family",
                    "required": false,
                    "type": "string"
                  },
                  {
                    "availability": "source_interface",
                    "default": null,
                    "default_known": false,
                    "enum": null,
                    "enum_known": false,
                    "name": "cursor",
                    "required": false,
                    "type": "string"
                  },
                  {
                    "availability": "source_interface",
                    "default": 20,
                    "default_known": true,
                    "enum": null,
                    "enum_known": false,
                    "maximum": 100,
                    "minimum": 1,
                    "name": "limit",
                    "required": false,
                    "type": "integer"
                  }
                ],
                "path": "/v1/media/assets"
              },
              "revoke": {
                "http": "DELETE",
                "meaning": "Revokes/deletes the existing owned file; this is not generation cancellation.",
                "path": "/v1/media/assets/{asset_id}",
                "pending_status": "revoking",
                "success_statuses": [
                  202,
                  204
                ]
              },
              "task": {
                "http": "GET",
                "id_source": "actual returned task_id or media library record; operation_id is not task_id",
                "path": "/v1/media/tasks/{task_id}"
              }
            },
            "operation_modes": [
              "text_to_speech"
            ],
            "outputs": {
              "all_results": "เก็บผลลัพธ์ไบนารีและส่วนหัวให้ครบถ้วน หากได้รับ JSON/ผลลัพธ์หลายรายการ ให้เก็บข้อมูลทุกรายการและดึงไฟล์สื่อจาก URL แบบลงนามทุกรายการที่ได้รับจริง",
              "family": "audio",
              "fields": [
                {
                  "description": null,
                  "name": "binary audio",
                  "type": "bytes"
                },
                {
                  "description": null,
                  "name": "response headers",
                  "type": "headers"
                }
              ],
              "format": "mp3"
            },
            "parameters": [
              {
                "availability": "source_interface",
                "default": null,
                "default_known": false,
                "enum": [
                  "openai/tts-1-hd"
                ],
                "enum_known": true,
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "availability": "source_interface",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "maximum_length": 4096,
                "min_length": 1,
                "name": "input",
                "required": true,
                "type": "string",
                "unit": "อักขระ Unicode"
              },
              {
                "availability": "source_interface",
                "default": null,
                "default_known": false,
                "enum": [
                  "alloy"
                ],
                "enum_known": true,
                "name": "voice",
                "required": true,
                "type": "string"
              }
            ],
            "profile_binding": "Exact existing Ailoot model and method; interface constraints below do not assert provider qualification.",
            "unsupported": [
              "response_format field; omit it",
              "other options"
            ]
          },
          "hints": [
            "เลือกเสียงที่ตรงตามโปรไฟล์ของโมเดลนี้",
            "อักขระขาเข้าและวินาทีเสียงเป็นหน่วยวัดคนละแบบ"
          ],
          "input": {
            "content_type": "application/json",
            "input": "ข้อความ UTF-8 ที่ตรงตามต้นฉบับ นับอักขระ Unicode โดยไม่ปรับรูปแบบมาตรฐาน",
            "material_types": [
              "text"
            ],
            "max_input_characters": 4096,
            "other_options": false,
            "required": [
              "model",
              "input",
              "voice"
            ],
            "voice_ids": [
              "alloy"
            ]
          },
          "lifecycle": {
            "assets": [
              {
                "http": "GET",
                "path": "/v1/media/assets"
              },
              {
                "http": "GET",
                "path": "/v1/media/assets/{asset_id}"
              }
            ],
            "content": [
              {
                "http": "GET",
                "path": "/v1/media/assets/{asset_id}/content",
                "url_source": "exact returned signed URL; never construct token"
              }
            ],
            "mode": "synchronous_result_then_owned_library",
            "operation_id_is_not_task_id": true,
            "status": [
              {
                "http": "GET",
                "id_source": "ค่า task_id ที่ส่งกลับมาจริง หรือระเบียนในคลังสื่อ",
                "path": "/v1/media/tasks/{task_id}"
              }
            ],
            "unknown": "Retain original operation_id/X-Client-Request-ID for reconciliation without resubmission; no dedicated audio poll route."
          },
          "manufacturer_capability": null,
          "method": {
            "http": "POST",
            "path": "/v1/audio/speech"
          },
          "method_aliases": [],
          "operation_modes": [
            "text_to_speech"
          ],
          "output": {
            "family": "audio",
            "format": "mp3",
            "http_success": 200,
            "response": "full binary MP3 plus response headers",
            "result": "complete playable owned MP3"
          }
        },
        "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": {
              "quantity_meter": "utf8.RuneCountInString(validUTF8): one Han codepoint=1; no Han weighting",
              "quoted_unit": "per 1000 input character"
            },
            "label": "Ultra",
            "units": [
              {
                "amount": "0.06000",
                "amount_unit": "usd_per_1000_characters",
                "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 1000 input character",
                "quantity": "1000",
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "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}\"\npython3 - <<'PY_REQUEST'\nimport json,os\nfrom pathlib import Path\np=json.loads('{\"model\": \"openai/tts-1-hd\", \"input\": \"Good afternoon! This is a short voice take.\", \"voice\": \"alloy\"}')\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 speech.mp3\n",
            "label": "curl",
            "language": "bash"
          },
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/media/assets \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -o media-assets.json\n",
            "label": "List actual media assets",
            "language": "bash"
          },
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\n: \"${AILOOT_MEDIA_TASK_ID:?Set the actual ID returned by the response or media-library metadata}\"\nexport AILOOT_MEDIA_TASK_ID\nresource_id=$(python3 -c 'import os,urllib.parse;print(urllib.parse.quote(os.environ[\"AILOOT_MEDIA_TASK_ID\"],safe=\"\"))')\ncurl --fail-with-body --silent --show-error \"https://api.ailoot.ai/v1/media/tasks/$resource_id\" \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -o media-task.json\npython3 - <<'PY_RESULT'\nimport json\nfrom pathlib import Path\nprint(json.dumps(json.loads(Path(\"media-task.json\").read_text())))\nPY_RESULT\n",
            "label": "Read actual media task",
            "language": "bash"
          },
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\n: \"${AILOOT_ASSET_ID:?Set the actual ID returned by the response or media-library metadata}\"\nexport AILOOT_ASSET_ID\nresource_id=$(python3 -c 'import os,urllib.parse;print(urllib.parse.quote(os.environ[\"AILOOT_ASSET_ID\"],safe=\"\"))')\ncurl --fail-with-body --silent --show-error \"https://api.ailoot.ai/v1/media/assets/$resource_id\" \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -o media-asset.json\npython3 - <<'PY_RESULT'\nimport json\nfrom pathlib import Path\nprint(json.dumps(json.loads(Path(\"media-asset.json\").read_text())))\nPY_RESULT\n",
            "label": "Read actual asset metadata",
            "language": "bash"
          }
        ],
        "family": "openai",
        "fast_multiplier": null,
        "flex_multiplier": null,
        "fmt": "speech",
        "hints": [
          "Select exact voice from this model profile.",
          "Input characters and audio seconds are different meters."
        ],
        "http": "POST",
        "in": null,
        "input": [
          "text"
        ],
        "label": "Озвучка текста",
        "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",
          "image_input_price": null,
          "image_output_price": null,
          "per_request_price": 0,
          "unit_prices": {
            "audio_input_character": 6e-05
          }
        },
        "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": {
              "quantity_meter": "utf8.RuneCountInString(validUTF8): one Han codepoint=1; no Han weighting",
              "quoted_unit": "per 1000 input character"
            },
            "label": "Ultra",
            "units": [
              {
                "amount": "0.06000",
                "amount_unit": "usd_per_1000_characters",
                "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 1000 input character",
                "quantity": "1000",
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "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": "openai/tts-1-hd",
        "route_label": "Ultra",
        "status_reads": [
          "GET /v1/media/tasks/{task_id}",
          "GET /v1/media/assets/{asset_id}/content"
        ],
        "tiers": [],
        "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.06000",
            "amount_unit": "usd_per_1000_characters",
            "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 1000 input character",
            "quantity": "1000",
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "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": "openai/tts-1-hd",
        "request_model_id": "openai/tts-1-hd",
        "route_label": "Ultra"
      }
    ],
    "name": "tts-1-hd",
    "price": {
      "in": null,
      "in_label": null,
      "out": null,
      "out_label": null,
      "sort_in": null,
      "sort_out": null,
      "varies": true
    },
    "public_id": "openai/tts-1-hd",
    "short": "TTS-1 HD เปลี่ยนข้อความเขียนเป็นเสียงพูดคุณภาพสูงขึ้น พร้อมเสียงสำเร็จรูป ความเร็ว และรูปแบบเอาต์พุตหกแบบที่เลือกได้ OpenAI วางตำแหน่ง HD ด้านคุณภาพการบรรยาย ต่างจาก TTS-1 ที่เน้นความหน่วงต่ำกว่า จึงเหมาะกับงานอ่านฉบับสมบูรณ์ สื่อการเรียน และช่วงเสียงที่ผ่านการแก้ไข"
  },
  "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": "TTS-1 HD เปลี่ยนข้อความเขียนเป็นเสียงพูดคุณภาพสูงขึ้น พร้อมเสียงสำเร็จรูป ความเร็ว และรูปแบบเอาต์พุตหกแบบที่เลือกได้ OpenAI วางตำแหน่ง HD ด้านคุณภาพการบรรยาย ต่างจาก TTS-1 ที่เน้นความหน่วงต่ำกว่า จึงเหมาะกับงานอ่านฉบับสมบูรณ์ สื่อการเรียน และช่วงเสียงที่ผ่านการแก้ไข",
  "source": {
    "audit_sha256": "2e00086bcbfc28e64d0cebe97aa47c17d8d5618963027f8ffb9dc6123d7d25b1",
    "bridge_map_sha256": "1125275768b9636fc8461bc7da5061239a81ddfe508e2557843ca42c58ab0036",
    "raw_model_json_sha256": "f49f759e9e16d4975019333d5a56796f98d91fb16ae1af6d823e895823ce6cfc",
    "renderer_sha256": "890edb706fafafdd4f598bb324acf65fada58918b0911b97eb80e68be2ef65d9"
  },
  "sourceRevision": "fbe593b0331ac7af66e27b74d243be58cdd895b18db71a2597a6f4ee237dcebb"
}
