SpeechInputPlanResult
type SpeechInputPlanResult = | { plan: SpeechInputPlan; status: "ready";} | { estimatedCharacters: number; maxCharacters: number | null; reason: | "empty_input" | "unknown_limit" | "invalid_configuration" | "input_too_large" | "segmentation_required" | "segment_limit" | "empty_segment"; status: "rejected";};朗读准备结果;拒绝时返回原因、估算字符数及已知上限,不调用语音服务。
本文是否有帮助?
感谢反馈,我们会持续改进这篇文章。