[{"data":1,"prerenderedAt":6009},["ShallowReactive",2],{"mosiI18n":3,"docs:\u002Fen\u002Fdocs\u002Freference\u002Fvl-realtime":674,"docs:navigation":5687,"docs:published-paths":5918},{"locale":4,"resources":5},"en-US",{"en-US":6},{"10002823":7,"10011158":8,"10013013":9,"10026153":10,"10101414":11,"10110081":12,"10112913":13,"10115365":14,"10127104":15,"10128154":16,"10131153":17,"10138994":18,"10140239":19,"10141113":20,"10141411":21,"10141500":22,"10141569":23,"10145711":24,"10148131":25,"10151589":26,"10159010":27,"10185597":28,"10277562":29,"10314103":30,"10336149":31,"10381912":32,"10414215":33,"10423715":34,"10431014":35,"10461115":36,"10513157":37,"10514813":38,"10515601":39,"10613513":40,"10627315":41,"10681241":42,"10748121":43,"10751193":44,"10939155":45,"10965993":46,"10987064":47,"11015141":48,"11028133":49,"11041270":50,"11095710":51,"11101214":52,"11101321":53,"11101539":54,"11108144":55,"11111386":56,"11111415":57,"11112142":58,"11113111":59,"11113144":60,"11115121":61,"11117201":62,"11120106":63,"11121013":64,"11121311":65,"11121423":66,"11125108":67,"11131313":68,"11133599":69,"11138156":70,"11142133":71,"11154113":72,"11221221":73,"11233135":74,"11243911":75,"11281114":76,"11283111":77,"11311513":78,"11312152":79,"11331069":80,"11331371":81,"11341099":82,"11342126":83,"11374381":84,"11412612":85,"11415106":86,"11418128":87,"11421315":88,"11471412":89,"11476950":90,"11490910":91,"11498141":92,"11510150":93,"11513114":94,"11543447":95,"11563101":96,"11565501":97,"11612154":98,"11612821":99,"11647155":100,"11691311":101,"11711211":102,"11813109":103,"11813118":104,"11878412":105,"11902107":106,"11941001":107,"12013124":108,"12026211":109,"12042111":110,"12044158":111,"12081517":112,"12100151":113,"12101010":114,"12101131":115,"12103117":116,"12106856":117,"12109113":118,"12111106":119,"12113301":120,"12113551":121,"12115118":122,"12121239":123,"12125023":124,"12126158":125,"12131048":126,"12131513":127,"12141106":128,"12141129":129,"12142081":130,"12149722":131,"12150414":132,"12151213":133,"12153811":134,"12179133":135,"12195710":136,"12215101":137,"12261471":138,"12310901":139,"12314101":140,"12383514":141,"12410612":142,"12413215":143,"12463631":144,"12474110":145,"12510848":146,"12536911":147,"12541246":148,"12561051":149,"12611148":150,"12641310":151,"12651461":152,"12684414":153,"12713121":154,"12771248":155,"12801351":156,"12814011":157,"12911910":158,"12981411":159,"12987141":160,"13013071":161,"13041512":162,"13101061":163,"13105901":164,"13106510":165,"13113044":166,"13114912":167,"13121148":168,"13121481":169,"13124136":170,"13131276":171,"13131363":172,"13131545":173,"13132144":174,"13138186":175,"13151180":176,"13152831":177,"13290915":178,"13314551":179,"13410713":180,"13412611":181,"13441491":182,"13471551":183,"13512501":184,"13515510":185,"13591491":186,"13611115":187,"13620701":188,"13730815":189,"13812214":190,"13911612":191,"13912133":192,"14013111":193,"14101083":194,"14104112":195,"14108671":196,"14109128":197,"14111068":198,"14111410":199,"14112871":200,"14123124":201,"14131171":202,"14131214":203,"14131313":204,"14131412":205,"14133115":206,"14136212":207,"14141014":208,"14141513":209,"14151331":210,"14151927":211,"14156313":212,"14180111":213,"14211106":214,"14215115":215,"14239121":216,"14281461":217,"14313706":218,"14410039":219,"14413121":210,"14420110":220,"14479127":221,"14484131":222,"14510490":223,"14531071":224,"14541392":225,"14553315":226,"14605110":227,"14670421":228,"14713398":229,"14752109":230,"14766515":231,"14810112":232,"14813150":233,"14813195":234,"14921191":235,"14927151":236,"14941521":237,"14966133":238,"15031311":239,"15061311":240,"15085133":241,"15101241":242,"15101365":243,"15102881":244,"15113141":245,"15121511":246,"15123414":247,"15128130":248,"15131411":249,"15141112":250,"15141164":251,"15143128":252,"15145414":253,"15171550":254,"15221201":255,"15231112":256,"15362121":257,"15413111":258,"15413780":259,"15531415":260,"15605101":261,"15613911":262,"15627615":263,"15671112":264,"15729111":265,"15811751":266,"15891815":267,"15911101":268,"15912711":269,"15915315":270,"15961571":271,"17215117":272,"18128111":273,"18931213":274,"19064413":275,"19101114":276,"19149761":277,"19152130":278,"20104410":279,"20312081":280,"20441112":173,"20871277":281,"21002147":282,"21021214":283,"21113531":284,"21115723":285,"21127141":286,"21157107":287,"21200917":288,"21201910":289,"21211451":290,"21213015":291,"21236313":173,"21351347":292,"21361551":293,"21412531":294,"21431261":295,"21434141":296,"21510111":297,"21514014":298,"21515101":299,"21539462":300,"21591310":301,"21801001":302,"22100141":303,"22130158":304,"22611106":35,"22961102":305,"23072712":306,"23131514":307,"23161551":308,"23189135":309,"23942757":310,"23972510":311,"24014158":312,"24112111":313,"24113132":314,"24141413":315,"24151261":316,"26121231":317,"26841151":318,"26871212":319,"27132121":320,"27568131":321,"28030146":322,"28131115":323,"28212141":324,"28251011":325,"28384137":326,"29315030":327,"29525115":328,"29787911":329,"30614139":330,"31011812":331,"31014127":259,"31111521":332,"31115885":333,"31131367":334,"31207765":335,"31212610":336,"31212934":337,"31212941":338,"31214933":339,"31294114":340,"31312312":341,"31410213":342,"31413862":343,"31426211":344,"31511527":345,"31513471":346,"31551411":347,"31561041":348,"31562131":349,"31571113":350,"31948521":351,"32108107":352,"32119732":353,"32123146":354,"32241515":355,"32440814":356,"32871477":357,"33122111":358,"33155113":359,"33412201":360,"33650118":361,"33831071":362,"34015463":363,"35102151":364,"35151210":365,"35271281":173,"35713610":366,"36014108":367,"36153310":368,"37127101":369,"39314124":370,"39571112":371,"39755130":372,"39932152":373,"40311055":374,"40911131":375,"41015141":376,"41091471":377,"41110912":378,"41115155":379,"41136131":380,"41193153":381,"41210714":382,"41229331":383,"41271212":384,"41313151":385,"41381211":386,"41410151":387,"41710101":388,"42101139":389,"42113596":390,"42121271":391,"42694155":392,"43121445":393,"43134136":394,"44914151":395,"45106131":396,"45121022":397,"45139121":398,"45149898":399,"45151411":400,"46159804":401,"46694711":402,"47153546":403,"48114129":404,"48124111":405,"48147894":406,"48511101":407,"49271053":408,"49814113":331,"50141015":409,"50146910":410,"50731491":411,"51011111":412,"51012791":413,"51021210":414,"51031412":415,"51062133":416,"51089711":417,"51110132":418,"51113512":419,"51153329":420,"51253741":421,"51255106":422,"51313109":423,"51314877":424,"51315413":425,"51333111":426,"51341413":427,"51393714":421,"51450135":158,"51471446":428,"51521215":429,"52126118":430,"52141211":431,"52386413":432,"52530401":433,"53101314":434,"53137715":435,"53311011":436,"53514613":437,"54121084":438,"54152111":439,"55629230":440,"56440672":441,"56781111":442,"57212154":443,"58125691":444,"58851212":445,"59151401":446,"60011076":447,"60120151":448,"60126015":449,"60253838":450,"61026551":451,"61061337":452,"61113981":40,"61138251":453,"61221013":454,"61231441":292,"61312915":455,"61338101":456,"61410144":457,"61410145":458,"61410453":459,"61411944":460,"61414131":461,"61415701":462,"61431043":463,"61491114":464,"61494103":465,"61501413":466,"61510741":467,"61513010":468,"61514142":469,"61531411":470,"61541340":471,"61552121":472,"61591201":473,"62121011":474,"62141210":265,"62149158":475,"62151146":476,"62312157":477,"63139013":478,"63201141":479,"64080313":480,"65122220":481,"65410661":482,"66141410":313,"66151513":483,"67104697":484,"67314145":485,"68014144":486,"69141148":487,"69211530":488,"69415013":489,"69570410":490,"70083783":491,"70214151":41,"71011421":492,"71013126":493,"71015513":494,"71102161":495,"71115131":496,"71144141":497,"71171209":498,"71296911":499,"71341091":500,"71382811":501,"71401516":502,"71412715":503,"71501001":504,"71514149":505,"71515102":506,"71541212":507,"72218515":508,"73075237":509,"73299253":510,"74124314":511,"74601421":512,"74685121":513,"75112694":514,"75133152":515,"75313811":516,"76050649":517,"76141115":518,"76151511":519,"78101312":520,"78151413":521,"78411581":522,"79112123":523,"79128056":524,"80141314":525,"80721112":526,"81000900":527,"81002814":528,"81010346":529,"81052659":530,"81085421":485,"81101214":531,"81135311":532,"81138901":533,"81161515":534,"81184338":535,"81201129":536,"81214101":537,"81215910":538,"81253413":539,"81311111":540,"81312151":541,"81323312":542,"81413601":543,"81514715":544,"81561581":356,"81589148":545,"81661365":546,"81665121":547,"82136112":548,"82215113":549,"83134005":550,"83761411":551,"84313056":552,"84335610":553,"84411812":554,"85121352":555,"85135104":556,"85412059":557,"86101182":558,"86137210":559,"86141428":560,"86144931":561,"87328178":562,"87611141":563,"87764711":564,"87915568":565,"88002231":566,"88106151":567,"88137214":568,"89115104":569,"89145141":570,"89512135":571,"89612915":572,"89771179":573,"90101310":574,"90610856":575,"91013010":576,"91015387":577,"91064637":578,"91073208":579,"91111414":580,"91111997":581,"91113111":582,"91113112":583,"91115374":584,"91145551":585,"91160143":586,"91190412":587,"91210411":588,"91213116":589,"91314612":590,"91316410":591,"91341173":592,"91381014":593,"91381541":594,"91412428":595,"91413141":596,"91501341":597,"91507132":598,"91510028":599,"91511441":600,"91535710":601,"91563791":602,"92122444":603,"92212107":604,"92515613":605,"92661550":606,"93140611":607,"93191131":608,"94190813":609,"94613512":610,"95101510":611,"95945134":612,"97111013":613,"97848298":614,"98151476":615,"98153132":616,"98583131":617,"99389112":618,"99414011":619,"99561087":620,"01269122":621,"01191415":622,"01056101":623,"01140234":198,"01184512":624,"01514514":625,"01981430":626,"02141491":627,"02269571":628,"03117111":629,"03121214":630,"03155210":631,"04109514":632,"05183656":633,"07141286":634,"07148165":635,"07541155":636,"01273151":637,"07131161":638,"05611115":639,"07131125":640,"00610531":641,"01037912":642,"08151373":643,"02931149":644,"03101284":645,"01012451":646,"06121230":647,"01360934":648,"01191112":649,"03111211":650,"04121412":651,"01458111":652,"05132141":653,"01212315":654,"04136118":655,"00121448":656,"01560612":657,"01312151":658,"02140891":659,"01413914":660,"05514821":519,"01144151":661,"08151514":662,"05346112":663,"05125181":664,"09215507":665,"01211714":666,"01553391":667,"07312511":668,"01412121":669,"05118211":670,"01471403":671,"05361121":672,"02141068":673},"Model usage overview","Multi-speaker input","Minimum charge","Output tokens","Documentation error","Close search","Ask about docs or what you want to build…","Select an API key before running.","API Platform","Purchase credit packages online","MOSI API Platform console","Before August 18: Includes combined Mossland and API usage.","Credits can only be issued once per order to prevent duplicate crediting.","Close assistant","View API platform usage, credit consumption, and rankings.","Each request is billed by actual usage. CNY prices are for reference; the credit ledger is authoritative.","Model pricing","credits upon registration (about 10 images or 5 seconds of video, valid for 30 days)","Call Moss API models directly in the browser and preview requests and responses.","Enter at least one valid segment","Load more","This promotion is open to both new and existing users, with no first-top-up restrictions. Purchases of eligible tiers during the promotion receive the discount.","File is too large. The maximum size is {size}MB.","confirm delete","View model usage methodology","{n} days","Uploading and cloning the voice…","Verify now","Last 7 days","Invalid voice_id. Check the voice ID you entered, or copy a valid voice_id from the Voice Library and try again.","Call MOSI models directly in the browser and preview requests and responses.","If you have any questions, scan the QR code on this page or go to “Personal Center” to contact customer service.","Could not get an upload address. Try again.","Docs navigation","Playground","Contact Customer Service","View details","Raw JSON","Credits","Usage overview","This answer has already been rated.","Select a model","《\"Mossland\" Paid Services Agreement》","Up to {n} speakers","Console home","Mossland usage is not associated with an API Key and is only available as an aggregate.","Create key","{n}","Rendered result","Select and upload an audio sample before running.","input","Compact upload failed","Dialogue script","New users receive","Upload file","Uploaded image {n}","Voice design","Credit balance","{size} \u002F page","Clear","Disabled","Pick a voice in the","Basic transcription","API integration","Search docs, endpoints, fields…","The voice is being cloned. Please wait.","Put one line of dialogue on each line and use {tags} to mark the speaker; untagged lines continue with the previous speaker. Tag formats such as {shorthand} are also supported.","Input text is required","Output","Enterprise verification successful","This key has expired and cannot be enabled","View API usage, credit balance, and pricing at any time","Log in to view data","Switch language","Account menu","Usage analytics","Fill in {label} before running.","Bring your inspiration to life with sound","This week","{range}, usage summarized by model","{count} \u002F {limit} created","Log in","No access","Unable to read the audio duration. Choose another wav \u002F mp3 file.","Sign in with your Mossland account to manage API keys and usage","No matching results.","Choose a credit package and view model pricing.","Cumulative credits used","Submit rating only","Total requests","Remove {speaker}","You do not have permission to use this feature.","Disable","Ask a follow-up…","{n} succeeded","Sign in to use the docs assistant and retain your conversations.","voice_id for {speaker}","Feature request","Retry","Log in daily to claim","Preview progress","Loading request records…","This conversation no longer exists. Start a new chat.","CNY price","Contact us","API Keys","Enterprise Solutions","Please help me analyze these images","Upload failed. Select the file again.","The audio or video file cannot be empty.","First-purchase bonuses apply only to the first purchase of each credit package. Packages are priced in CNY and API usage is billed in credits; each call is charged by actual usage or the stated minimum, whichever is higher.","Console stats","Submit issue","Select","Other Source","Select a valid start and end date.","Other communities","Searching…","Buy","Request ID","Sign in to continue","Log in now to claim","Uploading…","Sign the contract and complete verification, then pay according to the contract","Top models","All APIs (can call every API available to this account)","Trace ID","API key created — save it now","Moss API console","segments","Reach global markets with one-stop multilingual recognition and dubbing","Compact drag-and-drop upload","Only JPEG, PNG and WebP images are supported.","Multimodal understanding","Reading audio duration…","{speaker} is still used by the script — remove those lines first","Close announcement","CNY {price}","Pay {amount}","Select an audio source","Approx. CNY {price} \u002F credit","Prices are shown in CNY. API usage is settled in credits.","Earlier","Reference audio (required)","Sign in with Mossland","stream","Customer Service WeChat QR Code","Too many requests. Please try again later.","Open","Endpoint","Edit API key","Previous","Models","Unable to load QR code","Console","Loading","Resources","Please select","Sign in to buy credit packages","Failed to load","Payment failed. Please try again.","Ask Moss docs AI","The actual payment amount and credits received are based on the information shown on the payment page.","Transcription","High transaction volume in this range; trend and rankings are aggregated from the most recent batch and are approximate.","Voice ID","Buy Credits","response_format","Text","Enabled","More models","Other","Combined image size must not exceed 20 MB.",", and make your first call","Use {apiDocs} for integration guides, then create an {apiKey} to connect your application","Name","Promotion eligibility and pricing are determined by the time the payment succeeds. All times are based on Beijing Time (UTC+8).","Delete conversation","Today","Input characters","The streaming audio player will be enabled once the backend streaming API is ready.","Sign in to the Moss Open Platform console to manage API keys, track usage and credits, and call MOSS-TTS, MOSS-Transcribe-Diarize, MOSS-VL, MOVA and other multimodal model APIs.","\"{label}\" is not valid JSON. Fix it before running.","Start integrating the API","Save {discount}%","Not verified","For example {speaker}: Welcome to today’s show.","Complete payment within {countdown}; this order will be automatically canceled when time expires.","New chat","Content type","Verification expired","API Reference","Request preview","Enter the legal representative ID number","Copy {label}","Pay ¥{amount}","View API platform credit balance, request stats, and recent calls.","Executing skill…","Send","Actions","Alipay payment QR code","Invalid voice_id for {speakers}: {voiceId}. Copy a working voice_id from the voice library and retry.","Deletion failed. Please try again.","Purchased credits are valid for one year from the purchase date.","The file is uploading. Please wait.","Refresh conversations","Request details","File upload failed. Select the file again.","API key created","The new Mossland API platform is live — migrate from the legacy \u002Fapi\u002Fv1 endpoints to the new \u002Fv1 endpoints.","Reference audio (optional)","Click or drag a file here to upload","Create an API key, see the ","Enter a voice_id for {speaker}","Failed to load API Keys. Please retry.","expected_duration_sec","Speech generation {n}%","What can I help you with?","{count} more results not shown.","Log in \u002F Sign up","“Mossland” login","Failed to load credit packages. Please try again.","0.10 credits","Moss API Console｜Moss Open Platform","speakers","What was wrong with this answer?","Basic Information","Configuration","Personal top-up","Download audio","Learn about billing and top-ups","No usage data yet.","MOSS-TTS-V1.0 Pro, MOSS-TTS-V1.5 Flash, MOSS-TTSD","Moss API Docs home","Scan the QR code to reach an enterprise advisor for custom quotas, dedicated services, SLAs, and technical support","The script references an unconfigured speaker: line {line}, {speaker}. Add {speaker} first, or edit that line.","This credit top-up promotion is a limited-time offer, so enjoy it early. The platform reserves the right of final interpretation regarding the promotion period.","Filter by time range and source. Usage for the same model ID is combined; credits reflect the actual amount consumed by that model within the selected range.","Join the {community} for technical Q&A and credit reward activities","Legal representative ID number","Scan to add customer service","Models: {models}","Select a model above first.","Extra + {credits} credits","Complete enterprise verification to enable business purchasing","Voice cloning · Continuation · Pause control · Pronunciation correction","Payee","The {countdown} payment window has ended. Confirming payment status…","Search is temporarily unavailable. Please try again later.","Disable API key?","Running…","credits · valid today","API Docs","Choose a credit package that fits your needs. Credits can be used for all API calls.","Enterprise solutions","A vast library of preset voices for dubbing, podcasts, games, and more","Input audio\u002Fvideo duration","Key","Last 30 days","Verification failed","Select an API key before uploading.","Failed to initialize the payment service. Please try again.","Copy Markdown","Loading usage data…","Orders with failed or canceled payments will not be charged or receive credits and can be purchased again.","time","Upload audio sample","Try now","Audio processing","Open docs navigation","Log in now","Engine time","Audio source","Home","Input","The response is incomplete. Your question is preserved.","Credit package list","A possible secret key was detected. Redact it before sending.","No API keys yet. Create one to start calling the API.","File ID","Image did not pass review","Legal representative name","Payment successful. Processing…","Operation failed. Please try again later.","Cancel","Credits used this month","All times are shown in Beijing Time (GMT+8). Usage data is updated daily and is typically synchronized by the following day.","Complete enterprise verification to use enterprise payment","Audio input","Search docs…","Collapse all","Expired","Data for this dimension pending backend support","This conversation cannot be restored after deletion. Delete it?","Delete","Price: ¥{amount}","API key enabled","Input text","After verification, you can purchase credits by corporate bank transfer.","Purchase and Billing Rules","You can attach up to 4 images per message.","Credits charged","API Key","Your session has expired. Sign in to continue.","Usage & Credits","API requests","Credit balance: {balance}","View usage source information","Copy rendered result","On this page","Select an API Key","Get credits","Documentation","Voice library","Credit usage trend","Helpful","Loading models…","Reason","Credit expiration date","Failed","The dialogue script cannot exceed {n} characters","List Voices","Default voice","This source is not associated with an API Key and does not provide request details.","Log out","Response","No matching API keys found","Each image must be no larger than 10 MB.","Create API key","Voice source","Close rating","Failed to load enterprise payment information. Please try again.","Usage stats","Input tokens","instruction","Avatar","Open Playground","Delivery","¥2.00 \u002F hour","Close","The content did not pass review. Please rephrase your question and try again.","Supports WAV \u002F MP3 up to 512MB","Docs sections","The audio file cannot be empty.","Generation failed. Your question is preserved.","Delete this API key?","Your account does not have access to this page.","Line {line}: dialogue text cannot contain a bracketed tag like [{speaker}]","Upload sample","Copied","Token throughput","Mossland","Compact uploading","Quickstart","First-purchase benefit","File upload failed. Check your network and try again.","Code","Verify again","Submit verification","Platform Home","and copy its voice_id.","Confirm","Announcement placeholder — final content coming soon.","Requests","TTS speech synthesis","Back to chat","Files","Uploading","Credit cost","Try models in {playground} and quickly preview the results","Disable {name}","Enter your question","Requests today","Failed to query the payment order. Please try again.","Console navigation","Log in to claim credits","No API Keys available yet.","Content is AI-generated and does not represent the platform's positions or views.","Mossland,","Unknown","Custom","Unclear","Bytes","Upload and clone again","Voice management","Creating order…","Thinking","Issue type","Enter a file ID","Frequently asked questions","Bank","English version not yet available","Mossland and History Usage","The image did not pass content review. Please use a different image and try again.","No credit packages available for purchase","Describe the issue with this answer, up to 500 characters.","View Details","Incorrect answer","Console menu","Enter the text to synthesize.","If the payment result is delayed, the order will show “Processing.” Credits will be issued automatically after the system receives the callback. Please do not make a duplicate payment.","Loading…","After disabling \"{name}\", API requests made with this key will fail immediately. The key itself is not changed, and you can enable it again later.","Billing basis","View usage","Permission scope","Failed to retry payment. Please try again.","Account center","Platform navigation","Calls all APIs enabled for your account by default. Configuring individual permissions is not yet supported.","credits, valid for the day","Select an API key before uploading and cloning.","Credits are valid for one year from the purchase date.","Errors & limits","Capability","All","Unnamed user","Recent requests","The full key is shown only once at creation. If you suspect a leak, delete this key immediately and create a new one.","Daily average spend","Usage data","All API Keys","Quick links","Upload complete","Audio must be shorter than {duration} seconds.","Copy answer","Tasks","Intelligent workflows empower more creation","Back to top","Enter a valid legal representative ID number","Close docs navigation","Unified Social Credit Code","Upload timed out. Try a more stable network or a smaller file.","Request example","Request failed. Check your connection and try again.","View migration guide","Back","Credits purchased during the promotion have the same validity period as credits normally purchased in the corresponding tier.","Select a voice source","¥0.80 \u002F hour","Clone a temporary voice for this generation only. WAV \u002F MP3, up to {size}MB.","Please enter","Your session has expired. Please sign in again.","MOSS-Transcribe, MOSS-Transcribe-Diarize","Developer Community","Line {line} has no dialogue text","{credits} credits total · approx. CNY {price} \u002F credit","Credits topped up successfully.","The full key is shown only this once and cannot be viewed again after closing. Please store it safely.","Response stopped","📢 The first top-up buy-one-get-one offer ends at 8:00 PM on September 10","Resize assistant","Make your first request with moss-tts-1.5.","16 credits \u002F hour","No more actions","Enable {name}","Enterprise verification failed. Please verify again.","Create one","Credit Packages","Refunds are handled according to the platform's refund policy. Credits associated with the order will be deducted or adjusted based on the outcome.","Developer guide","¥{amount}","Enter the legal representative name","Additional details","Welcome to Mossland API","Phone number","Speaker diarization","Image unavailable","Loading API Keys…","Last 5 requests","{total} in total","Copy","Status","Personal Information","Failed to submit verification. Please try again later.","Speech recognition","You have reached the API Key limit ({limit}). Delete an unused Key and try again.","Available credits","Next","Invalid voice_id: check the voice IDs for {speakers}, or copy a working voice_id from the voice library and retry.","Custom quotas, dedicated services, SLAs, and technical support for enterprise plans","Company name","Enterprise payment","Expand all","Thanks. Your feedback will help improve answers.","Nickname","No requests yet.","Available after verification","Markdown copied to clipboard","File activation failed. Upload the file again.","All Sources include API Key usage and Mossland usage.","Select a model to use it in the playground.","Continue","Daily login reward","Audio URL","For top-up-related questions, scan the QR code in \"Personal Center\" to add customer service.","Leave empty to use the default voice","Preview","Get started","Search by name or key suffix","Corporate payment details","Billing & Usage","Email","Retry upload","Search docs","Join the {community} to claim more bonus credits.","API usage is billed in credits; CNY is used only to purchase credit packages.","Run","Loading chart…","Copy failed","Start date","By paying, you agree to {agreement}","Pricing","Copy page Markdown","The upload address has expired. Try again.","{credits} Credits","Audio transcription","Not helpful","Audio synthesis","Credits will not be deducted if generation fails.","Understand an error or screenshot","During the promotion, all users can enjoy top-up discounts: 10% off the 188 tier, 15% off the 398 tier, and 20% off the 788 tier.","API Key verification is temporarily unavailable. Please try again later.","Success rate (24h)","{n} valid segments","To confirm, type “{text}”","Top endpoints","Time","Model ID","Usage filters","Voice generation","Clone a temporary voice. WAV \u002F MP3, up to {size}MB and shorter than {duration} seconds.","40 credits \u002F hour","Credit Details","Pause","Outdated","Not resolved","Enter keywords to search all documentation.","Line {line} uses an unsupported speaker — use S01 to S05","Select a model on the left and enter your input; results appear here after you run.","Retry payment","Scan to join the MOSS Developer Community for Q&A, discussions, and credit giveaway events.","Choose file","Choose a model or API","Failed to load models. Please try again later.","Loading credit packages…","Estimated to last {days} days (based on the recent {window}-day average)","Default","Voice ID copied","Loading API keys…","The selected API Key is unavailable (disabled or expired). Please select another.","Failed to load enterprise payment information","Remove image","Copy failed, please retry","Line {line} looks like an unfinished speaker tag — just add a colon, e.g. {speaker}: dialogue","Loading QR code…","Enterprise verification failed. Check the information and try again.","Enter the Unified Social Credit Code","Pause preview","Download WAV","Compact upload successful","Search results","Resize panels","Basics","End date","Voice cloning failed. Upload the file again.","Request failed. Please try again later.","Stable voice cloning with a controlled generation experience","API key deleted","Stop generating","No conversations yet","Verified","Buy {credits}","vs. yesterday","Text to speech","The new Moss API platform is live — migrate from the legacy \u002Fapi\u002Fv1 endpoints to the new \u002Fv1 endpoints.","Run failed. Please try again later.","After August 18: Includes only Mossland usage.","Response view","Credits used","Select again","Expiry date","The order has expired. Please pay again.","Spent today","Moss docs assistant","Manage your profile on Mossland","Custom quotas for enterprise workloads, with dedicated service, SLA, and technical support.","Manage API platform access keys.","Development","Use Alipay to scan and pay {amount}","Add images","More actions","Active API keys","The order was canceled. Please pay again.","All Sources","Voice cloned. The request preview has been updated.","Only wav \u002F mp3 audio files are supported.","Billing check failed — usually this means you are out of credits. Use “Get credits” in the top right and retry; if your balance is fine, the billing service may be unstable, so try again shortly.","Line {line} has no speaker tag — try {speaker}:","Irrelevant source","Product issue","delivery_method","Close the login credits panel","Failed to load your credit balance. Please try again.","Enterprise verification has expired. Please verify again.","Billing issue","Release to upload","Run parameters","Enterprise advisor WeChat QR code","Prev \u002F Next","Enter the 18-character Unified Social Credit Code","API key disabled","Creator Community","The API key \"{name}\" will be disabled immediately. API requests made with this key will be rejected, which may break any systems still relying on it. Once deleted, the key cannot be recovered and you will no longer be able to view or modify it.","Welcome to Moss API","Get started with the Moss API","Est. runway (based on {n}-day average)","Upload reference audio to run.","User ID","Use cases","All APIs","Coming soon","Session failed to load. Please retry.","No models available.","Copy full API key","Duration","Edit","Created at","API key updated","API key name","Runs inject the selected key on the server — the plaintext key never passes through the browser.","Model service call failed. Please try again later.","Creation failed. Refresh and try again.","voice_id (optional)","Frozen","All statuses","Creation failed. Please try again later.","Input text cannot exceed 1,500 characters","Clone a voice for the current Playground session. Supports wav \u002F mp3 files up to {size}MB.","Speaker","Paste a voice_id","Add a speaker","Get started with the Mossland API","Following a platform-wide pricing update, prices for some audio models will increase at 19:00 on September 22. See {link} for the exact scope and rates.","Enterprise verification","Complete all verification fields with valid information","Enter the company name","Bank account","Developer community WeChat QR code","Supports {formats} audio and video files up to {size}MB.","Unsupported file format. Upload an audio or video file in one of these formats: {formats}.","¥2.00 \u002F 10K characters","40 credits \u002F 10K characters","0.02 credits","Use the lower-left {mosslandLogin} to claim {credits} credits, valid for the day","Developer Quickstart","Success","times","Usage Source Information","Before August 18, the two sources were not tracked separately, so they cannot be calculated independently.","Account credits","Copy Voice ID","Chat history","Image dimensions must be 64–8192 pixels. Check that the image is not corrupted.","Copy failed. Please try again.","Reload conversation","Skill execution completed",{"id":675,"title":676,"api_group":677,"body":678,"description":685,"draft":5675,"endpoint":684,"extension":5676,"hide_next":5675,"hide_toc":5675,"locale":4,"meta":5677,"method":686,"model_id":5678,"model_version":5678,"nav_category":5679,"nav_group":5680,"nav_order":2349,"navigation":709,"path":5681,"published":709,"seo":5682,"stem":5683,"translation_key":5684,"translation_status":5685,"__hash__":5686},"docs\u002Fen\u002Fdocs\u002Freference\u002Fvl-realtime.mdc","Realtime video understanding","multimodal",{"type":679,"value":680,"toc":5666},"minimark",[681,5662],[682,683,688,693,697,743,752,756,834,841,845,1017,1021,1259,1263,1312,1316,1325,1396,1400,1483,1489,5635],"reference-layout",{"category":140,"endpoint":684,"lead":685,"method":686,"section-label":687,"title":676},"\u002Fv1\u002Frealtime","Continuously send image frames and questions over WebSocket and receive incremental text events. This is a visual understanding protocol, incompatible with audio Realtime, and is not SSE.","WSS","API reference",[689,690,692],"h2",{"id":691},"connection-and-authentication","Connection and authentication",[694,695,696],"p",{},"Upgrade an HTTP GET request to WebSocket. Connect to wss:\u002F\u002Fapi.mosi.cn\u002Fv1\u002Frealtime with the model query parameter specifying the model; place the API Key only in the Authorization request header.",[698,699,704,731],"parameter-table",{"desc-label":700,"field-label":701,"required-label":702,"type-label":703},"Description","Field","Required","Type",[705,706,712,715],"field-row",{"name":707,"type":708,"required":709,"collapse-label":710,"expand-label":711},"model","string",true,"Hide possible values","Show 2 possible values",[694,713,714],{},"Model ID. Pass a stable or snapshot ID in the WebSocket connection's model query parameter",[716,717,719,725],"template",{"v-slot:children":718},"",[705,720,722],{"name":721},"\"moss-vl-realtime-1.0\"",[694,723,724],{},"Stable Model ID for realtime video understanding.",[705,726,728],{"name":727},"\"moss-vl-realtime-1.0-2026-09-09\"",[694,729,730],{},"Snapshot Model ID pinned to the 2026-09-09 version.",[705,732,735],{"name":733,"type":734,"required":709},"Authorization","HTTP header",[694,736,737,738,742],{},"Bearer ",[739,740,741],"code",{},"\u003CAPI Key>","; query parameters and WebSocket subprotocols are not supported for authentication",[744,745,749],"mosi-banner",{"icon":746,"type":747,"title":748},"warning-outline","warning","Browser connection limitation",[694,750,751],{},"This endpoint requires Authorization authentication during the WebSocket handshake. Connect from your server and never expose the API Key in browser code.",[689,753,755],{"id":754},"session-flow","Session flow",[757,758,759,775],"table",{},[760,761,762],"thead",{},[763,764,765,769,772],"tr",{},[766,767,768],"th",{},"Stage",[766,770,771],{},"Client",[766,773,774],{},"Server events and checks",[776,777,778,790,801,812,823],"tbody",{},[763,779,780,784,787],{},[781,782,783],"td",{},"Connect",[781,785,786],{},"Complete the WebSocket handshake",[781,788,789],{},"Receive session.created; the connection automatically creates a session",[763,791,792,795,798],{},[781,793,794],{},"Configure",[781,796,797],{},"Send session.configure exactly once",[781,799,800],{},"Receive session.configured and wait for session.ready",[763,802,803,806,809],{},[781,804,805],{},"Send an image",[781,807,808],{},"Send input.frame JSON followed by image binary data",[781,810,811],{},"Wait for input.frame.ready before sending binary data; wait for input.frame.accepted before sending the next input. Frames alone do not automatically generate answers",[763,813,814,817,820],{},[781,815,816],{},"Ask a question",[781,818,819],{},"Send input.prompt separately",[781,821,822],{},"No need to attach the image again; receive accepted \u002F processed, and possibly text, silence, or interruption events",[763,824,825,828,831],{},[781,826,827],{},"Continue or finish",[781,829,830],{},"Continue sending frames, set final=true, or send session.abort",[781,832,833],{},"response.done ends one answer segment; session.done ends the session",[744,835,838],{"icon":836,"type":837},"info-outline","info",[694,839,840],{},"input.frame and input.prompt share a continuous seq_no sequence starting at 0. accepted means submission, while processed means the model has processed the input; continuously receive all events and handle backpressure.",[689,842,844],{"id":843},"client-events","Client events",[698,846,848,930,981,1011],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},"false",[705,849,855,858],{"name":850,"type":851,"collapse-label":852,"expand-label":853,"toggle-style":854},"session.configure","event","Hide event fields","Show event fields","icon",[694,856,857],{},"Send exactly once after connecting, within session.created.configure_timeout_s.",[716,859,860],{"v-slot:children":718},[698,861,862,868,875,882,889,896,905,914,923],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},[705,863,865],{"name":864,"type":708,"required":709},"type",[694,866,867],{},"Fixed value: session.configure",[705,869,872],{"name":870,"type":708,"required":871},"prompt","Optional",[694,873,874],{},"Initial user prompt; defaults to an empty string",[705,876,879],{"name":877,"type":878,"required":871},"system_prompt","string | null",[694,880,881],{},"System prompt; omitted, null, or an empty string uses the backend default",[705,883,886],{"name":884,"type":885,"required":871},"max_new_tokens","integer",[694,887,888],{},"Generation budget reset after each new input; defaults to 4096. The server configuration determines the accepted range",[705,890,893],{"name":891,"type":892,"required":871},"max_tokens_per_turn","number",[694,894,895],{},"Generation rate limit in tokens per second; not a total token budget or a minimum speed guarantee",[705,897,899],{"name":898,"type":892,"required":871},"temperature",[694,900,901,902],{},"Defaults to 0; range ",[739,903,904],{},"[0, 2]",[705,906,908],{"name":907,"type":892,"required":871},"top_p",[694,909,910,911],{},"Defaults to 1; range ",[739,912,913],{},"(0, 1]",[705,915,917],{"name":916,"type":885,"required":871},"input_queue_capacity",[694,918,919,920],{},"Unprocessed input capacity; defaults to 4, range ",[739,921,922],{},"[1, 256]",[705,924,927],{"name":925,"type":926,"required":871},"include_usage","boolean",[694,928,929],{},"Defaults to false; only controls observational session.usage events, not final usage",[705,931,933,936],{"name":932,"type":851,"collapse-label":852,"expand-label":853,"toggle-style":854},"input.frame",[694,934,935],{},"Send image frame metadata; immediately send the complete image binary data after receiving input.frame.ready.",[716,937,938],{"v-slot:children":718},[698,939,940,945,951,957,963,970,975],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},[705,941,942],{"name":864,"type":708,"required":709},[694,943,944],{},"Fixed value: input.frame",[705,946,948],{"name":947,"type":885,"required":709},"seq_no",[694,949,950],{},"Continuous sequence starting at 0, shared with input.prompt",[705,952,954],{"name":953,"type":892,"required":709},"timestamp",[694,955,956],{},"Time in the video, in seconds; nonnegative and no earlier than the timestamp of previously accepted frames",[705,958,960],{"name":959,"type":708,"required":709},"mime_type",[694,961,962],{},"image\u002Fjpeg, image\u002Fpng, or image\u002Fwebp; must match the actual encoding",[705,964,967],{"name":965,"type":966},"Image binary data","bytes",[694,968,969],{},"Send complete image bytes after input.frame.ready; the size must not exceed session.configured.max_frame_bytes",[705,971,972],{"name":870,"type":878,"required":871},[694,973,974],{},"Advanced: question attached to a frame; defaults to null. Use input.prompt in the default integration flow",[705,976,978],{"name":977,"type":926,"required":871},"final",[694,979,980],{},"Advanced: defaults to false; may be true for the last input. Set this in input.prompt in the default integration flow",[705,982,984,987],{"name":983,"type":851,"collapse-label":852,"expand-label":853,"toggle-style":854},"input.prompt",[694,985,986],{},"Send a question separately. The field is prompt, not text; the question uses the most recently received scene.",[716,988,989],{"v-slot:children":718},[698,990,991,996,1001,1006],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},[705,992,993],{"name":864,"type":708,"required":709},[694,994,995],{},"Fixed value: input.prompt",[705,997,998],{"name":947,"type":885,"required":709},[694,999,1000],{},"Continuous sequence shared with input.frame",[705,1002,1003],{"name":870,"type":708,"required":709},[694,1004,1005],{},"Nonempty question text; a separate timestamp is not accepted",[705,1007,1008],{"name":977,"type":926,"required":871},[694,1009,1010],{},"Defaults to false; after true, no more inputs may be sent",[705,1012,1014],{"name":1013,"type":851,"collapse-label":852,"expand-label":853,"toggle-style":854},"session.abort",[694,1015,1016],{},"End the entire session. This event does not consume seq_no and accepts no other fields.",[689,1018,1020],{"id":1019},"server-events","Server events",[698,1022,1023,1058,1104,1138,1243],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},[705,1024,1027,1030],{"name":1025,"type":1026,"collapse-label":852,"expand-label":853,"toggle-style":854},"Session events","server events",[694,1028,1029],{},"Determine connection, configuration, readiness, and the final session state.",[716,1031,1032],{"v-slot:children":718},[698,1033,1034,1040,1046,1052],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},[705,1035,1037],{"name":1036,"type":851},"session.created",[694,1038,1039],{},"Returns session_id, task_id, model, turn_id, configure_timeout_s, protocol_version, and capabilities",[705,1041,1043],{"name":1042,"type":851},"session.configured",[694,1044,1045],{},"Returns session_id, request_id, and the effective max_frame_bytes, input_queue_capacity, max_tokens_per_turn, parked_request_timeout_s, and context_limit",[705,1047,1049],{"name":1048,"type":851},"session.ready",[694,1050,1051],{},"Returns session_id, request_id, and an integer turn_id; start sending frames and questions only after receiving this event",[705,1053,1055],{"name":1054,"type":851},"session.done",[694,1056,1057],{},"Contains reason and cumulative usage for the entire session; no more events follow",[705,1059,1061,1064],{"name":1060,"type":1026,"collapse-label":852,"expand-label":853,"toggle-style":854},"Input events",[694,1062,1063],{},"Determine whether frames or questions are ready to receive, submitted, or processed.",[716,1065,1066],{"v-slot:children":718},[698,1067,1068,1074,1080,1086,1092,1098],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},[705,1069,1071],{"name":1070,"type":851},"input.frame.ready",[694,1072,1073],{},"Backpressure signal requesting the frame's binary data; contains seq_no",[705,1075,1077],{"name":1076,"type":851},"input.frame.accepted",[694,1078,1079],{},"Contains seq_no, timestamp, final, pending_events, and interrupts_current_turn; the image is submitted to the backend, but the model has not necessarily processed it",[705,1081,1083],{"name":1082,"type":851},"input.frame.processed",[694,1084,1085],{},"Contains seq_no, timestamp, final, and pending_events; also returns interrupted_turn_id and turn_id when a prompt attached to the frame changes the turn",[705,1087,1089],{"name":1088,"type":851},"input.frame.rejected",[694,1090,1091],{},"Contains seq_no and reason, and an error event with the same seq_no and code=invalid_request is also sent; stop waiting for this frame. A rejected input does not consume its seq_no, so the next input reuses the same number",[705,1093,1095],{"name":1094,"type":851},"input.prompt.accepted",[694,1096,1097],{},"Contains seq_no, final, pending_events, and interrupts_current_turn; the question is submitted to the input queue, but processing is not necessarily complete",[705,1099,1101],{"name":1100,"type":851},"input.prompt.processed",[694,1102,1103],{},"Contains seq_no, timestamp, final, and pending_events; timestamp refers to the latest frame, and interrupted_turn_id and turn_id are also returned when the turn changes",[705,1105,1107,1110],{"name":1106,"type":1026,"collapse-label":852,"expand-label":853,"toggle-style":854},"Output events",[694,1108,1109],{},"Read incremental text and determine whether an answer segment is silent, interrupted, or complete.",[716,1111,1112],{"v-slot:children":718},[698,1113,1114,1120,1126,1132],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},[705,1115,1117],{"name":1116,"type":851},"response.text.delta",[694,1118,1119],{},"Concatenate delta in receive order; response_id and response_seq distinguish answer segments",[705,1121,1123],{"name":1122,"type":851},"response.turn.silence",[694,1124,1125],{},"Contains turn_id, seq_no, timestamp, and silence_seq; seq_no and timestamp must be present but may be null. Silence is normal, and response.done may be absent",[705,1127,1129],{"name":1128,"type":851},"response.turn.interrupted",[694,1130,1131],{},"Contains turn_id, next_turn_id, and seq_no for the interrupted turn, new turn, and triggering input; no response.done follows for the interrupted segment",[705,1133,1135],{"name":1134,"type":851},"response.done",[694,1136,1137],{},"Contains an integer turn_id, response_id, response_seq, finish_reason, boundary, and usage; ends one answer segment, not the session",[705,1139,1141,1144],{"name":1140,"type":1026,"collapse-label":852,"expand-label":853,"toggle-style":854},"Usage events",[694,1142,1143],{},"Read observational usage and cumulative usage for an answer or session.",[716,1145,1146,1167,1170,1208,1211],{"v-slot:children":718},[698,1147,1148,1154,1161],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},[705,1149,1151],{"name":1150,"type":851},"session.usage",[694,1152,1153],{},"Sent only with include_usage=true, at most 1 Hz; observational, not final usage",[705,1155,1158],{"name":1156,"type":1157},"response.done.usage","object",[694,1159,1160],{},"Usage for the current answer segment; may be absent during silence or interruption",[705,1162,1164],{"name":1163,"type":1157},"session.done.usage",[694,1165,1166],{},"Final cumulative usage for the entire session; use this as the final usage",[694,1168,1169],{},"The session.usage event contains these observation fields:",[698,1171,1172,1178,1184,1190,1196,1202],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},[705,1173,1175],{"name":1174,"type":885},"decoder_tokens",[694,1176,1177],{},"Text decoder positions, including sampled tokens awaiting the next forward pass",[705,1179,1181],{"name":1180,"type":885},"encoder_tokens",[694,1182,1183],{},"Cumulative visual encoder positions appended during the session",[705,1185,1187],{"name":1186,"type":885},"encoder_kv_tokens",[694,1188,1189],{},"Visual KV positions currently retained",[705,1191,1193],{"name":1192,"type":885},"token_space_used",[694,1194,1195],{},"Historical context usage, equal to encoder_tokens + decoder_tokens",[705,1197,1199],{"name":1198,"type":885},"context_limit",[694,1200,1201],{},"Context limit configured by the service",[705,1203,1205],{"name":1204,"type":885},"context_remaining",[694,1206,1207],{},"Remaining context allowance, equal to max(0, context_limit - token_space_used)",[694,1209,1210],{},"response.done.usage and session.done.usage contain these fields:",[698,1212,1213,1219,1225,1231,1237],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},[705,1214,1216],{"name":1215,"type":885},"vision_tokens",[694,1217,1218],{},"Visual positions",[705,1220,1222],{"name":1221,"type":885},"text_input_tokens",[694,1223,1224],{},"Input text positions",[705,1226,1228],{"name":1227,"type":885},"text_output_tokens",[694,1229,1230],{},"Generated text positions",[705,1232,1234],{"name":1233,"type":885},"text_tokens",[694,1235,1236],{},"Sum of input and output text",[705,1238,1240],{"name":1239,"type":885},"total_tokens",[694,1241,1242],{},"Total tokens",[705,1244,1246,1249],{"name":1245,"type":1026,"collapse-label":852,"expand-label":853,"toggle-style":854},"Error events",[694,1247,1248],{},"Handle protocol or service failures.",[716,1250,1251],{"v-slot:children":718},[698,1252,1253],{"desc-label":700,"field-label":701,"required-label":702,"type-label":703,":show-requirement":847},[705,1254,1256],{"name":1255,"type":851},"error",[694,1257,1258],{},"Contains code and message, plus seq_no when the error maps to a specific input; handle code rather than matching message text; treat unknown codes as terminal",[689,1260,1262],{"id":1261},"protocol-limits","Protocol limits",[757,1264,1265,1275],{},[760,1266,1267],{},[763,1268,1269,1272],{},[766,1270,1271],{},"Item",[766,1273,1274],{},"Current protocol value and description",[776,1276,1277,1285,1293,1304],{},[763,1278,1279,1282],{},[781,1280,1281],{},"Control events",[781,1283,1284],{},"Each event defaults to at most 256 KiB; calculated separately from image binary size",[763,1286,1287,1290],{},[781,1288,1289],{},"Configuration and delivery",[781,1291,1292],{},"Configure within the server deadline; deliver binary data within 10 seconds after input.frame.ready, or the server sends an error event with code=session_timeout and ends the session",[763,1294,1295,1298],{},[781,1296,1297],{},"Input queue",[781,1299,1300,1301,1303],{},"Defaults to 4, configurable range ",[739,1302,922],{},"; unprocessed input capacity, not concurrent sessions",[763,1305,1306,1309],{},[781,1307,1308],{},"Context and duration",[781,1310,1311],{},"Whichever is reached first: the returned context_limit or the session duration limit",[689,1313,1315],{"id":1314},"error-codes","Error codes",[694,1317,1318,1319,1324],{},"For authentication, permissions, rate limiting, and general HTTP errors during connection, see ",[1320,1321,1323],"a",{"href":1322},"\u002Fen\u002Fdocs\u002Ferrors-and-limits\u002Ferror-codes","Error Codes",". The following are protocol errors specific to realtime video understanding.",[757,1326,1327,1339],{},[760,1328,1329],{},[763,1330,1331,1333,1336],{},[766,1332,1315],{},[766,1334,1335],{},"Trigger",[766,1337,1338],{},"Action",[776,1340,1341,1352,1363,1374,1385],{},[763,1342,1343,1346,1349],{},[781,1344,1345],{},"invalid_request",[781,1347,1348],{},"Invalid client event\u002Ffields\u002Forder or oversized message",[781,1350,1351],{},"Correct and resend; reconnect if disconnected",[763,1353,1354,1357,1360],{},[781,1355,1356],{},"context_exhausted",[781,1358,1359],{},"Session context limit reached",[781,1361,1362],{},"End the session and create a new one",[763,1364,1365,1368,1371],{},[781,1366,1367],{},"session_timeout",[781,1369,1370],{},"Session duration or idle limit reached, or binary data not delivered within 10 seconds after input.frame.ready",[781,1372,1373],{},"Check session activity and server limits; reconnect if needed",[763,1375,1376,1379,1382],{},[781,1377,1378],{},"response_failed",[781,1380,1381],{},"Model generation or processing failed",[781,1383,1384],{},"Record the error and decide whether to retry for your use case",[763,1386,1387,1390,1393],{},[781,1388,1389],{},"session_capacity_exceeded",[781,1391,1392],{},"Realtime session capacity exhausted",[781,1394,1395],{},"Reduce concurrency or retry later",[689,1397,1399],{"id":1398},"connection-closure","Connection closure",[757,1401,1402,1415],{},[760,1403,1404],{},[763,1405,1406,1409,1412],{},[766,1407,1408],{},"Close code",[766,1410,1411],{},"Meaning",[766,1413,1414],{},"Client action",[776,1416,1417,1428,1439,1450,1461,1472],{},[763,1418,1419,1422,1425],{},[781,1420,1421],{},"1000",[781,1423,1424],{},"Closed after the server sent session.done; sessions that ended with an error event also use this code",[781,1426,1427],{},"End the session without retrying; judge success by session.done.reason (such as completed, aborted, error) and any preceding error event",[763,1429,1430,1433,1436],{},[781,1431,1432],{},"1001",[781,1434,1435],{},"Service shutdown or connection leaving",[781,1437,1438],{},"Reconnect as required by your use case",[763,1440,1441,1444,1447],{},[781,1442,1443],{},"1002",[781,1445,1446],{},"Protocol error",[781,1448,1449],{},"Check event format and send order before retrying",[763,1451,1452,1455,1458],{},[781,1453,1454],{},"1009",[781,1456,1457],{},"Binary data exceeds limits or control event is too large; an invalid_request error event may precede closure.",[781,1459,1460],{},"Reduce message size and reconnect",[763,1462,1463,1466,1469],{},[781,1464,1465],{},"1011",[781,1467,1468],{},"Server failure",[781,1470,1471],{},"Retry later and record the error",[763,1473,1474,1477,1480],{},[781,1475,1476],{},"1013",[781,1478,1479],{},"Service temporarily unable to process",[781,1481,1482],{},"Reduce concurrency and retry later",[744,1484,1486],{"icon":746,"type":747,"title":1485},"Disconnection handling",[694,1487,1488],{},"Handle both error events and WebSocket close frames. Reconnecting creates a new session without restoring the old context. If session.done was not received, mark final state and usage as unknown.",[716,1490,1491,1494,4280,4284],{"v-slot:examples":718},[689,1492,440],{"id":1493},"request-example",[1495,1496,1500,2726],"api-example",{"ariaLabel":440,"copy-error-label":1497,"copy-label":1498,"copy-success-label":1499,"request-title":440},"Copy failed, please try again","Copy code","Copied to clipboard",[1501,1502,1505],"mosi-tab",{"label":1503,"value":1504},"Python","python",[1506,1507,1510],"pre",{"className":1508,"code":1509,"language":1504,"meta":718,"style":718},"language-python shiki shiki-themes moss-docs-light","import asyncio\nimport json\nimport os\nfrom pathlib import Path\n\nfrom websockets.asyncio.client import connect\nfrom websockets.exceptions import ConnectionClosed\n\nURL = \"wss:\u002F\u002Fapi.mosi.cn\u002Fv1\u002Frealtime?model=moss-vl-realtime-1.0\"\n\n\nasync def receive_event(ws):\n    try:\n        message = await asyncio.wait_for(ws.recv(), timeout=30)\n    except (ConnectionClosed, asyncio.TimeoutError) as error:\n        raise RuntimeError(\"Disconnected or timed out before session.done; final state and usage unknown\") from error\n    if isinstance(message, bytes):\n        raise RuntimeError(\"Unexpected binary server message\")\n    event = json.loads(message)\n    if event[\"type\"] in (\"error\", \"input.frame.rejected\"):\n        raise RuntimeError(f\"{event.get('code', event['type'])}: {event.get('message') or event.get('reason', '')}\")\n    if event[\"type\"] == \"response.text.delta\":\n        print(event[\"delta\"], end=\"\", flush=True)\n    return event\n\n\nasync def wait_for(ws, event_type, seq_no=None):\n    while True:\n        event = await receive_event(ws)\n        if event[\"type\"] == event_type and (seq_no is None or event.get(\"seq_no\") == seq_no):\n            return event\n        if event[\"type\"] == \"session.done\":\n            raise RuntimeError(f\"Session ended before {event_type}: {event.get('reason')}\")\n\n\nasync def main():\n    frame = Path(__file__).with_name(\"frame.jpg\").read_bytes()\n    headers = {\"Authorization\": f\"Bearer {os.environ['MOSS_API_KEY']}\"}\n    async with connect(URL, additional_headers=headers) as ws:\n        await wait_for(ws, \"session.created\")\n        await ws.send(json.dumps({\n            \"type\": \"session.configure\",\n            \"prompt\": \"Observe the scene and answer my questions.\",\n        }))\n        configured = await wait_for(ws, \"session.configured\")\n        if len(frame) > configured[\"max_frame_bytes\"]:\n            raise ValueError(\"frame.jpg exceeds max_frame_bytes\")\n        await wait_for(ws, \"session.ready\")\n        await ws.send(json.dumps({\n            \"type\": \"input.frame\", \"seq_no\": 0,\n            \"timestamp\": 0.0, \"mime_type\": \"image\u002Fjpeg\",\n        }))\n        await wait_for(ws, \"input.frame.ready\", 0)\n        await ws.send(frame)\n        await wait_for(ws, \"input.frame.accepted\", 0)\n        await ws.send(json.dumps({\n            \"type\": \"input.prompt\", \"seq_no\": 1,\n            \"prompt\": \"What is in the scene?\", \"final\": True,\n        }))\n        while True:\n            event = await receive_event(ws)\n            if event[\"type\"] == \"session.done\":\n                print(\"\\nFinal usage:\", event.get(\"usage\"))\n                break\n\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n",[739,1511,1512,1525,1533,1541,1555,1561,1574,1587,1592,1612,1617,1622,1637,1646,1669,1684,1712,1729,1747,1758,1798,1883,1909,1943,1952,1957,1962,1982,1993,2006,2057,2065,2090,2132,2137,2142,2155,2182,2228,2255,2272,2280,2301,2321,2327,2347,2374,2393,2408,2415,2447,2480,2485,2504,2512,2531,2538,2570,2602,2607,2617,2629,2655,2683,2689,2694,2699,2720],{"__ignoreMap":718},[1513,1514,1517,1521],"span",{"class":1515,"line":1516},"line",1,[1513,1518,1520],{"class":1519},"sIr0w","import",[1513,1522,1524],{"class":1523},"sAVPb"," asyncio\n",[1513,1526,1528,1530],{"class":1515,"line":1527},2,[1513,1529,1520],{"class":1519},[1513,1531,1532],{"class":1523}," json\n",[1513,1534,1536,1538],{"class":1515,"line":1535},3,[1513,1537,1520],{"class":1519},[1513,1539,1540],{"class":1523}," os\n",[1513,1542,1544,1547,1550,1552],{"class":1515,"line":1543},4,[1513,1545,1546],{"class":1519},"from",[1513,1548,1549],{"class":1523}," pathlib ",[1513,1551,1520],{"class":1519},[1513,1553,1554],{"class":1523}," Path\n",[1513,1556,1558],{"class":1515,"line":1557},5,[1513,1559,1560],{"emptyLinePlaceholder":709},"\n",[1513,1562,1564,1566,1569,1571],{"class":1515,"line":1563},6,[1513,1565,1546],{"class":1519},[1513,1567,1568],{"class":1523}," websockets.asyncio.client ",[1513,1570,1520],{"class":1519},[1513,1572,1573],{"class":1523}," connect\n",[1513,1575,1577,1579,1582,1584],{"class":1515,"line":1576},7,[1513,1578,1546],{"class":1519},[1513,1580,1581],{"class":1523}," websockets.exceptions ",[1513,1583,1520],{"class":1519},[1513,1585,1586],{"class":1523}," ConnectionClosed\n",[1513,1588,1590],{"class":1515,"line":1589},8,[1513,1591,1560],{"emptyLinePlaceholder":709},[1513,1593,1595,1599,1602,1605,1609],{"class":1515,"line":1594},9,[1513,1596,1598],{"class":1597},"s3Ugg","URL",[1513,1600,1601],{"class":1519}," =",[1513,1603,1604],{"class":1523}," \"",[1513,1606,1608],{"class":1607},"slr_4","wss:\u002F\u002Fapi.mosi.cn\u002Fv1\u002Frealtime?model=moss-vl-realtime-1.0",[1513,1610,1611],{"class":1523},"\"\n",[1513,1613,1615],{"class":1515,"line":1614},10,[1513,1616,1560],{"emptyLinePlaceholder":709},[1513,1618,1620],{"class":1515,"line":1619},11,[1513,1621,1560],{"emptyLinePlaceholder":709},[1513,1623,1625,1628,1631,1634],{"class":1515,"line":1624},12,[1513,1626,1627],{"class":1519},"async",[1513,1629,1630],{"class":1519}," def",[1513,1632,1633],{"class":1519}," receive_event",[1513,1635,1636],{"class":1523},"(ws):\n",[1513,1638,1640,1643],{"class":1515,"line":1639},13,[1513,1641,1642],{"class":1519},"    try",[1513,1644,1645],{"class":1523},":\n",[1513,1647,1649,1652,1655,1658,1661,1663,1666],{"class":1515,"line":1648},14,[1513,1650,1651],{"class":1523},"        message ",[1513,1653,1654],{"class":1519},"=",[1513,1656,1657],{"class":1519}," await",[1513,1659,1660],{"class":1523}," asyncio.wait_for(ws.recv(), timeout",[1513,1662,1654],{"class":1519},[1513,1664,1665],{"class":1597},"30",[1513,1667,1668],{"class":1523},")\n",[1513,1670,1672,1675,1678,1681],{"class":1515,"line":1671},15,[1513,1673,1674],{"class":1519},"    except",[1513,1676,1677],{"class":1523}," (ConnectionClosed, asyncio.TimeoutError) ",[1513,1679,1680],{"class":1519},"as",[1513,1682,1683],{"class":1523}," error:\n",[1513,1685,1687,1690,1693,1696,1699,1702,1704,1707,1709],{"class":1515,"line":1686},16,[1513,1688,1689],{"class":1519},"        raise",[1513,1691,1692],{"class":1597}," RuntimeError",[1513,1694,1695],{"class":1523},"(",[1513,1697,1698],{"class":1523},"\"",[1513,1700,1701],{"class":1607},"Disconnected or timed out before session.done; final state and usage unknown",[1513,1703,1698],{"class":1523},[1513,1705,1706],{"class":1523},") ",[1513,1708,1546],{"class":1519},[1513,1710,1711],{"class":1523}," error\n",[1513,1713,1715,1718,1721,1724,1726],{"class":1515,"line":1714},17,[1513,1716,1717],{"class":1519},"    if",[1513,1719,1720],{"class":1597}," isinstance",[1513,1722,1723],{"class":1523},"(message, ",[1513,1725,966],{"class":1597},[1513,1727,1728],{"class":1523},"):\n",[1513,1730,1732,1734,1736,1738,1740,1743,1745],{"class":1515,"line":1731},18,[1513,1733,1689],{"class":1519},[1513,1735,1692],{"class":1597},[1513,1737,1695],{"class":1523},[1513,1739,1698],{"class":1523},[1513,1741,1742],{"class":1607},"Unexpected binary server message",[1513,1744,1698],{"class":1523},[1513,1746,1668],{"class":1523},[1513,1748,1750,1753,1755],{"class":1515,"line":1749},19,[1513,1751,1752],{"class":1523},"    event ",[1513,1754,1654],{"class":1519},[1513,1756,1757],{"class":1523}," json.loads(message)\n",[1513,1759,1761,1763,1766,1768,1770,1772,1775,1778,1781,1783,1785,1787,1790,1792,1794,1796],{"class":1515,"line":1760},20,[1513,1762,1717],{"class":1519},[1513,1764,1765],{"class":1523}," event[",[1513,1767,1698],{"class":1523},[1513,1769,864],{"class":1607},[1513,1771,1698],{"class":1523},[1513,1773,1774],{"class":1523},"] ",[1513,1776,1777],{"class":1519},"in",[1513,1779,1780],{"class":1523}," (",[1513,1782,1698],{"class":1523},[1513,1784,1255],{"class":1607},[1513,1786,1698],{"class":1523},[1513,1788,1789],{"class":1523},", ",[1513,1791,1698],{"class":1523},[1513,1793,1088],{"class":1607},[1513,1795,1698],{"class":1523},[1513,1797,1728],{"class":1523},[1513,1799,1801,1803,1805,1807,1810,1812,1815,1818,1821,1823,1825,1828,1830,1832,1834,1837,1840,1843,1845,1847,1849,1852,1854,1856,1859,1862,1864,1867,1869,1871,1874,1877,1879,1881],{"class":1515,"line":1800},21,[1513,1802,1689],{"class":1519},[1513,1804,1692],{"class":1597},[1513,1806,1695],{"class":1523},[1513,1808,1809],{"class":1519},"f",[1513,1811,1698],{"class":1607},[1513,1813,1814],{"class":1607},"{",[1513,1816,1817],{"class":1523},"event.get(",[1513,1819,1820],{"class":1523},"'",[1513,1822,739],{"class":1607},[1513,1824,1820],{"class":1523},[1513,1826,1827],{"class":1523},", event[",[1513,1829,1820],{"class":1523},[1513,1831,864],{"class":1607},[1513,1833,1820],{"class":1523},[1513,1835,1836],{"class":1523},"])",[1513,1838,1839],{"class":1607},"}",[1513,1841,1842],{"class":1607},": ",[1513,1844,1814],{"class":1607},[1513,1846,1817],{"class":1523},[1513,1848,1820],{"class":1523},[1513,1850,1851],{"class":1607},"message",[1513,1853,1820],{"class":1523},[1513,1855,1706],{"class":1523},[1513,1857,1858],{"class":1519},"or",[1513,1860,1861],{"class":1523}," event.get(",[1513,1863,1820],{"class":1523},[1513,1865,1866],{"class":1607},"reason",[1513,1868,1820],{"class":1523},[1513,1870,1789],{"class":1523},[1513,1872,1873],{"class":1523},"''",[1513,1875,1876],{"class":1523},")",[1513,1878,1839],{"class":1607},[1513,1880,1698],{"class":1607},[1513,1882,1668],{"class":1523},[1513,1884,1886,1888,1890,1892,1894,1896,1898,1901,1903,1905,1907],{"class":1515,"line":1885},22,[1513,1887,1717],{"class":1519},[1513,1889,1765],{"class":1523},[1513,1891,1698],{"class":1523},[1513,1893,864],{"class":1607},[1513,1895,1698],{"class":1523},[1513,1897,1774],{"class":1523},[1513,1899,1900],{"class":1519},"==",[1513,1902,1604],{"class":1523},[1513,1904,1116],{"class":1607},[1513,1906,1698],{"class":1523},[1513,1908,1645],{"class":1523},[1513,1910,1912,1915,1918,1920,1923,1925,1928,1930,1933,1936,1938,1941],{"class":1515,"line":1911},23,[1513,1913,1914],{"class":1597},"        print",[1513,1916,1917],{"class":1523},"(event[",[1513,1919,1698],{"class":1523},[1513,1921,1922],{"class":1607},"delta",[1513,1924,1698],{"class":1523},[1513,1926,1927],{"class":1523},"], end",[1513,1929,1654],{"class":1519},[1513,1931,1932],{"class":1523},"\"\"",[1513,1934,1935],{"class":1523},", flush",[1513,1937,1654],{"class":1519},[1513,1939,1940],{"class":1597},"True",[1513,1942,1668],{"class":1523},[1513,1944,1946,1949],{"class":1515,"line":1945},24,[1513,1947,1948],{"class":1519},"    return",[1513,1950,1951],{"class":1523}," event\n",[1513,1953,1955],{"class":1515,"line":1954},25,[1513,1956,1560],{"emptyLinePlaceholder":709},[1513,1958,1960],{"class":1515,"line":1959},26,[1513,1961,1560],{"emptyLinePlaceholder":709},[1513,1963,1965,1967,1969,1972,1975,1977,1980],{"class":1515,"line":1964},27,[1513,1966,1627],{"class":1519},[1513,1968,1630],{"class":1519},[1513,1970,1971],{"class":1519}," wait_for",[1513,1973,1974],{"class":1523},"(ws, event_type, seq_no",[1513,1976,1654],{"class":1519},[1513,1978,1979],{"class":1597},"None",[1513,1981,1728],{"class":1523},[1513,1983,1985,1988,1991],{"class":1515,"line":1984},28,[1513,1986,1987],{"class":1519},"    while",[1513,1989,1990],{"class":1597}," True",[1513,1992,1645],{"class":1523},[1513,1994,1996,1999,2001,2003],{"class":1515,"line":1995},29,[1513,1997,1998],{"class":1523},"        event ",[1513,2000,1654],{"class":1519},[1513,2002,1657],{"class":1519},[1513,2004,2005],{"class":1523}," receive_event(ws)\n",[1513,2007,2009,2012,2014,2016,2018,2020,2022,2024,2027,2030,2033,2036,2039,2042,2044,2046,2048,2050,2052,2054],{"class":1515,"line":2008},30,[1513,2010,2011],{"class":1519},"        if",[1513,2013,1765],{"class":1523},[1513,2015,1698],{"class":1523},[1513,2017,864],{"class":1607},[1513,2019,1698],{"class":1523},[1513,2021,1774],{"class":1523},[1513,2023,1900],{"class":1519},[1513,2025,2026],{"class":1523}," event_type ",[1513,2028,2029],{"class":1519},"and",[1513,2031,2032],{"class":1523}," (seq_no ",[1513,2034,2035],{"class":1519},"is",[1513,2037,2038],{"class":1597}," None",[1513,2040,2041],{"class":1519}," or",[1513,2043,1861],{"class":1523},[1513,2045,1698],{"class":1523},[1513,2047,947],{"class":1607},[1513,2049,1698],{"class":1523},[1513,2051,1706],{"class":1523},[1513,2053,1900],{"class":1519},[1513,2055,2056],{"class":1523}," seq_no):\n",[1513,2058,2060,2063],{"class":1515,"line":2059},31,[1513,2061,2062],{"class":1519},"            return",[1513,2064,1951],{"class":1523},[1513,2066,2068,2070,2072,2074,2076,2078,2080,2082,2084,2086,2088],{"class":1515,"line":2067},32,[1513,2069,2011],{"class":1519},[1513,2071,1765],{"class":1523},[1513,2073,1698],{"class":1523},[1513,2075,864],{"class":1607},[1513,2077,1698],{"class":1523},[1513,2079,1774],{"class":1523},[1513,2081,1900],{"class":1519},[1513,2083,1604],{"class":1523},[1513,2085,1054],{"class":1607},[1513,2087,1698],{"class":1523},[1513,2089,1645],{"class":1523},[1513,2091,2093,2096,2098,2100,2102,2105,2107,2110,2112,2114,2116,2118,2120,2122,2124,2126,2128,2130],{"class":1515,"line":2092},33,[1513,2094,2095],{"class":1519},"            raise",[1513,2097,1692],{"class":1597},[1513,2099,1695],{"class":1523},[1513,2101,1809],{"class":1519},[1513,2103,2104],{"class":1607},"\"Session ended before ",[1513,2106,1814],{"class":1607},[1513,2108,2109],{"class":1523},"event_type",[1513,2111,1839],{"class":1607},[1513,2113,1842],{"class":1607},[1513,2115,1814],{"class":1607},[1513,2117,1817],{"class":1523},[1513,2119,1820],{"class":1523},[1513,2121,1866],{"class":1607},[1513,2123,1820],{"class":1523},[1513,2125,1876],{"class":1523},[1513,2127,1839],{"class":1607},[1513,2129,1698],{"class":1607},[1513,2131,1668],{"class":1523},[1513,2133,2135],{"class":1515,"line":2134},34,[1513,2136,1560],{"emptyLinePlaceholder":709},[1513,2138,2140],{"class":1515,"line":2139},35,[1513,2141,1560],{"emptyLinePlaceholder":709},[1513,2143,2145,2147,2149,2152],{"class":1515,"line":2144},36,[1513,2146,1627],{"class":1519},[1513,2148,1630],{"class":1519},[1513,2150,2151],{"class":1519}," main",[1513,2153,2154],{"class":1523},"():\n",[1513,2156,2158,2161,2163,2166,2169,2172,2174,2177,2179],{"class":1515,"line":2157},37,[1513,2159,2160],{"class":1523},"    frame ",[1513,2162,1654],{"class":1519},[1513,2164,2165],{"class":1523}," Path(",[1513,2167,2168],{"class":1597},"__file__",[1513,2170,2171],{"class":1523},").with_name(",[1513,2173,1698],{"class":1523},[1513,2175,2176],{"class":1607},"frame.jpg",[1513,2178,1698],{"class":1523},[1513,2180,2181],{"class":1523},").read_bytes()\n",[1513,2183,2185,2188,2190,2193,2195,2197,2199,2201,2203,2206,2208,2211,2213,2216,2218,2221,2223,2225],{"class":1515,"line":2184},38,[1513,2186,2187],{"class":1523},"    headers ",[1513,2189,1654],{"class":1519},[1513,2191,2192],{"class":1523}," {",[1513,2194,1698],{"class":1523},[1513,2196,733],{"class":1607},[1513,2198,1698],{"class":1523},[1513,2200,1842],{"class":1523},[1513,2202,1809],{"class":1519},[1513,2204,2205],{"class":1607},"\"Bearer ",[1513,2207,1814],{"class":1607},[1513,2209,2210],{"class":1523},"os.environ[",[1513,2212,1820],{"class":1523},[1513,2214,2215],{"class":1607},"MOSS_API_KEY",[1513,2217,1820],{"class":1523},[1513,2219,2220],{"class":1523},"]",[1513,2222,1839],{"class":1607},[1513,2224,1698],{"class":1607},[1513,2226,2227],{"class":1523},"}\n",[1513,2229,2231,2234,2237,2240,2242,2245,2247,2250,2252],{"class":1515,"line":2230},39,[1513,2232,2233],{"class":1519},"    async",[1513,2235,2236],{"class":1519}," with",[1513,2238,2239],{"class":1523}," connect(",[1513,2241,1598],{"class":1597},[1513,2243,2244],{"class":1523},", additional_headers",[1513,2246,1654],{"class":1519},[1513,2248,2249],{"class":1523},"headers) ",[1513,2251,1680],{"class":1519},[1513,2253,2254],{"class":1523}," ws:\n",[1513,2256,2258,2261,2264,2266,2268,2270],{"class":1515,"line":2257},40,[1513,2259,2260],{"class":1519},"        await",[1513,2262,2263],{"class":1523}," wait_for(ws, ",[1513,2265,1698],{"class":1523},[1513,2267,1036],{"class":1607},[1513,2269,1698],{"class":1523},[1513,2271,1668],{"class":1523},[1513,2273,2275,2277],{"class":1515,"line":2274},41,[1513,2276,2260],{"class":1519},[1513,2278,2279],{"class":1523}," ws.send(json.dumps({\n",[1513,2281,2283,2286,2288,2290,2292,2294,2296,2298],{"class":1515,"line":2282},42,[1513,2284,2285],{"class":1523},"            \"",[1513,2287,864],{"class":1607},[1513,2289,1698],{"class":1523},[1513,2291,1842],{"class":1523},[1513,2293,1698],{"class":1523},[1513,2295,850],{"class":1607},[1513,2297,1698],{"class":1523},[1513,2299,2300],{"class":1523},",\n",[1513,2302,2304,2306,2308,2310,2312,2314,2317,2319],{"class":1515,"line":2303},43,[1513,2305,2285],{"class":1523},[1513,2307,870],{"class":1607},[1513,2309,1698],{"class":1523},[1513,2311,1842],{"class":1523},[1513,2313,1698],{"class":1523},[1513,2315,2316],{"class":1607},"Observe the scene and answer my questions.",[1513,2318,1698],{"class":1523},[1513,2320,2300],{"class":1523},[1513,2322,2324],{"class":1515,"line":2323},44,[1513,2325,2326],{"class":1523},"        }))\n",[1513,2328,2330,2333,2335,2337,2339,2341,2343,2345],{"class":1515,"line":2329},45,[1513,2331,2332],{"class":1523},"        configured ",[1513,2334,1654],{"class":1519},[1513,2336,1657],{"class":1519},[1513,2338,2263],{"class":1523},[1513,2340,1698],{"class":1523},[1513,2342,1042],{"class":1607},[1513,2344,1698],{"class":1523},[1513,2346,1668],{"class":1523},[1513,2348,2350,2352,2355,2358,2361,2364,2366,2369,2371],{"class":1515,"line":2349},46,[1513,2351,2011],{"class":1519},[1513,2353,2354],{"class":1597}," len",[1513,2356,2357],{"class":1523},"(frame) ",[1513,2359,2360],{"class":1519},">",[1513,2362,2363],{"class":1523}," configured[",[1513,2365,1698],{"class":1523},[1513,2367,2368],{"class":1607},"max_frame_bytes",[1513,2370,1698],{"class":1523},[1513,2372,2373],{"class":1523},"]:\n",[1513,2375,2377,2379,2382,2384,2386,2389,2391],{"class":1515,"line":2376},47,[1513,2378,2095],{"class":1519},[1513,2380,2381],{"class":1597}," ValueError",[1513,2383,1695],{"class":1523},[1513,2385,1698],{"class":1523},[1513,2387,2388],{"class":1607},"frame.jpg exceeds max_frame_bytes",[1513,2390,1698],{"class":1523},[1513,2392,1668],{"class":1523},[1513,2394,2396,2398,2400,2402,2404,2406],{"class":1515,"line":2395},48,[1513,2397,2260],{"class":1519},[1513,2399,2263],{"class":1523},[1513,2401,1698],{"class":1523},[1513,2403,1048],{"class":1607},[1513,2405,1698],{"class":1523},[1513,2407,1668],{"class":1523},[1513,2409,2411,2413],{"class":1515,"line":2410},49,[1513,2412,2260],{"class":1519},[1513,2414,2279],{"class":1523},[1513,2416,2418,2420,2422,2424,2426,2428,2430,2432,2434,2436,2438,2440,2442,2445],{"class":1515,"line":2417},50,[1513,2419,2285],{"class":1523},[1513,2421,864],{"class":1607},[1513,2423,1698],{"class":1523},[1513,2425,1842],{"class":1523},[1513,2427,1698],{"class":1523},[1513,2429,932],{"class":1607},[1513,2431,1698],{"class":1523},[1513,2433,1789],{"class":1523},[1513,2435,1698],{"class":1523},[1513,2437,947],{"class":1607},[1513,2439,1698],{"class":1523},[1513,2441,1842],{"class":1523},[1513,2443,2444],{"class":1597},"0",[1513,2446,2300],{"class":1523},[1513,2448,2450,2452,2454,2456,2458,2461,2463,2465,2467,2469,2471,2473,2476,2478],{"class":1515,"line":2449},51,[1513,2451,2285],{"class":1523},[1513,2453,953],{"class":1607},[1513,2455,1698],{"class":1523},[1513,2457,1842],{"class":1523},[1513,2459,2460],{"class":1597},"0.0",[1513,2462,1789],{"class":1523},[1513,2464,1698],{"class":1523},[1513,2466,959],{"class":1607},[1513,2468,1698],{"class":1523},[1513,2470,1842],{"class":1523},[1513,2472,1698],{"class":1523},[1513,2474,2475],{"class":1607},"image\u002Fjpeg",[1513,2477,1698],{"class":1523},[1513,2479,2300],{"class":1523},[1513,2481,2483],{"class":1515,"line":2482},52,[1513,2484,2326],{"class":1523},[1513,2486,2488,2490,2492,2494,2496,2498,2500,2502],{"class":1515,"line":2487},53,[1513,2489,2260],{"class":1519},[1513,2491,2263],{"class":1523},[1513,2493,1698],{"class":1523},[1513,2495,1070],{"class":1607},[1513,2497,1698],{"class":1523},[1513,2499,1789],{"class":1523},[1513,2501,2444],{"class":1597},[1513,2503,1668],{"class":1523},[1513,2505,2507,2509],{"class":1515,"line":2506},54,[1513,2508,2260],{"class":1519},[1513,2510,2511],{"class":1523}," ws.send(frame)\n",[1513,2513,2515,2517,2519,2521,2523,2525,2527,2529],{"class":1515,"line":2514},55,[1513,2516,2260],{"class":1519},[1513,2518,2263],{"class":1523},[1513,2520,1698],{"class":1523},[1513,2522,1076],{"class":1607},[1513,2524,1698],{"class":1523},[1513,2526,1789],{"class":1523},[1513,2528,2444],{"class":1597},[1513,2530,1668],{"class":1523},[1513,2532,2534,2536],{"class":1515,"line":2533},56,[1513,2535,2260],{"class":1519},[1513,2537,2279],{"class":1523},[1513,2539,2541,2543,2545,2547,2549,2551,2553,2555,2557,2559,2561,2563,2565,2568],{"class":1515,"line":2540},57,[1513,2542,2285],{"class":1523},[1513,2544,864],{"class":1607},[1513,2546,1698],{"class":1523},[1513,2548,1842],{"class":1523},[1513,2550,1698],{"class":1523},[1513,2552,983],{"class":1607},[1513,2554,1698],{"class":1523},[1513,2556,1789],{"class":1523},[1513,2558,1698],{"class":1523},[1513,2560,947],{"class":1607},[1513,2562,1698],{"class":1523},[1513,2564,1842],{"class":1523},[1513,2566,2567],{"class":1597},"1",[1513,2569,2300],{"class":1523},[1513,2571,2573,2575,2577,2579,2581,2583,2586,2588,2590,2592,2594,2596,2598,2600],{"class":1515,"line":2572},58,[1513,2574,2285],{"class":1523},[1513,2576,870],{"class":1607},[1513,2578,1698],{"class":1523},[1513,2580,1842],{"class":1523},[1513,2582,1698],{"class":1523},[1513,2584,2585],{"class":1607},"What is in the scene?",[1513,2587,1698],{"class":1523},[1513,2589,1789],{"class":1523},[1513,2591,1698],{"class":1523},[1513,2593,977],{"class":1607},[1513,2595,1698],{"class":1523},[1513,2597,1842],{"class":1523},[1513,2599,1940],{"class":1597},[1513,2601,2300],{"class":1523},[1513,2603,2605],{"class":1515,"line":2604},59,[1513,2606,2326],{"class":1523},[1513,2608,2610,2613,2615],{"class":1515,"line":2609},60,[1513,2611,2612],{"class":1519},"        while",[1513,2614,1990],{"class":1597},[1513,2616,1645],{"class":1523},[1513,2618,2620,2623,2625,2627],{"class":1515,"line":2619},61,[1513,2621,2622],{"class":1523},"            event ",[1513,2624,1654],{"class":1519},[1513,2626,1657],{"class":1519},[1513,2628,2005],{"class":1523},[1513,2630,2632,2635,2637,2639,2641,2643,2645,2647,2649,2651,2653],{"class":1515,"line":2631},62,[1513,2633,2634],{"class":1519},"            if",[1513,2636,1765],{"class":1523},[1513,2638,1698],{"class":1523},[1513,2640,864],{"class":1607},[1513,2642,1698],{"class":1523},[1513,2644,1774],{"class":1523},[1513,2646,1900],{"class":1519},[1513,2648,1604],{"class":1523},[1513,2650,1054],{"class":1607},[1513,2652,1698],{"class":1523},[1513,2654,1645],{"class":1523},[1513,2656,2658,2661,2663,2665,2668,2670,2673,2675,2678,2680],{"class":1515,"line":2657},63,[1513,2659,2660],{"class":1597},"                print",[1513,2662,1695],{"class":1523},[1513,2664,1698],{"class":1523},[1513,2666,2667],{"class":1607},"\\nFinal usage:",[1513,2669,1698],{"class":1523},[1513,2671,2672],{"class":1523},", event.get(",[1513,2674,1698],{"class":1523},[1513,2676,2677],{"class":1607},"usage",[1513,2679,1698],{"class":1523},[1513,2681,2682],{"class":1523},"))\n",[1513,2684,2686],{"class":1515,"line":2685},64,[1513,2687,2688],{"class":1519},"                break\n",[1513,2690,2692],{"class":1515,"line":2691},65,[1513,2693,1560],{"emptyLinePlaceholder":709},[1513,2695,2697],{"class":1515,"line":2696},66,[1513,2698,1560],{"emptyLinePlaceholder":709},[1513,2700,2702,2705,2708,2711,2713,2716,2718],{"class":1515,"line":2701},67,[1513,2703,2704],{"class":1519},"if",[1513,2706,2707],{"class":1597}," __name__",[1513,2709,2710],{"class":1519}," ==",[1513,2712,1604],{"class":1523},[1513,2714,2715],{"class":1607},"__main__",[1513,2717,1698],{"class":1523},[1513,2719,1645],{"class":1523},[1513,2721,2723],{"class":1515,"line":2722},68,[1513,2724,2725],{"class":1523},"    asyncio.run(main())\n",[1501,2727,2730],{"label":2728,"value":2729},"TypeScript","typescript",[1506,2731,2735],{"className":2732,"code":2733,"language":2734,"meta":718,"style":718},"language-ts shiki shiki-themes moss-docs-light","import { readFile } from \"node:fs\u002Fpromises\";\nimport WebSocket from \"ws\";\n\ninterface RealtimeEvent {\n  type: string;\n  seq_no?: number | null;\n  max_frame_bytes?: number;\n  delta?: string;\n  code?: string;\n  message?: string;\n  reason?: string;\n  usage?: unknown;\n}\n\nfunction isEvent(value: unknown): value is RealtimeEvent {\n  return typeof value === \"object\" && value !== null\n    && \"type\" in value && typeof value.type === \"string\"\n    && (!(\"seq_no\" in value) || value.seq_no === null || typeof value.seq_no === \"number\")\n    && (!(\"max_frame_bytes\" in value) || typeof value.max_frame_bytes === \"number\")\n    && (!(\"delta\" in value) || typeof value.delta === \"string\")\n    && (!(\"code\" in value) || typeof value.code === \"string\")\n    && (!(\"message\" in value) || typeof value.message === \"string\")\n    && (!(\"reason\" in value) || typeof value.reason === \"string\");\n}\n\nconst keyValue = process.env.MOSS_API_KEY;\nif (!keyValue) throw new Error(\"Set MOSS_API_KEY in your server environment\");\nconst frame = await readFile(new URL(\".\u002Fframe.jpg\", import.meta.url));\nconst ws = new WebSocket(\n  \"wss:\u002F\u002Fapi.mosi.cn\u002Fv1\u002Frealtime?model=moss-vl-realtime-1.0\",\n  { headers: { Authorization: `Bearer ${keyValue}` } },\n);\nlet completed = false;\n\u002F\u002F Client-side idle guard, not a server SLA.\nlet idleTimer: ReturnType\u003Ctypeof setTimeout>;\nfunction fail(error: unknown): void {\n  console.error(error);\n  process.exitCode = 1;\n  clearTimeout(idleTimer);\n  ws.terminate();\n}\nfunction resetIdleTimer(): void {\n  clearTimeout(idleTimer);\n  idleTimer = setTimeout(() => fail(new Error(\"No event for 30 seconds; final state and usage unknown\")), 30_000);\n}\nresetIdleTimer();\nws.on(\"error\", fail);\nws.on(\"close\", () => {\n  clearTimeout(idleTimer);\n  if (!completed) {\n    console.error(\"Closed before session.done; final state and usage unknown\");\n    process.exitCode = 1;\n  }\n});\nws.on(\"message\", (data, isBinary) => {\n  try {\n    if (isBinary) throw new Error(\"Unexpected binary server message\");\n    const event: unknown = JSON.parse(data.toString());\n    if (!isEvent(event)) throw new Error(\"Invalid server event\");\n    resetIdleTimer();\n    switch (event.type) {\n      case \"session.created\":\n        ws.send(JSON.stringify({ type: \"session.configure\", prompt: \"Observe the scene and answer my questions.\" }));\n        break;\n      case \"session.configured\":\n        if (event.max_frame_bytes === undefined || frame.length > event.max_frame_bytes) {\n          throw new Error(\"frame.jpg exceeds max_frame_bytes or limit is missing\");\n        }\n        break;\n      case \"session.ready\":\n        ws.send(JSON.stringify({ type: \"input.frame\", seq_no: 0, timestamp: 0, mime_type: \"image\u002Fjpeg\" }));\n        break;\n      case \"input.frame.ready\":\n        if (event.seq_no === 0) ws.send(frame);\n        break;\n      case \"input.frame.accepted\":\n        if (event.seq_no === 0) ws.send(JSON.stringify({ type: \"input.prompt\", seq_no: 1, prompt: \"What is in the scene?\", final: true }));\n        break;\n      case \"response.text.delta\":\n        process.stdout.write(event.delta ?? \"\");\n        break;\n      case \"session.done\":\n        completed = true;\n        clearTimeout(idleTimer);\n        console.log(\"\\nFinal usage:\", event.usage);\n        ws.close();\n        break;\n      case \"error\":\n      case \"input.frame.rejected\":\n        throw new Error(`${event.code ?? event.type}: ${event.message ?? event.reason ?? \"\"}`);\n    }\n  } catch (error) {\n    fail(error);\n  }\n});\n","ts",[739,2736,2737,2756,2774,2778,2786,2799,2818,2829,2840,2851,2862,2873,2885,2889,2893,2919,2949,2981,3030,3067,3104,3141,3178,3216,3220,3224,3237,3268,3312,3329,3340,3362,3366,3381,3387,3405,3429,3439,3451,3459,3470,3474,3490,3496,3537,3541,3548,3567,3589,3595,3607,3625,3636,3641,3646,3667,3674,3697,3726,3755,3762,3770,3783,3818,3825,3837,3863,3883,3888,3895,3908,3948,3955,3968,3989,3996,4009,4056,4063,4076,4096,4103,4116,4129,4137,4157,4166,4173,4186,4199,4244,4250,4262,4270,4275],{"__ignoreMap":718},[1513,2738,2739,2741,2744,2746,2748,2751,2753],{"class":1515,"line":1516},[1513,2740,1520],{"class":1519},[1513,2742,2743],{"class":1523}," { readFile } ",[1513,2745,1546],{"class":1519},[1513,2747,1604],{"class":1523},[1513,2749,2750],{"class":1607},"node:fs\u002Fpromises",[1513,2752,1698],{"class":1523},[1513,2754,2755],{"class":1523},";\n",[1513,2757,2758,2760,2763,2765,2767,2770,2772],{"class":1515,"line":1527},[1513,2759,1520],{"class":1519},[1513,2761,2762],{"class":1523}," WebSocket ",[1513,2764,1546],{"class":1519},[1513,2766,1604],{"class":1523},[1513,2768,2769],{"class":1607},"ws",[1513,2771,1698],{"class":1523},[1513,2773,2755],{"class":1523},[1513,2775,2776],{"class":1515,"line":1535},[1513,2777,1560],{"emptyLinePlaceholder":709},[1513,2779,2780,2783],{"class":1515,"line":1543},[1513,2781,2782],{"class":1519},"interface",[1513,2784,2785],{"class":1523}," RealtimeEvent {\n",[1513,2787,2788,2791,2794,2797],{"class":1515,"line":1557},[1513,2789,2790],{"class":1523},"  type",[1513,2792,2793],{"class":1519},":",[1513,2795,2796],{"class":1597}," string",[1513,2798,2755],{"class":1523},[1513,2800,2801,2804,2807,2810,2813,2816],{"class":1515,"line":1563},[1513,2802,2803],{"class":1523},"  seq_no",[1513,2805,2806],{"class":1519},"?:",[1513,2808,2809],{"class":1597}," number",[1513,2811,2812],{"class":1519}," |",[1513,2814,2815],{"class":1597}," null",[1513,2817,2755],{"class":1523},[1513,2819,2820,2823,2825,2827],{"class":1515,"line":1576},[1513,2821,2822],{"class":1523},"  max_frame_bytes",[1513,2824,2806],{"class":1519},[1513,2826,2809],{"class":1597},[1513,2828,2755],{"class":1523},[1513,2830,2831,2834,2836,2838],{"class":1515,"line":1589},[1513,2832,2833],{"class":1523},"  delta",[1513,2835,2806],{"class":1519},[1513,2837,2796],{"class":1597},[1513,2839,2755],{"class":1523},[1513,2841,2842,2845,2847,2849],{"class":1515,"line":1594},[1513,2843,2844],{"class":1523},"  code",[1513,2846,2806],{"class":1519},[1513,2848,2796],{"class":1597},[1513,2850,2755],{"class":1523},[1513,2852,2853,2856,2858,2860],{"class":1515,"line":1614},[1513,2854,2855],{"class":1523},"  message",[1513,2857,2806],{"class":1519},[1513,2859,2796],{"class":1597},[1513,2861,2755],{"class":1523},[1513,2863,2864,2867,2869,2871],{"class":1515,"line":1619},[1513,2865,2866],{"class":1523},"  reason",[1513,2868,2806],{"class":1519},[1513,2870,2796],{"class":1597},[1513,2872,2755],{"class":1523},[1513,2874,2875,2878,2880,2883],{"class":1515,"line":1624},[1513,2876,2877],{"class":1523},"  usage",[1513,2879,2806],{"class":1519},[1513,2881,2882],{"class":1597}," unknown",[1513,2884,2755],{"class":1523},[1513,2886,2887],{"class":1515,"line":1639},[1513,2888,2227],{"class":1523},[1513,2890,2891],{"class":1515,"line":1648},[1513,2892,1560],{"emptyLinePlaceholder":709},[1513,2894,2895,2898,2901,2904,2906,2908,2910,2912,2915,2917],{"class":1515,"line":1671},[1513,2896,2897],{"class":1519},"function",[1513,2899,2900],{"class":1519}," isEvent",[1513,2902,2903],{"class":1523},"(value",[1513,2905,2793],{"class":1519},[1513,2907,2882],{"class":1597},[1513,2909,1876],{"class":1523},[1513,2911,2793],{"class":1519},[1513,2913,2914],{"class":1523}," value ",[1513,2916,2035],{"class":1519},[1513,2918,2785],{"class":1523},[1513,2920,2921,2924,2927,2929,2932,2934,2936,2938,2941,2943,2946],{"class":1515,"line":1686},[1513,2922,2923],{"class":1519},"  return",[1513,2925,2926],{"class":1519}," typeof",[1513,2928,2914],{"class":1523},[1513,2930,2931],{"class":1519},"===",[1513,2933,1604],{"class":1523},[1513,2935,1157],{"class":1607},[1513,2937,1698],{"class":1523},[1513,2939,2940],{"class":1519}," &&",[1513,2942,2914],{"class":1523},[1513,2944,2945],{"class":1519},"!==",[1513,2947,2948],{"class":1597}," null\n",[1513,2950,2951,2954,2956,2958,2960,2963,2965,2968,2970,2973,2975,2977,2979],{"class":1515,"line":1714},[1513,2952,2953],{"class":1519},"    &&",[1513,2955,1604],{"class":1523},[1513,2957,864],{"class":1607},[1513,2959,1698],{"class":1523},[1513,2961,2962],{"class":1519}," in",[1513,2964,2914],{"class":1523},[1513,2966,2967],{"class":1519},"&&",[1513,2969,2926],{"class":1519},[1513,2971,2972],{"class":1523}," value.type ",[1513,2974,2931],{"class":1519},[1513,2976,1604],{"class":1523},[1513,2978,708],{"class":1607},[1513,2980,1611],{"class":1523},[1513,2982,2983,2985,2987,2990,2992,2994,2996,2998,3000,3003,3006,3009,3011,3013,3016,3018,3020,3022,3024,3026,3028],{"class":1515,"line":1731},[1513,2984,2953],{"class":1519},[1513,2986,1780],{"class":1523},[1513,2988,2989],{"class":1519},"!",[1513,2991,1695],{"class":1523},[1513,2993,1698],{"class":1523},[1513,2995,947],{"class":1607},[1513,2997,1698],{"class":1523},[1513,2999,2962],{"class":1519},[1513,3001,3002],{"class":1523}," value) ",[1513,3004,3005],{"class":1519},"||",[1513,3007,3008],{"class":1523}," value.seq_no ",[1513,3010,2931],{"class":1519},[1513,3012,2815],{"class":1597},[1513,3014,3015],{"class":1519}," ||",[1513,3017,2926],{"class":1519},[1513,3019,3008],{"class":1523},[1513,3021,2931],{"class":1519},[1513,3023,1604],{"class":1523},[1513,3025,892],{"class":1607},[1513,3027,1698],{"class":1523},[1513,3029,1668],{"class":1523},[1513,3031,3032,3034,3036,3038,3040,3042,3044,3046,3048,3050,3052,3054,3057,3059,3061,3063,3065],{"class":1515,"line":1749},[1513,3033,2953],{"class":1519},[1513,3035,1780],{"class":1523},[1513,3037,2989],{"class":1519},[1513,3039,1695],{"class":1523},[1513,3041,1698],{"class":1523},[1513,3043,2368],{"class":1607},[1513,3045,1698],{"class":1523},[1513,3047,2962],{"class":1519},[1513,3049,3002],{"class":1523},[1513,3051,3005],{"class":1519},[1513,3053,2926],{"class":1519},[1513,3055,3056],{"class":1523}," value.max_frame_bytes ",[1513,3058,2931],{"class":1519},[1513,3060,1604],{"class":1523},[1513,3062,892],{"class":1607},[1513,3064,1698],{"class":1523},[1513,3066,1668],{"class":1523},[1513,3068,3069,3071,3073,3075,3077,3079,3081,3083,3085,3087,3089,3091,3094,3096,3098,3100,3102],{"class":1515,"line":1760},[1513,3070,2953],{"class":1519},[1513,3072,1780],{"class":1523},[1513,3074,2989],{"class":1519},[1513,3076,1695],{"class":1523},[1513,3078,1698],{"class":1523},[1513,3080,1922],{"class":1607},[1513,3082,1698],{"class":1523},[1513,3084,2962],{"class":1519},[1513,3086,3002],{"class":1523},[1513,3088,3005],{"class":1519},[1513,3090,2926],{"class":1519},[1513,3092,3093],{"class":1523}," value.delta ",[1513,3095,2931],{"class":1519},[1513,3097,1604],{"class":1523},[1513,3099,708],{"class":1607},[1513,3101,1698],{"class":1523},[1513,3103,1668],{"class":1523},[1513,3105,3106,3108,3110,3112,3114,3116,3118,3120,3122,3124,3126,3128,3131,3133,3135,3137,3139],{"class":1515,"line":1800},[1513,3107,2953],{"class":1519},[1513,3109,1780],{"class":1523},[1513,3111,2989],{"class":1519},[1513,3113,1695],{"class":1523},[1513,3115,1698],{"class":1523},[1513,3117,739],{"class":1607},[1513,3119,1698],{"class":1523},[1513,3121,2962],{"class":1519},[1513,3123,3002],{"class":1523},[1513,3125,3005],{"class":1519},[1513,3127,2926],{"class":1519},[1513,3129,3130],{"class":1523}," value.code ",[1513,3132,2931],{"class":1519},[1513,3134,1604],{"class":1523},[1513,3136,708],{"class":1607},[1513,3138,1698],{"class":1523},[1513,3140,1668],{"class":1523},[1513,3142,3143,3145,3147,3149,3151,3153,3155,3157,3159,3161,3163,3165,3168,3170,3172,3174,3176],{"class":1515,"line":1885},[1513,3144,2953],{"class":1519},[1513,3146,1780],{"class":1523},[1513,3148,2989],{"class":1519},[1513,3150,1695],{"class":1523},[1513,3152,1698],{"class":1523},[1513,3154,1851],{"class":1607},[1513,3156,1698],{"class":1523},[1513,3158,2962],{"class":1519},[1513,3160,3002],{"class":1523},[1513,3162,3005],{"class":1519},[1513,3164,2926],{"class":1519},[1513,3166,3167],{"class":1523}," value.message ",[1513,3169,2931],{"class":1519},[1513,3171,1604],{"class":1523},[1513,3173,708],{"class":1607},[1513,3175,1698],{"class":1523},[1513,3177,1668],{"class":1523},[1513,3179,3180,3182,3184,3186,3188,3190,3192,3194,3196,3198,3200,3202,3205,3207,3209,3211,3213],{"class":1515,"line":1911},[1513,3181,2953],{"class":1519},[1513,3183,1780],{"class":1523},[1513,3185,2989],{"class":1519},[1513,3187,1695],{"class":1523},[1513,3189,1698],{"class":1523},[1513,3191,1866],{"class":1607},[1513,3193,1698],{"class":1523},[1513,3195,2962],{"class":1519},[1513,3197,3002],{"class":1523},[1513,3199,3005],{"class":1519},[1513,3201,2926],{"class":1519},[1513,3203,3204],{"class":1523}," value.reason ",[1513,3206,2931],{"class":1519},[1513,3208,1604],{"class":1523},[1513,3210,708],{"class":1607},[1513,3212,1698],{"class":1523},[1513,3214,3215],{"class":1523},");\n",[1513,3217,3218],{"class":1515,"line":1945},[1513,3219,2227],{"class":1523},[1513,3221,3222],{"class":1515,"line":1954},[1513,3223,1560],{"emptyLinePlaceholder":709},[1513,3225,3226,3229,3232,3234],{"class":1515,"line":1959},[1513,3227,3228],{"class":1519},"const",[1513,3230,3231],{"class":1523}," keyValue ",[1513,3233,1654],{"class":1519},[1513,3235,3236],{"class":1523}," process.env.MOSS_API_KEY;\n",[1513,3238,3239,3241,3243,3245,3248,3251,3254,3257,3259,3261,3264,3266],{"class":1515,"line":1964},[1513,3240,2704],{"class":1519},[1513,3242,1780],{"class":1523},[1513,3244,2989],{"class":1519},[1513,3246,3247],{"class":1523},"keyValue) ",[1513,3249,3250],{"class":1519},"throw",[1513,3252,3253],{"class":1519}," new",[1513,3255,3256],{"class":1519}," Error",[1513,3258,1695],{"class":1523},[1513,3260,1698],{"class":1523},[1513,3262,3263],{"class":1607},"Set MOSS_API_KEY in your server environment",[1513,3265,1698],{"class":1523},[1513,3267,3215],{"class":1523},[1513,3269,3270,3272,3275,3277,3279,3282,3284,3287,3290,3292,3294,3297,3299,3301,3303,3306,3309],{"class":1515,"line":1984},[1513,3271,3228],{"class":1519},[1513,3273,3274],{"class":1523}," frame ",[1513,3276,1654],{"class":1519},[1513,3278,1657],{"class":1519},[1513,3280,3281],{"class":1519}," readFile",[1513,3283,1695],{"class":1523},[1513,3285,3286],{"class":1519},"new",[1513,3288,3289],{"class":1519}," URL",[1513,3291,1695],{"class":1523},[1513,3293,1698],{"class":1523},[1513,3295,3296],{"class":1607},".\u002Fframe.jpg",[1513,3298,1698],{"class":1523},[1513,3300,1789],{"class":1523},[1513,3302,1520],{"class":1519},[1513,3304,3305],{"class":1523},".",[1513,3307,3308],{"class":1597},"meta",[1513,3310,3311],{"class":1523},".url));\n",[1513,3313,3314,3316,3319,3321,3323,3326],{"class":1515,"line":1995},[1513,3315,3228],{"class":1519},[1513,3317,3318],{"class":1523}," ws ",[1513,3320,1654],{"class":1519},[1513,3322,3253],{"class":1519},[1513,3324,3325],{"class":1519}," WebSocket",[1513,3327,3328],{"class":1523},"(\n",[1513,3330,3331,3334,3336,3338],{"class":1515,"line":2008},[1513,3332,3333],{"class":1523},"  \"",[1513,3335,1608],{"class":1607},[1513,3337,1698],{"class":1523},[1513,3339,2300],{"class":1523},[1513,3341,3342,3345,3348,3350,3353,3356,3359],{"class":1515,"line":2059},[1513,3343,3344],{"class":1523},"  { headers: { Authorization: ",[1513,3346,3347],{"class":1523},"`",[1513,3349,737],{"class":1607},[1513,3351,3352],{"class":1523},"${",[1513,3354,3355],{"class":1523},"keyValue",[1513,3357,3358],{"class":1523},"}`",[1513,3360,3361],{"class":1523}," } },\n",[1513,3363,3364],{"class":1515,"line":2067},[1513,3365,3215],{"class":1523},[1513,3367,3368,3371,3374,3376,3379],{"class":1515,"line":2092},[1513,3369,3370],{"class":1519},"let",[1513,3372,3373],{"class":1523}," completed ",[1513,3375,1654],{"class":1519},[1513,3377,3378],{"class":1597}," false",[1513,3380,2755],{"class":1523},[1513,3382,3383],{"class":1515,"line":2134},[1513,3384,3386],{"class":3385},"sXGmO","\u002F\u002F Client-side idle guard, not a server SLA.\n",[1513,3388,3389,3391,3394,3396,3399,3402],{"class":1515,"line":2139},[1513,3390,3370],{"class":1519},[1513,3392,3393],{"class":1523}," idleTimer",[1513,3395,2793],{"class":1519},[1513,3397,3398],{"class":1523}," ReturnType\u003C",[1513,3400,3401],{"class":1519},"typeof",[1513,3403,3404],{"class":1523}," setTimeout>;\n",[1513,3406,3407,3409,3412,3415,3417,3419,3421,3423,3426],{"class":1515,"line":2144},[1513,3408,2897],{"class":1519},[1513,3410,3411],{"class":1519}," fail",[1513,3413,3414],{"class":1523},"(error",[1513,3416,2793],{"class":1519},[1513,3418,2882],{"class":1597},[1513,3420,1876],{"class":1523},[1513,3422,2793],{"class":1519},[1513,3424,3425],{"class":1597}," void",[1513,3427,3428],{"class":1523}," {\n",[1513,3430,3431,3434,3436],{"class":1515,"line":2157},[1513,3432,3433],{"class":1523},"  console.",[1513,3435,1255],{"class":1519},[1513,3437,3438],{"class":1523},"(error);\n",[1513,3440,3441,3444,3446,3449],{"class":1515,"line":2184},[1513,3442,3443],{"class":1523},"  process.exitCode ",[1513,3445,1654],{"class":1519},[1513,3447,3448],{"class":1597}," 1",[1513,3450,2755],{"class":1523},[1513,3452,3453,3456],{"class":1515,"line":2230},[1513,3454,3455],{"class":1519},"  clearTimeout",[1513,3457,3458],{"class":1523},"(idleTimer);\n",[1513,3460,3461,3464,3467],{"class":1515,"line":2257},[1513,3462,3463],{"class":1523},"  ws.",[1513,3465,3466],{"class":1519},"terminate",[1513,3468,3469],{"class":1523},"();\n",[1513,3471,3472],{"class":1515,"line":2274},[1513,3473,2227],{"class":1523},[1513,3475,3476,3478,3481,3484,3486,3488],{"class":1515,"line":2282},[1513,3477,2897],{"class":1519},[1513,3479,3480],{"class":1519}," resetIdleTimer",[1513,3482,3483],{"class":1523},"()",[1513,3485,2793],{"class":1519},[1513,3487,3425],{"class":1597},[1513,3489,3428],{"class":1523},[1513,3491,3492,3494],{"class":1515,"line":2303},[1513,3493,3455],{"class":1519},[1513,3495,3458],{"class":1523},[1513,3497,3498,3501,3503,3506,3509,3512,3514,3516,3518,3520,3522,3524,3527,3529,3532,3535],{"class":1515,"line":2323},[1513,3499,3500],{"class":1523},"  idleTimer ",[1513,3502,1654],{"class":1519},[1513,3504,3505],{"class":1519}," setTimeout",[1513,3507,3508],{"class":1523},"(() ",[1513,3510,3511],{"class":1519},"=>",[1513,3513,3411],{"class":1519},[1513,3515,1695],{"class":1523},[1513,3517,3286],{"class":1519},[1513,3519,3256],{"class":1519},[1513,3521,1695],{"class":1523},[1513,3523,1698],{"class":1523},[1513,3525,3526],{"class":1607},"No event for 30 seconds; final state and usage unknown",[1513,3528,1698],{"class":1523},[1513,3530,3531],{"class":1523},")), ",[1513,3533,3534],{"class":1597},"30_000",[1513,3536,3215],{"class":1523},[1513,3538,3539],{"class":1515,"line":2329},[1513,3540,2227],{"class":1523},[1513,3542,3543,3546],{"class":1515,"line":2349},[1513,3544,3545],{"class":1519},"resetIdleTimer",[1513,3547,3469],{"class":1523},[1513,3549,3550,3553,3556,3558,3560,3562,3564],{"class":1515,"line":2376},[1513,3551,3552],{"class":1523},"ws.",[1513,3554,3555],{"class":1519},"on",[1513,3557,1695],{"class":1523},[1513,3559,1698],{"class":1523},[1513,3561,1255],{"class":1607},[1513,3563,1698],{"class":1523},[1513,3565,3566],{"class":1523},", fail);\n",[1513,3568,3569,3571,3573,3575,3577,3580,3582,3585,3587],{"class":1515,"line":2395},[1513,3570,3552],{"class":1523},[1513,3572,3555],{"class":1519},[1513,3574,1695],{"class":1523},[1513,3576,1698],{"class":1523},[1513,3578,3579],{"class":1607},"close",[1513,3581,1698],{"class":1523},[1513,3583,3584],{"class":1523},", () ",[1513,3586,3511],{"class":1519},[1513,3588,3428],{"class":1523},[1513,3590,3591,3593],{"class":1515,"line":2410},[1513,3592,3455],{"class":1519},[1513,3594,3458],{"class":1523},[1513,3596,3597,3600,3602,3604],{"class":1515,"line":2417},[1513,3598,3599],{"class":1519},"  if",[1513,3601,1780],{"class":1523},[1513,3603,2989],{"class":1519},[1513,3605,3606],{"class":1523},"completed) {\n",[1513,3608,3609,3612,3614,3616,3618,3621,3623],{"class":1515,"line":2449},[1513,3610,3611],{"class":1523},"    console.",[1513,3613,1255],{"class":1519},[1513,3615,1695],{"class":1523},[1513,3617,1698],{"class":1523},[1513,3619,3620],{"class":1607},"Closed before session.done; final state and usage unknown",[1513,3622,1698],{"class":1523},[1513,3624,3215],{"class":1523},[1513,3626,3627,3630,3632,3634],{"class":1515,"line":2482},[1513,3628,3629],{"class":1523},"    process.exitCode ",[1513,3631,1654],{"class":1519},[1513,3633,3448],{"class":1597},[1513,3635,2755],{"class":1523},[1513,3637,3638],{"class":1515,"line":2487},[1513,3639,3640],{"class":1523},"  }\n",[1513,3642,3643],{"class":1515,"line":2506},[1513,3644,3645],{"class":1523},"});\n",[1513,3647,3648,3650,3652,3654,3656,3658,3660,3663,3665],{"class":1515,"line":2514},[1513,3649,3552],{"class":1523},[1513,3651,3555],{"class":1519},[1513,3653,1695],{"class":1523},[1513,3655,1698],{"class":1523},[1513,3657,1851],{"class":1607},[1513,3659,1698],{"class":1523},[1513,3661,3662],{"class":1523},", (data, isBinary) ",[1513,3664,3511],{"class":1519},[1513,3666,3428],{"class":1523},[1513,3668,3669,3672],{"class":1515,"line":2533},[1513,3670,3671],{"class":1519},"  try",[1513,3673,3428],{"class":1523},[1513,3675,3676,3678,3681,3683,3685,3687,3689,3691,3693,3695],{"class":1515,"line":2540},[1513,3677,1717],{"class":1519},[1513,3679,3680],{"class":1523}," (isBinary) ",[1513,3682,3250],{"class":1519},[1513,3684,3253],{"class":1519},[1513,3686,3256],{"class":1519},[1513,3688,1695],{"class":1523},[1513,3690,1698],{"class":1523},[1513,3692,1742],{"class":1607},[1513,3694,1698],{"class":1523},[1513,3696,3215],{"class":1523},[1513,3698,3699,3702,3705,3707,3709,3711,3714,3717,3720,3723],{"class":1515,"line":2572},[1513,3700,3701],{"class":1519},"    const",[1513,3703,3704],{"class":1523}," event",[1513,3706,2793],{"class":1519},[1513,3708,2882],{"class":1597},[1513,3710,1601],{"class":1519},[1513,3712,3713],{"class":1523}," JSON.",[1513,3715,3716],{"class":1519},"parse",[1513,3718,3719],{"class":1523},"(data.",[1513,3721,3722],{"class":1519},"toString",[1513,3724,3725],{"class":1523},"());\n",[1513,3727,3728,3730,3732,3735,3738,3740,3742,3744,3746,3748,3751,3753],{"class":1515,"line":2604},[1513,3729,1717],{"class":1519},[1513,3731,1780],{"class":1523},[1513,3733,3734],{"class":1519},"!isEvent",[1513,3736,3737],{"class":1523},"(event)) ",[1513,3739,3250],{"class":1519},[1513,3741,3253],{"class":1519},[1513,3743,3256],{"class":1519},[1513,3745,1695],{"class":1523},[1513,3747,1698],{"class":1523},[1513,3749,3750],{"class":1607},"Invalid server event",[1513,3752,1698],{"class":1523},[1513,3754,3215],{"class":1523},[1513,3756,3757,3760],{"class":1515,"line":2609},[1513,3758,3759],{"class":1519},"    resetIdleTimer",[1513,3761,3469],{"class":1523},[1513,3763,3764,3767],{"class":1515,"line":2619},[1513,3765,3766],{"class":1519},"    switch",[1513,3768,3769],{"class":1523}," (event.type) {\n",[1513,3771,3772,3775,3777,3779,3781],{"class":1515,"line":2631},[1513,3773,3774],{"class":1519},"      case",[1513,3776,1604],{"class":1523},[1513,3778,1036],{"class":1607},[1513,3780,1698],{"class":1523},[1513,3782,1645],{"class":1523},[1513,3784,3785,3788,3791,3794,3797,3800,3802,3804,3806,3809,3811,3813,3815],{"class":1515,"line":2657},[1513,3786,3787],{"class":1523},"        ws.",[1513,3789,3790],{"class":1519},"send",[1513,3792,3793],{"class":1523},"(JSON.",[1513,3795,3796],{"class":1519},"stringify",[1513,3798,3799],{"class":1523},"({ type: ",[1513,3801,1698],{"class":1523},[1513,3803,850],{"class":1607},[1513,3805,1698],{"class":1523},[1513,3807,3808],{"class":1523},", prompt: ",[1513,3810,1698],{"class":1523},[1513,3812,2316],{"class":1607},[1513,3814,1698],{"class":1523},[1513,3816,3817],{"class":1523}," }));\n",[1513,3819,3820,3823],{"class":1515,"line":2685},[1513,3821,3822],{"class":1519},"        break",[1513,3824,2755],{"class":1523},[1513,3826,3827,3829,3831,3833,3835],{"class":1515,"line":2691},[1513,3828,3774],{"class":1519},[1513,3830,1604],{"class":1523},[1513,3832,1042],{"class":1607},[1513,3834,1698],{"class":1523},[1513,3836,1645],{"class":1523},[1513,3838,3839,3841,3844,3846,3849,3851,3854,3857,3860],{"class":1515,"line":2696},[1513,3840,2011],{"class":1519},[1513,3842,3843],{"class":1523}," (event.max_frame_bytes ",[1513,3845,2931],{"class":1519},[1513,3847,3848],{"class":1597}," undefined",[1513,3850,3015],{"class":1519},[1513,3852,3853],{"class":1523}," frame.",[1513,3855,3856],{"class":1597},"length",[1513,3858,3859],{"class":1519}," >",[1513,3861,3862],{"class":1523}," event.max_frame_bytes) {\n",[1513,3864,3865,3868,3870,3872,3874,3876,3879,3881],{"class":1515,"line":2701},[1513,3866,3867],{"class":1519},"          throw",[1513,3869,3253],{"class":1519},[1513,3871,3256],{"class":1519},[1513,3873,1695],{"class":1523},[1513,3875,1698],{"class":1523},[1513,3877,3878],{"class":1607},"frame.jpg exceeds max_frame_bytes or limit is missing",[1513,3880,1698],{"class":1523},[1513,3882,3215],{"class":1523},[1513,3884,3885],{"class":1515,"line":2722},[1513,3886,3887],{"class":1523},"        }\n",[1513,3889,3891,3893],{"class":1515,"line":3890},69,[1513,3892,3822],{"class":1519},[1513,3894,2755],{"class":1523},[1513,3896,3898,3900,3902,3904,3906],{"class":1515,"line":3897},70,[1513,3899,3774],{"class":1519},[1513,3901,1604],{"class":1523},[1513,3903,1048],{"class":1607},[1513,3905,1698],{"class":1523},[1513,3907,1645],{"class":1523},[1513,3909,3911,3913,3915,3917,3919,3921,3923,3925,3927,3930,3932,3935,3937,3940,3942,3944,3946],{"class":1515,"line":3910},71,[1513,3912,3787],{"class":1523},[1513,3914,3790],{"class":1519},[1513,3916,3793],{"class":1523},[1513,3918,3796],{"class":1519},[1513,3920,3799],{"class":1523},[1513,3922,1698],{"class":1523},[1513,3924,932],{"class":1607},[1513,3926,1698],{"class":1523},[1513,3928,3929],{"class":1523},", seq_no: ",[1513,3931,2444],{"class":1597},[1513,3933,3934],{"class":1523},", timestamp: ",[1513,3936,2444],{"class":1597},[1513,3938,3939],{"class":1523},", mime_type: ",[1513,3941,1698],{"class":1523},[1513,3943,2475],{"class":1607},[1513,3945,1698],{"class":1523},[1513,3947,3817],{"class":1523},[1513,3949,3951,3953],{"class":1515,"line":3950},72,[1513,3952,3822],{"class":1519},[1513,3954,2755],{"class":1523},[1513,3956,3958,3960,3962,3964,3966],{"class":1515,"line":3957},73,[1513,3959,3774],{"class":1519},[1513,3961,1604],{"class":1523},[1513,3963,1070],{"class":1607},[1513,3965,1698],{"class":1523},[1513,3967,1645],{"class":1523},[1513,3969,3971,3973,3976,3978,3981,3984,3986],{"class":1515,"line":3970},74,[1513,3972,2011],{"class":1519},[1513,3974,3975],{"class":1523}," (event.seq_no ",[1513,3977,2931],{"class":1519},[1513,3979,3980],{"class":1597}," 0",[1513,3982,3983],{"class":1523},") ws.",[1513,3985,3790],{"class":1519},[1513,3987,3988],{"class":1523},"(frame);\n",[1513,3990,3992,3994],{"class":1515,"line":3991},75,[1513,3993,3822],{"class":1519},[1513,3995,2755],{"class":1523},[1513,3997,3999,4001,4003,4005,4007],{"class":1515,"line":3998},76,[1513,4000,3774],{"class":1519},[1513,4002,1604],{"class":1523},[1513,4004,1076],{"class":1607},[1513,4006,1698],{"class":1523},[1513,4008,1645],{"class":1523},[1513,4010,4012,4014,4016,4018,4020,4022,4024,4026,4028,4030,4032,4034,4036,4038,4040,4042,4044,4046,4048,4051,4054],{"class":1515,"line":4011},77,[1513,4013,2011],{"class":1519},[1513,4015,3975],{"class":1523},[1513,4017,2931],{"class":1519},[1513,4019,3980],{"class":1597},[1513,4021,3983],{"class":1523},[1513,4023,3790],{"class":1519},[1513,4025,3793],{"class":1523},[1513,4027,3796],{"class":1519},[1513,4029,3799],{"class":1523},[1513,4031,1698],{"class":1523},[1513,4033,983],{"class":1607},[1513,4035,1698],{"class":1523},[1513,4037,3929],{"class":1523},[1513,4039,2567],{"class":1597},[1513,4041,3808],{"class":1523},[1513,4043,1698],{"class":1523},[1513,4045,2585],{"class":1607},[1513,4047,1698],{"class":1523},[1513,4049,4050],{"class":1523},", final: ",[1513,4052,4053],{"class":1597},"true",[1513,4055,3817],{"class":1523},[1513,4057,4059,4061],{"class":1515,"line":4058},78,[1513,4060,3822],{"class":1519},[1513,4062,2755],{"class":1523},[1513,4064,4066,4068,4070,4072,4074],{"class":1515,"line":4065},79,[1513,4067,3774],{"class":1519},[1513,4069,1604],{"class":1523},[1513,4071,1116],{"class":1607},[1513,4073,1698],{"class":1523},[1513,4075,1645],{"class":1523},[1513,4077,4079,4082,4085,4088,4091,4094],{"class":1515,"line":4078},80,[1513,4080,4081],{"class":1523},"        process.stdout.",[1513,4083,4084],{"class":1519},"write",[1513,4086,4087],{"class":1523},"(event.delta ",[1513,4089,4090],{"class":1519},"??",[1513,4092,4093],{"class":1523}," \"\"",[1513,4095,3215],{"class":1523},[1513,4097,4099,4101],{"class":1515,"line":4098},81,[1513,4100,3822],{"class":1519},[1513,4102,2755],{"class":1523},[1513,4104,4106,4108,4110,4112,4114],{"class":1515,"line":4105},82,[1513,4107,3774],{"class":1519},[1513,4109,1604],{"class":1523},[1513,4111,1054],{"class":1607},[1513,4113,1698],{"class":1523},[1513,4115,1645],{"class":1523},[1513,4117,4119,4122,4124,4127],{"class":1515,"line":4118},83,[1513,4120,4121],{"class":1523},"        completed ",[1513,4123,1654],{"class":1519},[1513,4125,4126],{"class":1597}," true",[1513,4128,2755],{"class":1523},[1513,4130,4132,4135],{"class":1515,"line":4131},84,[1513,4133,4134],{"class":1519},"        clearTimeout",[1513,4136,3458],{"class":1523},[1513,4138,4140,4143,4146,4148,4150,4152,4154],{"class":1515,"line":4139},85,[1513,4141,4142],{"class":1523},"        console.",[1513,4144,4145],{"class":1519},"log",[1513,4147,1695],{"class":1523},[1513,4149,1698],{"class":1523},[1513,4151,2667],{"class":1607},[1513,4153,1698],{"class":1523},[1513,4155,4156],{"class":1523},", event.usage);\n",[1513,4158,4160,4162,4164],{"class":1515,"line":4159},86,[1513,4161,3787],{"class":1523},[1513,4163,3579],{"class":1519},[1513,4165,3469],{"class":1523},[1513,4167,4169,4171],{"class":1515,"line":4168},87,[1513,4170,3822],{"class":1519},[1513,4172,2755],{"class":1523},[1513,4174,4176,4178,4180,4182,4184],{"class":1515,"line":4175},88,[1513,4177,3774],{"class":1519},[1513,4179,1604],{"class":1523},[1513,4181,1255],{"class":1607},[1513,4183,1698],{"class":1523},[1513,4185,1645],{"class":1523},[1513,4187,4189,4191,4193,4195,4197],{"class":1515,"line":4188},89,[1513,4190,3774],{"class":1519},[1513,4192,1604],{"class":1523},[1513,4194,1088],{"class":1607},[1513,4196,1698],{"class":1523},[1513,4198,1645],{"class":1523},[1513,4200,4202,4205,4207,4209,4211,4214,4217,4220,4223,4225,4227,4229,4232,4234,4237,4239,4242],{"class":1515,"line":4201},90,[1513,4203,4204],{"class":1519},"        throw",[1513,4206,3253],{"class":1519},[1513,4208,3256],{"class":1519},[1513,4210,1695],{"class":1523},[1513,4212,4213],{"class":1523},"`${",[1513,4215,4216],{"class":1523},"event.code",[1513,4218,4219],{"class":1519}," ??",[1513,4221,4222],{"class":1523}," event.type",[1513,4224,1839],{"class":1523},[1513,4226,1842],{"class":1607},[1513,4228,3352],{"class":1523},[1513,4230,4231],{"class":1523},"event.message",[1513,4233,4219],{"class":1519},[1513,4235,4236],{"class":1523}," event.reason",[1513,4238,4219],{"class":1519},[1513,4240,4241],{"class":1523}," \"\"}`",[1513,4243,3215],{"class":1523},[1513,4245,4247],{"class":1515,"line":4246},91,[1513,4248,4249],{"class":1523},"    }\n",[1513,4251,4253,4256,4259],{"class":1515,"line":4252},92,[1513,4254,4255],{"class":1523},"  } ",[1513,4257,4258],{"class":1519},"catch",[1513,4260,4261],{"class":1523}," (error) {\n",[1513,4263,4265,4268],{"class":1515,"line":4264},93,[1513,4266,4267],{"class":1519},"    fail",[1513,4269,3438],{"class":1523},[1513,4271,4273],{"class":1515,"line":4272},94,[1513,4274,3640],{"class":1523},[1513,4276,4278],{"class":1515,"line":4277},95,[1513,4279,3645],{"class":1523},[689,4281,4283],{"id":4282},"response-example","Response example",[4285,4286,4289,5508],"mosi-code-group",{"ariaLabel":4287,"copy-error-label":4288,"copy-label":1498,"copy-success-label":1499},"Response configuration","Copy failed. Try again.",[1501,4290,4292],{"label":554,"value":4291},"default",[1506,4293,4297],{"className":4294,"code":4295,"language":4296,"meta":718,"style":718},"language-json shiki shiki-themes moss-docs-light","{\"type\":\"session.created\",\"session_id\":\"session_xxx\",\"task_id\":\"task_xxx\",\"model\":\"moss-vl-realtime-1.0-2026-09-09\",\"turn_id\":0,\"configure_timeout_s\":180,\"protocol_version\":\"vl-api-v2\",\"capabilities\":[\"session.usage\",\"response.done.usage\",\"session.done.usage\",\"error.seq_no\",\"input.frame.rejected\",\"response.done.per_response\",\"response.id\",\"usage.text_input_output\"]}\n{\"type\":\"session.configured\",\"session_id\":\"video_sess_xxx\",\"request_id\":\"video_req_xxx\",\"max_frame_bytes\":8388608,\"input_queue_capacity\":4,\"max_tokens_per_turn\":86400,\"parked_request_timeout_s\":3600,\"context_limit\":131072}\n{\"type\":\"session.ready\",\"session_id\":\"video_sess_xxx\",\"request_id\":\"video_req_xxx\",\"turn_id\":0}\n{\"type\":\"response.turn.silence\",\"turn_id\":0,\"seq_no\":null,\"timestamp\":null,\"silence_seq\":0}\n{\"type\":\"input.frame.ready\",\"seq_no\":0}\n{\"type\":\"input.frame.accepted\",\"seq_no\":0,\"timestamp\":0.0,\"final\":false,\"pending_events\":1,\"interrupts_current_turn\":false}\n{\"type\":\"input.frame.processed\",\"seq_no\":0,\"timestamp\":0.0,\"final\":false,\"pending_events\":0}\n{\"type\":\"input.prompt.accepted\",\"seq_no\":1,\"final\":true,\"pending_events\":1,\"interrupts_current_turn\":true}\n{\"type\":\"response.turn.interrupted\",\"turn_id\":0,\"next_turn_id\":1,\"seq_no\":1}\n{\"type\":\"input.prompt.processed\",\"seq_no\":1,\"timestamp\":0.0,\"final\":true,\"pending_events\":0,\"interrupted_turn_id\":0,\"turn_id\":1}\n{\"type\":\"response.text.delta\",\"delta\":\"There is a car in the scene.\",\"turn_id\":1,\"response_id\":\"resp_xxx\",\"response_seq\":1}\n{\"type\":\"response.done\",\"response_id\":\"resp_xxx\",\"response_seq\":1,\"turn_id\":1,\"finish_reason\":\"stop\",\"boundary\":\"silence\",\"usage\":{\"vision_tokens\":120,\"text_input_tokens\":9,\"text_output_tokens\":8,\"text_tokens\":17,\"total_tokens\":137}}\n{\"type\":\"session.done\",\"reason\":\"completed\",\"usage\":{\"vision_tokens\":120,\"text_input_tokens\":9,\"text_output_tokens\":8,\"text_tokens\":17,\"total_tokens\":137}}\n","json",[739,4298,4299,4497,4618,4682,4752,4784,4866,4934,5002,5059,5152,5232,5403],{"__ignoreMap":718},[1513,4300,4301,4303,4305,4307,4309,4311,4313,4315,4317,4320,4322,4325,4327,4329,4331,4334,4336,4338,4340,4343,4345,4347,4349,4352,4354,4356,4358,4360,4362,4364,4366,4369,4371,4373,4375,4378,4380,4382,4384,4386,4388,4391,4393,4395,4398,4400,4402,4405,4407,4409,4411,4414,4416,4418,4420,4423,4425,4428,4430,4432,4434,4436,4438,4440,4442,4444,4446,4448,4450,4452,4454,4457,4459,4461,4463,4465,4467,4469,4471,4474,4476,4478,4480,4483,4485,4487,4489,4492,4494],{"class":1515,"line":1516},[1513,4302,1814],{"class":1523},[1513,4304,1698],{"class":1523},[1513,4306,864],{"class":1597},[1513,4308,1698],{"class":1523},[1513,4310,2793],{"class":1523},[1513,4312,1698],{"class":1523},[1513,4314,1036],{"class":1607},[1513,4316,1698],{"class":1523},[1513,4318,4319],{"class":1523},",",[1513,4321,1698],{"class":1523},[1513,4323,4324],{"class":1597},"session_id",[1513,4326,1698],{"class":1523},[1513,4328,2793],{"class":1523},[1513,4330,1698],{"class":1523},[1513,4332,4333],{"class":1607},"session_xxx",[1513,4335,1698],{"class":1523},[1513,4337,4319],{"class":1523},[1513,4339,1698],{"class":1523},[1513,4341,4342],{"class":1597},"task_id",[1513,4344,1698],{"class":1523},[1513,4346,2793],{"class":1523},[1513,4348,1698],{"class":1523},[1513,4350,4351],{"class":1607},"task_xxx",[1513,4353,1698],{"class":1523},[1513,4355,4319],{"class":1523},[1513,4357,1698],{"class":1523},[1513,4359,707],{"class":1597},[1513,4361,1698],{"class":1523},[1513,4363,2793],{"class":1523},[1513,4365,1698],{"class":1523},[1513,4367,4368],{"class":1607},"moss-vl-realtime-1.0-2026-09-09",[1513,4370,1698],{"class":1523},[1513,4372,4319],{"class":1523},[1513,4374,1698],{"class":1523},[1513,4376,4377],{"class":1597},"turn_id",[1513,4379,1698],{"class":1523},[1513,4381,2793],{"class":1523},[1513,4383,2444],{"class":1597},[1513,4385,4319],{"class":1523},[1513,4387,1698],{"class":1523},[1513,4389,4390],{"class":1597},"configure_timeout_s",[1513,4392,1698],{"class":1523},[1513,4394,2793],{"class":1523},[1513,4396,4397],{"class":1597},"180",[1513,4399,4319],{"class":1523},[1513,4401,1698],{"class":1523},[1513,4403,4404],{"class":1597},"protocol_version",[1513,4406,1698],{"class":1523},[1513,4408,2793],{"class":1523},[1513,4410,1698],{"class":1523},[1513,4412,4413],{"class":1607},"vl-api-v2",[1513,4415,1698],{"class":1523},[1513,4417,4319],{"class":1523},[1513,4419,1698],{"class":1523},[1513,4421,4422],{"class":1597},"capabilities",[1513,4424,1698],{"class":1523},[1513,4426,4427],{"class":1523},":[",[1513,4429,1698],{"class":1523},[1513,4431,1150],{"class":1607},[1513,4433,1698],{"class":1523},[1513,4435,4319],{"class":1523},[1513,4437,1698],{"class":1523},[1513,4439,1156],{"class":1607},[1513,4441,1698],{"class":1523},[1513,4443,4319],{"class":1523},[1513,4445,1698],{"class":1523},[1513,4447,1163],{"class":1607},[1513,4449,1698],{"class":1523},[1513,4451,4319],{"class":1523},[1513,4453,1698],{"class":1523},[1513,4455,4456],{"class":1607},"error.seq_no",[1513,4458,1698],{"class":1523},[1513,4460,4319],{"class":1523},[1513,4462,1698],{"class":1523},[1513,4464,1088],{"class":1607},[1513,4466,1698],{"class":1523},[1513,4468,4319],{"class":1523},[1513,4470,1698],{"class":1523},[1513,4472,4473],{"class":1607},"response.done.per_response",[1513,4475,1698],{"class":1523},[1513,4477,4319],{"class":1523},[1513,4479,1698],{"class":1523},[1513,4481,4482],{"class":1607},"response.id",[1513,4484,1698],{"class":1523},[1513,4486,4319],{"class":1523},[1513,4488,1698],{"class":1523},[1513,4490,4491],{"class":1607},"usage.text_input_output",[1513,4493,1698],{"class":1523},[1513,4495,4496],{"class":1523},"]}\n",[1513,4498,4499,4501,4503,4505,4507,4509,4511,4513,4515,4517,4519,4521,4523,4525,4527,4530,4532,4534,4536,4539,4541,4543,4545,4548,4550,4552,4554,4556,4558,4560,4563,4565,4567,4569,4571,4573,4576,4578,4580,4582,4584,4586,4589,4591,4593,4596,4598,4600,4603,4605,4607,4609,4611,4613,4616],{"class":1515,"line":1527},[1513,4500,1814],{"class":1523},[1513,4502,1698],{"class":1523},[1513,4504,864],{"class":1597},[1513,4506,1698],{"class":1523},[1513,4508,2793],{"class":1523},[1513,4510,1698],{"class":1523},[1513,4512,1042],{"class":1607},[1513,4514,1698],{"class":1523},[1513,4516,4319],{"class":1523},[1513,4518,1698],{"class":1523},[1513,4520,4324],{"class":1597},[1513,4522,1698],{"class":1523},[1513,4524,2793],{"class":1523},[1513,4526,1698],{"class":1523},[1513,4528,4529],{"class":1607},"video_sess_xxx",[1513,4531,1698],{"class":1523},[1513,4533,4319],{"class":1523},[1513,4535,1698],{"class":1523},[1513,4537,4538],{"class":1597},"request_id",[1513,4540,1698],{"class":1523},[1513,4542,2793],{"class":1523},[1513,4544,1698],{"class":1523},[1513,4546,4547],{"class":1607},"video_req_xxx",[1513,4549,1698],{"class":1523},[1513,4551,4319],{"class":1523},[1513,4553,1698],{"class":1523},[1513,4555,2368],{"class":1597},[1513,4557,1698],{"class":1523},[1513,4559,2793],{"class":1523},[1513,4561,4562],{"class":1597},"8388608",[1513,4564,4319],{"class":1523},[1513,4566,1698],{"class":1523},[1513,4568,916],{"class":1597},[1513,4570,1698],{"class":1523},[1513,4572,2793],{"class":1523},[1513,4574,4575],{"class":1597},"4",[1513,4577,4319],{"class":1523},[1513,4579,1698],{"class":1523},[1513,4581,891],{"class":1597},[1513,4583,1698],{"class":1523},[1513,4585,2793],{"class":1523},[1513,4587,4588],{"class":1597},"86400",[1513,4590,4319],{"class":1523},[1513,4592,1698],{"class":1523},[1513,4594,4595],{"class":1597},"parked_request_timeout_s",[1513,4597,1698],{"class":1523},[1513,4599,2793],{"class":1523},[1513,4601,4602],{"class":1597},"3600",[1513,4604,4319],{"class":1523},[1513,4606,1698],{"class":1523},[1513,4608,1198],{"class":1597},[1513,4610,1698],{"class":1523},[1513,4612,2793],{"class":1523},[1513,4614,4615],{"class":1597},"131072",[1513,4617,2227],{"class":1523},[1513,4619,4620,4622,4624,4626,4628,4630,4632,4634,4636,4638,4640,4642,4644,4646,4648,4650,4652,4654,4656,4658,4660,4662,4664,4666,4668,4670,4672,4674,4676,4678,4680],{"class":1515,"line":1535},[1513,4621,1814],{"class":1523},[1513,4623,1698],{"class":1523},[1513,4625,864],{"class":1597},[1513,4627,1698],{"class":1523},[1513,4629,2793],{"class":1523},[1513,4631,1698],{"class":1523},[1513,4633,1048],{"class":1607},[1513,4635,1698],{"class":1523},[1513,4637,4319],{"class":1523},[1513,4639,1698],{"class":1523},[1513,4641,4324],{"class":1597},[1513,4643,1698],{"class":1523},[1513,4645,2793],{"class":1523},[1513,4647,1698],{"class":1523},[1513,4649,4529],{"class":1607},[1513,4651,1698],{"class":1523},[1513,4653,4319],{"class":1523},[1513,4655,1698],{"class":1523},[1513,4657,4538],{"class":1597},[1513,4659,1698],{"class":1523},[1513,4661,2793],{"class":1523},[1513,4663,1698],{"class":1523},[1513,4665,4547],{"class":1607},[1513,4667,1698],{"class":1523},[1513,4669,4319],{"class":1523},[1513,4671,1698],{"class":1523},[1513,4673,4377],{"class":1597},[1513,4675,1698],{"class":1523},[1513,4677,2793],{"class":1523},[1513,4679,2444],{"class":1597},[1513,4681,2227],{"class":1523},[1513,4683,4684,4686,4688,4690,4692,4694,4696,4698,4700,4702,4704,4706,4708,4710,4712,4714,4716,4718,4720,4722,4725,4727,4729,4731,4733,4735,4737,4739,4741,4744,4746,4748,4750],{"class":1515,"line":1543},[1513,4685,1814],{"class":1523},[1513,4687,1698],{"class":1523},[1513,4689,864],{"class":1597},[1513,4691,1698],{"class":1523},[1513,4693,2793],{"class":1523},[1513,4695,1698],{"class":1523},[1513,4697,1122],{"class":1607},[1513,4699,1698],{"class":1523},[1513,4701,4319],{"class":1523},[1513,4703,1698],{"class":1523},[1513,4705,4377],{"class":1597},[1513,4707,1698],{"class":1523},[1513,4709,2793],{"class":1523},[1513,4711,2444],{"class":1597},[1513,4713,4319],{"class":1523},[1513,4715,1698],{"class":1523},[1513,4717,947],{"class":1597},[1513,4719,1698],{"class":1523},[1513,4721,2793],{"class":1523},[1513,4723,4724],{"class":1597},"null",[1513,4726,4319],{"class":1523},[1513,4728,1698],{"class":1523},[1513,4730,953],{"class":1597},[1513,4732,1698],{"class":1523},[1513,4734,2793],{"class":1523},[1513,4736,4724],{"class":1597},[1513,4738,4319],{"class":1523},[1513,4740,1698],{"class":1523},[1513,4742,4743],{"class":1597},"silence_seq",[1513,4745,1698],{"class":1523},[1513,4747,2793],{"class":1523},[1513,4749,2444],{"class":1597},[1513,4751,2227],{"class":1523},[1513,4753,4754,4756,4758,4760,4762,4764,4766,4768,4770,4772,4774,4776,4778,4780,4782],{"class":1515,"line":1557},[1513,4755,1814],{"class":1523},[1513,4757,1698],{"class":1523},[1513,4759,864],{"class":1597},[1513,4761,1698],{"class":1523},[1513,4763,2793],{"class":1523},[1513,4765,1698],{"class":1523},[1513,4767,1070],{"class":1607},[1513,4769,1698],{"class":1523},[1513,4771,4319],{"class":1523},[1513,4773,1698],{"class":1523},[1513,4775,947],{"class":1597},[1513,4777,1698],{"class":1523},[1513,4779,2793],{"class":1523},[1513,4781,2444],{"class":1597},[1513,4783,2227],{"class":1523},[1513,4785,4786,4788,4790,4792,4794,4796,4798,4800,4802,4804,4806,4808,4810,4812,4814,4816,4818,4820,4822,4824,4826,4828,4830,4832,4834,4836,4838,4840,4842,4845,4847,4849,4851,4853,4855,4858,4860,4862,4864],{"class":1515,"line":1563},[1513,4787,1814],{"class":1523},[1513,4789,1698],{"class":1523},[1513,4791,864],{"class":1597},[1513,4793,1698],{"class":1523},[1513,4795,2793],{"class":1523},[1513,4797,1698],{"class":1523},[1513,4799,1076],{"class":1607},[1513,4801,1698],{"class":1523},[1513,4803,4319],{"class":1523},[1513,4805,1698],{"class":1523},[1513,4807,947],{"class":1597},[1513,4809,1698],{"class":1523},[1513,4811,2793],{"class":1523},[1513,4813,2444],{"class":1597},[1513,4815,4319],{"class":1523},[1513,4817,1698],{"class":1523},[1513,4819,953],{"class":1597},[1513,4821,1698],{"class":1523},[1513,4823,2793],{"class":1523},[1513,4825,2460],{"class":1597},[1513,4827,4319],{"class":1523},[1513,4829,1698],{"class":1523},[1513,4831,977],{"class":1597},[1513,4833,1698],{"class":1523},[1513,4835,2793],{"class":1523},[1513,4837,847],{"class":1597},[1513,4839,4319],{"class":1523},[1513,4841,1698],{"class":1523},[1513,4843,4844],{"class":1597},"pending_events",[1513,4846,1698],{"class":1523},[1513,4848,2793],{"class":1523},[1513,4850,2567],{"class":1597},[1513,4852,4319],{"class":1523},[1513,4854,1698],{"class":1523},[1513,4856,4857],{"class":1597},"interrupts_current_turn",[1513,4859,1698],{"class":1523},[1513,4861,2793],{"class":1523},[1513,4863,847],{"class":1597},[1513,4865,2227],{"class":1523},[1513,4867,4868,4870,4872,4874,4876,4878,4880,4882,4884,4886,4888,4890,4892,4894,4896,4898,4900,4902,4904,4906,4908,4910,4912,4914,4916,4918,4920,4922,4924,4926,4928,4930,4932],{"class":1515,"line":1576},[1513,4869,1814],{"class":1523},[1513,4871,1698],{"class":1523},[1513,4873,864],{"class":1597},[1513,4875,1698],{"class":1523},[1513,4877,2793],{"class":1523},[1513,4879,1698],{"class":1523},[1513,4881,1082],{"class":1607},[1513,4883,1698],{"class":1523},[1513,4885,4319],{"class":1523},[1513,4887,1698],{"class":1523},[1513,4889,947],{"class":1597},[1513,4891,1698],{"class":1523},[1513,4893,2793],{"class":1523},[1513,4895,2444],{"class":1597},[1513,4897,4319],{"class":1523},[1513,4899,1698],{"class":1523},[1513,4901,953],{"class":1597},[1513,4903,1698],{"class":1523},[1513,4905,2793],{"class":1523},[1513,4907,2460],{"class":1597},[1513,4909,4319],{"class":1523},[1513,4911,1698],{"class":1523},[1513,4913,977],{"class":1597},[1513,4915,1698],{"class":1523},[1513,4917,2793],{"class":1523},[1513,4919,847],{"class":1597},[1513,4921,4319],{"class":1523},[1513,4923,1698],{"class":1523},[1513,4925,4844],{"class":1597},[1513,4927,1698],{"class":1523},[1513,4929,2793],{"class":1523},[1513,4931,2444],{"class":1597},[1513,4933,2227],{"class":1523},[1513,4935,4936,4938,4940,4942,4944,4946,4948,4950,4952,4954,4956,4958,4960,4962,4964,4966,4968,4970,4972,4974,4976,4978,4980,4982,4984,4986,4988,4990,4992,4994,4996,4998,5000],{"class":1515,"line":1589},[1513,4937,1814],{"class":1523},[1513,4939,1698],{"class":1523},[1513,4941,864],{"class":1597},[1513,4943,1698],{"class":1523},[1513,4945,2793],{"class":1523},[1513,4947,1698],{"class":1523},[1513,4949,1094],{"class":1607},[1513,4951,1698],{"class":1523},[1513,4953,4319],{"class":1523},[1513,4955,1698],{"class":1523},[1513,4957,947],{"class":1597},[1513,4959,1698],{"class":1523},[1513,4961,2793],{"class":1523},[1513,4963,2567],{"class":1597},[1513,4965,4319],{"class":1523},[1513,4967,1698],{"class":1523},[1513,4969,977],{"class":1597},[1513,4971,1698],{"class":1523},[1513,4973,2793],{"class":1523},[1513,4975,4053],{"class":1597},[1513,4977,4319],{"class":1523},[1513,4979,1698],{"class":1523},[1513,4981,4844],{"class":1597},[1513,4983,1698],{"class":1523},[1513,4985,2793],{"class":1523},[1513,4987,2567],{"class":1597},[1513,4989,4319],{"class":1523},[1513,4991,1698],{"class":1523},[1513,4993,4857],{"class":1597},[1513,4995,1698],{"class":1523},[1513,4997,2793],{"class":1523},[1513,4999,4053],{"class":1597},[1513,5001,2227],{"class":1523},[1513,5003,5004,5006,5008,5010,5012,5014,5016,5018,5020,5022,5024,5026,5028,5030,5032,5034,5036,5039,5041,5043,5045,5047,5049,5051,5053,5055,5057],{"class":1515,"line":1594},[1513,5005,1814],{"class":1523},[1513,5007,1698],{"class":1523},[1513,5009,864],{"class":1597},[1513,5011,1698],{"class":1523},[1513,5013,2793],{"class":1523},[1513,5015,1698],{"class":1523},[1513,5017,1128],{"class":1607},[1513,5019,1698],{"class":1523},[1513,5021,4319],{"class":1523},[1513,5023,1698],{"class":1523},[1513,5025,4377],{"class":1597},[1513,5027,1698],{"class":1523},[1513,5029,2793],{"class":1523},[1513,5031,2444],{"class":1597},[1513,5033,4319],{"class":1523},[1513,5035,1698],{"class":1523},[1513,5037,5038],{"class":1597},"next_turn_id",[1513,5040,1698],{"class":1523},[1513,5042,2793],{"class":1523},[1513,5044,2567],{"class":1597},[1513,5046,4319],{"class":1523},[1513,5048,1698],{"class":1523},[1513,5050,947],{"class":1597},[1513,5052,1698],{"class":1523},[1513,5054,2793],{"class":1523},[1513,5056,2567],{"class":1597},[1513,5058,2227],{"class":1523},[1513,5060,5061,5063,5065,5067,5069,5071,5073,5075,5077,5079,5081,5083,5085,5087,5089,5091,5093,5095,5097,5099,5101,5103,5105,5107,5109,5111,5113,5115,5117,5119,5121,5123,5125,5127,5129,5132,5134,5136,5138,5140,5142,5144,5146,5148,5150],{"class":1515,"line":1614},[1513,5062,1814],{"class":1523},[1513,5064,1698],{"class":1523},[1513,5066,864],{"class":1597},[1513,5068,1698],{"class":1523},[1513,5070,2793],{"class":1523},[1513,5072,1698],{"class":1523},[1513,5074,1100],{"class":1607},[1513,5076,1698],{"class":1523},[1513,5078,4319],{"class":1523},[1513,5080,1698],{"class":1523},[1513,5082,947],{"class":1597},[1513,5084,1698],{"class":1523},[1513,5086,2793],{"class":1523},[1513,5088,2567],{"class":1597},[1513,5090,4319],{"class":1523},[1513,5092,1698],{"class":1523},[1513,5094,953],{"class":1597},[1513,5096,1698],{"class":1523},[1513,5098,2793],{"class":1523},[1513,5100,2460],{"class":1597},[1513,5102,4319],{"class":1523},[1513,5104,1698],{"class":1523},[1513,5106,977],{"class":1597},[1513,5108,1698],{"class":1523},[1513,5110,2793],{"class":1523},[1513,5112,4053],{"class":1597},[1513,5114,4319],{"class":1523},[1513,5116,1698],{"class":1523},[1513,5118,4844],{"class":1597},[1513,5120,1698],{"class":1523},[1513,5122,2793],{"class":1523},[1513,5124,2444],{"class":1597},[1513,5126,4319],{"class":1523},[1513,5128,1698],{"class":1523},[1513,5130,5131],{"class":1597},"interrupted_turn_id",[1513,5133,1698],{"class":1523},[1513,5135,2793],{"class":1523},[1513,5137,2444],{"class":1597},[1513,5139,4319],{"class":1523},[1513,5141,1698],{"class":1523},[1513,5143,4377],{"class":1597},[1513,5145,1698],{"class":1523},[1513,5147,2793],{"class":1523},[1513,5149,2567],{"class":1597},[1513,5151,2227],{"class":1523},[1513,5153,5154,5156,5158,5160,5162,5164,5166,5168,5170,5172,5174,5176,5178,5180,5182,5185,5187,5189,5191,5193,5195,5197,5199,5201,5203,5206,5208,5210,5212,5215,5217,5219,5221,5224,5226,5228,5230],{"class":1515,"line":1619},[1513,5155,1814],{"class":1523},[1513,5157,1698],{"class":1523},[1513,5159,864],{"class":1597},[1513,5161,1698],{"class":1523},[1513,5163,2793],{"class":1523},[1513,5165,1698],{"class":1523},[1513,5167,1116],{"class":1607},[1513,5169,1698],{"class":1523},[1513,5171,4319],{"class":1523},[1513,5173,1698],{"class":1523},[1513,5175,1922],{"class":1597},[1513,5177,1698],{"class":1523},[1513,5179,2793],{"class":1523},[1513,5181,1698],{"class":1523},[1513,5183,5184],{"class":1607},"There is a car in the scene.",[1513,5186,1698],{"class":1523},[1513,5188,4319],{"class":1523},[1513,5190,1698],{"class":1523},[1513,5192,4377],{"class":1597},[1513,5194,1698],{"class":1523},[1513,5196,2793],{"class":1523},[1513,5198,2567],{"class":1597},[1513,5200,4319],{"class":1523},[1513,5202,1698],{"class":1523},[1513,5204,5205],{"class":1597},"response_id",[1513,5207,1698],{"class":1523},[1513,5209,2793],{"class":1523},[1513,5211,1698],{"class":1523},[1513,5213,5214],{"class":1607},"resp_xxx",[1513,5216,1698],{"class":1523},[1513,5218,4319],{"class":1523},[1513,5220,1698],{"class":1523},[1513,5222,5223],{"class":1597},"response_seq",[1513,5225,1698],{"class":1523},[1513,5227,2793],{"class":1523},[1513,5229,2567],{"class":1597},[1513,5231,2227],{"class":1523},[1513,5233,5234,5236,5238,5240,5242,5244,5246,5248,5250,5252,5254,5256,5258,5260,5262,5264,5266,5268,5270,5272,5274,5276,5278,5280,5282,5284,5286,5288,5290,5292,5294,5297,5299,5301,5303,5306,5308,5310,5312,5315,5317,5319,5321,5324,5326,5328,5330,5332,5334,5337,5339,5341,5343,5345,5348,5350,5352,5354,5356,5358,5361,5363,5365,5367,5369,5371,5374,5376,5378,5380,5382,5384,5387,5389,5391,5393,5395,5397,5400],{"class":1515,"line":1624},[1513,5235,1814],{"class":1523},[1513,5237,1698],{"class":1523},[1513,5239,864],{"class":1597},[1513,5241,1698],{"class":1523},[1513,5243,2793],{"class":1523},[1513,5245,1698],{"class":1523},[1513,5247,1134],{"class":1607},[1513,5249,1698],{"class":1523},[1513,5251,4319],{"class":1523},[1513,5253,1698],{"class":1523},[1513,5255,5205],{"class":1597},[1513,5257,1698],{"class":1523},[1513,5259,2793],{"class":1523},[1513,5261,1698],{"class":1523},[1513,5263,5214],{"class":1607},[1513,5265,1698],{"class":1523},[1513,5267,4319],{"class":1523},[1513,5269,1698],{"class":1523},[1513,5271,5223],{"class":1597},[1513,5273,1698],{"class":1523},[1513,5275,2793],{"class":1523},[1513,5277,2567],{"class":1597},[1513,5279,4319],{"class":1523},[1513,5281,1698],{"class":1523},[1513,5283,4377],{"class":1597},[1513,5285,1698],{"class":1523},[1513,5287,2793],{"class":1523},[1513,5289,2567],{"class":1597},[1513,5291,4319],{"class":1523},[1513,5293,1698],{"class":1523},[1513,5295,5296],{"class":1597},"finish_reason",[1513,5298,1698],{"class":1523},[1513,5300,2793],{"class":1523},[1513,5302,1698],{"class":1523},[1513,5304,5305],{"class":1607},"stop",[1513,5307,1698],{"class":1523},[1513,5309,4319],{"class":1523},[1513,5311,1698],{"class":1523},[1513,5313,5314],{"class":1597},"boundary",[1513,5316,1698],{"class":1523},[1513,5318,2793],{"class":1523},[1513,5320,1698],{"class":1523},[1513,5322,5323],{"class":1607},"silence",[1513,5325,1698],{"class":1523},[1513,5327,4319],{"class":1523},[1513,5329,1698],{"class":1523},[1513,5331,2677],{"class":1597},[1513,5333,1698],{"class":1523},[1513,5335,5336],{"class":1523},":{",[1513,5338,1698],{"class":1523},[1513,5340,1215],{"class":1597},[1513,5342,1698],{"class":1523},[1513,5344,2793],{"class":1523},[1513,5346,5347],{"class":1597},"120",[1513,5349,4319],{"class":1523},[1513,5351,1698],{"class":1523},[1513,5353,1221],{"class":1597},[1513,5355,1698],{"class":1523},[1513,5357,2793],{"class":1523},[1513,5359,5360],{"class":1597},"9",[1513,5362,4319],{"class":1523},[1513,5364,1698],{"class":1523},[1513,5366,1227],{"class":1597},[1513,5368,1698],{"class":1523},[1513,5370,2793],{"class":1523},[1513,5372,5373],{"class":1597},"8",[1513,5375,4319],{"class":1523},[1513,5377,1698],{"class":1523},[1513,5379,1233],{"class":1597},[1513,5381,1698],{"class":1523},[1513,5383,2793],{"class":1523},[1513,5385,5386],{"class":1597},"17",[1513,5388,4319],{"class":1523},[1513,5390,1698],{"class":1523},[1513,5392,1239],{"class":1597},[1513,5394,1698],{"class":1523},[1513,5396,2793],{"class":1523},[1513,5398,5399],{"class":1597},"137",[1513,5401,5402],{"class":1523},"}}\n",[1513,5404,5405,5407,5409,5411,5413,5415,5417,5419,5421,5423,5425,5427,5429,5431,5433,5436,5438,5440,5442,5444,5446,5448,5450,5452,5454,5456,5458,5460,5462,5464,5466,5468,5470,5472,5474,5476,5478,5480,5482,5484,5486,5488,5490,5492,5494,5496,5498,5500,5502,5504,5506],{"class":1515,"line":1639},[1513,5406,1814],{"class":1523},[1513,5408,1698],{"class":1523},[1513,5410,864],{"class":1597},[1513,5412,1698],{"class":1523},[1513,5414,2793],{"class":1523},[1513,5416,1698],{"class":1523},[1513,5418,1054],{"class":1607},[1513,5420,1698],{"class":1523},[1513,5422,4319],{"class":1523},[1513,5424,1698],{"class":1523},[1513,5426,1866],{"class":1597},[1513,5428,1698],{"class":1523},[1513,5430,2793],{"class":1523},[1513,5432,1698],{"class":1523},[1513,5434,5435],{"class":1607},"completed",[1513,5437,1698],{"class":1523},[1513,5439,4319],{"class":1523},[1513,5441,1698],{"class":1523},[1513,5443,2677],{"class":1597},[1513,5445,1698],{"class":1523},[1513,5447,5336],{"class":1523},[1513,5449,1698],{"class":1523},[1513,5451,1215],{"class":1597},[1513,5453,1698],{"class":1523},[1513,5455,2793],{"class":1523},[1513,5457,5347],{"class":1597},[1513,5459,4319],{"class":1523},[1513,5461,1698],{"class":1523},[1513,5463,1221],{"class":1597},[1513,5465,1698],{"class":1523},[1513,5467,2793],{"class":1523},[1513,5469,5360],{"class":1597},[1513,5471,4319],{"class":1523},[1513,5473,1698],{"class":1523},[1513,5475,1227],{"class":1597},[1513,5477,1698],{"class":1523},[1513,5479,2793],{"class":1523},[1513,5481,5373],{"class":1597},[1513,5483,4319],{"class":1523},[1513,5485,1698],{"class":1523},[1513,5487,1233],{"class":1597},[1513,5489,1698],{"class":1523},[1513,5491,2793],{"class":1523},[1513,5493,5386],{"class":1597},[1513,5495,4319],{"class":1523},[1513,5497,1698],{"class":1523},[1513,5499,1239],{"class":1597},[1513,5501,1698],{"class":1523},[1513,5503,2793],{"class":1523},[1513,5505,5399],{"class":1597},[1513,5507,5402],{"class":1523},[1501,5509,5512],{"label":5510,"value":5511},"include_usage=true","with-usage",[1506,5513,5517],{"className":5514,"code":5515,"language":5516,"meta":718,"style":718},"language-jsonc shiki shiki-themes moss-docs-light","\u002F\u002F Other events match the default response.\n{\n  \"type\": \"session.usage\",\n  \"decoder_tokens\": 77,\n  \"encoder_tokens\": 0,\n  \"encoder_kv_tokens\": 0,\n  \"token_space_used\": 77,\n  \"context_limit\": 131072,\n  \"context_remaining\": 130995\n}\n","jsonc",[739,5518,5519,5524,5529,5547,5562,5576,5590,5604,5618,5631],{"__ignoreMap":718},[1513,5520,5521],{"class":1515,"line":1516},[1513,5522,5523],{"class":3385},"\u002F\u002F Other events match the default response.\n",[1513,5525,5526],{"class":1515,"line":1527},[1513,5527,5528],{"class":1523},"{\n",[1513,5530,5531,5533,5535,5537,5539,5541,5543,5545],{"class":1515,"line":1535},[1513,5532,3333],{"class":1523},[1513,5534,864],{"class":1597},[1513,5536,1698],{"class":1523},[1513,5538,1842],{"class":1523},[1513,5540,1698],{"class":1523},[1513,5542,1150],{"class":1607},[1513,5544,1698],{"class":1523},[1513,5546,2300],{"class":1523},[1513,5548,5549,5551,5553,5555,5557,5560],{"class":1515,"line":1543},[1513,5550,3333],{"class":1523},[1513,5552,1174],{"class":1597},[1513,5554,1698],{"class":1523},[1513,5556,1842],{"class":1523},[1513,5558,5559],{"class":1597},"77",[1513,5561,2300],{"class":1523},[1513,5563,5564,5566,5568,5570,5572,5574],{"class":1515,"line":1557},[1513,5565,3333],{"class":1523},[1513,5567,1180],{"class":1597},[1513,5569,1698],{"class":1523},[1513,5571,1842],{"class":1523},[1513,5573,2444],{"class":1597},[1513,5575,2300],{"class":1523},[1513,5577,5578,5580,5582,5584,5586,5588],{"class":1515,"line":1563},[1513,5579,3333],{"class":1523},[1513,5581,1186],{"class":1597},[1513,5583,1698],{"class":1523},[1513,5585,1842],{"class":1523},[1513,5587,2444],{"class":1597},[1513,5589,2300],{"class":1523},[1513,5591,5592,5594,5596,5598,5600,5602],{"class":1515,"line":1576},[1513,5593,3333],{"class":1523},[1513,5595,1192],{"class":1597},[1513,5597,1698],{"class":1523},[1513,5599,1842],{"class":1523},[1513,5601,5559],{"class":1597},[1513,5603,2300],{"class":1523},[1513,5605,5606,5608,5610,5612,5614,5616],{"class":1515,"line":1589},[1513,5607,3333],{"class":1523},[1513,5609,1198],{"class":1597},[1513,5611,1698],{"class":1523},[1513,5613,1842],{"class":1523},[1513,5615,4615],{"class":1597},[1513,5617,2300],{"class":1523},[1513,5619,5620,5622,5624,5626,5628],{"class":1515,"line":1594},[1513,5621,3333],{"class":1523},[1513,5623,1204],{"class":1597},[1513,5625,1698],{"class":1523},[1513,5627,1842],{"class":1523},[1513,5629,5630],{"class":1597},"130995\n",[1513,5632,5633],{"class":1515,"line":1614},[1513,5634,2227],{"class":1523},[716,5636,5637,5641],{"v-slot:next":718},[689,5638,5640],{"id":5639},"next-steps","Next steps",[5642,5643,5645,5655],"feature-card-grid",{"columns":5644},"2",[5646,5647,5652],"feature-card",{"href":5648,"label":5649,"title":5650,"variant":5651},"\u002Fen\u002Fdocs\u002Fscenarios\u002Fvl-realtime","Scenario guide","View the integration guide","action",[694,5653,5654],{},"Connect, send image frames, ask questions, and end the session.",[5646,5656,5659],{"href":5657,"label":159,"title":5658,"variant":5651},"\u002Fen\u002Fdocs\u002Fgetting-started\u002Fmodels","View model overview",[694,5660,5661],{},"View model IDs, capabilities, and use cases.",[5663,5664,5665],"style",{},"html pre.shiki code .sIr0w, html code.shiki .sIr0w{--shiki-default:#8250DF}html pre.shiki code .sAVPb, html code.shiki .sAVPb{--shiki-default:#24292F}html pre.shiki code .s3Ugg, html code.shiki .s3Ugg{--shiki-default:#0550AE}html pre.shiki code .slr_4, html code.shiki .slr_4{--shiki-default:#CF222E}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 pre.shiki code .sXGmO, html code.shiki .sXGmO{--shiki-default:#6E7781}",{"title":718,"searchDepth":1527,"depth":1527,"links":5667},[5668,5669,5670,5671,5672,5673,5674],{"id":691,"depth":1527,"text":692},{"id":754,"depth":1527,"text":755},{"id":843,"depth":1527,"text":844},{"id":1019,"depth":1527,"text":1020},{"id":1261,"depth":1527,"text":1262},{"id":1314,"depth":1527,"text":1315},{"id":1398,"depth":1527,"text":1399},false,"mdc",{},null,"多模态理解","reference","\u002Fen\u002Fdocs\u002Freference\u002Fvl-realtime",{"title":676,"description":685},"en\u002Fdocs\u002Freference\u002Fvl-realtime","reference\u002Fvl-realtime","translated","8w34e1b3kGiqD7cZHJsC396jp4lIef89zndlJ_sR5mw",[5688,5693,5698,5702,5708,5710,5713,5717,5721,5725,5729,5733,5737,5741,5745,5749,5753,5759,5764,5768,5771,5775,5779,5785,5789,5793,5797,5801,5805,5809,5813,5818,5822,5826,5830,5834,5835,5838,5842,5847,5851,5855,5858,5861,5865,5869,5873,5876,5880,5883,5887,5891,5895,5898,5900,5904,5908,5914],{"path":5689,"title":5690,"description":5691,"nav_group":5692,"nav_order":1614,"method":5678,"nav_category":5678},"\u002Fdocs\u002Ferrors-and-limits\u002Ferror-codes","错误码","平台通用错误码集中在本页，资源相关错误码保留在对应的 Reference 页面。","errors-and-limits",{"path":5694,"title":5695,"description":5696,"nav_group":5697,"nav_order":1614,"method":5678,"nav_category":5678},"\u002Fdocs\u002Fgetting-started\u002Fquickstart","快速开始","用一个最小请求完成第一次 API 调用，只需准备 API Key 和可用的 voice_id。","getting-started",{"path":5699,"title":5700,"description":5701,"nav_group":5680,"nav_order":1614,"method":5678,"nav_category":5678},"\u002Fdocs\u002Freference","API 概览","查询 Moss API 的 endpoint、请求参数、返回值、流式事件和共享规则。",{"path":5703,"title":5704,"description":5705,"nav_group":5706,"nav_order":1614,"method":5678,"nav_category":5707},"\u002Fdocs\u002Fscenarios\u002Fsingle-voice","单人语音生成","使用 moss-tts-1.5-flash 将文本合成为单一音色语音；TTS 1.5 Flash 支持在 input 中通过 [pause X.Ys] 控制停顿。","scenarios","语音生成",{"path":1322,"title":1323,"description":5709,"nav_group":5692,"nav_order":1614,"method":5678,"nav_category":5678},"Platform-wide error codes are documented here; resource-specific errors remain on the relevant Reference page.",{"path":5711,"title":360,"description":5712,"nav_group":5697,"nav_order":1614,"method":5678,"nav_category":5678},"\u002Fen\u002Fdocs\u002Fgetting-started\u002Fquickstart","Make your first API call with a minimal request using an API Key and a valid voice_id.",{"path":5714,"title":5715,"description":5716,"nav_group":5680,"nav_order":1614,"method":5678,"nav_category":5678},"\u002Fen\u002Fdocs\u002Freference","API Overview","Look up Moss API endpoints, request parameters, return values, streaming events, and shared rules.",{"path":5718,"title":5719,"description":5720,"nav_group":5706,"nav_order":1614,"method":5678,"nav_category":5707},"\u002Fen\u002Fdocs\u002Fscenarios\u002Fsingle-voice","Single-Speaker Speech Generation","Synthesize text with moss-tts-1.5-flash; TTS 1.5 Flash supports [pause X.Ys] in input for pause control.",{"path":5722,"title":5723,"description":5724,"nav_group":5692,"nav_order":1760,"method":5678,"nav_category":5678},"\u002Fdocs\u002Ferrors-and-limits\u002Flimits","请求限制","请求限制由网关、文件服务、模型服务和计费系统共同决定，以公开 API 的稳定约束为准。",{"path":5726,"title":5727,"description":5728,"nav_group":5697,"nav_order":1760,"method":5678,"nav_category":5678},"\u002Fdocs\u002Fgetting-started\u002Foverview","基础概念","按场景选择模型，并理解 Moss API 的输入方式、执行方式、响应对象与错误排查。",{"path":5730,"title":5731,"description":5732,"nav_group":5706,"nav_order":1760,"method":5678,"nav_category":5707},"\u002Fdocs\u002Fscenarios\u002Fdialogue","多人语音生成","将多角色对话文本合成为完整对话音频，适合播客、角色扮演、有声书和课程对话。",{"path":5734,"title":5735,"description":5736,"nav_group":5692,"nav_order":1760,"method":5678,"nav_category":5678},"\u002Fen\u002Fdocs\u002Ferrors-and-limits\u002Flimits","Request Limits","Request limits are jointly enforced by the gateway, file service, model service, and billing system.",{"path":5738,"title":5739,"description":5740,"nav_group":5697,"nav_order":1760,"method":5678,"nav_category":5678},"\u002Fen\u002Fdocs\u002Fgetting-started\u002Foverview","Core Concepts","Choose a model by scenario, then understand Moss API inputs, execution modes, responses, and troubleshooting.",{"path":5742,"title":5743,"description":5744,"nav_group":5706,"nav_order":1760,"method":5678,"nav_category":5707},"\u002Fen\u002Fdocs\u002Fscenarios\u002Fdialogue","Multi-speaker Speech","Synthesize multi-character dialogue text into complete dialogue audio, suited to podcasts, role-play, audiobooks, and course dialogues.",{"path":5746,"title":5747,"description":5748,"nav_group":5692,"nav_order":2008,"method":5678,"nav_category":5678},"\u002Fdocs\u002Ferrors-and-limits\u002Fcallback-rules","回调安全规则","异步任务可通过 webhook_url 接收终态通知，URL 必须是公网可访问的 HTTPS 地址。",{"path":5750,"title":5751,"description":5752,"nav_group":5697,"nav_order":2008,"method":5678,"nav_category":5678},"\u002Fdocs\u002Fgetting-started\u002Fmodels","模型列表","当前模型覆盖语音生成、语音识别与多模态理解，可使用稳定 model ID 或固定 snapshot 版本。",{"path":5754,"title":5755,"description":5756,"nav_group":5680,"nav_order":2008,"method":5757,"nav_category":5758},"\u002Fdocs\u002Freference\u002Fmodels","查询模型列表","查询当前 API Key 可用的模型列表。","GET","模型",{"path":5760,"title":5761,"description":5762,"nav_group":5706,"nav_order":2008,"method":5678,"nav_category":5763},"\u002Fdocs\u002Fscenarios\u002Fvoice-design","音色设计","根据待合成文本和声音风格描述，生成对应风格的音色或语音预览。","音色管理",{"path":5765,"title":5766,"description":5767,"nav_group":5692,"nav_order":2008,"method":5678,"nav_category":5678},"\u002Fen\u002Fdocs\u002Ferrors-and-limits\u002Fcallback-rules","Callback Security Rules","Asynchronous tasks can send terminal-state notifications to webhook_url, which must be a publicly accessible HTTPS address.",{"path":5657,"title":5769,"description":5770,"nav_group":5697,"nav_order":2008,"method":5678,"nav_category":5678},"Model List","Current models cover speech generation, speech recognition, and multimodal understanding, with stable model IDs and fixed snapshots.",{"path":5772,"title":5773,"description":5774,"nav_group":5680,"nav_order":2008,"method":5757,"nav_category":5758},"\u002Fen\u002Fdocs\u002Freference\u002Fmodels","List Models","List the models available to the current API Key.",{"path":5776,"title":5777,"description":5778,"nav_group":5706,"nav_order":2008,"method":5678,"nav_category":5763},"\u002Fen\u002Fdocs\u002Fscenarios\u002Fvoice-design","Voice Design","Generate a matching voice or speech preview from the text to synthesize and a natural-language voice-style description.",{"path":5780,"title":5781,"description":5782,"nav_group":5680,"nav_order":2257,"method":5783,"nav_category":5784},"\u002Fdocs\u002Freference\u002Ffiles-create","上传文件","上传文件并获取 file_id。multipart 字段必须为 file，purpose 为必填；返回的 file_id 可用于音频转写和多模态理解等接口。","POST","文件",{"path":5786,"title":5787,"description":5788,"nav_group":5706,"nav_order":2257,"method":5678,"nav_category":5763},"\u002Fdocs\u002Fscenarios\u002Fvoice-clone","克隆音色","上传一段参考音频文件（multipart audio_sample），创建可复用的 voice_id，供后续 TTS 或 TTSD 使用。",{"path":5790,"title":5791,"description":5792,"nav_group":5680,"nav_order":2257,"method":5783,"nav_category":5784},"\u002Fen\u002Fdocs\u002Freference\u002Ffiles-create","Upload File","Upload a file and obtain a file_id. The multipart field must be named file, and purpose is required; the returned file_id can be used with audio transcription, multimodal understanding, and other endpoints.",{"path":5794,"title":5795,"description":5796,"nav_group":5706,"nav_order":2257,"method":5678,"nav_category":5763},"\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":5798,"title":5799,"description":5800,"nav_group":5680,"nav_order":2274,"method":5757,"nav_category":5784},"\u002Fdocs\u002Freference\u002Ffiles-list","查询文件列表","查询当前账号上传的文件列表。",{"path":5802,"title":5803,"description":5804,"nav_group":5680,"nav_order":2274,"method":5757,"nav_category":5784},"\u002Fen\u002Fdocs\u002Freference\u002Ffiles-list","List Files","List files uploaded by the current account.",{"path":5806,"title":5807,"description":5808,"nav_group":5680,"nav_order":2282,"method":5757,"nav_category":5784},"\u002Fdocs\u002Freference\u002Ffile-detail","查询文件详情","查询文件详情。使用 POST \u002Fv1\u002Ffiles 上传返回的 file_id 查询。",{"path":5810,"title":5811,"description":5812,"nav_group":5680,"nav_order":2282,"method":5757,"nav_category":5784},"\u002Fen\u002Fdocs\u002Freference\u002Ffile-detail","Get File","Get file details. Use the file_id returned by POST \u002Fv1\u002Ffiles.",{"path":5814,"title":5815,"description":5816,"nav_group":5680,"nav_order":2303,"method":5817,"nav_category":5784},"\u002Fdocs\u002Freference\u002Ffile-delete","删除文件","删除已上传文件。","DELETE",{"path":5819,"title":5820,"description":5821,"nav_group":5680,"nav_order":2303,"method":5817,"nav_category":5784},"\u002Fen\u002Fdocs\u002Freference\u002Ffile-delete","Delete File","Delete an uploaded file.",{"path":5823,"title":5824,"description":5825,"nav_group":5680,"nav_order":2329,"method":5783,"nav_category":5679},"\u002Fdocs\u002Freference\u002Fresponses","创建响应","使用 MOSS-VL 理解图片或视频，并以 Responses API 对象返回文本结果。每次请求必须同时包含文本指令和媒体。",{"path":5827,"title":5828,"description":5829,"nav_group":5680,"nav_order":2329,"method":5783,"nav_category":5679},"\u002Fen\u002Fdocs\u002Freference\u002Fresponses","Create Response","Use MOSS-VL to understand images or videos and return text results as a Responses API object. Each request must include both a text instruction and media.",{"path":5831,"title":5832,"description":5833,"nav_group":5680,"nav_order":2349,"method":686,"nav_category":5679},"\u002Fdocs\u002Freference\u002Fvl-realtime","实时视频理解","通过 WebSocket 持续发送图像帧并提问，服务端返回增量文本事件。该接口是视觉理解协议，不兼容语音 Realtime，也不是 SSE。",{"path":5681,"title":676,"description":685,"nav_group":5680,"nav_order":2349,"method":686,"nav_category":5679},{"path":5836,"title":5704,"description":5837,"nav_group":5680,"nav_order":2417,"method":5783,"nav_category":5707},"\u002Fdocs\u002Freference\u002Fspeech","文本转语音接口；使用 voice_id 指定音色，支持非流式、原始 PCM 与 SSE 流式输出。",{"path":5839,"title":5840,"description":5841,"nav_group":5680,"nav_order":2417,"method":5783,"nav_category":5707},"\u002Fen\u002Fdocs\u002Freference\u002Fspeech","Single-speaker Speech","Generate speech from text with a voice_id, using non-streaming output, raw PCM, or SSE.",{"path":5843,"title":5844,"description":5845,"nav_group":5680,"nav_order":2609,"method":5783,"nav_category":5846},"\u002Fdocs\u002Freference\u002Ftranscriptions","音频转写","音频转写接口。支持 multipart file、file_id、url、audio_url，不支持audio_data。","语音识别",{"path":5848,"title":5849,"description":5850,"nav_group":5680,"nav_order":2609,"method":5783,"nav_category":5846},"\u002Fen\u002Fdocs\u002Freference\u002Ftranscriptions","Create Transcription","Audio transcription endpoint. Supports multipart file, file_id, url, and audio_url; audio_data is not supported.",{"path":5852,"title":5853,"description":5854,"nav_group":5680,"nav_order":3897,"method":5757,"nav_category":5763},"\u002Fdocs\u002Freference\u002Fvoices-list","查询音色列表","查询当前账号可用音色列表。",{"path":5856,"title":5844,"description":5857,"nav_group":5706,"nav_order":3897,"method":5678,"nav_category":5846},"\u002Fdocs\u002Fscenarios\u002Ftranscribe","将音频转换为文本，适合会议、访谈、语音消息和媒体内容处理。",{"path":5859,"title":328,"description":5860,"nav_group":5680,"nav_order":3897,"method":5757,"nav_category":5763},"\u002Fen\u002Fdocs\u002Freference\u002Fvoices-list","List the voices available to the current account.",{"path":5862,"title":5863,"description":5864,"nav_group":5706,"nav_order":3897,"method":5678,"nav_category":5846},"\u002Fen\u002Fdocs\u002Fscenarios\u002Ftranscribe","Audio Transcription","Convert audio into text — ideal for meetings, interviews, voice messages, and media content processing.",{"path":5866,"title":5867,"description":5868,"nav_group":5680,"nav_order":3910,"method":5783,"nav_category":5763},"\u002Fdocs\u002Freference\u002Fvoices-create","创建音色","上传本地参考音频，创建可复用的音色 ID。",{"path":5870,"title":5871,"description":5872,"nav_group":5680,"nav_order":3910,"method":5783,"nav_category":5763},"\u002Fen\u002Fdocs\u002Freference\u002Fvoices-create","Create Voice","Upload a local reference audio file to create a reusable voice ID.",{"path":5874,"title":5731,"description":5875,"nav_group":5680,"nav_order":4078,"method":5783,"nav_category":5707},"\u002Fdocs\u002Freference\u002Fspeakers","多人对话语音生成；使用 speakers 定义说话人与音色，并通过 segments 指定分段文本。",{"path":5877,"title":5878,"description":5879,"nav_group":5706,"nav_order":4078,"method":5678,"nav_category":5846},"\u002Fdocs\u002Fscenarios\u002Ftranscribe-diarization","多说话人转写","将多说话人音频转为带说话人信息的转写结果，适合会议、访谈和播客。",{"path":5881,"title":5743,"description":5882,"nav_group":5680,"nav_order":4078,"method":5783,"nav_category":5707},"\u002Fen\u002Fdocs\u002Freference\u002Fspeakers","Generate multi-speaker dialogue by defining speakers, voices, and text segments.",{"path":5884,"title":5885,"description":5886,"nav_group":5706,"nav_order":4078,"method":5678,"nav_category":5846},"\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":5888,"title":5889,"description":5890,"nav_group":5706,"nav_order":4139,"method":5678,"nav_category":5679},"\u002Fdocs\u002Fscenarios\u002Fimage-video-understanding","图片与视频理解","使用 MOSS-VL 理解图片或视频，并以 Responses API 对象返回文本结果。",{"path":5892,"title":5893,"description":5894,"nav_group":5706,"nav_order":4139,"method":5678,"nav_category":5679},"\u002Fen\u002Fdocs\u002Fscenarios\u002Fimage-video-understanding","Image and Video Understanding","Use MOSS-VL to understand images or video and return text in a Responses API object.",{"path":5896,"title":5832,"description":5897,"nav_group":5706,"nav_order":4159,"method":5678,"nav_category":5679},"\u002Fdocs\u002Fscenarios\u002Fvl-realtime","使用 MOSS-VL-Realtime 通过一条 WebSocket 连接持续发送 JPEG、PNG 或 WebP 图像帧，在同一会话中提问并接收增量文本回答，适用于摄像头、屏幕等实时画面理解场景。",{"path":5648,"title":676,"description":5899,"nav_group":5706,"nav_order":4159,"method":5678,"nav_category":5679},"Use MOSS-VL-Realtime to continuously send JPEG, PNG, or WebP frames over one WebSocket connection, ask questions in the same session, and receive incremental text answers for camera or screen understanding.",{"path":5901,"title":5902,"description":5903,"nav_group":5680,"nav_order":4201,"method":5783,"nav_category":5763},"\u002Fdocs\u002Freference\u002Fvoice-generations","音色生成","通过文本和声音描述生成音色或语音。",{"path":5905,"title":5906,"description":5907,"nav_group":5680,"nav_order":4201,"method":5783,"nav_category":5763},"\u002Fen\u002Fdocs\u002Freference\u002Fvoice-generations","Generate Voice","Generate a voice or speech from text and a voice description.",{"path":5909,"title":5910,"description":5911,"nav_group":5680,"nav_order":5912,"method":5757,"nav_category":5913},"\u002Fdocs\u002Freference\u002Faudio-task","查询任务","使用异步请求返回的 task_id 查询语音生成、音色生成和音频转写任务的状态与结果。",120,"任务",{"path":5915,"title":5916,"description":5917,"nav_group":5680,"nav_order":5912,"method":5757,"nav_category":5913},"\u002Fen\u002Fdocs\u002Freference\u002Faudio-task","Get Task","Use the task_id returned by an asynchronous request to query speech generation, voice generation, or audio transcription task status and results.",[5919,5920,5921,5922,5923,5924,5925,5927,5929,5931,5933,5935,5937,5939,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5972,5974,5976,5978,5980,5982,5984,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6000,6001,6002,6003,6004,6005,6006,6007,6008],{"path":5746},{"path":5689},{"path":5722},{"path":5750},{"path":5726},{"path":5694},{"path":5926},"\u002Fdocs\u002Fmodels\u002Fmoss-vl",{"path":5928},"\u002Fdocs\u002Fmodels\u002Fmoss-vl-realtime",{"path":5930},"\u002Fdocs\u002Fmodels\u002Ftranscribe",{"path":5932},"\u002Fdocs\u002Fmodels\u002Ftranscribe-diarize",{"path":5934},"\u002Fdocs\u002Fmodels\u002Ftts-flash",{"path":5936},"\u002Fdocs\u002Fmodels\u002Ftts-pro",{"path":5938},"\u002Fdocs\u002Fmodels\u002Fttsd",{"path":5940},"\u002Fdocs\u002Fmodels\u002Fvoice-generator",{"path":5909},{"path":5814},{"path":5806},{"path":5780},{"path":5798},{"path":5699},{"path":5754},{"path":5823},{"path":5874},{"path":5836},{"path":5843},{"path":5831},{"path":5901},{"path":5866},{"path":5852},{"path":5730},{"path":5888},{"path":5703},{"path":5856},{"path":5877},{"path":5896},{"path":5786},{"path":5760},{"path":5765},{"path":1322},{"path":5734},{"path":5657},{"path":5738},{"path":5711},{"path":5971},"\u002Fen\u002Fdocs\u002Fmodels\u002Fmoss-vl",{"path":5973},"\u002Fen\u002Fdocs\u002Fmodels\u002Fmoss-vl-realtime",{"path":5975},"\u002Fen\u002Fdocs\u002Fmodels\u002Ftranscribe",{"path":5977},"\u002Fen\u002Fdocs\u002Fmodels\u002Ftranscribe-diarize",{"path":5979},"\u002Fen\u002Fdocs\u002Fmodels\u002Ftts-flash",{"path":5981},"\u002Fen\u002Fdocs\u002Fmodels\u002Ftts-pro",{"path":5983},"\u002Fen\u002Fdocs\u002Fmodels\u002Fttsd",{"path":5985},"\u002Fen\u002Fdocs\u002Fmodels\u002Fvoice-generator",{"path":5915},{"path":5819},{"path":5810},{"path":5790},{"path":5802},{"path":5714},{"path":5772},{"path":5827},{"path":5881},{"path":5839},{"path":5848},{"path":5681},{"path":5905},{"path":5870},{"path":5859},{"path":5742},{"path":5892},{"path":5718},{"path":5862},{"path":5884},{"path":5648},{"path":5794},{"path":5776},1791630925249]