Skip to content

planSpeechInput

This content is not available in your language yet.

function planSpeechInput(input, options?): SpeechInputPlanResult;

去除首尾空白后校验朗读文本,仅显式允许时按 Unicode 码点完整分段;每段同时遵守模型加权帽与请求体的 20000 UTF-16 单元帽,不调用计费端点。

string

{ max: number; unit: "unicode_code_points" | "utf16_code_units" | "utf8_bytes"; }

number

"unicode_code_points" | "utf16_code_units" | "utf8_bytes"

number

number

number

boolean

SpeechInputPlanResult