[{"data":1,"prerenderedAt":1650},["ShallowReactive",2],{"mosiI18n":3,"docs:\u002Fdocs\u002Freference\u002Fstreaming-speech":237,"docs:navigation":1340,"docs:published-paths":1589},{"locale":4,"resources":5},"zh-CN",{"zh-CN":6},{"10026153":7,"10110081":8,"10115365":9,"10127104":10,"10131153":11,"10141411":12,"10213461":13,"10314103":14,"10381912":15,"10431014":16,"10513157":17,"10627315":18,"10748121":19,"10751193":20,"11015141":21,"11095710":22,"11101321":23,"11101539":24,"11108144":25,"11115121":26,"11121423":27,"11243911":28,"11312152":29,"11331069":30,"11331371":31,"11341099":32,"11342126":33,"11374381":34,"11421315":35,"11471412":36,"11490910":37,"11498141":38,"11541010":39,"11563101":40,"11691311":41,"11878412":42,"12013124":43,"12109113":44,"12113301":45,"12125023":46,"12149722":47,"12151213":48,"12153811":49,"12510848":50,"12611148":51,"12641310":52,"12771248":53,"12814011":54,"12981411":55,"13105901":56,"13113044":57,"13131276":58,"13138186":59,"13152831":60,"13361411":61,"13410713":62,"13441491":63,"13611115":64,"13730815":65,"14108671":66,"14111410":67,"14131214":68,"14133115":69,"14215115":70,"14239121":71,"14281461":72,"14410039":73,"14479127":74,"14510490":75,"14541392":76,"14553315":77,"14927151":78,"14966133":79,"15131411":80,"15221201":81,"15362121":82,"15413780":83,"15671112":84,"15912711":85,"15915315":86,"19064413":87,"19149761":88,"19152130":89,"20104410":90,"20312081":91,"20871277":92,"21115723":93,"21127141":94,"21213015":95,"21434141":96,"21515101":97,"21591310":98,"23189135":99,"23972510":100,"24141413":101,"24151261":102,"26121231":103,"26841151":104,"26871212":105,"27568131":106,"28131115":107,"31011812":108,"31111521":109,"31207765":110,"31214933":111,"31294114":112,"31410213":113,"31513471":114,"32108107":115,"32119732":116,"32440814":117,"32871477":118,"33122111":119,"33412201":120,"34015463":121,"36153310":122,"37127101":123,"39932152":124,"41115155":125,"41193153":126,"41229331":127,"41271212":128,"41311761":129,"41313151":130,"42101139":131,"42121271":132,"44914151":133,"45139121":134,"48124111":135,"48147894":136,"49271053":137,"49814113":138,"50731491":139,"51011111":140,"51021210":141,"51062133":142,"51153329":143,"51313109":144,"51314877":145,"51315413":146,"51333111":147,"51450135":148,"52530401":149,"53137715":150,"56141531":151,"56781111":152,"60120151":153,"61113981":154,"61231441":155,"61312915":156,"61491114":157,"61541340":158,"61552121":159,"62141210":160,"62149158":161,"62151146":162,"63139013":163,"63201141":164,"65410661":165,"66151513":166,"67104697":167,"67314145":168,"71011421":169,"71013126":170,"71102161":171,"71171209":172,"71296911":173,"71382811":174,"71514149":175,"73075237":176,"74124314":177,"75112694":178,"75133152":179,"75313811":180,"76141211":181,"78101312":182,"80141314":183,"81010346":184,"81052659":185,"81135311":186,"81138901":187,"81161515":188,"81312151":189,"81514715":190,"81561581":191,"81661365":192,"82215113":193,"83761411":194,"84411812":195,"85135104":196,"85412059":197,"86141428":198,"88002231":199,"88137214":200,"89115104":201,"89145141":202,"89771179":203,"90610856":204,"91111414":205,"91111997":206,"91113112":207,"91145551":208,"91160143":209,"91314612":210,"91341173":211,"91381541":212,"91510028":213,"92122444":214,"97848298":215,"98153132":216,"99561087":217,"01191112":218,"01056101":219,"01140234":220,"01184512":221,"01514514":222,"01981430":223,"02141491":224,"02269571":225,"03117111":226,"03121214":227,"03155210":228,"04109514":229,"05183656":230,"07141286":231,"07148165":232,"07541155":233,"01273151":234,"07131161":235,"05611115":236},"输出 Token","关闭搜索","选择 API key 后才能运行。","API 平台","MOSI API Platform 控制台","查看 API 平台用量、积分消耗和排行。","工作日在线时间：10:00 - 22:00","确认删除","{n} 天","过去 7 天","在浏览器中直接调用 MOSI 模型，预览请求与响应。","Playground","查看详情","原始 JSON","选择模型","控制台首页","创建 Key","{n} 次","渲染结果","上传文件","清除","Output","登录查看数据","切换语言","账户菜单","用量分析","填写 {label} 后才能运行。","让灵感有声有色","登录","无访问权限","使用 Mossland 账号登录，管理 API Key 与用量","没有匹配结果。","添加小助手微信，获取内测积分","累计请求","成功 {n} 次","重试","正在加载请求记录…","控制台统计","选择","搜索中…","按模型排行","追踪 ID","API Key 创建成功，请保存","选择音频来源","参考音频（必选）","使用 Mossland 登录","打开","编辑 API Key","模型","请选择","加载失败","当前时间范围交易量较大，趋势与排行基于最近一批交易聚合，为近似值。","文本","更多模型","本月交易量较大，统计基于最近一批交易聚合，为近似值。","，完成第一次调用","名称","流式音频播放器将在接入后端流式接口后启用。","「{label}」不是合法 JSON，修正后才能运行。","内容类型","请求预览","查看 API 平台积分余额、请求统计与最近调用。","操作","API Key 已创建","Mossland API 新平台已上线，旧 \u002Fapi\u002Fv1 接口请迁移至新版 \u002Fv1 接口。","参考音频（可选）","创建 API Key, 查看","API Keys 加载失败，请重试。","语音生成占 {n}%","还有 {count} 条结果未展示。","登录 \u002F 注册","下载音频","暂无用量数据。","请先在上方选择一个模型。","搜索暂时不可用，请稍后重试。","正在运行…","API Docs","密钥","复制 Markdown","正在加载用量数据…","语音处理","立即登录","引擎耗时","音频来源","首页","输入","还没有 API Key，创建一个用于开始调用。","File ID","取消","搜索文档…","该维度数据待后端补充","删除","API Key","用量与积分","复制渲染结果","页内目录","选择 API Key","获取积分","文档","积分使用趋势","正在加载模型…","退出登录","响应","创建 API Key","用量统计","输入 Token","头像","关闭","确认删除 API Key?","当前账号无权访问该页面。","复制成功","Token 吞吐","Mossland","快速开始","Code","确认","公告占位，正式内容待产品提供。","文件","今日请求","控制台导航","还没有可用的 API Key。","内容均由 AI 生成，不代表平台立场和观点。","加入我们的 Discord 获取测试积分","Mossland，","字节数","音色管理","输入文件 ID","暂无英文版","控制台菜单","输入要合成的文本。","加载中…","退出","查看用量","权限范围","个人中心","默认可调用当前账号已开通的全部 API。暂不支持单独配置权限。","错误与限制","未命名用户","最近请求","完整密钥只在创建时展示一次。如怀疑泄露，请立即删除该 Key 并创建新的 Key。","日均消耗","上一篇","任务","回到顶部","获取积分二维码","查看迁移指南","请输入","文档导航","本月消耗积分","完整密钥仅此一次展示，关闭后无法再次查看，请妥善保存。","去创建","欢迎使用 Mossland API","手机号","过去 30 天","正在加载 API Keys…","最近 5 次请求","复制","状态","语音识别","API Key 数量已达上限（{limit} 个），请删除不再使用的 Key 后重试。","可用积分","下一篇","昵称","暂无请求记录。","已复制 Markdown 到剪贴板","选择一个模型以在工作台中调用。","继续","音频 URL","开始使用","邮箱","搜索文档","运行","图表加载中…","复制失败","加入 Discord","复制本页 Markdown","音频合成","API Key 校验服务暂不可用，请稍后重试。","近 24小时成功率","如确认删除此 API key，请输入“{text}”","按 Endpoint 排行","时间","暂停","输入关键词搜索全部文档。","已复制","在左侧选择模型并输入内容，运行后在此查看结果。","选择文件","模型加载失败，请稍后重试。","默认","正在加载 API Key…","所选 API Key 已不可用（禁用或过期），请重新选择。","复制失败，请重试","下载 WAV","搜索结果","调整面板宽度","基础","请求失败，请稍后重试。","API Key 已删除","较昨日","语音生成","运行失败，请稍后重试。","响应视图","消耗积分","今日消耗","个人资料请前往 Mossland 管理","管理 API 平台调用密钥。","活跃 API Key","仅支持 wav \u002F mp3 音频文件。","运行参数","上下篇","该 API Key「{name}」将立即被禁用。使用此密钥发出的 API 请求将被拒绝，这可能会导致仍然依赖它的任何系统无法正常运转。一旦删除，密钥无法恢复，你将无法再查看或修改此 API Key。","开始使用 Mossland API","预计维持 (按近 {n} 天均值估算)","API Reference","上传参考音频后才能运行。","用户 ID","场景指南","全部 API","即将上线","会话加载出错，请重试。","暂无可用模型。","复制完整 API Key","时长","编辑","创建时间","API Key 已更新","API key 名称","运行请求经服务端注入所选 key，明文 key 不经过浏览器。","模型服务调用失败，请稍后重试。","创建失败，请刷新后重试。",{"id":238,"title":239,"api_group":240,"body":241,"description":1326,"draft":1327,"endpoint":263,"extension":1328,"hide_next":1327,"hide_toc":1327,"locale":4,"meta":1329,"method":264,"model_id":1330,"model_version":1330,"nav_category":206,"nav_group":1331,"nav_order":1332,"navigation":1333,"path":1334,"published":1333,"seo":1335,"stem":1336,"translation_key":1337,"translation_status":1338,"__hash__":1339},"docs\u002Fdocs\u002Freference\u002Fstreaming-speech.mdc","流式语音生成","audio",{"type":242,"value":243,"toc":1307},"minimark",[244,247,260,279,283,341,344,366,369,466,469,596,599,821,824,843,857,862,942,945,984,987,1022,1025,1039,1042,1050,1052,1077,1081,1158,1161,1172,1175,1282,1285,1303],[245,246,239],"h1",{"id":239},[248,249,250,251,255,256,259],"p",{},"使用 TTS 1.5 Flash 进行低延迟流式语音生成。该能力与单人语音生成使用相同 Endpoint，通过 ",[252,253,254],"code",{},"version=flash-20260626"," 和 ",[252,257,258],{},"stream=true"," 启用。",[261,262,265],"endpoint-card",{"endpoint":263,"method":264},"\u002Fv1\u002Faudio\u002Fspeech","POST",[248,266,267,268,271,272,275,276,278],{},"请求体为 JSON。",[252,269,270],{},"stream_format=sse"," 返回 SSE；省略 ",[252,273,274],{},"stream_format"," 或传 ",[252,277,240],{}," 时返回原始 PCM 字节流。",[280,281,282],"h2",{"id":282},"认证",[284,285,290,301],"auth-requirement",{"copy-error-label":198,"copy-label":286,"copy-success-label":287,"example-label":288,"language":289},"复制示例","已复制到剪贴板","示例","bash",[291,292,294],"template",{"v-slot:description":293},"",[248,295,296,297,300],{},"在请求头中加入 ",[252,298,299],{},"Authorization: Bearer \u003CAPI_KEY>"," 完成鉴权，密钥可在控制台「API 密钥」页生成。",[302,303,306],"pre",{"className":304,"code":305,"language":289,"meta":293,"style":293},"language-bash shiki shiki-themes github-light github-dark","curl https:\u002F\u002Fapi.mosi.cn\u002Fv1\u002Faudio\u002Fspeech \\\n  -H \"Authorization: Bearer $MOSS_API_KEY\"\n",[252,307,308,325],{"__ignoreMap":293},[309,310,313,317,321],"span",{"class":311,"line":312},"line",1,[309,314,316],{"class":315},"sScJk","curl",[309,318,320],{"class":319},"sZZnC"," https:\u002F\u002Fapi.mosi.cn\u002Fv1\u002Faudio\u002Fspeech",[309,322,324],{"class":323},"sj4cs"," \\\n",[309,326,328,331,334,338],{"class":311,"line":327},2,[309,329,330],{"class":323},"  -H",[309,332,333],{"class":319}," \"Authorization: Bearer ",[309,335,337],{"class":336},"sVt8B","$MOSS_API_KEY",[309,339,340],{"class":319},"\"\n",[280,342,343],{"id":343},"支持模型",[345,346,349,358],"model-support",{"field-label":347,"value-label":348},"字段","允许值",[350,351,353],"model-row",{"field":352},"model",[248,354,355],{},[252,356,357],{},"moss-tts",[350,359,361],{"field":360},"version",[248,362,363],{},[252,364,365],{},"flash-20260626",[280,367,368],{"id":368},"启用条件与约束",[370,371,372,380,388,397,406,414,421,427,440,457],"ul",{},[373,374,375,376,379],"li",{},"必须精确传入小写 ",[252,377,378],{},"model=moss-tts","，大小写不会被归一化。",[373,381,382,384,385,387],{},[252,383,360],{}," 必填，必须传 ",[252,386,365],{},"。",[373,389,390,393,394,387],{},[252,391,392],{},"stream"," 必填，必须为 ",[252,395,396],{},"true",[373,398,399,402,403,387],{},[252,400,401],{},"response_format"," 必填，当前仅支持 ",[252,404,405],{},"pcm",[373,407,408,410,411,387],{},[252,409,270],{}," 返回 SSE，每帧为 ",[252,412,413],{},"data: JSON Event",[373,415,416,417,275,419,278],{},"省略 ",[252,418,274],{},[252,420,240],{},[373,422,423,426],{},[252,424,425],{},"sample_rate"," 不是公开请求参数，传入非零值会在创建任务前返回参数错误。",[373,428,429,431,432,435,436,439],{},[252,430,258],{}," 不支持和 ",[252,433,434],{},"async=true"," 同时使用，非空 ",[252,437,438],{},"webhook_url"," 也不支持流式调用。",[373,441,442,445,446,445,449,452,453,456],{},[252,443,444],{},"voice_url","、",[252,447,448],{},"voice_data",[252,450,451],{},"file_id"," 不支持流式调用，只能使用 ",[252,454,455],{},"voice_id"," 指定音色 ID。",[373,458,459,255,462,465],{},[252,460,461],{},"delivery_method",[252,463,464],{},"aigc_metadata"," 当前在流式路径中不会生效，请勿传入。",[280,467,468],{"id":468},"请求字段",[470,471,475,485,493,499,525,531,550,559,568,575],"parameter-table",{"desc-label":472,"field-label":347,"required-label":473,"type-label":474},"说明","必填","类型",[476,477,480],"field-row",{"name":352,"required":478,"type":479},"是","string",[248,481,482,483,387],{},"必须为精确小写值 ",[252,484,357],{},[476,486,487],{"name":360,"required":478,"type":479},[248,488,489,490,492],{},"必须传 ",[252,491,365],{},"；不传该版本无法启用 TTS 1.5 Flash 流式语音生成。",[476,494,496],{"name":495,"required":478,"type":479},"input",[248,497,498],{},"待合成文本。",[476,500,502],{"name":455,"required":501,"type":479},"否",[248,503,504,505,510,511,518,519,521,522,524],{},"音色 ID；可通过 ",[506,507,509],"a",{"href":508},"\u002Fdocs\u002Freference\u002Fvoices-list","查询音色列表"," 获取；也可前往 ",[506,512,517],{"href":513,"rel":514,"target":516},"https:\u002F\u002Fstudio.mosi.cn\u002Fvoice\u002Flibrary",[515],"nofollow","_blank","Mossland 音色库","，在音色卡片上点击复制图标获取。TTS 只接受音色 ID，不支持 ",[252,520,444],{}," \u002F ",[252,523,448],{},"，也不接受内联音频或参考音频。",[476,526,528],{"name":527,"required":501,"type":479},"language",[248,529,530],{},"语言提示，去除首尾空白后传给模型。",[476,532,535],{"name":533,"required":501,"type":534},"speed","number",[248,536,537,538,541,542,545,546,549],{},"语速，默认 ",[252,539,540],{},"1","，范围 ",[252,543,544],{},"0.25","-",[252,547,548],{},"4","；超出范围返回参数错误。",[476,551,553],{"name":552,"required":501,"type":534},"expected_duration_sec",[248,554,555,556,387],{},"期望音频时长，单位秒；传入时必须大于 ",[252,557,558],{},"0",[476,560,562],{"name":392,"required":478,"type":561},"boolean",[248,563,564,565,567],{},"设为 ",[252,566,396],{}," 启用 TTS 1.5 Flash 流式语音生成。",[476,569,570],{"name":401,"required":478,"type":479},[248,571,572,573,387],{},"流式请求当前仅支持 ",[252,574,405],{},[476,576,577],{"name":274,"required":501,"type":479},[248,578,579,581,582,585,586,588,589,591,592,595],{},[252,580,240],{}," 或 ",[252,583,584],{},"sse","；默认 ",[252,587,240],{},"，返回原始 PCM 字节；",[252,590,584],{}," 返回 ",[252,593,594],{},"data:"," JSON Event。",[280,597,598],{"id":598},"请求示例",[600,601,602,731],"api-example",{},[603,604,606],"mosi-tab",{"label":605,"value":584},"SSE",[607,608,610],"mosi-code-block",{"copy-error-label":198,"copy-label":609,"copy-success-label":287,"language":289},"复制代码",[302,611,613],{"className":304,"code":612,"language":289,"meta":293,"style":293},"curl --no-buffer -X POST \"https:\u002F\u002Fapi.mosi.cn\u002Fv1\u002Faudio\u002Fspeech\" \\\n  -H \"Authorization: Bearer $MOSS_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"moss-tts\",\n    \"version\": \"flash-20260626\",\n    \"input\": \"欢迎使用 Mossland API。\",\n    \"voice_id\": \"\u003Cvoice_id>\",\n    \"language\": \"zh\",\n    \"speed\": 1,\n    \"expected_duration_sec\": 3,\n    \"stream\": true,\n    \"response_format\": \"pcm\",\n    \"stream_format\": \"sse\"\n  }'\n",[252,614,615,633,646,656,665,671,677,683,689,695,701,707,713,719,725],{"__ignoreMap":293},[309,616,617,619,622,625,628,631],{"class":311,"line":312},[309,618,316],{"class":315},[309,620,621],{"class":323}," --no-buffer",[309,623,624],{"class":323}," -X",[309,626,627],{"class":319}," POST",[309,629,630],{"class":319}," \"https:\u002F\u002Fapi.mosi.cn\u002Fv1\u002Faudio\u002Fspeech\"",[309,632,324],{"class":323},[309,634,635,637,639,641,644],{"class":311,"line":327},[309,636,330],{"class":323},[309,638,333],{"class":319},[309,640,337],{"class":336},[309,642,643],{"class":319},"\"",[309,645,324],{"class":323},[309,647,649,651,654],{"class":311,"line":648},3,[309,650,330],{"class":323},[309,652,653],{"class":319}," \"Content-Type: application\u002Fjson\"",[309,655,324],{"class":323},[309,657,659,662],{"class":311,"line":658},4,[309,660,661],{"class":323},"  -d",[309,663,664],{"class":319}," '{\n",[309,666,668],{"class":311,"line":667},5,[309,669,670],{"class":319},"    \"model\": \"moss-tts\",\n",[309,672,674],{"class":311,"line":673},6,[309,675,676],{"class":319},"    \"version\": \"flash-20260626\",\n",[309,678,680],{"class":311,"line":679},7,[309,681,682],{"class":319},"    \"input\": \"欢迎使用 Mossland API。\",\n",[309,684,686],{"class":311,"line":685},8,[309,687,688],{"class":319},"    \"voice_id\": \"\u003Cvoice_id>\",\n",[309,690,692],{"class":311,"line":691},9,[309,693,694],{"class":319},"    \"language\": \"zh\",\n",[309,696,698],{"class":311,"line":697},10,[309,699,700],{"class":319},"    \"speed\": 1,\n",[309,702,704],{"class":311,"line":703},11,[309,705,706],{"class":319},"    \"expected_duration_sec\": 3,\n",[309,708,710],{"class":311,"line":709},12,[309,711,712],{"class":319},"    \"stream\": true,\n",[309,714,716],{"class":311,"line":715},13,[309,717,718],{"class":319},"    \"response_format\": \"pcm\",\n",[309,720,722],{"class":311,"line":721},14,[309,723,724],{"class":319},"    \"stream_format\": \"sse\"\n",[309,726,728],{"class":311,"line":727},15,[309,729,730],{"class":319},"  }'\n",[603,732,734],{"label":733,"value":240},"原始 PCM",[607,735,736],{"copy-error-label":198,"copy-label":609,"copy-success-label":287,"language":289},[302,737,739],{"className":304,"code":738,"language":289,"meta":293,"style":293},"curl --no-buffer -X POST \"https:\u002F\u002Fapi.mosi.cn\u002Fv1\u002Faudio\u002Fspeech\" \\\n  -H \"Authorization: Bearer $MOSS_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"moss-tts\",\n    \"version\": \"flash-20260626\",\n    \"input\": \"欢迎使用 Mossland API。\",\n    \"voice_id\": \"\u003Cvoice_id>\",\n    \"stream\": true,\n    \"response_format\": \"pcm\"\n  }' \\\n  --output speech.pcm\n",[252,740,741,755,767,775,781,785,789,793,797,801,806,813],{"__ignoreMap":293},[309,742,743,745,747,749,751,753],{"class":311,"line":312},[309,744,316],{"class":315},[309,746,621],{"class":323},[309,748,624],{"class":323},[309,750,627],{"class":319},[309,752,630],{"class":319},[309,754,324],{"class":323},[309,756,757,759,761,763,765],{"class":311,"line":327},[309,758,330],{"class":323},[309,760,333],{"class":319},[309,762,337],{"class":336},[309,764,643],{"class":319},[309,766,324],{"class":323},[309,768,769,771,773],{"class":311,"line":648},[309,770,330],{"class":323},[309,772,653],{"class":319},[309,774,324],{"class":323},[309,776,777,779],{"class":311,"line":658},[309,778,661],{"class":323},[309,780,664],{"class":319},[309,782,783],{"class":311,"line":667},[309,784,670],{"class":319},[309,786,787],{"class":311,"line":673},[309,788,676],{"class":319},[309,790,791],{"class":311,"line":679},[309,792,682],{"class":319},[309,794,795],{"class":311,"line":685},[309,796,688],{"class":319},[309,798,799],{"class":311,"line":691},[309,800,712],{"class":319},[309,802,803],{"class":311,"line":697},[309,804,805],{"class":319},"    \"response_format\": \"pcm\"\n",[309,807,808,811],{"class":311,"line":703},[309,809,810],{"class":319},"  }'",[309,812,324],{"class":323},[309,814,815,818],{"class":311,"line":709},[309,816,817],{"class":323},"  --output",[309,819,820],{"class":319}," speech.pcm\n",[280,822,823],{"id":823},"流式响应",[248,825,826,828,829,831,832,835,836,838,839,275,841,278],{},[252,827,270],{}," 返回 SSE，每一帧的 ",[252,830,594],{}," 后都是一个 JSON Event。",[252,833,834],{},"type"," 是事件判别字段，客户端应根据 ",[252,837,834],{}," 选择对应字段结构。省略 ",[252,840,274],{},[252,842,240],{},[248,844,845,846,849,850,853,854,856],{},"部分接入链路会先返回 ",[252,847,848],{},"task.created","，部分会直接从 ",[252,851,852],{},"speech.created"," 开始。客户端必须以每帧的 ",[252,855,834],{}," 为准，不要依赖固定的首个事件。",[858,859,861],"h3",{"id":860},"sse-event-types","SSE Event Types",[863,864,865,880],"table",{},[866,867,868],"thead",{},[869,870,871,875,877],"tr",{},[872,873,874],"th",{},"Event Type",[872,876,472],{},[872,878,879],{},"终态",[881,882,883,895,906,918,930],"tbody",{},[869,884,885,890,893],{},[886,887,888],"td",{},[252,889,848],{},[886,891,892],{},"流式任务创建成功后可能返回；并非所有接入链路都会发送",[886,894,501],{},[869,896,897,901,904],{},[886,898,899],{},[252,900,852],{},[886,902,903],{},"声明后续 PCM 音频分片的格式参数",[886,905,501],{},[869,907,908,913,916],{},[886,909,910],{},[252,911,912],{},"speech.audio.delta",[886,914,915],{},"Base64 编码的 PCM 音频分片，可能返回零个或多个",[886,917,501],{},[869,919,920,925,928],{},[886,921,922],{},[252,923,924],{},"speech.audio.done",[886,926,927],{},"TTS 正常流的终态事件，收到后可结束 SSE 读取",[886,929,478],{},[869,931,932,937,940],{},[886,933,934],{},[252,935,936],{},"error",[886,938,939],{},"流已经开始后发生失败时返回，收到后停止读取",[886,941,478],{},[858,943,848],{"id":944},"taskcreated",[946,947,949,956,962,970,979],"response-schema",{"desc-label":472,"field-label":347,"required-label":948,"type-label":474},"必返",[476,950,951],{"name":834,"required":478,"type":479},[248,952,953,954,387],{},"固定为 ",[252,955,848],{},[476,957,959],{"name":958,"required":478,"type":479},"task_id",[248,960,961],{},"AGW 创建的流式任务 ID。",[476,963,965],{"name":964,"required":478,"type":479},"object",[248,966,953,967,387],{},[252,968,969],{},"audio.speech",[476,971,973],{"name":972,"required":478,"type":479},"status",[248,974,975,976,387],{},"创建时通常为 ",[252,977,978],{},"PROCESSING",[476,980,981],{"name":352,"required":478,"type":479},[248,982,983],{},"客户端请求使用的公开模型名。",[858,985,852],{"id":986},"speechcreated",[946,988,989,995,1004,1010,1016],{"desc-label":472,"field-label":347,"required-label":948,"type-label":474},[476,990,991],{"name":834,"required":478,"type":479},[248,992,953,993,387],{},[252,994,852],{},[476,996,998],{"name":997,"required":478,"type":479},"format",[248,999,1000,1001,1003],{},"当前必须为 ",[252,1002,405],{},"；其他值会使流失败。",[476,1005,1007],{"name":425,"required":478,"type":1006},"integer",[248,1008,1009],{},"采样率，单位 Hz；必须为正数并满足 WAV 参数范围，以下游事件为准。",[476,1011,1013],{"name":1012,"required":478,"type":1006},"channels",[248,1014,1015],{},"声道数；必须为正数并满足 WAV 参数范围，以下游事件为准。",[476,1017,1019],{"name":1018,"required":478,"type":1006},"bit_depth",[248,1020,1021],{},"位深；必须为正数、能被 8 整除并满足 WAV 参数范围，以下游事件为准。",[858,1023,912],{"id":1024},"speechaudiodelta",[946,1026,1027,1033],{"desc-label":472,"field-label":347,"required-label":948,"type-label":474},[476,1028,1029],{"name":834,"required":478,"type":479},[248,1030,953,1031,387],{},[252,1032,912],{},[476,1034,1036],{"name":240,"required":1035,"type":479},"正常应有",[248,1037,1038],{},"非空时为 Base64 编码的 PCM 字节分片；当前实现允许空字符串，客户端应忽略空分片。",[858,1040,924],{"id":1041},"speechaudiodone",[946,1043,1044],{"desc-label":472,"field-label":347,"required-label":948,"type-label":474},[476,1045,1046],{"name":834,"required":478,"type":479},[248,1047,953,1048,387],{},[252,1049,924],{},[858,1051,936],{"id":936},[946,1053,1054,1060,1065,1071],{"desc-label":472,"field-label":347,"required-label":948,"type-label":474},[476,1055,1056],{"name":834,"required":478,"type":479},[248,1057,953,1058,387],{},[252,1059,936],{},[476,1061,1062],{"name":936,"required":1035,"type":964},[248,1063,1064],{},"错误详情。",[476,1066,1068],{"name":1067,"required":501,"type":479},"error.code",[248,1069,1070],{},"机器可读错误码。",[476,1072,1074],{"name":1073,"required":501,"type":479},"error.message",[248,1075,1076],{},"错误说明。",[858,1078,1080],{"id":1079},"原始-pcm-响应头","原始 PCM 响应头",[863,1082,1083,1096],{},[866,1084,1085],{},[869,1086,1087,1089,1091,1094],{},[872,1088,347],{},[872,1090,474],{},[872,1092,1093],{},"出现条件",[872,1095,472],{},[881,1097,1098,1116,1130,1144],{},[869,1099,1100,1105,1108,1111],{},[886,1101,1102],{},[252,1103,1104],{},"Content-Type",[886,1106,1107],{},"HTTP header",[886,1109,1110],{},"必有",[886,1112,953,1113,387],{},[252,1114,1115],{},"audio\u002Fpcm",[869,1117,1118,1123,1125,1127],{},[886,1119,1120],{},[252,1121,1122],{},"X-Sample-Rate",[886,1124,1107],{},[886,1126,1110],{},[886,1128,1129],{},"原始 PCM 采样率，客户端必须按该值解释音频。",[869,1131,1132,1137,1139,1141],{},[886,1133,1134],{},[252,1135,1136],{},"X-Channels",[886,1138,1107],{},[886,1140,1110],{},[886,1142,1143],{},"原始 PCM 声道数。",[869,1145,1146,1151,1153,1155],{},[886,1147,1148],{},[252,1149,1150],{},"X-Bit-Depth",[886,1152,1107],{},[886,1154,1110],{},[886,1156,1157],{},"原始 PCM 位深。",[280,1159,1160],{"id":1160},"响应示例",[607,1162,1165],{"copy-error-label":198,"copy-label":609,"copy-success-label":287,"language":1163,"title":1164},"text","SSE 与原始 PCM",[302,1166,1170],{"className":1167,"code":1169,"language":1163,"meta":293},[1168],"language-text","# SSE 响应示例：请求中传 stream_format=sse\nContent-Type: text\u002Fevent-stream; charset=utf-8\n\n# 部分接入链路会省略 task.created，直接从 speech.created 开始\ndata: {\"type\":\"task.created\",\"task_id\":\"task-123\",\"object\":\"audio.speech\",\"status\":\"PROCESSING\",\"model\":\"moss-tts\"}\n\ndata: {\"type\":\"speech.created\",\"format\":\"pcm\",\"sample_rate\":48000,\"channels\":1,\"bit_depth\":16}\n\ndata: {\"type\":\"speech.audio.delta\",\"audio\":\"BASE64_PCM_CHUNK\"}\n\ndata: {\"type\":\"speech.audio.done\"}\n\n# 原始 PCM 响应示例：省略 stream_format 或传 stream_format=audio\nContent-Type: audio\u002Fpcm\nX-Sample-Rate: 48000\nX-Channels: 1\nX-Bit-Depth: 16\n\n\u003Craw pcm bytes>\n",[252,1171,1169],{"__ignoreMap":293},[280,1173,1174],{"id":1174},"错误与断连语义",[370,1176,1177,1186,1197,1213,1223,1238,1251,1261,1264,1273,1276,1279],{},[373,1178,1179,1182,1183,1185],{},[252,1180,1181],{},"missing_required_field","：",[252,1184,495],{}," 缺失或去除首尾空白后为空。",[373,1187,1188,521,1191,1193,1194,1196],{},[252,1189,1190],{},"unsupported_response_format",[252,1192,401],{},"：流式请求未显式使用 ",[252,1195,405],{},"，或传入其他音频格式。",[373,1198,1199,521,1202,1182,1204,1206,1207,1209,1210,1212],{},[252,1200,1201],{},"unsupported_stream",[252,1203,392],{},[252,1205,274],{}," 非 ",[252,1208,240],{},"\u002F",[252,1211,584],{},"，或解析出的模型不支持流式调用。",[373,1214,1215,521,1218,1220,1221,387],{},[252,1216,1217],{},"unsupported_for_stream",[252,1219,425],{},"：流式请求传入非零 ",[252,1222,425],{},[373,1224,1225,521,1228,1182,1230,1232,1233,545,1235,1237],{},[252,1226,1227],{},"invalid_range",[252,1229,533],{},[252,1231,533],{}," 不在 ",[252,1234,544],{},[252,1236,548],{}," 范围内。",[373,1239,1240,521,1243,1182,1245,1247,1248,1250],{},[252,1241,1242],{},"unsupported_with_async",[252,1244,392],{},[252,1246,258],{}," 与 ",[252,1249,434],{}," 同时传入。",[373,1252,1253,521,1256,1258,1259,387],{},[252,1254,1255],{},"unsupported_with_webhook",[252,1257,392],{},"：流式请求传入非空 ",[252,1260,438],{},[373,1262,1263],{},"请求校验、模型解析、流式能力检查和任务创建错误发生在响应开始前，返回标准 JSON 错误。",[373,1265,1266,1267,1269,1270,1272],{},"SSE 在 ",[252,1268,924],{}," 前失败时发送 ",[252,1271,936],{}," 数据帧并结束连接。",[373,1274,1275],{},"原始 PCM 在响应头或音频已写入后失败时只能结束连接，已返回的 PCM 可能不完整。",[373,1277,1278],{},"客户端断开会终止当前 HTTP 流；不同接入链路可能取消上游请求，也可能只取消当前订阅。客户端不要假定生成任务一定继续或一定被取消。",[373,1280,1281],{},"原始 PCM 场景不能只凭 EOF 判断音频是否完整。",[280,1283,1284],{"id":1284},"下一步",[1286,1287,1289,1296],"feature-card-grid",{"columns":1288},"2",[1290,1291,1293],"feature-card",{"href":508,"title":509,"variant":1292},"action",[248,1294,1295],{},"查询当前账号可用音色列表。",[1290,1297,1300],{"href":1298,"title":1299,"variant":1292},"\u002Fdocs\u002Freference\u002Ftranscriptions","音频转写",[248,1301,1302],{},"音频转写接口。",[1304,1305,1306],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":293,"searchDepth":327,"depth":327,"links":1308},[1309,1310,1311,1312,1313,1314,1323,1324,1325],{"id":282,"depth":327,"text":282},{"id":343,"depth":327,"text":343},{"id":368,"depth":327,"text":368},{"id":468,"depth":327,"text":468},{"id":598,"depth":327,"text":598},{"id":823,"depth":327,"text":823,"children":1315},[1316,1317,1318,1319,1320,1321,1322],{"id":860,"depth":648,"text":861},{"id":944,"depth":648,"text":848},{"id":986,"depth":648,"text":852},{"id":1024,"depth":648,"text":912},{"id":1041,"depth":648,"text":924},{"id":936,"depth":648,"text":936},{"id":1079,"depth":648,"text":1080},{"id":1160,"depth":327,"text":1160},{"id":1174,"depth":327,"text":1174},{"id":1284,"depth":327,"text":1284},"使用 TTS 1.5 Flash 低延迟流式生成语音；POST \u002Fv1\u002Faudio\u002Fspeech，支持 SSE 与原始 PCM。",false,"mdc",{"model":357},null,"reference",51,true,"\u002Fdocs\u002Freference\u002Fstreaming-speech",{"title":239,"description":1326},"docs\u002Freference\u002Fstreaming-speech","reference\u002Fstreaming-speech","source","rARz8gEMkzt5T0RDUStsN2QLRogejy7P_N5KRJImeQ4",[1341,1346,1351,1356,1360,1365,1369,1373,1377,1381,1385,1390,1393,1397,1401,1405,1409,1414,1418,1423,1427,1431,1435,1439,1443,1448,1451,1455,1459,1463,1467,1472,1476,1481,1485,1491,1495,1500,1503,1507,1511,1512,1516,1519,1523,1526,1529,1533,1537,1542,1546,1551,1555,1559,1563,1568,1572,1576,1580,1585],{"path":1342,"title":1343,"description":1344,"nav_group":1345,"nav_order":697,"method":1330,"nav_category":1330},"\u002Fdocs\u002Ferrors-and-limits\u002Ferror-codes","错误码","\u002Fv1 同步错误采用 error 结构；异步失败采用内部标准错误结构。","errors-and-limits",{"path":1347,"title":1348,"description":1349,"nav_group":1350,"nav_order":697,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fgetting-started\u002Foverview","API 概览","Mossland API \u002Fv1 音频接口总览：核心概念与接口清单。","getting-started",{"path":1352,"title":1353,"description":1354,"nav_group":1355,"nav_order":697,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fmodels\u002Foverview","模型概览","MOSI 平台语音模型按语音生成 \u002F 语音识别分类总览。","models",{"path":1357,"title":1358,"description":1359,"nav_group":1331,"nav_order":697,"method":1330,"nav_category":1330},"\u002Fdocs\u002Freference","API 参考总览","Mossland API 参考分区入口，按操作列出模型、文件、语音生成、语音识别、音色管理与任务接口。",{"path":1361,"title":1362,"description":1363,"nav_group":1364,"nav_order":697,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fscenarios\u002Fsingle-voice","单人语音生成","将一段文本合成为单一音色的语音，适合旁白、客服话术、播报和有声内容生成。","scenarios",{"path":1366,"title":1367,"description":1368,"nav_group":1345,"nav_order":697,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Ferrors-and-limits\u002Ferror-codes","Error Codes","\u002Fv1 synchronous errors use the error structure; asynchronous failures use an internal standard error structure.",{"path":1370,"title":1371,"description":1372,"nav_group":1350,"nav_order":697,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fgetting-started\u002Foverview","API Overview","An overview of the Mossland API \u002Fv1 audio endpoints — core concepts and the endpoint catalog.",{"path":1374,"title":1375,"description":1376,"nav_group":1355,"nav_order":697,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fmodels\u002Foverview","Model Overview","An overview of MOSI platform speech models across speech generation and speech recognition.",{"path":1378,"title":1379,"description":1380,"nav_group":1331,"nav_order":697,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Freference","API Reference Overview","Entry point for the Mossland API reference section, listing model, file, speech, transcription, voice, and task operations by capability.",{"path":1382,"title":1383,"description":1384,"nav_group":1364,"nav_order":697,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fscenarios\u002Fsingle-voice","Single-Speaker Speech Generation","Synthesize a piece of text into speech with a single voice, suited to narration, customer-service scripts, announcements, and audio content generation.",{"path":1386,"title":1387,"description":1388,"nav_group":1345,"nav_order":1389,"method":1330,"nav_category":1330},"\u002Fdocs\u002Ferrors-and-limits\u002Flimits","请求限制","网关、文件服务、模型服务和计费系统共同决定的公开 API 稳定约束。",20,{"path":1391,"title":282,"description":1392,"nav_group":1350,"nav_order":1389,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fgetting-started\u002Fauth","Mossland API \u002Fv1 的 API Key 鉴权、获取步骤、请求头与严格入参约束。",{"path":1394,"title":1395,"description":1396,"nav_group":1364,"nav_order":1389,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fscenarios\u002Fdialogue","多人对话语音生成","将多角色对话文本合成为完整对话音频，适合播客、角色扮演、有声书和课程对话。",{"path":1398,"title":1399,"description":1400,"nav_group":1345,"nav_order":1389,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Ferrors-and-limits\u002Flimits","Request Limits","The stable constraints of the public API, jointly determined by the gateway, file service, model service, and billing system.",{"path":1402,"title":1403,"description":1404,"nav_group":1350,"nav_order":1389,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fgetting-started\u002Fauth","Authentication","API Key authentication for the Mossland API \u002Fv1, how to obtain a key, request headers, and strict input constraints.",{"path":1406,"title":1407,"description":1408,"nav_group":1364,"nav_order":1389,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fscenarios\u002Fdialogue","Multi-Speaker Dialogue Speech Generation","Synthesize multi-character dialogue text into complete dialogue audio, suited to podcasts, role-play, audiobooks, and course dialogues.",{"path":1410,"title":1411,"description":1412,"nav_group":1345,"nav_order":1413,"method":1330,"nav_category":1330},"\u002Fdocs\u002Ferrors-and-limits\u002Fcallback-rules","回调安全规则","异步任务通过 webhook_url 回调终态结果，URL 必须是公网可访问的 HTTPS 地址。",30,{"path":1415,"title":1416,"description":1417,"nav_group":1350,"nav_order":1413,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fguides\u002Fquickstart","快速开始：单人语音生成","五步完成 Mossland API \u002Fv1\u002Faudio\u002Fspeech 接入，生成首个单人语音。",{"path":1419,"title":1420,"description":1421,"nav_group":1331,"nav_order":1413,"method":1422,"nav_category":55},"\u002Fdocs\u002Freference\u002Fmodels","查询模型列表","列出当前租户可用的模型；GET \u002Fv1\u002Fmodels，只做 list，不提供 model detail。","GET",{"path":1424,"title":1425,"description":1426,"nav_group":1364,"nav_order":1413,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fscenarios\u002Fvoice-design","音色设计","通过自然语言描述声音风格，并将文本生成对应风格的语音。",{"path":1428,"title":1429,"description":1430,"nav_group":1345,"nav_order":1413,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Ferrors-and-limits\u002Fcallback-rules","Callback Security Rules","Asynchronous tasks deliver terminal-state results via webhook_url; the URL must be a publicly accessible HTTPS address.",{"path":1432,"title":1433,"description":1434,"nav_group":1350,"nav_order":1413,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fguides\u002Fquickstart","Quickstart: Single-Speaker Speech Generation","Complete the Mossland API \u002Fv1\u002Faudio\u002Fspeech integration in five steps and generate your first single-speaker speech.",{"path":1436,"title":1437,"description":1438,"nav_group":1331,"nav_order":1413,"method":1422,"nav_category":55},"\u002Fen\u002Fdocs\u002Freference\u002Fmodels","List Models","List the models available to the current tenant; GET \u002Fv1\u002Fmodels, list only, no model detail.",{"path":1440,"title":1441,"description":1442,"nav_group":1364,"nav_order":1413,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fscenarios\u002Fvoice-design","Voice Design","Describe a voice style in natural language and generate speech from text in the corresponding style.",{"path":1444,"title":1445,"description":1446,"nav_group":1350,"nav_order":1447,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fgetting-started\u002Fasync-tasks","同步、异步与任务查询","同步请求直接返回结果；async=true 创建异步任务，用服务端返回的 task_id 查询。",40,{"path":1449,"title":26,"description":1450,"nav_group":1331,"nav_order":1447,"method":264,"nav_category":124},"\u002Fdocs\u002Freference\u002Ffiles-create","上传文件到平台资产体系；POST \u002Fv1\u002Ffiles，返回 file_id 供 ASR 等大文件场景复用。",{"path":1452,"title":1453,"description":1454,"nav_group":1364,"nav_order":1447,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fscenarios\u002Fvoice-clone","克隆音色","上传一段参考音频文件（multipart audio_sample），创建可复用的 voice_id，供后续 TTS 或 TTSD 使用。",{"path":1456,"title":1457,"description":1458,"nav_group":1350,"nav_order":1447,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fgetting-started\u002Fasync-tasks","Synchronous, Asynchronous, and Task Queries","Synchronous requests return results directly; async=true creates an asynchronous task, queried with the server-returned task_id.",{"path":1460,"title":1461,"description":1462,"nav_group":1331,"nav_order":1447,"method":264,"nav_category":124},"\u002Fen\u002Fdocs\u002Freference\u002Ffiles-create","Upload File","Upload a file into the platform asset system; POST \u002Fv1\u002Ffiles returns a file_id for reuse in ASR and other large-file scenarios.",{"path":1464,"title":1465,"description":1466,"nav_group":1364,"nav_order":1447,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fscenarios\u002Fvoice-clone","Clone a Voice","Upload a reference audio file (multipart audio_sample) to create a reusable voice_id for later use in TTS or TTSD.",{"path":1468,"title":1469,"description":1470,"nav_group":1331,"nav_order":1471,"method":1422,"nav_category":124},"\u002Fdocs\u002Freference\u002Ffiles-list","查询文件列表","分页查询当前租户上传的文件；GET \u002Fv1\u002Ffiles，支持 limit \u002F offset \u002F purpose 过滤。",41,{"path":1473,"title":1474,"description":1475,"nav_group":1331,"nav_order":1471,"method":1422,"nav_category":124},"\u002Fen\u002Fdocs\u002Freference\u002Ffiles-list","List Files","Paginated query of files uploaded by the current tenant; GET \u002Fv1\u002Ffiles supports limit \u002F offset \u002F purpose filtering.",{"path":1477,"title":1478,"description":1479,"nav_group":1331,"nav_order":1480,"method":1422,"nav_category":124},"\u002Fdocs\u002Freference\u002Ffile-detail","查询文件详情","查询单个文件的元信息；GET \u002Fv1\u002Ffiles\u002F{file_id}，返回 file 对象。",42,{"path":1482,"title":1483,"description":1484,"nav_group":1331,"nav_order":1480,"method":1422,"nav_category":124},"\u002Fen\u002Fdocs\u002Freference\u002Ffile-detail","Get File","Query the metadata of a single file; GET \u002Fv1\u002Ffiles\u002F{file_id}; returns a file object.",{"path":1486,"title":1487,"description":1488,"nav_group":1331,"nav_order":1489,"method":1490,"nav_category":124},"\u002Fdocs\u002Freference\u002Ffile-delete","删除文件","删除文件记录与资产引用；DELETE \u002Fv1\u002Ffiles\u002F{file_id}。",43,"DELETE",{"path":1492,"title":1493,"description":1494,"nav_group":1331,"nav_order":1489,"method":1490,"nav_category":124},"\u002Fen\u002Fdocs\u002Freference\u002Ffile-delete","Delete File","Delete the file record and its asset reference; DELETE \u002Fv1\u002Ffiles\u002F{file_id}.",{"path":1496,"title":1497,"description":1498,"nav_group":1350,"nav_order":1499,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fgetting-started\u002Flegacy-migration","旧接口迁移","从旧 \u002Fapi\u002Fv1 任务模型迁移到当前 \u002Fv1 音频接口的路径与字段对照。",50,{"path":1501,"title":1362,"description":1502,"nav_group":1331,"nav_order":1499,"method":264,"nav_category":206},"\u002Fdocs\u002Freference\u002Fspeech","文本转语音；POST \u002Fv1\u002Faudio\u002Fspeech，voice_id 只接受 voice id。",{"path":1504,"title":1505,"description":1506,"nav_group":1350,"nav_order":1499,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fgetting-started\u002Flegacy-migration","Legacy Endpoint Migration","Path and field mapping for migrating from the legacy \u002Fapi\u002Fv1 task model to the current \u002Fv1 audio endpoints.",{"path":1508,"title":1509,"description":1510,"nav_group":1331,"nav_order":1499,"method":264,"nav_category":206},"\u002Fen\u002Fdocs\u002Freference\u002Fspeech","Single-speaker Speech","Text-to-speech; POST \u002Fv1\u002Faudio\u002Fspeech, voice_id accepts only a voice id.",{"path":1334,"title":239,"description":1326,"nav_group":1331,"nav_order":1332,"method":264,"nav_category":206},{"path":1513,"title":1514,"description":1515,"nav_group":1331,"nav_order":1332,"method":264,"nav_category":206},"\u002Fen\u002Fdocs\u002Freference\u002Fstreaming-speech","Streaming Speech","Generate low-latency streaming speech with TTS 1.5 Flash; POST \u002Fv1\u002Faudio\u002Fspeech supports SSE and raw PCM.",{"path":1298,"title":1299,"description":1517,"nav_group":1331,"nav_order":1518,"method":264,"nav_category":165},"语音识别；POST \u002Fv1\u002Faudio\u002Ftranscriptions，支持 moss-transcribe 同步转写与 moss-transcribe-diarize 说话人分离（非流式 \u002F 流式 SSE）。",60,{"path":1520,"title":1521,"description":1522,"nav_group":1331,"nav_order":1518,"method":264,"nav_category":165},"\u002Fen\u002Fdocs\u002Freference\u002Ftranscriptions","Create Transcription","Speech recognition; POST \u002Fv1\u002Faudio\u002Ftranscriptions, supports moss-transcribe synchronous transcription and moss-transcribe-diarize speaker separation (non-streaming \u002F streaming SSE).",{"path":508,"title":509,"description":1524,"nav_group":1331,"nav_order":1525,"method":1422,"nav_category":132},"查询当前租户可用音色；GET \u002Fv1\u002Faudio\u002Fvoices，返回 list 对象。",70,{"path":1527,"title":1299,"description":1528,"nav_group":1364,"nav_order":1525,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fscenarios\u002Ftranscribe","将音频转换为文本，适合会议、访谈、语音消息和媒体内容处理。",{"path":1530,"title":1531,"description":1532,"nav_group":1331,"nav_order":1525,"method":1422,"nav_category":132},"\u002Fen\u002Fdocs\u002Freference\u002Fvoices-list","List Voices","Query the voices available to the current tenant; GET \u002Fv1\u002Faudio\u002Fvoices returns a list object.",{"path":1534,"title":1535,"description":1536,"nav_group":1364,"nav_order":1525,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fscenarios\u002Ftranscribe","Audio Transcription","Convert audio into text — ideal for meetings, interviews, voice messages, and media content processing.",{"path":1538,"title":1539,"description":1540,"nav_group":1331,"nav_order":1541,"method":264,"nav_category":132},"\u002Fdocs\u002Freference\u002Fvoices-create","创建音色","以音频样本创建\u002F克隆音色；POST \u002Fv1\u002Faudio\u002Fvoices，仅支持 multipart audio_sample。",71,{"path":1543,"title":1544,"description":1545,"nav_group":1331,"nav_order":1541,"method":264,"nav_category":132},"\u002Fen\u002Fdocs\u002Freference\u002Fvoices-create","Create Voice","Create\u002Fclone a voice from an audio sample; POST \u002Fv1\u002Faudio\u002Fvoices supports only multipart audio_sample.",{"path":1547,"title":1548,"description":1549,"nav_group":1331,"nav_order":1550,"method":264,"nav_category":206},"\u002Fdocs\u002Freference\u002Fspeakers","多人语音生成","多说话人 TTS；POST \u002Fv1\u002Faudio\u002Fspeech\u002Fspeakers，speakers 声明音色 + segments 分句。",80,{"path":1552,"title":1553,"description":1554,"nav_group":1364,"nav_order":1550,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fscenarios\u002Ftranscribe-diarization","多说话人转写","将多说话人音频转为带说话人信息的转写结果，适合会议、访谈和播客。",{"path":1556,"title":1557,"description":1558,"nav_group":1331,"nav_order":1550,"method":264,"nav_category":206},"\u002Fen\u002Fdocs\u002Freference\u002Fspeakers","Multi-speaker Speech","Multi-speaker TTS; POST \u002Fv1\u002Faudio\u002Fspeech\u002Fspeakers, speakers declares the voices and segments splits the lines.",{"path":1560,"title":1561,"description":1562,"nav_group":1364,"nav_order":1550,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fscenarios\u002Ftranscribe-diarization","Multi-Speaker Transcription","Convert multi-speaker audio into transcription results with speaker information — ideal for meetings, interviews, and podcasts.",{"path":1564,"title":1565,"description":1566,"nav_group":1331,"nav_order":1567,"method":264,"nav_category":132},"\u002Fdocs\u002Freference\u002Fvoice-generations","音色生成","据文本与 instruction 生成音色\u002F语音预览；POST \u002Fv1\u002Faudio\u002Fvoice\u002Fgenerations。",90,{"path":1569,"title":1570,"description":1571,"nav_group":1364,"nav_order":1567,"method":1330,"nav_category":1330},"\u002Fdocs\u002Fscenarios\u002Fasync-callback","异步回调","当任务耗时较长或不希望客户端阻塞等待时，传入 async=true 和 webhook_url 接收终态结果。",{"path":1573,"title":1574,"description":1575,"nav_group":1331,"nav_order":1567,"method":264,"nav_category":132},"\u002Fen\u002Fdocs\u002Freference\u002Fvoice-generations","Generate Voice","Generate a voice \u002F speech preview from text and an instruction; POST \u002Fv1\u002Faudio\u002Fvoice\u002Fgenerations.",{"path":1577,"title":1578,"description":1579,"nav_group":1364,"nav_order":1567,"method":1330,"nav_category":1330},"\u002Fen\u002Fdocs\u002Fscenarios\u002Fasync-callback","Asynchronous Callbacks","When a task takes a long time or you don't want the client to block and wait, pass async=true and webhook_url to receive the terminal result.",{"path":1581,"title":1582,"description":1583,"nav_group":1331,"nav_order":1584,"method":1422,"nav_category":149},"\u002Fdocs\u002Freference\u002Faudio-task","查询任务","查询通用音频异步任务；GET \u002Fv1\u002Faudio\u002Ftasks\u002F{task_id}，成功结果展开在顶层，不包在 result 字段中。",120,{"path":1586,"title":1587,"description":1588,"nav_group":1331,"nav_order":1584,"method":1422,"nav_category":149},"\u002Fen\u002Fdocs\u002Freference\u002Faudio-task","Get Task","Query a general audio asynchronous task; GET \u002Fv1\u002Faudio\u002Ftasks\u002F{task_id}; successful results are expanded at the top level, not wrapped in a result field.",[1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1611,1612,1613,1614,1615,1616,1617,1618,1619,1620,1621,1622,1623,1624,1625,1626,1627,1628,1629,1630,1631,1632,1633,1634,1635,1636,1637,1638,1639,1640,1641,1642,1643,1644,1645,1646,1647,1648,1649],{"path":1410},{"path":1342},{"path":1386},{"path":1444},{"path":1391},{"path":1496},{"path":1347},{"path":1415},{"path":1352},{"path":1581},{"path":1486},{"path":1477},{"path":1449},{"path":1468},{"path":1357},{"path":1419},{"path":1547},{"path":1501},{"path":1334},{"path":1298},{"path":1564},{"path":1538},{"path":508},{"path":1569},{"path":1394},{"path":1361},{"path":1527},{"path":1552},{"path":1452},{"path":1424},{"path":1428},{"path":1366},{"path":1398},{"path":1456},{"path":1402},{"path":1504},{"path":1370},{"path":1432},{"path":1374},{"path":1586},{"path":1492},{"path":1482},{"path":1460},{"path":1473},{"path":1378},{"path":1436},{"path":1556},{"path":1508},{"path":1513},{"path":1520},{"path":1573},{"path":1543},{"path":1530},{"path":1577},{"path":1406},{"path":1382},{"path":1534},{"path":1560},{"path":1464},{"path":1440},1784888495534]