แอปอย่าง Open WebUI อ่าน path นี้เพื่อแสดงรายการโมเดล TTS รายการนี้ตรงกับที่ GET /v1/models รายงาน และทุกเสียงใน GET /v1/audio/voices ใช้กับโมเดลนี้ได้ ชื่อโมเดลของ OpenAI (tts-1, tts-1-hd, gpt-4o-mini-tts, gpt-4o-mini-tts-2025-03-20, gpt-4o-mini-tts-2025-12-15) ไม่อยู่ในรายการนี้ แต่ยังใช้กับ POST /v1/audio/speech ได้ตามเดิม
การตอบกลับ#
paxa-tts-flash-v2, the model OpenAI's model names run on, as GET /v1/models reports it.
modelsarray of objectsจำเป็นดูฟิลด์ย่อยซ่อนฟิลด์ย่อย
models[].idstringจำเป็นModel id to send as the model field.
models[].namestringจำเป็นDisplay name.
models[].productstringจำเป็นCapability of the model: "tts", "translation", "ocr", "extraction", or "stt".
models[].max_charsinteger or nullจำเป็นPer-request ceiling on the text field in characters. Null for models that read files, such as OCR, Document Extraction, and transcription.
models[].max_request_charsinteger or nullจำเป็นCeiling on the request's total billable characters, where that differs from max_chars. Null when it does not. Translation models bill every field. This ceiling bounds the text together with instructions, context, examples, do_not_translate strings, and glossary.
models[].credits_per_1k_charsinteger or nullจำเป็นCost in credits per 1000 input characters, billed per character and rounded up to the next hundredth of a credit. TTS requests that set timestamps bill at 1.25x this rate. Null for models billed by page or by recording length.
models[].reference_credits_per_1k_charsinteger or nullจำเป็นCost in credits per 1000 characters of material the model reads without translating: instructions, context, examples, do_not_translate strings, and glossary. Null for models that have no such material.
models[].credits_per_pagenumber or nullจำเป็นCost in credits per page for models billed by page, such as OCR and Document Extraction, exact to a hundredth. Null for models billed otherwise.
models[].large_schema_credits_per_pagenumber or nullจำเป็นCost in credits per page a Document Extraction request takes when its schema declares large_schema_min_leaves leaf fields or more. Null for other models.
models[].large_schema_min_leavesinteger or nullจำเป็นLeaf count from which a Document Extraction schema bills at large_schema_credits_per_page. Null for other models.
models[].max_leavesinteger or nullจำเป็นMost leaf fields one Document Extraction schema may declare, counted after arrays and nested objects are unfolded; more answers 400 schema_invalid. Null for other models.
models[].credits_per_hourinteger or nullจำเป็นCost in credits per hour of audio for models billed by audio length: a recording's exact length, or the audio received over a realtime connection. Null for models billed otherwise.
models[].max_pagesinteger or nullจำเป็นMost pages one request accepts; null for models not billed by page. Document Extraction's ceiling is lower than OCR's.
models[].max_duration_secondsinteger or nullจำเป็นLongest recording one request accepts, in seconds; null for models that do not read audio.
models[].diarization_limit_secondsinteger or nullจำเป็นLength at which speaker attribution stops, in seconds, well below max_duration_seconds. With diarization on, a recording this long or longer answers 400 diarization_audio_too_long; with it off, it transcribes normally. Null for models that do not read audio.
models[].max_session_secondsinteger or nullจำเป็นMost audio one realtime connection accepts, in seconds; reaching it ends the session as an end frame would. Null for models that do not serve a connection.
models[].encodingsarray of objects or nullจำเป็นAudio encodings a realtime connection's start frame may declare, each with the sample rates it accepts. Null for models that do not serve a connection.
models[].max_bytesinteger or nullจำเป็นLargest decoded file one request accepts, in bytes. Null for models that read text.
models[].formatsarray of strings or nullจำเป็นFile formats the model reads: "pdf", "png", "jpeg", "webp" for OCR and Document Extraction; "mp3", "wav", "flac", "ogg", "m4a", "aac", "webm" for transcription. Null for models that read text.
models[].min_request_creditsnumberจำเป็นSmallest charge one request to this model can incur, in credits.
models[].voicesarray of stringsจำเป็นIds of the voices on this model's roster, the values the voice field accepts. GET /v1/voices carries each voice's details. Empty for models without voices.
models[].sourcesarray of strings or nullจำเป็นSource language codes the translation source field accepts alongside "auto"; null for non-translation models.
models[].targetstring or nullจำเป็นTarget language code the model translates into; null for non-translation models.