<body><div id="root"><script nonce="">((T,M,N,I,j,L,w,W)=>{let K=document.documentElement,X=["light","dark"];function Ae(se){(Array.isArray(T)?T:[T]).forEach(ae=>{let J=ae==="class",re=J&&L?j.map(he=>L[he]||he):j;J?(K.classList.remove(...re),K.classList.add(L&&L[se]?L[se]:se)):K.setAttribute(ae,se)}),pe(se)}function pe(se){W&&X.includes(se)&&(K.style.colorScheme=se)}function De(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(I)Ae(I);else try{let se=localStorage.getItem(M)||N,ae=w&&se==="system"?De():se;Ae(ae)}catch{}})("class","theme","system",null,["light","dark"],null,true,true)</script><div style="width: 100%; height: 100%;"><div class="flex flex-col h-full"><div id="page-container"></div><nav class="bg-white border-b border-[#dee0e3] border-solid flex items-center justify-between w-full h-[52px] lg:h-[64px] px-[16px] py-[8px] lg:py-0"><div class="flex items-center justify-between w-full lg:hidden"><div class="flex gap-[19px] items-center"><div class="flex flex-col items-center justify-center overflow-clip shrink-0"><button class="flex items-center justify-center w-[18px] h-[18px] cursor-pointer" aria-label="Menu" type="button"><img alt="Menu" class="block max-w-none size-full" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4IiBmaWxsPSJub25lIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEuODc1IDIuNjI1TDE2LjEyNSAyLjYyNUwxNi4xMjUgNC4xMjVMMS44NzUgNC4xMjVMMS44NzUgMi42MjVaTTEuODc1IDguMjVMMTIuOTM3NSA4LjI1TDEyLjkzNzUgOS43NUwxLjg3NSA5Ljc1TDEuODc1IDguMjVaTTEuODc1IDEzLjg3NUw3LjEyNSAxMy44NzVMNy4xMjUgMTUuMzc1TDEuODc1IDE1LjM3NUwxLjg3NSAxMy44NzVaIiBmaWxsPSIjMUYyMzI5Ii8+Cjwvc3ZnPgo="></button></div><a class="inline-grid grid-cols-[max-content] grid-rows-[max-content] leading-[0] place-items-start cursor-pointer hover:opacity-80 transition-opacity shrink-0" title="返回首页" aria-label="返回首页" href="/"><div class="h-[36px] w-[131px]"><svg class="w-full h-full" width="132" height="16" viewBox="0 0 132 16" fill="none" xmlns="http://www.w3.org/2000/svg"><g><path d="M64.9008 0.00138769C64.6875 -0.00400695 64.4753 0.0339904 64.2771 0.113075C64.0789 0.192159 63.8988 0.310682 63.7478 0.461454C63.5968 0.612226 63.478 0.792105 63.3985 0.990178C63.3191 1.18825 63.2808 1.40039 63.2858 1.61373C63.2858 2.04553 63.4574 2.45964 63.7627 2.76497C64.068 3.0703 64.4821 3.24183 64.9139 3.24183C65.3457 3.24183 65.7599 3.0703 66.0652 2.76497C66.3705 2.45964 66.542 2.04553 66.542 1.61373C66.5473 1.39811 66.5082 1.18371 66.4271 0.983812C66.3461 0.783917 66.2249 0.602783 66.0711 0.451629C65.9172 0.300476 65.734 0.182523 65.5327 0.105076C65.3314 0.027629 65.1163 -0.00766247 64.9008 0.00138769Z" fill="#1F2329"></path><path d="M66.1689 4.55469H63.6296V15.7255H66.1689V4.55469Z" fill="#1F2329"></path><path d="M38.8643 4.06641C35.3586 4.06641 33.0872 6.76065 33.0872 10.0326C33.0872 13.3045 35.3717 16.0014 38.8643 16.0014C42.3568 16.0014 44.6414 13.3072 44.6414 10.0326C44.6414 6.75802 42.3673 4.06641 38.8643 4.06641ZM38.8643 13.6932C37.0261 13.6932 35.5844 12.3408 35.5844 10.0326C35.5844 7.72437 37.0261 6.37463 38.8643 6.37463C40.7025 6.37463 42.1415 7.727 42.1415 10.0326C42.1415 12.3382 40.7025 13.6932 38.8643 13.6932Z" fill="#1F2329"></path><path d="M17.7909 0.000890693C17.5765 -0.00632181 17.3629 0.0303305 17.1631 0.108601C16.9634 0.186872 16.7817 0.305111 16.6293 0.456073C16.4768 0.607034 16.3568 0.787536 16.2766 0.986515C16.1964 1.18549 16.1577 1.39876 16.1628 1.61323C16.1628 2.04503 16.3343 2.45914 16.6397 2.76447C16.945 3.0698 17.3591 3.24133 17.7909 3.24133C18.2227 3.24133 18.6368 3.0698 18.9421 2.76447C19.2475 2.45914 19.419 2.04503 19.419 1.61323C19.4241 1.39876 19.3854 1.18549 19.3052 0.986515C19.225 0.787536 19.105 0.607034 18.9525 0.456073C18.8001 0.305111 18.6184 0.186872 18.4187 0.108601C18.2189 0.0303305 18.0053 -0.00632181 17.7909 0.000890693Z" fill="#1F2329"></path><path d="M11.7564 15.7252L0.359741 1.61328H3.51615L15.1124 15.7252H11.7564Z" fill="#1F2329"></path><path d="M3.35861 15.7252L14.7527 1.61328H11.5963L0 15.7252H3.35861Z" fill="#1F2329"></path><path d="M19.0618 4.55469H16.5225V15.7255H19.0618V4.55469Z" fill="#1F2329"></path><path d="M26.5905 3.78906C24.5055 3.78906 23.0454 4.31426 21.7009 5.36464L22.6988 7.20282C23.6328 6.41651 24.8055 5.96948 26.0259 5.93448C27.7354 5.93448 28.7543 6.82993 28.7543 8.38975H26.8347C23.0139 8.38975 20.9184 10.2699 21.1442 12.8539C21.4068 15.921 24.6158 16.005 24.9808 16.005C26.5563 16.005 28.0321 15.4799 28.7543 14.5214V15.7188H31.2936V8.37662C31.2936 7.12404 30.7001 3.78906 26.5905 3.78906ZM28.7543 11.1418C28.7231 11.8658 28.4128 12.5496 27.8885 13.05C27.3642 13.5503 26.6666 13.8282 25.9419 13.8255C24.7392 13.8255 23.9304 13.2504 23.8411 12.3366C23.7518 11.4227 24.5921 10.2831 27.5174 10.2831H28.7569L28.7543 11.1418Z" fill="#1F2329"></path><path d="M57.7238 4.11087C57.0499 4.09158 56.3837 4.25893 55.7989 4.59444C55.2141 4.92994 54.7334 5.42054 54.4099 6.01207C53.7954 4.64394 52.7923 4.11087 51.6868 4.11087C51.1688 4.13165 50.6626 4.2713 50.2072 4.51901C49.7519 4.76672 49.3596 5.11585 49.0608 5.5394V4.55203H46.5215V15.7255H49.0608V9.11859C49.0608 8.25464 49.0608 6.40071 50.8044 6.40071C52.5481 6.40071 52.5481 8.25465 52.5481 8.72732V15.7255H55.0139V8.72732C55.0139 8.25465 55.0139 6.40071 56.7575 6.40071C58.5011 6.40071 58.5038 8.25464 58.5038 9.11859V15.7255H61.0404V8.4017C61.0536 5.3976 59.6093 4.11087 57.7238 4.11087Z" fill="#1F2329"></path><path d="M73.7449 15.9987C73.4083 15.998 73.0857 15.8638 72.8479 15.6256C72.6101 15.3873 72.4766 15.0644 72.4766 14.7278V7.165C72.4914 6.83757 72.632 6.52848 72.869 6.30203C73.1059 6.07559 73.4211 5.94922 73.7488 5.94922C74.0766 5.94922 74.3918 6.07559 74.6287 6.30203C74.8657 6.52848 75.0062 6.83757 75.0211 7.165V14.7278C75.0208 14.895 74.9875 15.0606 74.9232 15.215C74.8588 15.3693 74.7647 15.5095 74.6462 15.6276C74.5277 15.7456 74.3871 15.8391 74.2325 15.9028C74.0778 15.9665 73.9122 15.9991 73.7449 15.9987Z" fill="#1F2329"></path><path d="M87.3607 15.9993C87.0234 15.9993 86.6998 15.8655 86.4611 15.6272C86.2223 15.389 86.0878 15.0657 86.0871 14.7284V4.67881L81.4654 9.45281C81.2304 9.69657 80.9081 9.83697 80.5695 9.84312C80.231 9.84928 79.9038 9.72069 79.6601 9.48563C79.4163 9.25058 79.2759 8.92832 79.2697 8.58976C79.2667 8.42211 79.2967 8.25551 79.358 8.09947C79.4194 7.94342 79.5108 7.80098 79.6272 7.68028L86.4469 0.661082C86.6229 0.478921 86.8494 0.35354 87.0973 0.301033C87.3451 0.248526 87.603 0.271291 87.8378 0.366403C88.0727 0.461516 88.2737 0.624637 88.4151 0.834827C88.5566 1.04502 88.632 1.29268 88.6317 1.54603V14.7284C88.6317 15.0655 88.4978 15.3887 88.2594 15.6271C88.021 15.8654 87.6978 15.9993 87.3607 15.9993Z" fill="#1F2329"></path><path d="M80.5514 9.82621C80.3824 9.82749 80.2149 9.79518 80.0584 9.73117C79.902 9.66716 79.7599 9.57272 79.6402 9.45332L72.8337 2.4315C72.599 2.18948 72.4701 1.86414 72.4752 1.52705C72.4804 1.18996 72.6193 0.868726 72.8613 0.634023C73.1033 0.399319 73.4287 0.270369 73.7658 0.27554C74.1028 0.280711 74.4241 0.419579 74.6588 0.661595L81.4653 7.66767C81.6389 7.84735 81.7558 8.07413 81.8015 8.31977C81.8472 8.56541 81.8196 8.81906 81.7222 9.04914C81.6248 9.27922 81.4618 9.47557 81.2537 9.61374C81.0455 9.75191 80.8013 9.8258 80.5514 9.82621Z" fill="#1F2329"></path><path d="M98.3029 15.9992C97.9659 15.9992 97.6426 15.8653 97.4042 15.627C97.1659 15.3886 97.032 15.0654 97.032 14.7283V7.1655C97.032 6.82842 97.1659 6.50514 97.4042 6.26679C97.6426 6.02844 97.9659 5.89453 98.3029 5.89453C98.64 5.89453 98.9633 6.02844 99.2017 6.26679C99.44 6.50514 99.5739 6.82842 99.5739 7.1655V14.7283C99.5739 15.0654 99.44 15.3886 99.2017 15.627C98.9633 15.8653 98.64 15.9992 98.3029 15.9992Z" fill="#1F2329"></path><path d="M111.916 16.0004C111.579 16.0004 111.256 15.8664 111.017 15.6281C110.779 15.3897 110.645 15.0665 110.645 14.7294V4.67982L106.023 9.45382C105.788 9.69584 105.467 9.83457 105.129 9.83949C104.792 9.84442 104.466 9.71513 104.224 9.48008C103.982 9.24503 103.844 8.92346 103.839 8.58613C103.834 8.24879 103.963 7.92331 104.198 7.6813L111.005 0.662093C111.181 0.483575 111.407 0.361405 111.653 0.311007C111.899 0.260609 112.155 0.284243 112.387 0.378925C112.62 0.473608 112.819 0.635093 112.96 0.842994C113.101 1.05089 113.177 1.29589 113.179 1.54704V14.7294C113.178 15.0649 113.045 15.3866 112.809 15.6246C112.572 15.8625 112.251 15.9976 111.916 16.0004Z" fill="#1F2329"></path><path d="M105.109 9.82618C104.94 9.82746 104.773 9.79516 104.616 9.73115C104.46 9.66713 104.318 9.57269 104.198 9.45329L97.3917 2.43147C97.2687 2.31326 97.1708 2.1715 97.1037 2.01463C97.0367 1.85777 97.0019 1.68901 97.0015 1.51842C97.001 1.34783 97.0349 1.1789 97.1012 1.02169C97.1674 0.864476 97.2646 0.722207 97.387 0.603357C97.5093 0.484507 97.6544 0.391509 97.8135 0.329905C97.9725 0.268302 98.1424 0.239353 98.3129 0.244785C98.4834 0.250217 98.6511 0.289918 98.8059 0.361522C98.9607 0.433126 99.0996 0.535168 99.2141 0.661566L106.023 7.66764C106.197 7.84732 106.314 8.0741 106.359 8.31974C106.405 8.56538 106.378 8.81903 106.28 9.04911C106.183 9.27919 106.02 9.47554 105.812 9.61371C105.603 9.75189 105.359 9.82577 105.109 9.82618Z" fill="#1F2329"></path><path d="M92.8305 15.9997C92.4935 15.9997 92.1702 15.8658 91.9318 15.6274C91.6935 15.3891 91.5596 15.0658 91.5596 14.7287V1.54636C91.5596 1.20928 91.6935 0.886001 91.9318 0.647648C92.1702 0.409296 92.4935 0.275391 92.8305 0.275391C93.1676 0.275391 93.4909 0.409296 93.7292 0.647648C93.9676 0.886001 94.1015 1.20928 94.1015 1.54636V14.7287C94.1015 14.8956 94.0686 15.0609 94.0048 15.2151C93.9409 15.3693 93.8473 15.5094 93.7292 15.6274C93.6112 15.7454 93.4711 15.839 93.3169 15.9029C93.1627 15.9668 92.9974 15.9997 92.8305 15.9997Z" fill="#1F2329"></path><path d="M123.42 15.9814C122.03 15.9865 120.663 15.6287 119.454 14.9433C118.244 14.2579 117.235 13.2687 116.525 12.0735C115.815 10.8783 115.43 9.5185 115.407 8.12863C115.384 6.73875 115.724 5.36692 116.393 4.1488C116.561 3.86356 116.833 3.65487 117.152 3.56707C117.471 3.47927 117.811 3.51928 118.101 3.67859C118.391 3.8379 118.608 4.10397 118.704 4.42026C118.801 4.73656 118.771 5.07816 118.62 5.3725C118.053 6.40664 117.836 7.59693 118.003 8.76468C118.169 9.93243 118.71 11.0147 119.544 11.8489C120.378 12.6831 121.46 13.2244 122.628 13.3914C123.795 13.5584 124.986 13.3421 126.02 12.7751C126.315 12.6125 126.663 12.5738 126.987 12.6676C127.311 12.7614 127.584 12.98 127.747 13.2753C127.909 13.5706 127.948 13.9184 127.854 14.2422C127.76 14.566 127.542 14.8393 127.246 15.0019C126.074 15.6455 124.758 15.9824 123.42 15.9814Z" fill="#1F2329"></path><path d="M129.287 12.5052C129.071 12.5044 128.86 12.4484 128.672 12.3424C128.378 12.1795 128.159 11.9066 128.066 11.5833C127.972 11.26 128.009 10.9126 128.171 10.6171C128.738 9.58297 128.955 8.39268 128.788 7.22493C128.622 6.05718 128.081 4.97496 127.247 4.14073C126.413 3.30649 125.331 2.76525 124.163 2.59825C122.996 2.43125 121.805 2.64749 120.771 3.21452C120.624 3.30059 120.462 3.3564 120.293 3.37863C120.125 3.40087 119.954 3.38908 119.79 3.34397C119.626 3.29886 119.473 3.22134 119.339 3.116C119.206 3.01066 119.095 2.87964 119.013 2.73069C118.931 2.58174 118.88 2.41788 118.863 2.24882C118.845 2.07975 118.862 1.90891 118.912 1.7464C118.962 1.58389 119.044 1.43301 119.153 1.3027C119.262 1.17238 119.396 1.06527 119.547 0.987704C121.064 0.155491 122.809 -0.162266 124.522 0.0821474C126.234 0.326561 127.822 1.11995 129.045 2.34319C130.268 3.56642 131.061 5.15347 131.306 6.86604C131.55 8.5786 131.232 10.3242 130.4 11.8408C130.291 12.0411 130.13 12.2084 129.934 12.3253C129.739 12.4422 129.515 12.5043 129.287 12.5052Z" fill="#1F2329"></path></g></svg></div></a></div><div class="flex flex-col items-center justify-center overflow-clip shrink-0"><style>
.language-dropdown-overlay {
padding: 0 !important;
border-radius: 6px !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}
.language-dropdown-overlay .ant-dropdown {
padding: 0 !important;
}
.language-dropdown-overlay .ant-dropdown-menu {
background: transparent !important;
box-shadow: none !important;
padding: 0 !important;
border: none !important;
border-radius: 0 !important;
}
</style><div class="lg:hidden"><button class="relative shrink-0 w-[20px] h-[20px] cursor-pointer flex items-center justify-center" aria-label="Toggle language" type="button"><img alt="Language" class="block max-w-none size-full" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTUgOC4zMzQxN0wxOC42Njc1IDE3LjUwMDhIMTYuODcxN0wxNS44NzE3IDE1LjAwMDhIMTIuNDYyNUwxMS40NjI1IDE3LjUwMDhIOS42Njc1TDEzLjMzNDIgOC4zMzQxN0gxNVpNMTQuMTY3NSAxMC43MzgzTDEzLjEyNzUgMTMuMzMzM0gxNS4yMDVMMTQuMTY3NSAxMC43MzY3VjEwLjczODNaTTQuMTY2NjcgMTIuNVYxNC4xNjY3QzQuMTY2NzQgMTQuNTg3IDQuMzI1NjQgMTQuOTkxOCA0LjYxMTUzIDE1LjI5OTlDNC44OTc0MiAxNS42MDgxIDUuMjg5MTggMTUuNzk2OCA1LjcwODMzIDE1LjgyODNMNS44MzMzMyAxNS44MzMzSDguMzMzMzNWMTcuNUg1LjgzMzMzQzQuOTQ5MjggMTcuNSA0LjEwMTQzIDE3LjE0ODggMy40NzYzMSAxNi41MjM3QzIuODUxMTkgMTUuODk4NiAyLjUgMTUuMDUwNyAyLjUgMTQuMTY2N1YxMi41SDQuMTY2NjdaTTE0LjE2NjcgMi41QzE1LjA1MDcgMi41IDE1Ljg5ODYgMi44NTExOSAxNi41MjM3IDMuNDc2MzFDMTcuMTQ4OCA0LjEwMTQzIDE3LjUgNC45NDkyOCAxNy41IDUuODMzMzNWNy41SDE1LjgzMzNWNS44MzMzM0MxNS44MzMzIDUuMzkxNDUgMTUuNjU3OSA0Ljk2NzY1IDE1LjM0NTUgNC42NTUxMkMxNS4wMzMxIDQuMzQyNTggMTQuNjA5NCA0LjE2Njg5IDE0LjE2NzUgNC4xNjY2N0gxMS42Njc1VjIuNUgxNC4xNjc1SDE0LjE2NjdaIiBmaWxsPSIjNjQ2QTczIi8+CiAgPHBhdGggZD0iTTYuNjY1MDQgMS42NjYwMlYzLjMzMzUySDkuOTk4MzdWOS4xNjYwMkg2LjY2NTA0VjExLjY2Nkg0Ljk5ODM3VjkuMTY2MDJIMS42NjUwNFYzLjMzMzUySDQuOTk4MzdWMS42NjYwMkg2LjY2NTA0Wk00Ljk5ODM3IDQuOTk5MzVIMy4zMzE3MVY3LjQ5OTM1SDUuMDAwMDRWNS4wMDAxOEg0Ljk5ODM3VjQuOTk5MzVaTTguMzMxNyA0Ljk5OTM1SDYuNjY1MDRWNy40OTkzNUg4LjMzMTdWNS4wMDAxOFY0Ljk5OTM1WiIgZmlsbD0iIzE1MTUxNSIvPgo8L3N2Zz4K"></button></div><div class="hidden lg:block"><div class="ant-dropdown-trigger flex items-center px-[8px] py-[6px]"><div class="flex items-center gap-[2px] cursor-pointer h-[28px]"><p class="text-[14px] leading-[22px] font-normal whitespace-pre flex items-center text-[#1f2329]">中文</p><div class="flex items-center justify-center h-[28px] w-[12px] relative"><img alt="" class="block max-w-none w-full h-full" src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAxMiAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzc2XzIxNjc0KSI+CjxwYXRoIGQ9Ik02LjcyMzAyIDE1LjkwNjZDNi42MDg2OSAxNi4wMzExIDYuMzkxMzEgMTYuMDMxMSA2LjI3Njk4IDE1LjkwNjZMMy4wNjMxMiAxMi40MDQ1QzIuOTEzNTIgMTIuMjQxNSAzLjA0NjY2IDEyIDMuMjg2MTQgMTJMOS43MTM4NiAxMkM5Ljk1MzM0IDEyIDEwLjA4NjUgMTIuMjQxNSA5LjkzNjg4IDEyLjQwNDVMNi43MjMwMiAxNS45MDY2WiIgZmlsbD0iIzFGMjMyOSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzc2XzIxNjc0Ij4KPHJlY3Qgd2lkdGg9IjEyIiBoZWlnaHQ9IjgiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDEwKSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="></div></div></div></div></div></div><div class="hidden lg:flex items-center justify-between w-full h-[64px]"><div class="flex items-center gap-[8px] px-[8px] py-[9px]"><a class="inline-grid grid-cols-[max-content] grid-rows-[max-content] leading-[0] place-items-start cursor-pointer hover:opacity-80 transition-opacity" title="返回首页" aria-label="返回首页" href="/"><div class="h-[16px] w-[131.382px]"><svg class="w-full h-full" width="132" height="16" viewBox="0 0 132 16" fill="none" xmlns="http://www.w3.org/2000/svg"><g><path d="M64.9008 0.00138769C64.6875 -0.00400695 64.4753 0.0339904 64.2771 0.113075C64.0789 0.192159 63.8988 0.310682 63.7478 0.461454C63.5968 0.612226 63.478 0.792105 63.3985 0.990178C63.3191 1.18825 63.2808 1.40039 63.2858 1.61373C63.2858 2.04553 63.4574 2.45964 63.7627 2.76497C64.068 3.0703 64.4821 3.24183 64.9139 3.24183C65.3457 3.24183 65.7599 3.0703 66.0652 2.76497C66.3705 2.45964 66.542 2.04553 66.542 1.61373C66.5473 1.39811 66.5082 1.18371 66.4271 0.983812C66.3461 0.783917 66.2249 0.602783 66.0711 0.451629C65.9172 0.300476 65.734 0.182523 65.5327 0.105076C65.3314 0.027629 65.1163 -0.00766247 64.9008 0.00138769Z" fill="#1F2329"></path><path d="M66.1689 4.55469H63.6296V15.7255H66.1689V4.55469Z" fill="#1F2329"></path><path d="M38.8643 4.06641C35.3586 4.06641 33.0872 6.76065 33.0872 10.0326C33.0872 13.3045 35.3717 16.0014 38.8643 16.0014C42.3568 16.0014 44.6414 13.3072 44.6414 10.0326C44.6414 6.75802 42.3673 4.06641 38.8643 4.06641ZM38.8643 13.6932C37.0261 13.6932 35.5844 12.3408 35.5844 10.0326C35.5844 7.72437 37.0261 6.37463 38.8643 6.37463C40.7025 6.37463 42.1415 7.727 42.1415 10.0326C42.1415 12.3382 40.7025 13.6932 38.8643 13.6932Z" fill="#1F2329"></path><path d="M17.7909 0.000890693C17.5765 -0.00632181 17.3629 0.0303305 17.1631 0.108601C16.9634 0.186872 16.7817 0.305111 16.6293 0.456073C16.4768 0.607034 16.3568 0.787536 16.2766 0.986515C16.1964 1.18549 16.1577 1.39876 16.1628 1.61323C16.1628 2.04503 16.3343 2.45914 16.6397 2.76447C16.945 3.0698 17.3591 3.24133 17.7909 3.24133C18.2227 3.24133 18.6368 3.0698 18.9421 2.76447C19.2475 2.45914 19.419 2.04503 19.419 1.61323C19.4241 1.39876 19.3854 1.18549 19.3052 0.986515C19.225 0.787536 19.105 0.607034 18.9525 0.456073C18.8001 0.305111 18.6184 0.186872 18.4187 0.108601C18.2189 0.0303305 18.0053 -0.00632181 17.7909 0.000890693Z" fill="#1F2329"></path><path d="M11.7564 15.7252L0.359741 1.61328H3.51615L15.1124 15.7252H11.7564Z" fill="#1F2329"></path><path d="M3.35861 15.7252L14.7527 1.61328H11.5963L0 15.7252H3.35861Z" fill="#1F2329"></path><path d="M19.0618 4.55469H16.5225V15.7255H19.0618V4.55469Z" fill="#1F2329"></path><path d="M26.5905 3.78906C24.5055 3.78906 23.0454 4.31426 21.7009 5.36464L22.6988 7.20282C23.6328 6.41651 24.8055 5.96948 26.0259 5.93448C27.7354 5.93448 28.7543 6.82993 28.7543 8.38975H26.8347C23.0139 8.38975 20.9184 10.2699 21.1442 12.8539C21.4068 15.921 24.6158 16.005 24.9808 16.005C26.5563 16.005 28.0321 15.4799 28.7543 14.5214V15.7188H31.2936V8.37662C31.2936 7.12404 30.7001 3.78906 26.5905 3.78906ZM28.7543 11.1418C28.7231 11.8658 28.4128 12.5496 27.8885 13.05C27.3642 13.5503 26.6666 13.8282 25.9419 13.8255C24.7392 13.8255 23.9304 13.2504 23.8411 12.3366C23.7518 11.4227 24.5921 10.2831 27.5174 10.2831H28.7569L28.7543 11.1418Z" fill="#1F2329"></path><path d="M57.7238 4.11087C57.0499 4.09158 56.3837 4.25893 55.7989 4.59444C55.2141 4.92994 54.7334 5.42054 54.4099 6.01207C53.7954 4.64394 52.7923 4.11087 51.6868 4.11087C51.1688 4.13165 50.6626 4.2713 50.2072 4.51901C49.7519 4.76672 49.3596 5.11585 49.0608 5.5394V4.55203H46.5215V15.7255H49.0608V9.11859C49.0608 8.25464 49.0608 6.40071 50.8044 6.40071C52.5481 6.40071 52.5481 8.25465 52.5481 8.72732V15.7255H55.0139V8.72732C55.0139 8.25465 55.0139 6.40071 56.7575 6.40071C58.5011 6.40071 58.5038 8.25464 58.5038 9.11859V15.7255H61.0404V8.4017C61.0536 5.3976 59.6093 4.11087 57.7238 4.11087Z" fill="#1F2329"></path><path d="M73.7449 15.9987C73.4083 15.998 73.0857 15.8638 72.8479 15.6256C72.6101 15.3873 72.4766 15.0644 72.4766 14.7278V7.165C72.4914 6.83757 72.632 6.52848 72.869 6.30203C73.1059 6.07559 73.4211 5.94922 73.7488 5.94922C74.0766 5.94922 74.3918 6.07559 74.6287 6.30203C74.8657 6.52848 75.0062 6.83757 75.0211 7.165V14.7278C75.0208 14.895 74.9875 15.0606 74.9232 15.215C74.8588 15.3693 74.7647 15.5095 74.6462 15.6276C74.5277 15.7456 74.3871 15.8391 74.2325 15.9028C74.0778 15.9665 73.9122 15.9991 73.7449 15.9987Z" fill="#1F2329"></path><path d="M87.3607 15.9993C87.0234 15.9993 86.6998 15.8655 86.4611 15.6272C86.2223 15.389 86.0878 15.0657 86.0871 14.7284V4.67881L81.4654 9.45281C81.2304 9.69657 80.9081 9.83697 80.5695 9.84312C80.231 9.84928 79.9038 9.72069 79.6601 9.48563C79.4163 9.25058 79.2759 8.92832 79.2697 8.58976C79.2667 8.42211 79.2967 8.25551 79.358 8.09947C79.4194 7.94342 79.5108 7.80098 79.6272 7.68028L86.4469 0.661082C86.6229 0.478921 86.8494 0.35354 87.0973 0.301033C87.3451 0.248526 87.603 0.271291 87.8378 0.366403C88.0727 0.461516 88.2737 0.624637 88.4151 0.834827C88.5566 1.04502 88.632 1.29268 88.6317 1.54603V14.7284C88.6317 15.0655 88.4978 15.3887 88.2594 15.6271C88.021 15.8654 87.6978 15.9993 87.3607 15.9993Z" fill="#1F2329"></path><path d="M80.5514 9.82621C80.3824 9.82749 80.2149 9.79518 80.0584 9.73117C79.902 9.66716 79.7599 9.57272 79.6402 9.45332L72.8337 2.4315C72.599 2.18948 72.4701 1.86414 72.4752 1.52705C72.4804 1.18996 72.6193 0.868726 72.8613 0.634023C73.1033 0.399319 73.4287 0.270369 73.7658 0.27554C74.1028 0.280711 74.4241 0.419579 74.6588 0.661595L81.4653 7.66767C81.6389 7.84735 81.7558 8.07413 81.8015 8.31977C81.8472 8.56541 81.8196 8.81906 81.7222 9.04914C81.6248 9.27922 81.4618 9.47557 81.2537 9.61374C81.0455 9.75191 80.8013 9.8258 80.5514 9.82621Z" fill="#1F2329"></path><path d="M98.3029 15.9992C97.9659 15.9992 97.6426 15.8653 97.4042 15.627C97.1659 15.3886 97.032 15.0654 97.032 14.7283V7.1655C97.032 6.82842 97.1659 6.50514 97.4042 6.26679C97.6426 6.02844 97.9659 5.89453 98.3029 5.89453C98.64 5.89453 98.9633 6.02844 99.2017 6.26679C99.44 6.50514 99.5739 6.82842 99.5739 7.1655V14.7283C99.5739 15.0654 99.44 15.3886 99.2017 15.627C98.9633 15.8653 98.64 15.9992 98.3029 15.9992Z" fill="#1F2329"></path><path d="M111.916 16.0004C111.579 16.0004 111.256 15.8664 111.017 15.6281C110.779 15.3897 110.645 15.0665 110.645 14.7294V4.67982L106.023 9.45382C105.788 9.69584 105.467 9.83457 105.129 9.83949C104.792 9.84442 104.466 9.71513 104.224 9.48008C103.982 9.24503 103.844 8.92346 103.839 8.58613C103.834 8.24879 103.963 7.92331 104.198 7.6813L111.005 0.662093C111.181 0.483575 111.407 0.361405 111.653 0.311007C111.899 0.260609 112.155 0.284243 112.387 0.378925C112.62 0.473608 112.819 0.635093 112.96 0.842994C113.101 1.05089 113.177 1.29589 113.179 1.54704V14.7294C113.178 15.0649 113.045 15.3866 112.809 15.6246C112.572 15.8625 112.251 15.9976 111.916 16.0004Z" fill="#1F2329"></path><path d="M105.109 9.82618C104.94 9.82746 104.773 9.79516 104.616 9.73115C104.46 9.66713 104.318 9.57269 104.198 9.45329L97.3917 2.43147C97.2687 2.31326 97.1708 2.1715 97.1037 2.01463C97.0367 1.85777 97.0019 1.68901 97.0015 1.51842C97.001 1.34783 97.0349 1.1789 97.1012 1.02169C97.1674 0.864476 97.2646 0.722207 97.387 0.603357C97.5093 0.484507 97.6544 0.391509 97.8135 0.329905C97.9725 0.268302 98.1424 0.239353 98.3129 0.244785C98.4834 0.250217 98.6511 0.289918 98.8059 0.361522C98.9607 0.433126 99.0996 0.535168 99.2141 0.661566L106.023 7.66764C106.197 7.84732 106.314 8.0741 106.359 8.31974C106.405 8.56538 106.378 8.81903 106.28 9.04911C106.183 9.27919 106.02 9.47554 105.812 9.61371C105.603 9.75189 105.359 9.82577 105.109 9.82618Z" fill="#1F2329"></path><path d="M92.8305 15.9997C92.4935 15.9997 92.1702 15.8658 91.9318 15.6274C91.6935 15.3891 91.5596 15.0658 91.5596 14.7287V1.54636C91.5596 1.20928 91.6935 0.886001 91.9318 0.647648C92.1702 0.409296 92.4935 0.275391 92.8305 0.275391C93.1676 0.275391 93.4909 0.409296 93.7292 0.647648C93.9676 0.886001 94.1015 1.20928 94.1015 1.54636V14.7287C94.1015 14.8956 94.0686 15.0609 94.0048 15.2151C93.9409 15.3693 93.8473 15.5094 93.7292 15.6274C93.6112 15.7454 93.4711 15.839 93.3169 15.9029C93.1627 15.9668 92.9974 15.9997 92.8305 15.9997Z" fill="#1F2329"></path><path d="M123.42 15.9814C122.03 15.9865 120.663 15.6287 119.454 14.9433C118.244 14.2579 117.235 13.2687 116.525 12.0735C115.815 10.8783 115.43 9.5185 115.407 8.12863C115.384 6.73875 115.724 5.36692 116.393 4.1488C116.561 3.86356 116.833 3.65487 117.152 3.56707C117.471 3.47927 117.811 3.51928 118.101 3.67859C118.391 3.8379 118.608 4.10397 118.704 4.42026C118.801 4.73656 118.771 5.07816 118.62 5.3725C118.053 6.40664 117.836 7.59693 118.003 8.76468C118.169 9.93243 118.71 11.0147 119.544 11.8489C120.378 12.6831 121.46 13.2244 122.628 13.3914C123.795 13.5584 124.986 13.3421 126.02 12.7751C126.315 12.6125 126.663 12.5738 126.987 12.6676C127.311 12.7614 127.584 12.98 127.747 13.2753C127.909 13.5706 127.948 13.9184 127.854 14.2422C127.76 14.566 127.542 14.8393 127.246 15.0019C126.074 15.6455 124.758 15.9824 123.42 15.9814Z" fill="#1F2329"></path><path d="M129.287 12.5052C129.071 12.5044 128.86 12.4484 128.672 12.3424C128.378 12.1795 128.159 11.9066 128.066 11.5833C127.972 11.26 128.009 10.9126 128.171 10.6171C128.738 9.58297 128.955 8.39268 128.788 7.22493C128.622 6.05718 128.081 4.97496 127.247 4.14073C126.413 3.30649 125.331 2.76525 124.163 2.59825C122.996 2.43125 121.805 2.64749 120.771 3.21452C120.624 3.30059 120.462 3.3564 120.293 3.37863C120.125 3.40087 119.954 3.38908 119.79 3.34397C119.626 3.29886 119.473 3.22134 119.339 3.116C119.206 3.01066 119.095 2.87964 119.013 2.73069C118.931 2.58174 118.88 2.41788 118.863 2.24882C118.845 2.07975 118.862 1.90891 118.912 1.7464C118.962 1.58389 119.044 1.43301 119.153 1.3027C119.262 1.17238 119.396 1.06527 119.547 0.987704C121.064 0.155491 122.809 -0.162266 124.522 0.0821474C126.234 0.326561 127.822 1.11995 129.045 2.34319C130.268 3.56642 131.061 5.15347 131.306 6.86604C131.55 8.5786 131.232 10.3242 130.4 11.8408C130.291 12.0411 130.13 12.2084 129.934 12.3253C129.739 12.4422 129.515 12.5043 129.287 12.5052Z" fill="#1F2329"></path></g></svg></div></a></div><div class="flex items-center"><div class="flex items-center"><div class="flex items-center px-[8px] py-0"><a class="text-[#1f2329] hover:text-[var(--color-highlight)] transition-colors " href="/contact" style="padding: 0px; font-size: 14px; line-height: 22px; font-weight: 400; white-space: pre;">联系我们</a></div><div class="flex items-center px-[8px] py-0"><a class="text-[#1f2329] hover:text-[var(--color-highlight)] transition-colors " href="/docs/welcome" style="padding: 0px; font-size: 14px; line-height: 22px; font-weight: 400; white-space: pre;">文档</a></div><div class="flex items-center px-[8px] py-0"><a class="text-[#1f2329] hover:text-[var(--color-highlight)] transition-colors nav-menu_sp__cb8750bb" href="/token-plan" style="padding: 0px; font-size: 14px; line-height: 22px; font-weight: 400; white-space: pre;">Token Plan<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.6688 6.27614L4.93109 12.0139L3.98828 11.0711L9.72601 5.33333H4.66883V4H12.0021V11.3333H10.6688V6.27614Z" fill="#7A6229"></path></svg></a></div><div class="flex items-center px-[8px] py-0"><a class="text-[#1f2329] hover:text-[var(--color-highlight)] transition-colors " href="/console/balance" style="padding: 0px; font-size: 14px; line-height: 22px; font-weight: 400; white-space: pre;">控制台</a></div><div class="flex items-center px-[8px] py-0"><a class="text-[#1f2329] hover:text-[var(--color-highlight)] transition-colors " rel="noopener noreferrer" href="https://mimo.xiaomi.com" target="_blank" style="padding: 0px; font-size: 14px; line-height: 22px; font-weight: 400; white-space: pre;">博客</a></div></div><style>
.language-dropdown-overlay {
padding: 0 !important;
border-radius: 6px !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}
.language-dropdown-overlay .ant-dropdown {
padding: 0 !important;
}
.language-dropdown-overlay .ant-dropdown-menu {
background: transparent !important;
box-shadow: none !important;
padding: 0 !important;
border: none !important;
border-radius: 0 !important;
}
</style><div class="lg:hidden"><button class="relative shrink-0 w-[20px] h-[20px] cursor-pointer flex items-center justify-center" aria-label="Toggle language" type="button"><img alt="Language" class="block max-w-none size-full" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTUgOC4zMzQxN0wxOC42Njc1IDE3LjUwMDhIMTYuODcxN0wxNS44NzE3IDE1LjAwMDhIMTIuNDYyNUwxMS40NjI1IDE3LjUwMDhIOS42Njc1TDEzLjMzNDIgOC4zMzQxN0gxNVpNMTQuMTY3NSAxMC43MzgzTDEzLjEyNzUgMTMuMzMzM0gxNS4yMDVMMTQuMTY3NSAxMC43MzY3VjEwLjczODNaTTQuMTY2NjcgMTIuNVYxNC4xNjY3QzQuMTY2NzQgMTQuNTg3IDQuMzI1NjQgMTQuOTkxOCA0LjYxMTUzIDE1LjI5OTlDNC44OTc0MiAxNS42MDgxIDUuMjg5MTggMTUuNzk2OCA1LjcwODMzIDE1LjgyODNMNS44MzMzMyAxNS44MzMzSDguMzMzMzNWMTcuNUg1LjgzMzMzQzQuOTQ5MjggMTcuNSA0LjEwMTQzIDE3LjE0ODggMy40NzYzMSAxNi41MjM3QzIuODUxMTkgMTUuODk4NiAyLjUgMTUuMDUwNyAyLjUgMTQuMTY2N1YxMi41SDQuMTY2NjdaTTE0LjE2NjcgMi41QzE1LjA1MDcgMi41IDE1Ljg5ODYgMi44NTExOSAxNi41MjM3IDMuNDc2MzFDMTcuMTQ4OCA0LjEwMTQzIDE3LjUgNC45NDkyOCAxNy41IDUuODMzMzNWNy41SDE1LjgzMzNWNS44MzMzM0MxNS44MzMzIDUuMzkxNDUgMTUuNjU3OSA0Ljk2NzY1IDE1LjM0NTUgNC42NTUxMkMxNS4wMzMxIDQuMzQyNTggMTQuNjA5NCA0LjE2Njg5IDE0LjE2NzUgNC4xNjY2N0gxMS42Njc1VjIuNUgxNC4xNjc1SDE0LjE2NjdaIiBmaWxsPSIjNjQ2QTczIi8+CiAgPHBhdGggZD0iTTYuNjY1MDQgMS42NjYwMlYzLjMzMzUySDkuOTk4MzdWOS4xNjYwMkg2LjY2NTA0VjExLjY2Nkg0Ljk5ODM3VjkuMTY2MDJIMS42NjUwNFYzLjMzMzUySDQuOTk4MzdWMS42NjYwMkg2LjY2NTA0Wk00Ljk5ODM3IDQuOTk5MzVIMy4zMzE3MVY3LjQ5OTM1SDUuMDAwMDRWNS4wMDAxOEg0Ljk5ODM3VjQuOTk5MzVaTTguMzMxNyA0Ljk5OTM1SDYuNjY1MDRWNy40OTkzNUg4LjMzMTdWNS4wMDAxOFY0Ljk5OTM1WiIgZmlsbD0iIzE1MTUxNSIvPgo8L3N2Zz4K"></button></div><div class="hidden lg:block"><div class="ant-dropdown-trigger flex items-center px-[8px] py-[6px]"><div class="flex items-center gap-[2px] cursor-pointer h-[28px]"><p class="text-[14px] leading-[22px] font-normal whitespace-pre flex items-center text-[#1f2329]">中文</p><div class="flex items-center justify-center h-[28px] w-[12px] relative"><img alt="" class="block max-w-none w-full h-full" src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAxMiAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzc2XzIxNjc0KSI+CjxwYXRoIGQ9Ik02LjcyMzAyIDE1LjkwNjZDNi42MDg2OSAxNi4wMzExIDYuMzkxMzEgMTYuMDMxMSA2LjI3Njk4IDE1LjkwNjZMMy4wNjMxMiAxMi40MDQ1QzIuOTEzNTIgMTIuMjQxNSAzLjA0NjY2IDEyIDMuMjg2MTQgMTJMOS43MTM4NiAxMkM5Ljk1MzM0IDEyIDEwLjA4NjUgMTIuMjQxNSA5LjkzNjg4IDEyLjQwNDVMNi43MjMwMiAxNS45MDY2WiIgZmlsbD0iIzFGMjMyOSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzc2XzIxNjc0Ij4KPHJlY3Qgd2lkdGg9IjEyIiBoZWlnaHQ9IjgiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDEwKSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="></div></div></div></div><a href="https://huggingface.co/XiaomiMiMo" rel="noopener noreferrer" target="_blank" class="px-[6px] "><img class="w-[28px] h-[26px]" src="/static/hugging-face.303f7249.svg"></a><style>
.user-dropdown-overlay {
padding: 0 !important;
border-radius: 6px !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}
.user-dropdown-overlay .ant-dropdown {
padding: 0 !important;
}
.user-dropdown-overlay .ant-dropdown-menu {
background: transparent !important;
box-shadow: none !important;
padding: 0 !important;
border: none !important;
border-radius: 0 !important;
}
</style><div class="ant-dropdown-trigger flex items-center gap-[10px] px-[8px] pr-[0px] py-[14px] cursor-pointer"><span class="ant-avatar ant-avatar-circle ant-avatar-image rounded-full css-1f8ilbp" style="width: 32px; height: 32px; font-size: 18px;"><img src="/static/avatar.ed36425b.png"></span></div></div></div></nav><main class="flex-1 overflow-auto flex flex-col w-full items-center"><div class="flex flex-1 flex-shrink-0 items-start flex-start w-full"><aside class="sticky top-0 hidden overflow-x-hidden max-w-[272px] min-w-[272px] flex-col overflow-y-auto lg:flex min-h-min" aria-label="Page navigation" style="height: calc(-64px + 100vh);"><div class="bg-white flex-1 flex flex-col items-start justify-between w-full h-full "><div class="px-[18px] py-[16px] w-full"><div class="flex flex-col gap-[10px] w-full relative "><div class="search-dropdown_searchInputWrapper__dea9b910 bg-[#f2f2f2] flex gap-[4px] items-center pr-[12px] rounded-[6px] w-full relative"><div class="ant-dropdown-trigger flex-1"><input placeholder="搜索文档" class="ant-input css-1f8ilbp ant-input-borderless flex-1 bg-transparent border-0" type="text" value="" style="background-color: transparent; outline: none; padding: 0px 0px 0px 12px; font-size: 13px; line-height: 32px; color: rgb(143, 149, 158); box-shadow: none;"></div><div class="bg-white flex gap-[2px] items-center p-[4px] rounded-[4px] shrink-0"><div class="flex items-center justify-center text-[#646a73]" style="font-size: 10px; line-height: 10px; font-weight: 500;">Ctrl</div><div class="flex items-center justify-center overflow-clip w-[10px] h-[10px]"><svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.20581 1.90892C8.4117 1.69634 8.40668 1.35821 8.1941 1.15232C7.98151 0.946435 7.64338 0.951457 7.4375 1.16404L4.83961 3.84227L4.07129 4.63235V1.53565C4.07129 1.23937 3.83193 1 3.53565 1C3.23937 1 3 1.23937 3 1.53565V7.9634C3 8.25968 3.23937 8.49905 3.53565 8.49905C3.83193 8.49905 4.07129 8.25968 4.07129 7.9634V6.17234L5.1543 5.05585L7.38058 8.26973C7.54965 8.51244 7.88275 8.5727 8.12547 8.40531C8.36818 8.23792 8.42844 7.90314 8.26105 7.66043L5.91425 4.27079L8.20581 1.90892Z" fill="#646A73"></path></svg></div></div></div></div></div><div class="flex flex-col items-start min-w-[272px] overflow-auto px-[18px] py-0 sticky top-0 w-full flex-1"><div class="flex flex-col gap-[2px] items-start w-full"><div data-doc-nav-href="/docs/welcome" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/welcome" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">欢迎使用</p></div></a></div><div class="flex w-full flex-col" data-doc-nav-href="/docs/quick-start"><div data-state="open" data-slot="collapsible"><div class="flex gap-[4px] h-[32px] items-center px-[8px] py-0 w-full transition-colors cursor-pointer rounded-[6px] bg-white hover:bg-[#f5f5f5]" type="button" aria-controls="radix-_r_5_" aria-expanded="true" data-state="open" data-slot="collapsible-trigger"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden text-[14px]" style="color: rgb(31, 35, 41);"><p class="leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">快速开始</p></div><div class="flex items-center justify-center overflow-clip"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-[14px] h-[14px] transition-transform" aria-hidden="true" style="color: rgb(100, 106, 115);"><path d="m6 9 6 6 6-6"></path></svg></div></div><div data-state="open" id="radix-_r_5_" data-slot="collapsible-content" class="CollapsibleContent" style="transition-duration: 0s; animation-name: none;"><div class="flex flex-col gap-[10px] pl-[12px] my-[4px] "><div class="border-l border-neutral-200 flex flex-col gap-[2px] "><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/quick-start/first-api-call" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/quick-start/first-api-call" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">首次调用 API</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/quick-start/model-hyperparameters" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/quick-start/model-hyperparameters" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">模型超参</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/quick-start/error-codes" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/quick-start/error-codes" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">错误码</p></div></a></div></div></div></div></div></div></div><div data-doc-nav-href="/docs/pricing" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/pricing" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">定价与限速</p></div></a></div><div class="flex w-full flex-col" data-doc-nav-href="/docs/news"><div data-state="open" data-slot="collapsible"><div class="flex gap-[4px] h-[32px] items-center px-[8px] py-0 w-full transition-colors cursor-pointer rounded-[6px] bg-white hover:bg-[#f5f5f5]" type="button" aria-controls="radix-_r_6_" aria-expanded="true" data-state="open" data-slot="collapsible-trigger"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden text-[14px]" style="color: rgb(31, 35, 41);"><p class="leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">新闻</p></div><div class="flex items-center justify-center overflow-clip"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-[14px] h-[14px] transition-transform" aria-hidden="true" style="color: rgb(100, 106, 115);"><path d="m6 9 6 6 6-6"></path></svg></div></div><div data-state="open" id="radix-_r_6_" data-slot="collapsible-content" class="CollapsibleContent" style="transition-duration: 0s; animation-name: none;"><div class="flex flex-col gap-[10px] pl-[12px] my-[4px] "><div class="border-l border-neutral-200 flex flex-col gap-[2px] "><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/v2.5-tts-release" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/v2.5-tts-release" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Xiaomi MiMo-V2.5-TTS-Series + ASR 正式发布:你的声音,随心所“驭”</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/v2.5-news" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/v2.5-news" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Xiaomi MiMo-V2.5 系列大模型开启公测</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/hermes-free" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/hermes-free" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Xiaomi MiMo 现已接入全球顶级 Agent 框架 Hermes Agent,并限免两周</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/token-plan-release" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/token-plan-release" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Xiaomi MiMo Token Plan 正式发布</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/free-trial-extension" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/free-trial-extension" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Xiaomi MiMo Agent 框架调用限免活动延长一周</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/first-week-free" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/first-week-free" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Xiaomi MiMo 联合全球顶级 Agent 框架开启首周限免</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/v2-pro-release" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/v2-pro-release" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Xiaomi MiMo-V2-Pro 发布:面向 Agent 时代的旗舰基座</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/v2-omni-release" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/v2-omni-release" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Xiaomi MiMo-V2-Omni 发布:看得清,听得懂,能动手的全模态 Agent 基座</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/v2-tts-release" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/v2-tts-release" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Xiaomi MiMo-V2-TTS 发布:能说会唱的语音合成大模型</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/news20260303" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/news20260303" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">MiMo-V2-Flash 更新日志 2026/03/03</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/news20260212" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/news20260212" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">MiMo-V2-Flash 更新日志 2026/02/04</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/billing" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/billing" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Xiaomi MiMo API 开放平台计费即将启动</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/recharge" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/recharge" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Xiaomi MiMo API 开放平台充值功能开放通知</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/news20260112" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/news20260112" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">MiMo-V2-Flash 更新日志 2026/01/12</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/beta-free" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/beta-free" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">MiMo 模型公测限免延长公告</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/news/news20251216" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/news/news20251216" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">MiMo-V2-Flash 发布 2025/12/16</p></div></a></div></div></div></div></div></div></div><div class="flex w-full flex-col" data-doc-nav-href="/docs/api"><div data-state="open" data-slot="collapsible"><div class="flex gap-[4px] h-[32px] items-center px-[8px] py-0 w-full transition-colors cursor-pointer rounded-[6px] bg-white hover:bg-[#f5f5f5]" type="button" aria-controls="radix-_r_7_" aria-expanded="true" data-state="open" data-slot="collapsible-trigger"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden text-[14px]" style="color: rgb(31, 35, 41);"><p class="leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">API 文档</p></div><div class="flex items-center justify-center overflow-clip"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-[14px] h-[14px] transition-transform" aria-hidden="true" style="color: rgb(100, 106, 115);"><path d="m6 9 6 6 6-6"></path></svg></div></div><div data-state="open" id="radix-_r_7_" data-slot="collapsible-content" class="CollapsibleContent" style="transition-duration: 0s; animation-name: none;"><div class="flex flex-col gap-[10px] pl-[12px] my-[4px] "><div class="border-l border-neutral-200 flex flex-col gap-[2px] "><div class="flex flex-col gap-px pl-[16px]"><div class="flex w-full flex-col" data-doc-nav-href="/docs/api/chat"><div data-state="open" data-slot="collapsible"><div class="flex gap-[4px] h-[32px] items-center px-[8px] py-0 w-full transition-colors cursor-pointer rounded-[6px] bg-white hover:bg-[#f5f5f5]" type="button" aria-controls="radix-_r_8_" aria-expanded="true" data-state="open" data-slot="collapsible-trigger"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden text-[14px]" style="color: rgb(31, 35, 41);"><p class="leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">对话</p></div><div class="flex items-center justify-center overflow-clip"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-[14px] h-[14px] transition-transform" aria-hidden="true" style="color: rgb(100, 106, 115);"><path d="m6 9 6 6 6-6"></path></svg></div></div><div data-state="open" id="radix-_r_8_" data-slot="collapsible-content" class="CollapsibleContent" style="transition-duration: 0s; animation-name: none;"><div class="flex border-l border-neutral-200 flex-col gap-[2px] ml-[12px] my-[4px] pl-[16px]"><div data-doc-nav-href="/docs/api/chat/openai-api" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-[var(--color-primary-background)]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/api/chat/openai-api" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: var(--color-highlight);">OpenAI API</p></div></a></div><div data-doc-nav-href="/docs/api/chat/anthropic-api" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/api/chat/anthropic-api" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(100, 106, 115);">Anthropic API</p></div></a></div></div></div></div></div></div></div></div></div></div></div><div class="flex w-full flex-col" data-doc-nav-href="/docs/tokenplan"><div data-state="open" data-slot="collapsible"><div class="flex gap-[4px] h-[32px] items-center px-[8px] py-0 w-full transition-colors cursor-pointer rounded-[6px] bg-white hover:bg-[#f5f5f5]" type="button" aria-controls="radix-_r_9_" aria-expanded="true" data-state="open" data-slot="collapsible-trigger"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden text-[14px]" style="color: rgb(31, 35, 41);"><p class="leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">Token Plan</p></div><div class="flex items-center justify-center overflow-clip"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-[14px] h-[14px] transition-transform" aria-hidden="true" style="color: rgb(100, 106, 115);"><path d="m6 9 6 6 6-6"></path></svg></div></div><div data-state="open" id="radix-_r_9_" data-slot="collapsible-content" class="CollapsibleContent" style="transition-duration: 0s; animation-name: none;"><div class="flex flex-col gap-[10px] pl-[12px] my-[4px] "><div class="border-l border-neutral-200 flex flex-col gap-[2px] "><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/tokenplan/subscription" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/tokenplan/subscription" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">订阅说明</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/tokenplan/quick-access" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/tokenplan/quick-access" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">快速接入</p></div></a></div></div></div></div></div></div></div><div class="flex w-full flex-col" data-doc-nav-href="/docs/integration"><div data-state="open" data-slot="collapsible"><div class="flex gap-[4px] h-[32px] items-center px-[8px] py-0 w-full transition-colors cursor-pointer rounded-[6px] bg-white hover:bg-[#f5f5f5]" type="button" aria-controls="radix-_r_a_" aria-expanded="true" data-state="open" data-slot="collapsible-trigger"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden text-[14px]" style="color: rgb(31, 35, 41);"><p class="leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">集成扩展</p></div><div class="flex items-center justify-center overflow-clip"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-[14px] h-[14px] transition-transform" aria-hidden="true" style="color: rgb(100, 106, 115);"><path d="m6 9 6 6 6-6"></path></svg></div></div><div data-state="open" id="radix-_r_a_" data-slot="collapsible-content" class="CollapsibleContent" style="transition-duration: 0s; animation-name: none;"><div class="flex flex-col gap-[10px] pl-[12px] my-[4px] "><div class="border-l border-neutral-200 flex flex-col gap-[2px] "><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/integration/tools-overview" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/integration/tools-overview" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">AI 工具总览</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/integration/opencode" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/integration/opencode" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">OpenCode 配置</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/integration/claudecode" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/integration/claudecode" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Claude Code 配置</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/integration/openclaw" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/integration/openclaw" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">OpenClaw 配置</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/integration/cline" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/integration/cline" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Cline 配置</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/integration/kilocode" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/integration/kilocode" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Kilo Code 配置</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/integration/roocode" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/integration/roocode" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Roo Code 配置</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/integration/codex" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/integration/codex" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Codex 配置</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/integration/cherrystudio" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/integration/cherrystudio" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Cherry Studio 配置</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/integration/zed" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/integration/zed" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Zed 配置</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/integration/qwencode" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/integration/qwencode" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">Qwen Code 配置</p></div></a></div></div></div></div></div></div></div><div class="flex w-full flex-col" data-doc-nav-href="/docs/usage-guide"><div data-state="open" data-slot="collapsible"><div class="flex gap-[4px] h-[32px] items-center px-[8px] py-0 w-full transition-colors cursor-pointer rounded-[6px] bg-white hover:bg-[#f5f5f5]" type="button" aria-controls="radix-_r_b_" aria-expanded="true" data-state="open" data-slot="collapsible-trigger"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden text-[14px]" style="color: rgb(31, 35, 41);"><p class="leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">使用指南</p></div><div class="flex items-center justify-center overflow-clip"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-[14px] h-[14px] transition-transform" aria-hidden="true" style="color: rgb(100, 106, 115);"><path d="m6 9 6 6 6-6"></path></svg></div></div><div data-state="open" id="radix-_r_b_" data-slot="collapsible-content" class="CollapsibleContent" style="transition-duration: 0s; animation-name: none;"><div class="flex flex-col gap-[10px] pl-[12px] my-[4px] "><div class="border-l border-neutral-200 flex flex-col gap-[2px] "><div class="flex flex-col gap-px pl-[16px]"><div class="flex w-full flex-col" data-doc-nav-href="/docs/usage-guide/tool-calling"><div data-state="open" data-slot="collapsible"><div class="flex gap-[4px] h-[32px] items-center px-[8px] py-0 w-full transition-colors cursor-pointer rounded-[6px] bg-white hover:bg-[#f5f5f5]" type="button" aria-controls="radix-_r_c_" aria-expanded="true" data-state="open" data-slot="collapsible-trigger"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden text-[14px]" style="color: rgb(31, 35, 41);"><p class="leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">工具调用</p></div><div class="flex items-center justify-center overflow-clip"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-[14px] h-[14px] transition-transform" aria-hidden="true" style="color: rgb(100, 106, 115);"><path d="m6 9 6 6 6-6"></path></svg></div></div><div data-state="open" id="radix-_r_c_" data-slot="collapsible-content" class="CollapsibleContent" style="transition-duration: 0s; animation-name: none;"><div class="flex border-l border-neutral-200 flex-col gap-[2px] ml-[12px] my-[4px] pl-[16px]"><div data-doc-nav-href="/docs/usage-guide/tool-calling/web-search" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/usage-guide/tool-calling/web-search" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(100, 106, 115);">联网搜索</p></div></a></div></div></div></div></div></div><div class="flex flex-col gap-px pl-[16px]"><div class="flex w-full flex-col" data-doc-nav-href="/docs/usage-guide/multimodal-understanding"><div data-state="open" data-slot="collapsible"><div class="flex gap-[4px] h-[32px] items-center px-[8px] py-0 w-full transition-colors cursor-pointer rounded-[6px] bg-white hover:bg-[#f5f5f5]" type="button" aria-controls="radix-_r_d_" aria-expanded="true" data-state="open" data-slot="collapsible-trigger"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden text-[14px]" style="color: rgb(31, 35, 41);"><p class="leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">多模态理解</p></div><div class="flex items-center justify-center overflow-clip"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-[14px] h-[14px] transition-transform" aria-hidden="true" style="color: rgb(100, 106, 115);"><path d="m6 9 6 6 6-6"></path></svg></div></div><div data-state="open" id="radix-_r_d_" data-slot="collapsible-content" class="CollapsibleContent" style="transition-duration: 0s; animation-name: none;"><div class="flex border-l border-neutral-200 flex-col gap-[2px] ml-[12px] my-[4px] pl-[16px]"><div data-doc-nav-href="/docs/usage-guide/multimodal-understanding/image-understanding" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/usage-guide/multimodal-understanding/image-understanding" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(100, 106, 115);">图片理解</p></div></a></div><div data-doc-nav-href="/docs/usage-guide/multimodal-understanding/audio-understanding" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/usage-guide/multimodal-understanding/audio-understanding" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(100, 106, 115);">音频理解</p></div></a></div><div data-doc-nav-href="/docs/usage-guide/multimodal-understanding/video-understanding" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/usage-guide/multimodal-understanding/video-understanding" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(100, 106, 115);">视频理解</p></div></a></div></div></div></div></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/usage-guide/speech-synthesis-v2.5" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/usage-guide/speech-synthesis-v2.5" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">语音合成(MiMo-V2.5-TTS 系列)</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/usage-guide/speech-synthesis" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/usage-guide/speech-synthesis" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">语音合成(MiMo-V2-TTS)</p></div></a></div></div></div></div></div></div></div><div data-doc-nav-href="/docs/faq" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/faq" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">常见问题</p></div></a></div><div class="flex w-full flex-col" data-doc-nav-href="/docs/updates"><div data-state="open" data-slot="collapsible"><div class="flex gap-[4px] h-[32px] items-center px-[8px] py-0 w-full transition-colors cursor-pointer rounded-[6px] bg-white hover:bg-[#f5f5f5]" type="button" aria-controls="radix-_r_e_" aria-expanded="true" data-state="open" data-slot="collapsible-trigger"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden text-[14px]" style="color: rgb(31, 35, 41);"><p class="leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">更新日志</p></div><div class="flex items-center justify-center overflow-clip"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-[14px] h-[14px] transition-transform" aria-hidden="true" style="color: rgb(100, 106, 115);"><path d="m6 9 6 6 6-6"></path></svg></div></div><div data-state="open" id="radix-_r_e_" data-slot="collapsible-content" class="CollapsibleContent" style="transition-duration: 0s; animation-name: none;"><div class="flex flex-col gap-[10px] pl-[12px] my-[4px] "><div class="border-l border-neutral-200 flex flex-col gap-[2px] "><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/updates/model" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/updates/model" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">模型发布</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/updates/feature" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/updates/feature" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">功能更新</p></div></a></div></div></div></div></div></div></div><div class="flex w-full flex-col" data-doc-nav-href="/docs/terms"><div data-state="open" data-slot="collapsible"><div class="flex gap-[4px] h-[32px] items-center px-[8px] py-0 w-full transition-colors cursor-pointer rounded-[6px] bg-white hover:bg-[#f5f5f5]" type="button" aria-controls="radix-_r_f_" aria-expanded="true" data-state="open" data-slot="collapsible-trigger"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden text-[14px]" style="color: rgb(31, 35, 41);"><p class="leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">条款与协议</p></div><div class="flex items-center justify-center overflow-clip"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down w-[14px] h-[14px] transition-transform" aria-hidden="true" style="color: rgb(100, 106, 115);"><path d="m6 9 6 6 6-6"></path></svg></div></div><div data-state="open" id="radix-_r_f_" data-slot="collapsible-content" class="CollapsibleContent" style="transition-duration: 0s; animation-name: none;"><div class="flex flex-col gap-[10px] pl-[12px] my-[4px] "><div class="border-l border-neutral-200 flex flex-col gap-[2px] "><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/terms/user-agreement" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/terms/user-agreement" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">服务协议</p></div></a></div></div><div class="flex flex-col gap-px pl-[16px]"><div data-doc-nav-href="/docs/terms/privacy-policy" class="flex gap-[4px] items-center px-[8px] py-[6px] w-full transition-colors rounded-[6px] bg-white hover:bg-[#f5f5f5]"><a class="flex-1 flex gap-[10px] items-start rounded-[6px]" href="/docs/terms/privacy-policy" style="font-size: 14px; line-height: 20px; font-weight: 400;"><div class="flex-1 flex flex-col justify-center leading-[0] overflow-ellipsis overflow-hidden"><p class="leading-[20px] overflow-ellipsis overflow-hidden" style="color: rgb(31, 35, 41);">隐私政策</p></div></a></div></div></div></div></div></div></div></div></div><div class="p-[18px] w-full"><div class="flex flex-col gap-[2px] items-start pt-0 w-full"><style>
.menu-bottom-popover {
padding: 0 !important;
}
.menu-bottom-popover .ant-popover-inner {
padding: 0 !important;
background: transparent !important;
box-shadow: none !important;
border: none !important;
}
.menu-bottom-popover .ant-popover-inner-content {
padding: 0 !important;
}
.menu-bottom-popover .ant-popover-arrow {
display: none !important;
}
</style><div class="group bg-white flex gap-[4px] h-[32px] items-center px-[8px] py-0 rounded-[6px] w-full text-[#1f2329] cursor-pointer transition-colors hover:text-[#0F8BE8]" aria-describedby="_r_g_"><div class="flex items-start rounded-[2px] shrink-0"><p class="text-[14px] leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">开发者交流群</p></div><div class="relative shrink-0 w-[16px] h-[16px]"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" class="text-[#646A73] group-hover:text-[#0F8BE8] transition-colors"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.6665 1.6665H8.6665V8.6665H1.6665V1.6665ZM2.99984 2.99984V7.33317H7.33317V2.99984H2.99984ZM9.99984 1.6665H14.3332V5.99984H9.99984V1.6665ZM11.3332 2.99984V4.6665H12.9998V2.99984H11.3332ZM3.99984 3.99984H6.33317V6.33317H3.99984V3.99984ZM12.3332 7.33317H14.3332V8.6665H12.3332V7.33317ZM1.6665 9.99984H5.99984V14.3332H1.6665V9.99984ZM9.99984 7.33317H11.3332V8.6665H9.99984V7.33317ZM2.99984 11.3332V12.9998H4.6665V11.3332H2.99984ZM9.99984 9.99984H14.3332V14.3332H9.99984V9.99984ZM11.3332 11.3332V12.9998H12.9998V11.3332H11.3332ZM7.33317 11.3332V9.99984H8.6665V11.3332H7.33317ZM7.33317 14.3332V12.3332H8.6665V14.3332H7.33317Z" fill="currentColor"></path></svg></div></div><a href="https://aistudio.xiaomimimo.com/open-apis/v1/genLoginUrl" target="_blank" class="group bg-white flex gap-[4px] h-[32px] items-center px-[8px] py-0 rounded-[6px] w-full text-[#1f2329] cursor-pointer transition-colors hover:text-[#0F8BE8]" rel="noreferrer"><div class="flex items-center gap-[4px] shrink-0"><p class="text-[14px] leading-[20px] overflow-ellipsis overflow-hidden whitespace-nowrap">免费体验 MiMo Claw</p><div class="flex items-center justify-center px-[5px] py-[1px] rounded-[2px] shrink-0 bg-gradient-to-r from-[rgba(251,66,20,0.2)] to-[rgba(252,53,163,0.2)]" data-node-id="5223:59799"><span class="font-bold italic text-[9px] leading-[13.5px] tracking-[0.167px] whitespace-nowrap text-[#ff323d]">HOT</span></div></div></a></div></div></div></aside><div class="flex w-full utils_wrapper__ad34a85d"><div class="flex-1 md:flex-[6] px-[16px] lg:px-[40px] py-[22px] pb-0 w-full overflow-hidden"><div class="mb-[16px] lg:mb-[32px]"><div class="flex items-center"><nav aria-label="breadcrumb" data-slot="breadcrumb"><ol data-slot="breadcrumb-list" class="text-muted-foreground flex flex-wrap items-center text-sm break-words gap-0"><li data-slot="breadcrumb-item" class="inline-flex items-center gap-1.5"><a class="hover:text-foreground transition-colors px-[4px] py-0" data-slot="breadcrumb-link" href="/docs" style="font-size: 14px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">文档</a></li><li data-slot="breadcrumb-separator" role="presentation" aria-hidden="true" class="[&>svg]:size-3.5 w-[12px] h-[12px] mx-0"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right w-full h-full" aria-hidden="true" style="color: rgb(143, 149, 158);"><path d="m9 18 6-6-6-6"></path></svg></li><li data-slot="breadcrumb-item" class="inline-flex items-center gap-1.5"><span data-slot="breadcrumb-page" role="link" aria-disabled="true" aria-current="page" class="text-foreground font-normal px-[4px] py-0 rounded-[6px]" style="font-size: 14px; line-height: 22px; font-weight: 400; color: rgb(31, 35, 41);">API 文档</span></li><li data-slot="breadcrumb-separator" role="presentation" aria-hidden="true" class="[&>svg]:size-3.5 w-[12px] h-[12px] mx-0"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right w-full h-full" aria-hidden="true" style="color: rgb(143, 149, 158);"><path d="m9 18 6-6-6-6"></path></svg></li><li data-slot="breadcrumb-item" class="inline-flex items-center gap-1.5"><span data-slot="breadcrumb-page" role="link" aria-disabled="true" aria-current="page" class="text-foreground font-normal px-[4px] py-0 rounded-[6px]" style="font-size: 14px; line-height: 22px; font-weight: 400; color: rgb(31, 35, 41);">对话</span></li><li data-slot="breadcrumb-separator" role="presentation" aria-hidden="true" class="[&>svg]:size-3.5 w-[12px] h-[12px] mx-0"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right w-full h-full" aria-hidden="true" style="color: rgb(143, 149, 158);"><path d="m9 18 6-6-6-6"></path></svg></li><li data-slot="breadcrumb-item" class="inline-flex items-center gap-1.5"><span data-slot="breadcrumb-page" role="link" aria-disabled="true" aria-current="page" class="text-foreground font-normal px-[4px] py-0 rounded-[6px]" style="font-size: 14px; line-height: 22px; font-weight: 400; color: rgb(31, 35, 41);">OpenAI API</span></li></ol></nav></div></div><div class="w-full flex flex-col gap-[16px]"><div class="mdxContent"><h1 id="openai-api-兼容" class="mdx-h1">OpenAI API 兼容</h1>
<h2 id="请求地址" class="mdx-h2">请求地址</h2>
<mimo-code-block data-initialized="true" style="display: block; position: relative;"><pre class="language-bash mdx-pre mdx-pre"><code class="language-bash code-highlight"><span class="code-line">https://api.xiaomimimo.com/v1/chat/completions
</span></code><span class="mdx-pre-scroll-tail" aria-hidden="true"></span></pre><button class="absolute top-2 right-2 p-1.5 rounded-md border border-[#e5e5e5] bg-white hover:bg-gray-100 transition-all z-[10] shadow-sm" aria-label="Copy code" style="cursor: pointer; display: flex; align-items: center; justify-content: center;">
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#5C5C62" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
</svg>
</button></mimo-code-block>
<h2 id="请求头" class="mdx-h2">请求头</h2>
<p class="mdx-p">接口支持以下两种认证方式,请选择其中一种添加到请求头中:</p>
<ol class="mdx-ol">
<li class="mdx-li">
<p class="mdx-p">方式一:<code class="mdx-code-inline">api-key</code> 字段认证,格式:</p>
<mimo-code-block data-initialized="true" style="display: block; position: relative;"><pre class="language-json mdx-pre mdx-pre"><code class="language-json code-highlight"><span class="code-line">api-key<span class="token operator">:</span> $MIMO_API_KEY
</span><span class="code-line">Content-Type<span class="token operator">:</span> application/json
</span></code><span class="mdx-pre-scroll-tail" aria-hidden="true"></span></pre><button class="absolute top-2 right-2 p-1.5 rounded-md border border-[#e5e5e5] bg-white hover:bg-gray-100 transition-all z-[10] shadow-sm" aria-label="Copy code" style="cursor: pointer; display: flex; align-items: center; justify-content: center;">
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#5C5C62" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
</svg>
</button></mimo-code-block>
</li>
<li class="mdx-li">
<p class="mdx-p">方式二:<code class="mdx-code-inline">Authorization: Bearer</code> 认证,格式:</p>
<mimo-code-block data-initialized="true" style="display: block; position: relative;"><pre class="language-json mdx-pre mdx-pre"><code class="language-json code-highlight"><span class="code-line">Authorization<span class="token operator">:</span> Bearer $MIMO_API_KEY
</span><span class="code-line">Content-Type<span class="token operator">:</span> application/json
</span></code><span class="mdx-pre-scroll-tail" aria-hidden="true"></span></pre><button class="absolute top-2 right-2 p-1.5 rounded-md border border-[#e5e5e5] bg-white hover:bg-gray-100 transition-all z-[10] shadow-sm" aria-label="Copy code" style="cursor: pointer; display: flex; align-items: center; justify-content: center;">
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#5C5C62" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
</svg>
</button></mimo-code-block>
</li>
</ol>
<h2 id="请求体" class="mdx-h2">请求体</h2>
<inline-schema-v2 schema="[
{
"name": "messages",
"type": "array",
"isBold": true,
"required": true,
"description": "对话的消息列表。",
"children": [
{
"name": "Developer message",
"type": "object",
"isBold": false,
"description": "开发者提供的指令,模型应遵循这些指令,而不受用户发送的消息影响。",
"children": [
{
"name": "content",
"type": [
"string",
"array"
],
"isBold": true,
"required": true,
"description": "开发者消息的内容。",
"children": [
{
"name": "Text content",
"type": "string",
"isBold": false,
"description": "开发者消息的内容。"
},
{
"name": "Array of content parts",
"type": "array",
"isBold": false,
"description": "一个由指定类型的内容部分组成的数组。对于开发者消息,仅支持 <code class=\"schema-inline-code\">text</code> 类型。",
"children": [
{
"name": "Text content part",
"type": "object",
"isBold": false,
"children": [
{
"name": "text",
"type": "string",
"isBold": true,
"required": true,
"description": "文本内容。"
},
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "内容部分的类型。"
}
]
}
]
}
]
},
{
"name": "role",
"type": "string",
"isBold": true,
"required": true,
"description": "开发者消息的角色。<br />可选值:<code class=\"schema-inline-code\">developer</code>"
},
{
"name": "name",
"type": "string",
"isBold": true,
"required": false,
"description": "参与者的可选名称。为模型提供信息以区分相同角色的参与者。"
}
]
},
{
"name": "System message",
"type": "object",
"isBold": false,
"description": "开发者提供的指令,模型应遵循这些指令,而不受用户发送的消息影响。",
"children": [
{
"name": "content",
"type": [
"string",
"array"
],
"isBold": true,
"required": true,
"description": "系统消息的内容。",
"children": [
{
"name": "Text content",
"type": "string",
"isBold": false,
"description": "系统消息的内容。"
},
{
"name": "Array of content parts",
"type": "array",
"isBold": false,
"description": "一个由指定类型的内容部分组成的数组。对于系统消息,仅支持 <code class=\"schema-inline-code\">text</code> 类型。",
"children": [
{
"name": "Text content part",
"type": "object",
"isBold": false,
"children": [
{
"name": "text",
"type": "string",
"isBold": true,
"required": true,
"description": "文本内容。"
},
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "内容部分的类型。"
}
]
}
]
}
]
},
{
"name": "role",
"type": "string",
"isBold": true,
"required": true,
"description": "系统消息角色。<br />可选值:<code class=\"schema-inline-code\">system</code>"
},
{
"name": "name",
"type": "string",
"isBold": true,
"required": false,
"description": "参与者的可选名称。为模型提供信息以区分相同角色的参与者。"
}
]
},
{
"name": "User message",
"type": "object",
"isBold": false,
"description": "由终端用户发送的消息,包含提示或额外的上下文信息。",
"children": [
{
"name": "content",
"type": [
"string",
"array"
],
"isBold": true,
"required": true,
"description": "用户消息的内容。<br /><blockquote class=\"schema-blockquote\">注意:使用 <code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code> 模型生成音频时,<code class=\"schema-inline-code\">role</code> 为 <code class=\"schema-inline-code\">user</code> 的消息为必填。同时,添加一条 <code class=\"schema-inline-code\">role</code> 为 <code class=\"schema-inline-code\">assistant</code> 的消息,指定用于音频合成的文本;此外,音频参数可通过 <code class=\"schema-inline-code\">audio</code> 配置。详细用法请参考 <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://platform.xiaomimimo.com/#/docs/usage-guide/speech-synthesis-v2.1\">语音合成</a>。</blockquote>",
"children": [
{
"name": "Text content",
"type": "string",
"isBold": false,
"description": "文本消息内容。"
},
{
"name": "Array of content parts",
"type": "array",
"isBold": false,
"description": "一个由指定类型的内容部分组成的数组。支持的选项因用于生成响应的模型而异。可包含文本、图像、音频或视频输入。<br /><blockquote class=\"schema-blockquote\">当前仅 <code class=\"schema-inline-code\">mimo-v2.5</code>,<code class=\"schema-inline-code\">mimo-v2-omni</code> 模型支持图像、音频或视频输入。</blockquote>",
"children": [
{
"name": "Text content part",
"type": "object",
"isBold": false,
"children": [
{
"name": "text",
"type": "string",
"isBold": true,
"required": true,
"description": "文本内容。"
},
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "内容部分的类型。"
}
]
},
{
"name": "Image content part",
"type": "object",
"isBold": false,
"children": [
{
"name": "image_url",
"type": "object",
"isBold": true,
"required": true,
"children": [
{
"name": "url",
"type": "string",
"isBold": true,
"required": true,
"description": "图像的 URL 或 Base64 编码的图像数据。"
}
]
},
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "内容部分的类型。<br />可选值:<code class=\"schema-inline-code\">image_url</code>"
}
]
},
{
"name": "Audio content part",
"type": "object",
"isBold": false,
"children": [
{
"name": "input_audio",
"type": "object",
"isBold": true,
"required": true,
"children": [
{
"name": "data",
"type": "string",
"isBold": true,
"required": true,
"description": "音频的 URL 或 Base64 编码的音频数据。"
}
]
},
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "内容部分的类型。<br />可选值:<code class=\"schema-inline-code\">input_audio</code>"
}
]
},
{
"name": "Video content part",
"type": "object",
"isBold": false,
"children": [
{
"name": "video_url",
"type": "object",
"isBold": true,
"required": true,
"children": [
{
"name": "url",
"type": "string",
"isBold": true,
"required": true,
"description": "视频的 URL 或 Base64 编码的视频数据。"
}
]
},
{
"name": "fps",
"type": "number",
"isBold": true,
"required": false,
"defaultValue": "2",
"description": "每秒抽帧数。<br />所需范围:<code class=\"schema-inline-code\">[0.1, 10.0]</code>"
},
{
"name": "media_resolution",
"type": "string",
"isBold": true,
"required": false,
"defaultValue": "default",
"description": "分辨率档次。<br />可选值:<code class=\"schema-inline-code\">default</code>,<code class=\"schema-inline-code\">max</code>"
},
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "内容部分的类型。<br />可选值:<code class=\"schema-inline-code\">video_url</code>"
}
]
}
]
}
]
},
{
"name": "role",
"type": "string",
"isBold": true,
"required": true,
"description": "用户消息的角色。<br />可选值:<code class=\"schema-inline-code\">user</code>"
},
{
"name": "name",
"type": "string",
"isBold": true,
"required": false,
"description": "参与者的可选名称。为模型提供信息以区分相同角色的参与者。"
}
]
},
{
"name": "Assistant message",
"type": "object",
"isBold": false,
"description": "模型响应用户消息发送的消息。",
"children": [
{
"name": "role",
"type": "string",
"isBold": true,
"required": true,
"description": "助手消息的角色。<br />可选值:<code class=\"schema-inline-code\">assistant</code>"
},
{
"name": "content",
"type": [
"string",
"array"
],
"isBold": true,
"required": false,
"description": "助手消息的内容。除非指定了 <code class=\"schema-inline-code\">tool_calls</code>,否则为必需。<br /><blockquote class=\"schema-blockquote\">注意:如果要生成音频,必须添加一条 <code class=\"schema-inline-code\">role</code> 为 <code class=\"schema-inline-code\">assistant</code> 的消息,该消息需指定用于音频合成的文本;使用 <code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code> 模型时,<code class=\"schema-inline-code\">role</code> 为 <code class=\"schema-inline-code\">user</code> 的消息为必填。此外,音频参数可通过 <code class=\"schema-inline-code\">audio</code> 配置。详细用法请参考 <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://platform.xiaomimimo.com/#/docs/usage-guide/speech-synthesis-v2.1\">语音合成</a>。</blockquote>",
"children": [
{
"name": "Text content",
"type": "string",
"isBold": false,
"description": "助手消息的内容。"
},
{
"name": "Array of content parts",
"type": "array",
"isBold": false,
"description": "一个由指定类型的内容部分组成的数组。可以是一个或多个 <code class=\"schema-inline-code\">text</code> 类型。",
"children": [
{
"name": "Text content part",
"type": "object",
"isBold": false,
"children": [
{
"name": "text",
"type": "string",
"isBold": true,
"required": true,
"description": "文本内容。"
},
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "内容部分的类型。"
}
]
}
]
}
]
},
{
"name": "name",
"type": "string",
"isBold": true,
"required": false,
"description": "参与者的可选名称。为模型提供信息以区分相同角色的参与者。"
},
{
"name": "tool_calls",
"type": "array",
"isBold": true,
"required": false,
"description": "模型生成的工具调用,如函数调用。",
"children": [
{
"name": "Function tool call",
"type": "object",
"isBold": false,
"description": "模型创建的对函数工具的调用。",
"children": [
{
"name": "function",
"type": "object",
"isBold": true,
"required": true,
"description": "模型调用的函数。",
"children": [
{
"name": "arguments",
"type": "string",
"isBold": true,
"required": true,
"description": "调用函数时所需的参数,由模型以 JSON 格式生成。请注意,模型生成的内容并非总是有效的 JSON,还可能虚构出函数 schema 中未定义的参数。在调用函数前,请在代码中验证这些参数。"
},
{
"name": "name",
"type": "string",
"isBold": true,
"required": true,
"description": "要调用的函数名称。"
}
]
},
{
"name": "id",
"type": "string",
"isBold": true,
"required": true,
"description": "工具调用的 ID。"
},
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "工具类型。目前仅支持 <code class=\"schema-inline-code\">function</code>。"
}
]
}
]
}
]
},
{
"name": "Tool message",
"type": "object",
"isBold": false,
"children": [
{
"name": "content",
"type": [
"string",
"array"
],
"isBold": true,
"required": true,
"description": "工具消息的内容。",
"children": [
{
"name": "Text content",
"type": "string",
"isBold": false,
"description": "工具消息的内容。"
},
{
"name": "Array of content parts",
"type": "array",
"isBold": false,
"description": "一个由指定类型的内容部分组成的数组。对于工具消息,仅支持 <code class=\"schema-inline-code\">text</code> 类型。",
"children": [
{
"name": "Text content part",
"type": "object",
"isBold": false,
"children": [
{
"name": "text",
"type": "string",
"isBold": true,
"required": true,
"description": "文本内容。"
},
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "内容部分的类型。"
}
]
}
]
}
]
},
{
"name": "role",
"type": "string",
"isBold": true,
"required": true,
"description": "消息作者的角色。<br />可选值:<code class=\"schema-inline-code\">tool</code>"
},
{
"name": "tool_call_id",
"type": "string",
"isBold": true,
"required": true,
"description": "此消息响应的工具调用。"
}
]
}
]
},
{
"name": "model",
"type": "string",
"isBold": true,
"required": true,
"description": "用于生成响应的模型 ID。<br />可选值:<code class=\"schema-inline-code\">mimo-v2.5-pro</code>,<code class=\"schema-inline-code\">mimo-v2.5</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voiceclone</code>,<code class=\"schema-inline-code\">mimo-v2-pro</code>,<code class=\"schema-inline-code\">mimo-v2-omni</code>,<code class=\"schema-inline-code\">mimo-v2-tts</code>,<code class=\"schema-inline-code\">mimo-v2-flash</code>"
},
{
"name": "audio",
"type": "object",
"isBold": true,
"required": false,
"description": "音频输出参数。详情请参考 <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://platform.xiaomimimo.com/#/docs/usage-guide/speech-synthesis-v2.1\">语音合成</a>。<br /><blockquote class=\"schema-blockquote\">注意:如果要生成音频,必须添加一条 <code class=\"schema-inline-code\">role</code> 为 <code class=\"schema-inline-code\">assistant</code> 的消息,该消息需指定用于音频合成的文本。此外,使用 <code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code> 模型时,<code class=\"schema-inline-code\">role</code> 为 <code class=\"schema-inline-code\">user</code> 的消息为必填。详细用法请参考 <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://platform.xiaomimimo.com/#/docs/usage-guide/speech-synthesis-v2.1\">语音合成</a>。</blockquote><blockquote class=\"schema-blockquote\">当前仅支持 <code class=\"schema-inline-code\">mimo-v2.5-tts</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voiceclone</code> 和 <code class=\"schema-inline-code\">mimo-v2-tts</code> 模型。</blockquote>",
"children": [
{
"name": "format",
"type": "string",
"isBold": true,
"required": false,
"defaultValue": "wav",
"description": "指定输出音频格式。默认值:<code class=\"schema-inline-code\">wav</code>,如果设置 <code class=\"schema-inline-code\">stream: true</code> 则为 <code class=\"schema-inline-code\">pcm</code>。<br /><blockquote class=\"schema-blockquote\">传入 <code class=\"schema-inline-code\">pcm</code> 或 <code class=\"schema-inline-code\">pcm16</code>,均表示指定使用 <code class=\"schema-inline-code\">pcm16</code> 格式。</blockquote>可选值:<code class=\"schema-inline-code\">wav</code>,<code class=\"schema-inline-code\">mp3</code>,<code class=\"schema-inline-code\">pcm</code>,<code class=\"schema-inline-code\">pcm16</code>"
},
{
"name": "voice",
"type": "string",
"isBold": true,
"description": "预置音色的音色ID 或音频样本的 base64 编码。<br /><ul class=\"schema-list\"><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2.5-tts</code>,<code class=\"schema-inline-code\">mimo-v2-tts</code>:该字段为可选,且仅支持使用预置音色,默认值为 <code class=\"schema-inline-code\">mimo_default</code></li><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2.5-tts-voiceclone</code>:该字段为必填,且仅支持传入音频样本的 base64 编码,仅支持传入 <code class=\"schema-inline-code\">mp3</code> 和 <code class=\"schema-inline-code\">wav</code> 格式的音频样本文件</li><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code>:不支持该字段</li></ul>可选值:<br /><ul class=\"schema-list\"><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2-tts</code>:<code class=\"schema-inline-code\">mimo_default</code>,<code class=\"schema-inline-code\">default_en</code>,<code class=\"schema-inline-code\">default_zh</code></li><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2.5-tts</code>:<code class=\"schema-inline-code\">mimo_default</code>,<code class=\"schema-inline-code\">冰糖</code>,<code class=\"schema-inline-code\">茉莉</code>,<code class=\"schema-inline-code\">苏打</code>,<code class=\"schema-inline-code\">白桦</code>,<code class=\"schema-inline-code\">Mia</code>,<code class=\"schema-inline-code\">Chloe</code>,<code class=\"schema-inline-code\">Milo</code>,<code class=\"schema-inline-code\">Dean</code></li></ul>"
}
]
},
{
"name": "frequency_penalty",
"type": [
"number",
"null"
],
"isBold": true,
"required": false,
"defaultValue": "0",
"description": "取值范围在 -2.0 到 2.0 之间的数值。如果该值为正,那么新 token 会根据其在已有文本中的出现频率受到相应的惩罚,降低模型重复相同内容的可能性。<br />所需范围:<code class=\"schema-inline-code\">[-2.0, 2.0]</code>"
},
{
"name": "max_completion_tokens",
"type": [
"integer",
"null"
],
"isBold": true,
"required": false,
"description": "对话补全中可以生成的 token 数的上限,包括可见的输出 token 数和推理 token 数。<br /><ul class=\"schema-list\"><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2-flash</code> 的默认值 <code class=\"schema-inline-code\">65536</code></li><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2.5-pro</code>,<code class=\"schema-inline-code\">mimo-v2-pro</code> 的默认值 <code class=\"schema-inline-code\">131072</code></li><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2.5</code>,<code class=\"schema-inline-code\">mimo-v2-omni</code> 的默认值为 <code class=\"schema-inline-code\">32768</code></li><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2.5-tts</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voiceclone</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code>,<code class=\"schema-inline-code\">mimo-v2-tts</code> 的默认值为 <code class=\"schema-inline-code\">8192</code>,取值范围为 <code class=\"schema-inline-code\">[0, 8192]</code></li></ul>所需范围:<code class=\"schema-inline-code\">[0, 131072]</code>"
},
{
"name": "presence_penalty",
"type": [
"number",
"null"
],
"isBold": true,
"required": false,
"defaultValue": "0",
"description": "取值范围在 -2.0 到 2.0 之间的数值。如果该值为正,那么新 token 会根据其是否已在已有文本中出现受到相应的惩罚,从而增加模型谈论新主题的可能性。<br />所需范围:<code class=\"schema-inline-code\">[-2.0, 2.0]</code>"
},
{
"name": "response_format",
"type": "object",
"isBold": true,
"required": false,
"description": "一个指定模型必须输出的格式的对象。<br /><blockquote class=\"schema-blockquote\"><code class=\"schema-inline-code\">mimo-v2.5-tts</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voiceclone</code> 和 <code class=\"schema-inline-code\">mimo-v2-tts</code> 模型不支持。</blockquote>",
"children": [
{
"name": "Text",
"type": "object",
"isBold": false,
"description": "默认响应格式。用于生成文本响应。",
"children": [
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "所定义的响应格式类型。仅为 <code class=\"schema-inline-code\">text</code>。"
}
]
},
{
"name": "JSON object",
"type": "object",
"isBold": false,
"description": "JSON 对象响应格式。请注意,若系统消息或用户消息中未指示模型生成 JSON,模型将不会输出 JSON 格式内容。",
"children": [
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "所定义的响应格式类型。仅为 <code class=\"schema-inline-code\">json_object</code>。"
}
]
}
]
},
{
"name": "stop",
"type": [
"string",
"array",
"null"
],
"isBold": true,
"required": false,
"defaultValue": "null",
"description": "最多 4 个序列,当 API 生成到这些序列时会停止继续生成 token。返回的文本中不会包含这些停止序列。<br /><blockquote class=\"schema-blockquote\"><code class=\"schema-inline-code\">mimo-v2.5-tts</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voiceclone</code> 和 <code class=\"schema-inline-code\">mimo-v2-tts</code> 模型不支持。</blockquote>"
},
{
"name": "stream",
"type": [
"boolean",
"null"
],
"isBold": true,
"required": false,
"defaultValue": "false",
"description": "如果设置为 true,模型的响应数据会在生成过程中通过SSE(server-sent events)的形式流式传输到客户端。"
},
{
"name": "thinking",
"type": "object",
"isBold": true,
"required": false,
"description": "这个参数用于控制模型是否启用思维链。<br /><blockquote class=\"schema-blockquote\">注意:在思考模式下的多轮工具调用过程中,模型会在返回 <code class=\"schema-inline-code\">tool_calls</code> 字段的同时返回 <code class=\"schema-inline-code\">reasoning_content</code> 字段。若要继续对话,建议在后续每次请求的 <code class=\"schema-inline-code\">messages</code> 数组中保留所有历史 <code class=\"schema-inline-code\">reasoning_content</code>,以获得最佳表现。</blockquote><blockquote class=\"schema-blockquote\"><code class=\"schema-inline-code\">mimo-v2.5-tts</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voiceclone</code> 和 <code class=\"schema-inline-code\">mimo-v2-tts</code> 模型不支持。</blockquote>",
"children": [
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "是否启用思维链<br /><ul class=\"schema-list\"><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2-flash</code> 默认值为 <code class=\"schema-inline-code\">disabled</code></li><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2.5-pro</code>,<code class=\"schema-inline-code\">mimo-v2.5</code>,<code class=\"schema-inline-code\">mimo-v2-pro</code>,<code class=\"schema-inline-code\">mimo-v2-omni</code> 默认值为 <code class=\"schema-inline-code\">enabled</code></li></ul>可选值:<code class=\"schema-inline-code\">enabled</code>,<code class=\"schema-inline-code\">disabled</code>"
}
]
},
{
"name": "temperature",
"type": "number",
"isBold": true,
"required": false,
"description": "要使用的采样温度,介于 0 和 1.5 之间。较高的值(如 0.8)会使输出更加随机,而较低的值(如 0.2)会使其更加集中和确定性。我们通常建议更改此值或 <code class=\"schema-inline-code\">top_p</code>,但不要同时更改。<br /><ul class=\"schema-list\"><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2-flash</code> 默认值为 <code class=\"schema-inline-code\">0.3</code></li><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2.5-pro</code>,<code class=\"schema-inline-code\">mimo-v2.5</code>,<code class=\"schema-inline-code\">mimo-v2-pro</code>,<code class=\"schema-inline-code\">mimo-v2-omni</code> 默认值为 <code class=\"schema-inline-code\">1.0</code></li><li class=\"schema-list-item\"><code class=\"schema-inline-code\">mimo-v2.5-tts</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voiceclone</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code>,<code class=\"schema-inline-code\">mimo-v2-tts</code> 默认值为 <code class=\"schema-inline-code\">0.6</code></li></ul>所需范围:<code class=\"schema-inline-code\">[0, 1.5]</code>"
},
{
"name": "tool_choice",
"type": "string",
"isBold": true,
"required": false,
"description": "控制模型如何选择工具。<br /><blockquote class=\"schema-blockquote\">注意:当 <code class=\"schema-inline-code\">tool_choice</code> 传入非 <code class=\"schema-inline-code\">auto</code> 值时,后端会默认移除该字段,模型响应行为仍等同于 <code class=\"schema-inline-code\">auto</code> 模式(该逻辑保留调整的可能性)。</blockquote><blockquote class=\"schema-blockquote\"><code class=\"schema-inline-code\">mimo-v2.5-tts</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voiceclone</code> 和 <code class=\"schema-inline-code\">mimo-v2-tts</code> 模型不支持。</blockquote>可选值:<code class=\"schema-inline-code\">auto</code>"
},
{
"name": "tools",
"type": "array",
"isBold": true,
"required": false,
"description": "模型可能调用的工具列表。目前仅支持函数作为工具。<br /><blockquote class=\"schema-blockquote\">注意:在思考模式下的多轮工具调用过程中,模型会在返回 <code class=\"schema-inline-code\">tool_calls</code> 字段的同时返回 <code class=\"schema-inline-code\">reasoning_content</code> 字段。若要继续对话,建议在后续每次请求的 <code class=\"schema-inline-code\">messages</code> 数组中保留所有历史 <code class=\"schema-inline-code\">reasoning_content</code>,以获得最佳表现。</blockquote><blockquote class=\"schema-blockquote\"><code class=\"schema-inline-code\">mimo-v2.5-tts</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voicedesign</code>,<code class=\"schema-inline-code\">mimo-v2.5-tts-voiceclone</code> 和 <code class=\"schema-inline-code\">mimo-v2-tts</code> 模型不支持。</blockquote>",
"children": [
{
"name": "Function tool",
"type": "object",
"isBold": false,
"description": "可用于生成响应的函数工具。",
"children": [
{
"name": "function",
"type": "object",
"isBold": true,
"required": true,
"children": [
{
"name": "name",
"type": "string",
"isBold": true,
"required": true,
"description": "工具函数的名称。必须由<code class=\"schema-inline-code\">a-z</code>、<code class=\"schema-inline-code\">A-Z</code>、<code class=\"schema-inline-code\">0-9</code>组成,或包含下划线(<code class=\"schema-inline-code\">_</code>)和连字符(<code class=\"schema-inline-code\">-</code>),最大长度为64。<br />所需字符串长度:<code class=\"schema-inline-code\">1 - 64</code>"
},
{
"name": "description",
"type": "string",
"isBold": true,
"required": false,
"description": "函数功能的描述,供模型判断何时以及如何调用该函数。"
},
{
"name": "parameters",
"type": "object",
"isBold": true,
"required": false,
"description": "函数接受的参数,以 JSON 模式对象的形式描述。<br />若省略 <code class=\"schema-inline-code\">parameters</code>,则表示该函数的参数列表为空。"
},
{
"name": "strict",
"type": "boolean",
"isBold": true,
"required": false,
"defaultValue": "false",
"description": "生成函数调用时是否启用严格的模式遵循。若设为 true,模型将严格遵循 <code class=\"schema-inline-code\">parameters</code> 字段中定义的确切模式。当 <code class=\"schema-inline-code\">strict</code> 为 <code class=\"schema-inline-code\">true</code> 时,仅支持 JSON 模式的一个子集。"
}
]
},
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "工具类型。目前仅支持 <code class=\"schema-inline-code\">function</code>。"
}
]
},
{
"name": "Web search tool",
"type": "object",
"isBold": false,
"description": "可用于生成响应的联网搜索工具。详情请参考 <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://platform.xiaomimimo.com/#/docs/usage-guide/tool-calling/web-search\">联网搜索</a>。<br /><blockquote class=\"schema-blockquote\">注意:使用前需要开通 <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://platform.xiaomimimo.com/#/console/plugin\">联网服务插件</a>。</blockquote>",
"children": [
{
"name": "user_location",
"type": "object",
"isBold": true,
"required": false,
"description": "用户地理位置,用于优化模型输出结果",
"children": [
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "approximate"
},
{
"name": "country",
"type": "string",
"isBold": true,
"required": false,
"description": "国家"
},
{
"name": "region",
"type": "string",
"isBold": true,
"required": false,
"description": "省份"
},
{
"name": "city",
"type": "string",
"isBold": true,
"required": false,
"description": "城市"
},
{
"name": "district",
"type": "string",
"isBold": true,
"required": false,
"description": "区县"
},
{
"name": "longitude",
"type": "long",
"isBold": true,
"required": false,
"description": "经度"
},
{
"name": "latitude",
"type": "long",
"isBold": true,
"required": false,
"description": "维度"
}
]
},
{
"name": "type",
"type": "string",
"isBold": true,
"required": true,
"description": "工具类型。目前仅支持 <code class=\"schema-inline-code\">web_search</code>。"
},
{
"name": "force_search",
"type": "string",
"isBold": true,
"required": false,
"defaultValue": "false",
"description": "是否启用强制搜索。<code class=\"schema-inline-code\">true</code> 强制搜索,<code class=\"schema-inline-code\">false</code> 由模型判断是否需要搜索。"
},
{
"name": "max_keyword",
"type": "integer",
"isBold": true,
"required": false,
"defaultValue": "5",
"description": "限制单轮搜索中可使用的最大关键词数量。<br />所需范围:<code class=\"schema-inline-code\">[1, 50]</code>"
},
{
"name": "limit",
"type": "integer",
"isBold": true,
"required": false,
"defaultValue": "5",
"description": "限制单次搜索操作返回的最大结果条数。<br />所需范围:<code class=\"schema-inline-code\">[1, 50]</code>"
}
]
}
]
},
{
"name": "top_p",
"type": "number",
"isBold": true,
"required": false,
"defaultValue": "0.95",
"description": "核采样的概率阈值,用于控制模型生成文本的多样性。<code class=\"schema-inline-code\">top_p</code> 值越高,生成的文本多样性越强;<code class=\"schema-inline-code\">top_p</code> 值越低,生成的文本确定性越高。<br />由于 <code class=\"schema-inline-code\">temperature</code> 和 <code class=\"schema-inline-code\">top_p</code> 均用于控制生成文本的多样性,建议仅设置其中一个参数。<br />所需范围:<code class=\"schema-inline-code\">[0.01, 1.0]</code>"
}
]"><script nonce="">((T,M,N,I,j,L,w,W)=>{let K=document.documentElement,X=["light","dark"];function Ae(se){(Array.isArray(T)?T:[T]).forEach(ae=>{let J=ae==="class",re=J&&L?j.map(he=>L[he]||he):j;J?(K.classList.remove(...re),K.classList.add(L&&L[se]?L[se]:se)):K.setAttribute(ae,se)}),pe(se)}function pe(se){W&&X.includes(se)&&(K.style.colorScheme=se)}function De(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(I)Ae(I);else try{let se=localStorage.getItem(M)||N,ae=w&&se==="system"?De():se;Ae(ae)}catch{}})("class","theme","system",null,["light","dark"],null,true,true)</script><div class="w-full mt-[22px] mb-[-16px]"><ul class="list-none m-0 p-0 flex flex-col"><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">messages</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">array</span><span class="bg-[rgba(254,226,226,0.5)] text-[#dc2626] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">必选</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">对话的消息列表。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="relative border-b border-solid border-[#eef0f5] horizontal-tab_tabScrollWrapper__d03daf8f" style="--tab-bg-color: rgba(255, 255, 255, 1);"><button type="button" disabled="" class="horizontal-tab_scrollArrow__d03daf8f horizontal-tab_scrollArrowLeft__d03daf8f horizontal-tab_scrollArrowDisabled__d03daf8f" aria-label="向左滚动"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left" aria-hidden="true"><path d="m15 18-6-6 6-6"></path></svg></button><div class="horizontal-tab_tabScrollContainer__d03daf8f"><div class="flex items-start flex-nowrap min-w-max" style="padding: 0px 35px; gap: 32px;"><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 cursor-default pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 500; color: var(--color-highlight);"><span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">Developer message</span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium"> · </span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">object</span></span></span></div><div class="rounded-tl-[4px] rounded-tr-[4px] w-full" style="background-color: var(--color-highlight); height: 4px; margin-top: 7px; flex-shrink: 0;"></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 400; color: rgb(100, 106, 115);"><span><span class="text-[14px] leading-[24px] text-[#1f2329]">System message</span><span class="text-[14px] leading-[24px] text-[#1f2329]"> · </span><span class="text-[14px] leading-[24px] text-[#1f2329]">object</span></span></span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 400; color: rgb(100, 106, 115);"><span><span class="text-[14px] leading-[24px] text-[#1f2329]">User message</span><span class="text-[14px] leading-[24px] text-[#1f2329]"> · </span><span class="text-[14px] leading-[24px] text-[#1f2329]">object</span></span></span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 400; color: rgb(100, 106, 115);"><span><span class="text-[14px] leading-[24px] text-[#1f2329]">Assistant message</span><span class="text-[14px] leading-[24px] text-[#1f2329]"> · </span><span class="text-[14px] leading-[24px] text-[#1f2329]">object</span></span></span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 400; color: rgb(100, 106, 115);"><span><span class="text-[14px] leading-[24px] text-[#1f2329]">Tool message</span><span class="text-[14px] leading-[24px] text-[#1f2329]"> · </span><span class="text-[14px] leading-[24px] text-[#1f2329]">object</span></span></span></div></button></div></div><button type="button" class="horizontal-tab_scrollArrow__d03daf8f horizontal-tab_scrollArrowRight__d03daf8f" aria-label="向右滚动"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></button></div><div class="px-[17px]"><div class="pt-[17px] pb-[8px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">开发者提供的指令,模型应遵循这些指令,而不受用户发送的消息影响。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">messages.<span class="text-[var(--color-highlight)]">content</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string | array</span><span class="bg-[rgba(254,226,226,0.5)] text-[#dc2626] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">必选</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">开发者消息的内容。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="relative border-b border-solid border-[#eef0f5] horizontal-tab_tabScrollWrapper__d03daf8f" style="--tab-bg-color: rgba(255, 255, 255, 1);"><button type="button" disabled="" class="horizontal-tab_scrollArrow__d03daf8f horizontal-tab_scrollArrowLeft__d03daf8f horizontal-tab_scrollArrowDisabled__d03daf8f" aria-label="向左滚动"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left" aria-hidden="true"><path d="m15 18-6-6 6-6"></path></svg></button><div class="horizontal-tab_tabScrollContainer__d03daf8f"><div class="flex items-start flex-nowrap min-w-max" style="padding: 0px 35px; gap: 32px;"><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 cursor-default pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 500; color: var(--color-highlight);"><span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">Text content</span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium"> · </span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">string</span></span></span></div><div class="rounded-tl-[4px] rounded-tr-[4px] w-full" style="background-color: var(--color-highlight); height: 4px; margin-top: 7px; flex-shrink: 0;"></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 400; color: rgb(100, 106, 115);"><span><span class="text-[14px] leading-[24px] text-[#1f2329]">Array of content parts</span><span class="text-[14px] leading-[24px] text-[#1f2329]"> · </span><span class="text-[14px] leading-[24px] text-[#1f2329]">array</span></span></span></div></button></div></div><button type="button" class="horizontal-tab_scrollArrow__d03daf8f horizontal-tab_scrollArrowRight__d03daf8f" aria-label="向右滚动"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></button></div><div class="px-[17px]"><div class="pt-[17px] pb-[8px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">开发者消息的内容。</div></li></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">messages.<span class="text-[var(--color-highlight)]">role</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span><span class="bg-[rgba(254,226,226,0.5)] text-[#dc2626] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">必选</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">开发者消息的角色。<br>可选值:<code class="schema-inline-code">developer</code></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">messages.<span class="text-[var(--color-highlight)]">name</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">参与者的可选名称。为模型提供信息以区分相同角色的参与者。</div></li></div></div></div></div></div></div></li></div></div></div></div></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">model</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span><span class="bg-[rgba(254,226,226,0.5)] text-[#dc2626] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">必选</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">用于生成响应的模型 ID。<br>可选值:<code class="schema-inline-code">mimo-v2.5-pro</code>,<code class="schema-inline-code">mimo-v2.5</code>,<code class="schema-inline-code">mimo-v2.5-tts</code>,<code class="schema-inline-code">mimo-v2.5-tts-voicedesign</code>,<code class="schema-inline-code">mimo-v2.5-tts-voiceclone</code>,<code class="schema-inline-code">mimo-v2-pro</code>,<code class="schema-inline-code">mimo-v2-omni</code>,<code class="schema-inline-code">mimo-v2-tts</code>,<code class="schema-inline-code">mimo-v2-flash</code></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">audio</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">音频输出参数。详情请参考 <a target="_blank" rel="noopener noreferrer" href="https://platform.xiaomimimo.com/#/docs/usage-guide/speech-synthesis-v2.1">语音合成</a>。<br><blockquote class="schema-blockquote">注意:如果要生成音频,必须添加一条 <code class="schema-inline-code">role</code> 为 <code class="schema-inline-code">assistant</code> 的消息,该消息需指定用于音频合成的文本。此外,使用 <code class="schema-inline-code">mimo-v2.5-tts-voicedesign</code> 模型时,<code class="schema-inline-code">role</code> 为 <code class="schema-inline-code">user</code> 的消息为必填。详细用法请参考 <a target="_blank" rel="noopener noreferrer" href="https://platform.xiaomimimo.com/#/docs/usage-guide/speech-synthesis-v2.1">语音合成</a>。</blockquote><blockquote class="schema-blockquote">当前仅支持 <code class="schema-inline-code">mimo-v2.5-tts</code>,<code class="schema-inline-code">mimo-v2.5-tts-voicedesign</code>,<code class="schema-inline-code">mimo-v2.5-tts-voiceclone</code> 和 <code class="schema-inline-code">mimo-v2-tts</code> 模型。</blockquote></div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">audio.<span class="text-[var(--color-highlight)]">format</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-medium text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;"><span class="text-[#505257] font-bold">默认值: </span><span class="text-[#505257] font-bold">wav</span></span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">指定输出音频格式。默认值:<code class="schema-inline-code">wav</code>,如果设置 <code class="schema-inline-code">stream: true</code> 则为 <code class="schema-inline-code">pcm</code>。<br><blockquote class="schema-blockquote">传入 <code class="schema-inline-code">pcm</code> 或 <code class="schema-inline-code">pcm16</code>,均表示指定使用 <code class="schema-inline-code">pcm16</code> 格式。</blockquote>可选值:<code class="schema-inline-code">wav</code>,<code class="schema-inline-code">mp3</code>,<code class="schema-inline-code">pcm</code>,<code class="schema-inline-code">pcm16</code></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">audio.<span class="text-[var(--color-highlight)]">voice</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">预置音色的音色ID 或音频样本的 base64 编码。<br><ul class="schema-list"><li class="schema-list-item"><code class="schema-inline-code">mimo-v2.5-tts</code>,<code class="schema-inline-code">mimo-v2-tts</code>:该字段为可选,且仅支持使用预置音色,默认值为 <code class="schema-inline-code">mimo_default</code></li><li class="schema-list-item"><code class="schema-inline-code">mimo-v2.5-tts-voiceclone</code>:该字段为必填,且仅支持传入音频样本的 base64 编码,仅支持传入 <code class="schema-inline-code">mp3</code> 和 <code class="schema-inline-code">wav</code> 格式的音频样本文件</li><li class="schema-list-item"><code class="schema-inline-code">mimo-v2.5-tts-voicedesign</code>:不支持该字段</li></ul>可选值:<br><ul class="schema-list"><li class="schema-list-item"><code class="schema-inline-code">mimo-v2-tts</code>:<code class="schema-inline-code">mimo_default</code>,<code class="schema-inline-code">default_en</code>,<code class="schema-inline-code">default_zh</code></li><li class="schema-list-item"><code class="schema-inline-code">mimo-v2.5-tts</code>:<code class="schema-inline-code">mimo_default</code>,<code class="schema-inline-code">冰糖</code>,<code class="schema-inline-code">茉莉</code>,<code class="schema-inline-code">苏打</code>,<code class="schema-inline-code">白桦</code>,<code class="schema-inline-code">Mia</code>,<code class="schema-inline-code">Chloe</code>,<code class="schema-inline-code">Milo</code>,<code class="schema-inline-code">Dean</code></li></ul></div></li></div></div></div></div></div></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">frequency_penalty</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">number | null</span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-medium text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;"><span class="text-[#505257] font-bold">默认值: </span><span class="text-[#505257] font-bold">0</span></span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">取值范围在 -2.0 到 2.0 之间的数值。如果该值为正,那么新 token 会根据其在已有文本中的出现频率受到相应的惩罚,降低模型重复相同内容的可能性。<br>所需范围:<code class="schema-inline-code">[-2.0, 2.0]</code></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">max_completion_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer | null</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">对话补全中可以生成的 token 数的上限,包括可见的输出 token 数和推理 token 数。<br><ul class="schema-list"><li class="schema-list-item"><code class="schema-inline-code">mimo-v2-flash</code> 的默认值 <code class="schema-inline-code">65536</code></li><li class="schema-list-item"><code class="schema-inline-code">mimo-v2.5-pro</code>,<code class="schema-inline-code">mimo-v2-pro</code> 的默认值 <code class="schema-inline-code">131072</code></li><li class="schema-list-item"><code class="schema-inline-code">mimo-v2.5</code>,<code class="schema-inline-code">mimo-v2-omni</code> 的默认值为 <code class="schema-inline-code">32768</code></li><li class="schema-list-item"><code class="schema-inline-code">mimo-v2.5-tts</code>,<code class="schema-inline-code">mimo-v2.5-tts-voiceclone</code>,<code class="schema-inline-code">mimo-v2.5-tts-voicedesign</code>,<code class="schema-inline-code">mimo-v2-tts</code> 的默认值为 <code class="schema-inline-code">8192</code>,取值范围为 <code class="schema-inline-code">[0, 8192]</code></li></ul>所需范围:<code class="schema-inline-code">[0, 131072]</code></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">presence_penalty</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">number | null</span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-medium text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;"><span class="text-[#505257] font-bold">默认值: </span><span class="text-[#505257] font-bold">0</span></span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">取值范围在 -2.0 到 2.0 之间的数值。如果该值为正,那么新 token 会根据其是否已在已有文本中出现受到相应的惩罚,从而增加模型谈论新主题的可能性。<br>所需范围:<code class="schema-inline-code">[-2.0, 2.0]</code></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">response_format</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">一个指定模型必须输出的格式的对象。<br><blockquote class="schema-blockquote"><code class="schema-inline-code">mimo-v2.5-tts</code>,<code class="schema-inline-code">mimo-v2.5-tts-voicedesign</code>,<code class="schema-inline-code">mimo-v2.5-tts-voiceclone</code> 和 <code class="schema-inline-code">mimo-v2-tts</code> 模型不支持。</blockquote></div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="relative border-b border-solid border-[#eef0f5] horizontal-tab_tabScrollWrapper__d03daf8f horizontal-tab_noScrollShadow__d03daf8f" style="--tab-bg-color: rgba(255, 255, 255, 1);"><div class="horizontal-tab_tabScrollContainer__d03daf8f"><div class="flex items-start flex-nowrap min-w-max" style="padding: 0px 17px; gap: 32px;"><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 cursor-default pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 500; color: var(--color-highlight);"><span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">Text</span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium"> · </span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">object</span></span></span></div><div class="rounded-tl-[4px] rounded-tr-[4px] w-full" style="background-color: var(--color-highlight); height: 4px; margin-top: 7px; flex-shrink: 0;"></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 400; color: rgb(100, 106, 115);"><span><span class="text-[14px] leading-[24px] text-[#1f2329]">JSON object</span><span class="text-[14px] leading-[24px] text-[#1f2329]"> · </span><span class="text-[14px] leading-[24px] text-[#1f2329]">object</span></span></span></div></button></div></div></div><div class="px-[17px]"><div class="pt-[17px] pb-[8px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">默认响应格式。用于生成文本响应。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">response_format.<span class="text-[var(--color-highlight)]">type</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span><span class="bg-[rgba(254,226,226,0.5)] text-[#dc2626] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">必选</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">所定义的响应格式类型。仅为 <code class="schema-inline-code">text</code>。</div></li></div></div></div></div></div></div></li></div></div></div></div></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">stop</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string | array | null</span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-medium text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;"><span class="text-[#505257] font-bold">默认值: </span><span class="text-[#505257] font-bold">null</span></span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">最多 4 个序列,当 API 生成到这些序列时会停止继续生成 token。返回的文本中不会包含这些停止序列。<br><blockquote class="schema-blockquote"><code class="schema-inline-code">mimo-v2.5-tts</code>,<code class="schema-inline-code">mimo-v2.5-tts-voicedesign</code>,<code class="schema-inline-code">mimo-v2.5-tts-voiceclone</code> 和 <code class="schema-inline-code">mimo-v2-tts</code> 模型不支持。</blockquote></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">stream</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">boolean | null</span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-medium text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;"><span class="text-[#505257] font-bold">默认值: </span><span class="text-[#505257] font-bold">false</span></span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">如果设置为 true,模型的响应数据会在生成过程中通过SSE(server-sent events)的形式流式传输到客户端。</div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">thinking</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">这个参数用于控制模型是否启用思维链。<br><blockquote class="schema-blockquote">注意:在思考模式下的多轮工具调用过程中,模型会在返回 <code class="schema-inline-code">tool_calls</code> 字段的同时返回 <code class="schema-inline-code">reasoning_content</code> 字段。若要继续对话,建议在后续每次请求的 <code class="schema-inline-code">messages</code> 数组中保留所有历史 <code class="schema-inline-code">reasoning_content</code>,以获得最佳表现。</blockquote><blockquote class="schema-blockquote"><code class="schema-inline-code">mimo-v2.5-tts</code>,<code class="schema-inline-code">mimo-v2.5-tts-voicedesign</code>,<code class="schema-inline-code">mimo-v2.5-tts-voiceclone</code> 和 <code class="schema-inline-code">mimo-v2-tts</code> 模型不支持。</blockquote></div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">thinking.<span class="text-[var(--color-highlight)]">type</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span><span class="bg-[rgba(254,226,226,0.5)] text-[#dc2626] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">必选</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">是否启用思维链<br><ul class="schema-list"><li class="schema-list-item"><code class="schema-inline-code">mimo-v2-flash</code> 默认值为 <code class="schema-inline-code">disabled</code></li><li class="schema-list-item"><code class="schema-inline-code">mimo-v2.5-pro</code>,<code class="schema-inline-code">mimo-v2.5</code>,<code class="schema-inline-code">mimo-v2-pro</code>,<code class="schema-inline-code">mimo-v2-omni</code> 默认值为 <code class="schema-inline-code">enabled</code></li></ul>可选值:<code class="schema-inline-code">enabled</code>,<code class="schema-inline-code">disabled</code></div></li></div></div></div></div></div></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">temperature</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">number</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">要使用的采样温度,介于 0 和 1.5 之间。较高的值(如 0.8)会使输出更加随机,而较低的值(如 0.2)会使其更加集中和确定性。我们通常建议更改此值或 <code class="schema-inline-code">top_p</code>,但不要同时更改。<br><ul class="schema-list"><li class="schema-list-item"><code class="schema-inline-code">mimo-v2-flash</code> 默认值为 <code class="schema-inline-code">0.3</code></li><li class="schema-list-item"><code class="schema-inline-code">mimo-v2.5-pro</code>,<code class="schema-inline-code">mimo-v2.5</code>,<code class="schema-inline-code">mimo-v2-pro</code>,<code class="schema-inline-code">mimo-v2-omni</code> 默认值为 <code class="schema-inline-code">1.0</code></li><li class="schema-list-item"><code class="schema-inline-code">mimo-v2.5-tts</code>,<code class="schema-inline-code">mimo-v2.5-tts-voiceclone</code>,<code class="schema-inline-code">mimo-v2.5-tts-voicedesign</code>,<code class="schema-inline-code">mimo-v2-tts</code> 默认值为 <code class="schema-inline-code">0.6</code></li></ul>所需范围:<code class="schema-inline-code">[0, 1.5]</code></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">tool_choice</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">控制模型如何选择工具。<br><blockquote class="schema-blockquote">注意:当 <code class="schema-inline-code">tool_choice</code> 传入非 <code class="schema-inline-code">auto</code> 值时,后端会默认移除该字段,模型响应行为仍等同于 <code class="schema-inline-code">auto</code> 模式(该逻辑保留调整的可能性)。</blockquote><blockquote class="schema-blockquote"><code class="schema-inline-code">mimo-v2.5-tts</code>,<code class="schema-inline-code">mimo-v2.5-tts-voicedesign</code>,<code class="schema-inline-code">mimo-v2.5-tts-voiceclone</code> 和 <code class="schema-inline-code">mimo-v2-tts</code> 模型不支持。</blockquote>可选值:<code class="schema-inline-code">auto</code></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">tools</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">array</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型可能调用的工具列表。目前仅支持函数作为工具。<br><blockquote class="schema-blockquote">注意:在思考模式下的多轮工具调用过程中,模型会在返回 <code class="schema-inline-code">tool_calls</code> 字段的同时返回 <code class="schema-inline-code">reasoning_content</code> 字段。若要继续对话,建议在后续每次请求的 <code class="schema-inline-code">messages</code> 数组中保留所有历史 <code class="schema-inline-code">reasoning_content</code>,以获得最佳表现。</blockquote><blockquote class="schema-blockquote"><code class="schema-inline-code">mimo-v2.5-tts</code>,<code class="schema-inline-code">mimo-v2.5-tts-voicedesign</code>,<code class="schema-inline-code">mimo-v2.5-tts-voiceclone</code> 和 <code class="schema-inline-code">mimo-v2-tts</code> 模型不支持。</blockquote></div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="relative border-b border-solid border-[#eef0f5] horizontal-tab_tabScrollWrapper__d03daf8f" style="--tab-bg-color: rgba(255, 255, 255, 1);"><button type="button" disabled="" class="horizontal-tab_scrollArrow__d03daf8f horizontal-tab_scrollArrowLeft__d03daf8f horizontal-tab_scrollArrowDisabled__d03daf8f" aria-label="向左滚动"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left" aria-hidden="true"><path d="m15 18-6-6 6-6"></path></svg></button><div class="horizontal-tab_tabScrollContainer__d03daf8f"><div class="flex items-start flex-nowrap min-w-max" style="padding: 0px 35px; gap: 32px;"><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 cursor-default pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 500; color: var(--color-highlight);"><span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">Function tool</span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium"> · </span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">object</span></span></span></div><div class="rounded-tl-[4px] rounded-tr-[4px] w-full" style="background-color: var(--color-highlight); height: 4px; margin-top: 7px; flex-shrink: 0;"></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 400; color: rgb(100, 106, 115);"><span><span class="text-[14px] leading-[24px] text-[#1f2329]">Web search tool</span><span class="text-[14px] leading-[24px] text-[#1f2329]"> · </span><span class="text-[14px] leading-[24px] text-[#1f2329]">object</span></span></span></div></button></div></div><button type="button" class="horizontal-tab_scrollArrow__d03daf8f horizontal-tab_scrollArrowRight__d03daf8f" aria-label="向右滚动"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></button></div><div class="px-[17px]"><div class="pt-[17px] pb-[8px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">可用于生成响应的函数工具。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">tools.<span class="text-[var(--color-highlight)]">function</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span><span class="bg-[rgba(254,226,226,0.5)] text-[#dc2626] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">必选</span></div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">tools.function.<span class="text-[var(--color-highlight)]">name</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span><span class="bg-[rgba(254,226,226,0.5)] text-[#dc2626] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">必选</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">工具函数的名称。必须由<code class="schema-inline-code">a-z</code>、<code class="schema-inline-code">A-Z</code>、<code class="schema-inline-code">0-9</code>组成,或包含下划线(<code class="schema-inline-code">_</code>)和连字符(<code class="schema-inline-code">-</code>),最大长度为64。<br>所需字符串长度:<code class="schema-inline-code">1 - 64</code></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">tools.function.<span class="text-[var(--color-highlight)]">description</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">函数功能的描述,供模型判断何时以及如何调用该函数。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">tools.function.<span class="text-[var(--color-highlight)]">parameters</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">函数接受的参数,以 JSON 模式对象的形式描述。<br>若省略 <code class="schema-inline-code">parameters</code>,则表示该函数的参数列表为空。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">tools.function.<span class="text-[var(--color-highlight)]">strict</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">boolean</span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-medium text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;"><span class="text-[#505257] font-bold">默认值: </span><span class="text-[#505257] font-bold">false</span></span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">生成函数调用时是否启用严格的模式遵循。若设为 true,模型将严格遵循 <code class="schema-inline-code">parameters</code> 字段中定义的确切模式。当 <code class="schema-inline-code">strict</code> 为 <code class="schema-inline-code">true</code> 时,仅支持 JSON 模式的一个子集。</div></li></div></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">tools.<span class="text-[var(--color-highlight)]">type</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span><span class="bg-[rgba(254,226,226,0.5)] text-[#dc2626] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">必选</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">工具类型。目前仅支持 <code class="schema-inline-code">function</code>。</div></li></div></div></div></div></div></div></li></div></div></div></div></div></li></li><li class=""><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">top_p</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">number</span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-medium text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;"><span class="text-[#505257] font-bold">默认值: </span><span class="text-[#505257] font-bold">0.95</span></span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">核采样的概率阈值,用于控制模型生成文本的多样性。<code class="schema-inline-code">top_p</code> 值越高,生成的文本多样性越强;<code class="schema-inline-code">top_p</code> 值越低,生成的文本确定性越高。<br>由于 <code class="schema-inline-code">temperature</code> 和 <code class="schema-inline-code">top_p</code> 均用于控制生成文本的多样性,建议仅设置其中一个参数。<br>所需范围:<code class="schema-inline-code">[0.01, 1.0]</code></div></li></li></ul></div></inline-schema-v2>
<h2 id="chat-响应对象非流式输出" class="mdx-h2">Chat 响应对象(非流式输出)</h2>
<inline-schema-v2 schema="[
{
"name": "choices",
"type": "array",
"isBold": true,
"description": "包含生成的回复选项列表。",
"children": [
{
"name": "finish_reason",
"type": "string",
"isBold": true,
"description": "模型停止生成 token 的原因。如果模型到达自然停止点或提供的停止序列,则为 <code class=\"schema-inline-code\">stop</code>;如果达到请求中指定的最大 token 数,则为 <code class=\"schema-inline-code\">length</code>;如果模型调用了工具,则为 <code class=\"schema-inline-code\">tool_calls</code>。如果内容因触发过滤策略而被拦截,则为 <code class=\"schema-inline-code\">content_filter</code>;如果模型检测到了复读,则为 <code class=\"schema-inline-code\">repetition_truncation</code>。"
},
{
"name": "index",
"type": "integer",
"isBold": true,
"description": "选项列表中对应选项的索引。"
},
{
"name": "message",
"type": "object",
"isBold": true,
"description": "模型生成的对话补全消息。",
"children": [
{
"name": "content",
"type": "string",
"isBold": true,
"description": "消息的内容。"
},
{
"name": "reasoning_content",
"type": "string",
"isBold": true,
"description": "助手消息中最终答案之前的推理内容。"
},
{
"name": "role",
"type": "string",
"isBold": true,
"description": "消息作者的角色。"
},
{
"name": "tool_calls",
"type": "array",
"isBold": true,
"description": "函数调用启动后,模型会返回待调用的工具以及该调用所需的参数。此参数可包含一个或多个工具响应对象。",
"children": [
{
"name": "Function tool call",
"type": "object",
"isBold": false,
"description": "模型创建的对函数工具的调用。",
"children": [
{
"name": "function",
"type": "object",
"isBold": true,
"description": "模型所调用的函数。",
"children": [
{
"name": "arguments",
"type": "string",
"isBold": true,
"description": "模型生成的用于调用函数的参数,格式为 JSON。请注意,模型生成的内容并非并非总能保证是有效的 JSON,且可能会虚构出函数模式中未定义的参数。在调用函数之前,请在代码中对这些参数进行验证。"
},
{
"name": "name",
"type": "string",
"isBold": true,
"description": "要调用的函数的名称。"
}
]
},
{
"name": "id",
"type": "string",
"isBold": true,
"description": "工具调用的 ID。"
},
{
"name": "type",
"type": "string",
"isBold": true,
"description": "工具的类型。目前仅支持 <code class=\"schema-inline-code\">function</code>。"
}
]
}
]
},
{
"name": "annotations",
"type": "array",
"isBold": true,
"description": "联网搜索后,模型会返回全部引用网址的注释。",
"children": [
{
"name": "web_search tool call",
"type": "object",
"isBold": false,
"description": "模型创建的对联网搜索的调用。",
"children": [
{
"name": "logo_url",
"type": "string",
"isBold": true,
"description": "logo网址。"
},
{
"name": "publish_time",
"type": "string",
"isBold": true,
"description": "发布时间。"
},
{
"name": "site_name",
"type": "string",
"isBold": true,
"description": "网站名称。"
},
{
"name": "summary",
"type": "string",
"isBold": true,
"description": "总结。"
},
{
"name": "title",
"type": "string",
"isBold": true,
"description": "标题。"
},
{
"name": "type",
"type": "string",
"isBold": true,
"description": "类型。"
},
{
"name": "url",
"type": "string",
"isBold": true,
"description": "网址。"
}
]
}
]
},
{
"name": "error_message",
"type": "string",
"isBold": true,
"description": "联网搜索的错误信息。"
},
{
"name": "audio",
"type": "object",
"isBold": true,
"description": "如果请求输出音频,该对象将包含有关模型音频响应的数据。",
"children": [
{
"name": "id",
"type": "string",
"isBold": true,
"description": "此音频响应的唯一标识符。"
},
{
"name": "data",
"type": "string",
"isBold": true,
"description": "模型生成的 Base64 编码音频,格式为请求中指定的格式。"
},
{
"name": "expires_at",
"type": [
"number",
"null"
],
"isBold": true,
"description": "此音频响应过期的 Unix 时间戳(以秒为单位)。当前仅为 <code class=\"schema-inline-code\">null</code>。"
},
{
"name": "transcript",
"type": [
"string",
"null"
],
"isBold": true,
"description": "模型生成的音频的文字记录。当前仅为 <code class=\"schema-inline-code\">null</code>。"
}
]
}
]
}
]
},
{
"name": "created",
"type": "integer",
"isBold": true,
"description": "对话补全对象创建时的 Unix 时间戳(以秒为单位)。"
},
{
"name": "id",
"type": "string",
"isBold": true,
"description": "响应的唯一标识符。"
},
{
"name": "model",
"type": "string",
"isBold": true,
"description": "用于生成结果的模型。"
},
{
"name": "object",
"type": "string",
"isBold": true,
"description": "对象类型,仅为 <code class=\"schema-inline-code\">chat.completion</code>。"
},
{
"name": "usage",
"type": [
"object",
"null"
],
"isBold": true,
"description": "该对话补全请求的用量信息。",
"children": [
{
"name": "completion_tokens",
"type": "integer",
"isBold": true,
"description": "模型输出内容花费的 token。"
},
{
"name": "prompt_tokens",
"type": "integer",
"isBold": true,
"description": "提示词使用的 token 数量。"
},
{
"name": "total_tokens",
"type": "integer",
"isBold": true,
"description": "请求中使用的 token 总数(提示词 + 补全结果)。"
},
{
"name": "completion_tokens_details",
"type": "object",
"isBold": true,
"description": "补全中使用的 token 数量明细。",
"children": [
{
"name": "reasoning_tokens",
"type": "integer",
"isBold": true,
"description": "模型为推理生成的 token 数量。"
}
]
},
{
"name": "prompt_tokens_details",
"type": "object",
"isBold": true,
"description": "提示中使用的 token 数量明细。",
"children": [
{
"name": "cached_tokens",
"type": "integer",
"isBold": true,
"description": "缓存中提供的 token 数量。"
},
{
"name": "audio_tokens",
"type": "integer",
"isBold": true,
"description": "提示中存在的音频输入 token 数量。"
},
{
"name": "image_tokens",
"type": "integer",
"isBold": true,
"description": "提示中存在的图像输入 token 数量。"
},
{
"name": "video_tokens",
"type": "integer",
"isBold": true,
"description": "提示中存在的视频输入 token 数量。"
}
]
},
{
"name": "web_search_usage",
"type": "object",
"isBold": true,
"description": "联网搜索 api 的调用量明细。",
"children": [
{
"name": "tool_usage",
"type": "integer",
"isBold": true,
"description": "联网搜索 api 的调用次数。"
},
{
"name": "page_usage",
"type": "integer",
"isBold": true,
"description": "联网搜索 api 返回的网页数。"
}
]
}
]
}
]"><script nonce="">((T,M,N,I,j,L,w,W)=>{let K=document.documentElement,X=["light","dark"];function Ae(se){(Array.isArray(T)?T:[T]).forEach(ae=>{let J=ae==="class",re=J&&L?j.map(he=>L[he]||he):j;J?(K.classList.remove(...re),K.classList.add(L&&L[se]?L[se]:se)):K.setAttribute(ae,se)}),pe(se)}function pe(se){W&&X.includes(se)&&(K.style.colorScheme=se)}function De(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(I)Ae(I);else try{let se=localStorage.getItem(M)||N,ae=w&&se==="system"?De():se;Ae(ae)}catch{}})("class","theme","system",null,["light","dark"],null,true,true)</script><div class="w-full mt-[22px] mb-[-16px]"><ul class="list-none m-0 p-0 flex flex-col"><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">choices</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">array</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">包含生成的回复选项列表。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.<span class="text-[var(--color-highlight)]">finish_reason</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型停止生成 token 的原因。如果模型到达自然停止点或提供的停止序列,则为 <code class="schema-inline-code">stop</code>;如果达到请求中指定的最大 token 数,则为 <code class="schema-inline-code">length</code>;如果模型调用了工具,则为 <code class="schema-inline-code">tool_calls</code>。如果内容因触发过滤策略而被拦截,则为 <code class="schema-inline-code">content_filter</code>;如果模型检测到了复读,则为 <code class="schema-inline-code">repetition_truncation</code>。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.<span class="text-[var(--color-highlight)]">index</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">选项列表中对应选项的索引。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.<span class="text-[var(--color-highlight)]">message</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型生成的对话补全消息。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.<span class="text-[var(--color-highlight)]">content</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">消息的内容。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.<span class="text-[var(--color-highlight)]">reasoning_content</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">助手消息中最终答案之前的推理内容。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.<span class="text-[var(--color-highlight)]">role</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">消息作者的角色。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.<span class="text-[var(--color-highlight)]">tool_calls</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">array</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">函数调用启动后,模型会返回待调用的工具以及该调用所需的参数。此参数可包含一个或多个工具响应对象。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="relative border-b border-solid border-[#eef0f5] horizontal-tab_tabScrollWrapper__d03daf8f horizontal-tab_noScrollShadow__d03daf8f" style="--tab-bg-color: rgba(255, 255, 255, 1);"><div class="horizontal-tab_tabScrollContainer__d03daf8f"><div class="flex items-start flex-nowrap min-w-max" style="padding: 0px 17px; gap: 32px;"><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 cursor-default pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 500; color: var(--color-highlight);"><span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">Function tool call</span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium"> · </span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">object</span></span></span></div><div class="rounded-tl-[4px] rounded-tr-[4px] w-full" style="background-color: var(--color-highlight); height: 4px; margin-top: 7px; flex-shrink: 0;"></div></button></div></div></div><div class="px-[17px]"><div class="pt-[17px] pb-[8px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型创建的对函数工具的调用。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.tool_calls.<span class="text-[var(--color-highlight)]">function</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型所调用的函数。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.tool_calls.function.<span class="text-[var(--color-highlight)]">arguments</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型生成的用于调用函数的参数,格式为 JSON。请注意,模型生成的内容并非并非总能保证是有效的 JSON,且可能会虚构出函数模式中未定义的参数。在调用函数之前,请在代码中对这些参数进行验证。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.tool_calls.function.<span class="text-[var(--color-highlight)]">name</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">要调用的函数的名称。</div></li></div></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.tool_calls.<span class="text-[var(--color-highlight)]">id</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">工具调用的 ID。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.tool_calls.<span class="text-[var(--color-highlight)]">type</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">工具的类型。目前仅支持 <code class="schema-inline-code">function</code>。</div></li></div></div></div></div></div></div></li></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.<span class="text-[var(--color-highlight)]">annotations</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">array</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">联网搜索后,模型会返回全部引用网址的注释。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="relative border-b border-solid border-[#eef0f5] horizontal-tab_tabScrollWrapper__d03daf8f horizontal-tab_noScrollShadow__d03daf8f" style="--tab-bg-color: rgba(255, 255, 255, 1);"><div class="horizontal-tab_tabScrollContainer__d03daf8f"><div class="flex items-start flex-nowrap min-w-max" style="padding: 0px 17px; gap: 32px;"><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 cursor-default pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 500; color: var(--color-highlight);"><span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">web_search tool call</span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium"> · </span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">object</span></span></span></div><div class="rounded-tl-[4px] rounded-tr-[4px] w-full" style="background-color: var(--color-highlight); height: 4px; margin-top: 7px; flex-shrink: 0;"></div></button></div></div></div><div class="px-[17px]"><div class="pt-[17px] pb-[8px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型创建的对联网搜索的调用。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.annotations.<span class="text-[var(--color-highlight)]">logo_url</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">logo网址。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.annotations.<span class="text-[var(--color-highlight)]">publish_time</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">发布时间。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.annotations.<span class="text-[var(--color-highlight)]">site_name</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">网站名称。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.annotations.<span class="text-[var(--color-highlight)]">summary</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">总结。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.annotations.<span class="text-[var(--color-highlight)]">title</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">标题。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.annotations.<span class="text-[var(--color-highlight)]">type</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">类型。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.annotations.<span class="text-[var(--color-highlight)]">url</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">网址。</div></li></div></div></div></div></div></div></li></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.<span class="text-[var(--color-highlight)]">error_message</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">联网搜索的错误信息。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.<span class="text-[var(--color-highlight)]">audio</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">如果请求输出音频,该对象将包含有关模型音频响应的数据。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.audio.<span class="text-[var(--color-highlight)]">id</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">此音频响应的唯一标识符。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.audio.<span class="text-[var(--color-highlight)]">data</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型生成的 Base64 编码音频,格式为请求中指定的格式。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.audio.<span class="text-[var(--color-highlight)]">expires_at</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">number | null</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">此音频响应过期的 Unix 时间戳(以秒为单位)。当前仅为 <code class="schema-inline-code">null</code>。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.message.audio.<span class="text-[var(--color-highlight)]">transcript</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string | null</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型生成的音频的文字记录。当前仅为 <code class="schema-inline-code">null</code>。</div></li></div></div></div></div></div></div></li></div></div></div></div></div></div></li></div></div></div></div></div></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">created</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">对话补全对象创建时的 Unix 时间戳(以秒为单位)。</div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">id</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">响应的唯一标识符。</div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">model</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">用于生成结果的模型。</div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">object</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">对象类型,仅为 <code class="schema-inline-code">chat.completion</code>。</div></li></li><li class=""><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">usage</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object | null</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">该对话补全请求的用量信息。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">completion_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型输出内容花费的 token。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">prompt_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">提示词使用的 token 数量。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">total_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">请求中使用的 token 总数(提示词 + 补全结果)。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">completion_tokens_details</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">补全中使用的 token 数量明细。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.completion_tokens_details.<span class="text-[var(--color-highlight)]">reasoning_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型为推理生成的 token 数量。</div></li></div></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">prompt_tokens_details</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">提示中使用的 token 数量明细。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.prompt_tokens_details.<span class="text-[var(--color-highlight)]">cached_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">缓存中提供的 token 数量。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.prompt_tokens_details.<span class="text-[var(--color-highlight)]">audio_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">提示中存在的音频输入 token 数量。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.prompt_tokens_details.<span class="text-[var(--color-highlight)]">image_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">提示中存在的图像输入 token 数量。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.prompt_tokens_details.<span class="text-[var(--color-highlight)]">video_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">提示中存在的视频输入 token 数量。</div></li></div></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">web_search_usage</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">联网搜索 api 的调用量明细。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.web_search_usage.<span class="text-[var(--color-highlight)]">tool_usage</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">联网搜索 api 的调用次数。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.web_search_usage.<span class="text-[var(--color-highlight)]">page_usage</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">联网搜索 api 返回的网页数。</div></li></div></div></div></div></div></div></li></div></div></div></div></div></div></li></li></ul></div></inline-schema-v2>
<h2 id="chat-响应chunk对象流式输出" class="mdx-h2">Chat 响应chunk对象(流式输出)</h2>
<inline-schema-v2 schema="[
{
"name": "choices",
"type": "array",
"isBold": true,
"description": "包含生成的回复选项列表。",
"children": [
{
"name": "delta",
"type": "object",
"isBold": true,
"description": "流式模型响应生成的对话补全增量。",
"children": [
{
"name": "content",
"type": "string",
"isBold": true,
"description": "数据块消息的内容。"
},
{
"name": "reasoning_content",
"type": "string",
"isBold": true,
"description": "助手消息中最终答案之前的推理内容。"
},
{
"name": "role",
"type": "string",
"isBold": true,
"description": "消息作者的角色。"
},
{
"name": "tool_calls",
"type": "array",
"isBold": true,
"description": "函数调用启动后,模型会返回待调用的工具以及该调用所需的参数。此参数可包含一个或多个工具响应对象。",
"children": [
{
"name": "index",
"type": "integer",
"isBold": true,
"description": "在 <code class=\"schema-inline-code\">tool_calls</code> 列表中被调用工具的索引,从 0 开始。"
},
{
"name": "function",
"type": "object",
"isBold": true,
"description": "调用的函数。",
"children": [
{
"name": "arguments",
"type": "string",
"isBold": true,
"description": "模型生成的用于调用函数的参数,格式为 JSON。请注意,模型生成的内容并非并非总能保证是有效的 JSON,且可能会虚构出函数模式中未定义的参数。在调用函数之前,请在代码中对这些参数进行验证。"
},
{
"name": "name",
"type": "string",
"isBold": true,
"description": "要调用的函数的名称。"
}
]
},
{
"name": "id",
"type": "string",
"isBold": true,
"description": "工具调用的 ID。"
},
{
"name": "type",
"type": "string",
"isBold": true,
"description": "工具的类型。目前仅支持 <code class=\"schema-inline-code\">function</code>。"
}
]
},
{
"name": "annotations",
"type": "array",
"isBold": true,
"description": "联网搜索后,模型会返回全部引用网址的注释。",
"children": [
{
"name": "web_search tool call",
"type": "object",
"isBold": false,
"description": "模型创建的对联网搜索的调用。",
"children": [
{
"name": "logo_url",
"type": "string",
"isBold": true,
"description": "logo网址。"
},
{
"name": "publish_time",
"type": "string",
"isBold": true,
"description": "发布时间。"
},
{
"name": "site_name",
"type": "string",
"isBold": true,
"description": "网站名称。"
},
{
"name": "summary",
"type": "string",
"isBold": true,
"description": "总结。"
},
{
"name": "title",
"type": "string",
"isBold": true,
"description": "标题。"
},
{
"name": "type",
"type": "string",
"isBold": true,
"description": "类型。"
},
{
"name": "url",
"type": "string",
"isBold": true,
"description": "网址。"
}
]
}
]
},
{
"name": "error_message",
"type": "string",
"isBold": true,
"description": "联网搜索链路的错误信息。"
},
{
"name": "audio",
"type": [
"object",
"null"
],
"isBold": true,
"description": "如果请求输出音频,该对象将包含有关模型音频响应的数据。",
"children": [
{
"name": "id",
"type": "string",
"isBold": true,
"description": "此音频响应的唯一标识符。"
},
{
"name": "data",
"type": "string",
"isBold": true,
"description": "模型生成的 Base64 编码音频,格式为请求中指定的格式。"
},
{
"name": "expires_at",
"type": [
"number",
"null"
],
"isBold": true,
"description": "此音频响应过期的 Unix 时间戳(以秒为单位)。当前仅为 <code class=\"schema-inline-code\">null</code>。"
},
{
"name": "transcript",
"type": [
"string",
"null"
],
"isBold": true,
"description": "模型生成的音频的文字记录。当前仅为 <code class=\"schema-inline-code\">null</code>。"
}
]
}
]
},
{
"name": "finish_reason",
"type": [
"string",
"null"
],
"isBold": true,
"description": "模型停止生成 token 的原因。如果模型到达自然停止点或提供的停止序列,则为 <code class=\"schema-inline-code\">stop</code>;如果达到请求中指定的最大 token 数,则为 <code class=\"schema-inline-code\">length</code>;如果模型调用了工具,则为 <code class=\"schema-inline-code\">tool_calls</code>。如果内容因触发过滤策略而被拦截,则为 <code class=\"schema-inline-code\">content_filter</code>;如果模型检测到了复读,则为 <code class=\"schema-inline-code\">repetition_truncation</code>。"
},
{
"name": "index",
"type": "integer",
"isBold": true,
"description": "选项列表中对应选项的索引。"
}
]
},
{
"name": "created",
"type": "integer",
"isBold": true,
"description": "对话补全对象创建时的 Unix 时间戳(以秒为单位)。每个数据块均使用相同的时间戳。"
},
{
"name": "id",
"type": "string",
"isBold": true,
"description": "对话补全对象的唯一标识符。每个数据块均使用相同的 ID。"
},
{
"name": "model",
"type": "string",
"isBold": true,
"description": "用于生成结果的模型。"
},
{
"name": "object",
"type": "string",
"isBold": true,
"description": "对象类型,仅为 <code class=\"schema-inline-code\">chat.completion.chunk</code>。"
},
{
"name": "usage",
"type": [
"object",
"null"
],
"isBold": true,
"description": "该对话补全请求的用量信息。",
"children": [
{
"name": "completion_tokens",
"type": "integer",
"isBold": true,
"description": "模型输出内容花费的 token。"
},
{
"name": "prompt_tokens",
"type": "integer",
"isBold": true,
"description": "提示词使用的 token 数量。"
},
{
"name": "total_tokens",
"type": "integer",
"isBold": true,
"description": "请求中使用的 token 总数(提示词 + 补全结果)。"
},
{
"name": "completion_tokens_details",
"type": "object",
"isBold": true,
"description": "补全中使用的 token 数量明细。",
"children": [
{
"name": "reasoning_tokens",
"type": "integer",
"isBold": true,
"description": "模型为推理生成的 token 数量。"
}
]
},
{
"name": "prompt_tokens_details",
"type": "object",
"isBold": true,
"description": "提示中使用的 token 数量明细。",
"children": [
{
"name": "cached_tokens",
"type": "integer",
"isBold": true,
"description": "缓存中提供的 token 数量。"
},
{
"name": "audio_tokens",
"type": "integer",
"isBold": true,
"description": "提示中存在的音频输入 token 数量。"
},
{
"name": "image_tokens",
"type": "integer",
"isBold": true,
"description": "提示中存在的图像输入 token 数量。"
},
{
"name": "video_tokens",
"type": "integer",
"isBold": true,
"description": "提示中存在的视频输入 token 数量。"
}
]
},
{
"name": "web_search_usage",
"type": "object",
"isBold": true,
"description": "联网搜索 api 的调用量明细。",
"children": [
{
"name": "tool_usage",
"type": "integer",
"isBold": true,
"description": "联网搜索 api 的调用次数。"
},
{
"name": "page_usage",
"type": "integer",
"isBold": true,
"description": "联网搜索 api 返回的网页数。"
}
]
}
]
}
]"><script nonce="">((T,M,N,I,j,L,w,W)=>{let K=document.documentElement,X=["light","dark"];function Ae(se){(Array.isArray(T)?T:[T]).forEach(ae=>{let J=ae==="class",re=J&&L?j.map(he=>L[he]||he):j;J?(K.classList.remove(...re),K.classList.add(L&&L[se]?L[se]:se)):K.setAttribute(ae,se)}),pe(se)}function pe(se){W&&X.includes(se)&&(K.style.colorScheme=se)}function De(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(I)Ae(I);else try{let se=localStorage.getItem(M)||N,ae=w&&se==="system"?De():se;Ae(ae)}catch{}})("class","theme","system",null,["light","dark"],null,true,true)</script><div class="w-full mt-[22px] mb-[-16px]"><ul class="list-none m-0 p-0 flex flex-col"><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">choices</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">array</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">包含生成的回复选项列表。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.<span class="text-[var(--color-highlight)]">delta</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">流式模型响应生成的对话补全增量。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.<span class="text-[var(--color-highlight)]">content</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">数据块消息的内容。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.<span class="text-[var(--color-highlight)]">reasoning_content</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">助手消息中最终答案之前的推理内容。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.<span class="text-[var(--color-highlight)]">role</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">消息作者的角色。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.<span class="text-[var(--color-highlight)]">tool_calls</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">array</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">函数调用启动后,模型会返回待调用的工具以及该调用所需的参数。此参数可包含一个或多个工具响应对象。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.tool_calls.<span class="text-[var(--color-highlight)]">index</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">在 <code class="schema-inline-code">tool_calls</code> 列表中被调用工具的索引,从 0 开始。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.tool_calls.<span class="text-[var(--color-highlight)]">function</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">调用的函数。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.tool_calls.function.<span class="text-[var(--color-highlight)]">arguments</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型生成的用于调用函数的参数,格式为 JSON。请注意,模型生成的内容并非并非总能保证是有效的 JSON,且可能会虚构出函数模式中未定义的参数。在调用函数之前,请在代码中对这些参数进行验证。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.tool_calls.function.<span class="text-[var(--color-highlight)]">name</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">要调用的函数的名称。</div></li></div></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.tool_calls.<span class="text-[var(--color-highlight)]">id</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">工具调用的 ID。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.tool_calls.<span class="text-[var(--color-highlight)]">type</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">工具的类型。目前仅支持 <code class="schema-inline-code">function</code>。</div></li></div></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.<span class="text-[var(--color-highlight)]">annotations</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">array</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">联网搜索后,模型会返回全部引用网址的注释。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="relative border-b border-solid border-[#eef0f5] horizontal-tab_tabScrollWrapper__d03daf8f horizontal-tab_noScrollShadow__d03daf8f" style="--tab-bg-color: rgba(255, 255, 255, 1);"><div class="horizontal-tab_tabScrollContainer__d03daf8f"><div class="flex items-start flex-nowrap min-w-max" style="padding: 0px 17px; gap: 32px;"><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 cursor-default pt-[11px]"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 14px; line-height: 24px; font-weight: 500; color: var(--color-highlight);"><span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">web_search tool call</span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium"> · </span><span class="text-[14px] leading-[24px] text-[var(--color-highlight)] font-medium">object</span></span></span></div><div class="rounded-tl-[4px] rounded-tr-[4px] w-full" style="background-color: var(--color-highlight); height: 4px; margin-top: 7px; flex-shrink: 0;"></div></button></div></div></div><div class="px-[17px]"><div class="pt-[17px] pb-[8px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型创建的对联网搜索的调用。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.annotations.<span class="text-[var(--color-highlight)]">logo_url</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">logo网址。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.annotations.<span class="text-[var(--color-highlight)]">publish_time</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">发布时间。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.annotations.<span class="text-[var(--color-highlight)]">site_name</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">网站名称。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.annotations.<span class="text-[var(--color-highlight)]">summary</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">总结。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.annotations.<span class="text-[var(--color-highlight)]">title</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">标题。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.annotations.<span class="text-[var(--color-highlight)]">type</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">类型。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.annotations.<span class="text-[var(--color-highlight)]">url</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">网址。</div></li></div></div></div></div></div></div></li></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.<span class="text-[var(--color-highlight)]">error_message</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">联网搜索链路的错误信息。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.<span class="text-[var(--color-highlight)]">audio</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object | null</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">如果请求输出音频,该对象将包含有关模型音频响应的数据。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.audio.<span class="text-[var(--color-highlight)]">id</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">此音频响应的唯一标识符。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.audio.<span class="text-[var(--color-highlight)]">data</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型生成的 Base64 编码音频,格式为请求中指定的格式。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.audio.<span class="text-[var(--color-highlight)]">expires_at</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">number | null</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">此音频响应过期的 Unix 时间戳(以秒为单位)。当前仅为 <code class="schema-inline-code">null</code>。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.delta.audio.<span class="text-[var(--color-highlight)]">transcript</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string | null</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型生成的音频的文字记录。当前仅为 <code class="schema-inline-code">null</code>。</div></li></div></div></div></div></div></div></li></div></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.<span class="text-[var(--color-highlight)]">finish_reason</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string | null</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型停止生成 token 的原因。如果模型到达自然停止点或提供的停止序列,则为 <code class="schema-inline-code">stop</code>;如果达到请求中指定的最大 token 数,则为 <code class="schema-inline-code">length</code>;如果模型调用了工具,则为 <code class="schema-inline-code">tool_calls</code>。如果内容因触发过滤策略而被拦截,则为 <code class="schema-inline-code">content_filter</code>;如果模型检测到了复读,则为 <code class="schema-inline-code">repetition_truncation</code>。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">choices.<span class="text-[var(--color-highlight)]">index</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">选项列表中对应选项的索引。</div></li></div></div></div></div></div></div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">created</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">对话补全对象创建时的 Unix 时间戳(以秒为单位)。每个数据块均使用相同的时间戳。</div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">id</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">对话补全对象的唯一标识符。每个数据块均使用相同的 ID。</div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">model</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">用于生成结果的模型。</div></li></li><li class="border-b border-solid border-[#eef0f5] mb-[16px]"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">object</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">string</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">对象类型,仅为 <code class="schema-inline-code">chat.completion.chunk</code>。</div></li></li><li class=""><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;"><span class="text-[var(--color-highlight)]">usage</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object | null</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">该对话补全请求的用量信息。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">completion_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型输出内容花费的 token。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">prompt_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">提示词使用的 token 数量。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">total_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">请求中使用的 token 总数(提示词 + 补全结果)。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">completion_tokens_details</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">补全中使用的 token 数量明细。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.completion_tokens_details.<span class="text-[var(--color-highlight)]">reasoning_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">模型为推理生成的 token 数量。</div></li></div></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">prompt_tokens_details</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">提示中使用的 token 数量明细。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.prompt_tokens_details.<span class="text-[var(--color-highlight)]">cached_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">缓存中提供的 token 数量。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.prompt_tokens_details.<span class="text-[var(--color-highlight)]">audio_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">提示中存在的音频输入 token 数量。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.prompt_tokens_details.<span class="text-[var(--color-highlight)]">image_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">提示中存在的图像输入 token 数量。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.prompt_tokens_details.<span class="text-[var(--color-highlight)]">video_tokens</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">提示中存在的视频输入 token 数量。</div></li></div></div></div></div></div></div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.<span class="text-[var(--color-highlight)]">web_search_usage</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">object</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">联网搜索 api 的调用量明细。</div><div class="flex flex-col border border-solid mb-[16px] border-[rgba(223,224,230,0.7)] rounded-[12px] overflow-hidden"><div class="bg-[#fafafa] h-[41.5px] flex items-center cursor-pointer relative rounded-tl-[12px] rounded-tr-[12px]"><div class="absolute left-[11px] flex items-center justify-center w-[16px] h-[16px]"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right text-[#a1a1aa] transition-transform duration-200 rotate-90" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></div><div class="absolute left-[24px] pl-[12px] text-[14px] leading-[17.5px] text-[#505257] select-none">隐藏子属性</div></div><div class="grid transition-[grid-template-rows] duration-200 ease-in-out border-t border-solid border-[#eef0f5] grid-rows-[1fr]"><div class="overflow-hidden"><div class="px-[16px]"><div class="pt-[24px] pb-[8px] flex flex-col gap-[16px]"><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.web_search_usage.<span class="text-[var(--color-highlight)]">tool_usage</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">联网搜索 api 的调用次数。</div></li></div><div class="border-b border-solid border-[#eef0f5] last:border-b-0 pb-[8px] last:pb-0"><li class="list-none flex flex-col relative overflow-hidden"><div class="flex items-center gap-[0px_8px] flex-wrap relative mb-[16px] "><span class="text-[#707277] font-bold text-[14px] leading-[20px] font-bold" style="font-family: Inter;">usage.web_search_usage.<span class="text-[var(--color-highlight)]">page_usage</span></span><span class="bg-[rgba(238,240,245,0.5)] text-[#505257] font-bold text-[12px] leading-[20px] px-[8px] py-0 rounded-[6px]" style="font-family: Inter;">integer</span></div><div class="text-sm text-[#3f4046] mb-[16px] schema-tree_descriptionWrapper__de679def" style="line-height: 24px; font-size: 14px;">联网搜索 api 返回的网页数。</div></li></div></div></div></div></div></div></li></div></div></div></div></div></div></li></li></ul></div></inline-schema-v2></div><div class="block lg:hidden"><div><div class="w-full rounded-[16px] border overflow-hidden" style="border-color: rgb(222, 224, 227); background: rgb(246, 246, 246); height: unset; display: flex; flex-direction: column; margin-bottom: 24px;"><div class="bg-[#f6f6f6] pb-0 pt-0 px-0 rounded-tl-[16px] rounded-tr-[16px]" style="flex-shrink: 0;"><div class="flex items-center h-[50px] mb-[-8px]"><div class="flex items-center px-[8px] py-[4px] flex-1"><div class="bg-[#ededed] p-[3px] rounded-[10px] w-full flex items-center gap-0"><button type="button" class="px-[12px] py-[2px] flex-1 rounded-[8px] transition-colors bg-white" style="font-size: 13px; line-height: 22px; font-weight: 500; color: var(--color-highlight);">curl</button><button type="button" class="px-[12px] py-[2px] flex-1 rounded-[8px] transition-colors bg-transparent" style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">python</button></div></div><div class="flex items-center justify-center pr-[10px]"><div class="flex items-center justify-center rounded-[6px] size-[26px]" style="backdrop-filter: blur(4px);"><button data-slot="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50 size-9 relative !border-gray-200 cursor-pointer !text-black !bg-transparent !border-none hover:!bg-transparent !size-[26px]"><div class="flex size-full items-center justify-center transition-transform duration-300 scale-100 opacity-100"><svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg" class="!size-[26px]" style="width: 26px; height: 26px; min-width: 26px; min-height: 26px;"><path d="M17.6667 9.66675H11.4445C10.4627 9.66675 9.66675 10.4627 9.66675 11.4445V17.6667C9.66675 18.6486 10.4627 19.4445 11.4445 19.4445H17.6667C18.6486 19.4445 19.4445 18.6486 19.4445 17.6667V11.4445C19.4445 10.4627 18.6486 9.66675 17.6667 9.66675Z" stroke="#9F9F9F" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.4898 15.665L6.57514 9.51028C6.43114 8.53872 7.10136 7.63472 8.07202 7.49072L14.2267 6.57605C15.056 6.4525 15.8356 6.92272 16.136 7.66761" stroke="#9F9F9F" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path></svg></div><span class="pointer-events-none absolute inset-0 flex items-center justify-center"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check !size-3.5 transition-all duration-300 scale-90 opacity-0" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg></span></button></div></div></div><div class="relative horizontal-tab_tabScrollWrapper__d03daf8f" style="--tab-bg-color: #f6f6f6;"><button type="button" disabled="" class="horizontal-tab_scrollArrow__d03daf8f horizontal-tab_scrollArrowLeft__d03daf8f horizontal-tab_scrollArrowDisabled__d03daf8f" aria-label="向左滚动"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left" aria-hidden="true"><path d="m15 18-6-6 6-6"></path></svg></button><div class="horizontal-tab_tabScrollContainer__d03daf8f"><div class="flex items-start flex-nowrap min-w-max" style="padding: 0px 34px; gap: 20px;"><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">基础调用</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">流式响应</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">函数调用</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">联网搜索</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">图像输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">音频输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">视频输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 cursor-default"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 500; color: var(--color-highlight);">语音合成</span></div><div class="rounded-tl-[4px] rounded-tr-[4px] w-full" style="background-color: var(--color-highlight); height: 4px; margin-top: 5px; flex-shrink: 0;"></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">结构化输出</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">深度思考</span></div></button></div></div><button type="button" class="horizontal-tab_scrollArrow__d03daf8f horizontal-tab_scrollArrowRight__d03daf8f" aria-label="向右滚动"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></button></div></div><div class="code-block-body-scroll bg-white overflow-auto rounded-bl-[16px] rounded-br-[16px]" style="flex: 1 1 0%; min-height: 0px;"><pre class="m-0 language-bash" style="background: rgb(255, 255, 255); width: fit-content; min-width: 100%; margin: 0px; overflow-x: visible; font-size: 12px; line-height: 21.6px; padding: 20px 23px; height: max-content;"><span class="token function">curl</span> <span class="token parameter variable">--location</span> <span class="token parameter variable">--request</span> POST <span class="token string">'https://api.xiaomimimo.com/v1/chat/completions'</span> <span class="token punctuation">\</span>
<span class="token parameter variable">--header</span> <span class="token string">"api-key: <span class="token variable">$MIMO_API_KEY</span>"</span> <span class="token punctuation">\</span>
<span class="token parameter variable">--header</span> <span class="token string">'Content-Type: application/json'</span> <span class="token punctuation">\</span>
--data-raw <span class="token string">'{
"model": "mimo-v2.5-tts",
"messages": [
{
"role": "user",
"content": "Bright, bouncy, slightly sing-song tone — like you are bursting with good news you can barely hold in. Fast pace, rising pitch at the end."
},
{
"role": "assistant",
"content": "Hey boss — guess what, guess what? I just got the results back and I actually passed! Not just passed, I got a distinction! I know, I know — you told me I was cutting it close, but hey, here we are. Drinks are on me tonight, okay?"
}
],
"audio": {
"format": "wav",
"voice": "mimo_default"
}
}'</span></pre><span class="code-block-body-scroll-tail" aria-hidden="true"></span></div></div><div class="w-full rounded-[16px] border overflow-hidden" style="border-color: rgb(222, 224, 227); background: rgb(246, 246, 246); height: unset; display: flex; flex-direction: column; margin-bottom: 24px;"><div class="bg-[#f6f6f6] pb-0 pt-0 px-0 rounded-tl-[16px] rounded-tr-[16px]" style="flex-shrink: 0;"><div class="flex items-center h-[50px] mb-[-8px]"><div class="flex items-center px-[8px] py-[4px] flex-1"><div class="px-[8px] py-0 leading-[32px] h-[32px]"><span style="font-size: 18px; font-weight: 500; color: rgb(31, 35, 41);">响应</span></div></div><div class="flex items-center justify-center pr-[10px]"><div class="flex items-center justify-center rounded-[6px] size-[26px]" style="backdrop-filter: blur(4px);"><button data-slot="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50 size-9 relative !border-gray-200 cursor-pointer !text-black !bg-transparent !border-none hover:!bg-transparent !size-[26px]"><div class="flex size-full items-center justify-center transition-transform duration-300 scale-100 opacity-100"><svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg" class="!size-[26px]" style="width: 26px; height: 26px; min-width: 26px; min-height: 26px;"><path d="M17.6667 9.66675H11.4445C10.4627 9.66675 9.66675 10.4627 9.66675 11.4445V17.6667C9.66675 18.6486 10.4627 19.4445 11.4445 19.4445H17.6667C18.6486 19.4445 19.4445 18.6486 19.4445 17.6667V11.4445C19.4445 10.4627 18.6486 9.66675 17.6667 9.66675Z" stroke="#9F9F9F" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.4898 15.665L6.57514 9.51028C6.43114 8.53872 7.10136 7.63472 8.07202 7.49072L14.2267 6.57605C15.056 6.4525 15.8356 6.92272 16.136 7.66761" stroke="#9F9F9F" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path></svg></div><span class="pointer-events-none absolute inset-0 flex items-center justify-center"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check !size-3.5 transition-all duration-300 scale-90 opacity-0" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg></span></button></div></div></div><div class="relative horizontal-tab_tabScrollWrapper__d03daf8f" style="--tab-bg-color: #f6f6f6;"><button type="button" disabled="" class="horizontal-tab_scrollArrow__d03daf8f horizontal-tab_scrollArrowLeft__d03daf8f horizontal-tab_scrollArrowDisabled__d03daf8f" aria-label="向左滚动"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left" aria-hidden="true"><path d="m15 18-6-6 6-6"></path></svg></button><div class="horizontal-tab_tabScrollContainer__d03daf8f"><div class="flex items-start flex-nowrap min-w-max" style="padding: 0px 34px; gap: 20px;"><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">基础调用</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">流式响应</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">函数调用</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">联网搜索</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">图像输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">音频输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">视频输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 cursor-default"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 500; color: var(--color-highlight);">语音合成</span></div><div class="rounded-tl-[4px] rounded-tr-[4px] w-full" style="background-color: var(--color-highlight); height: 4px; margin-top: 5px; flex-shrink: 0;"></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">结构化输出</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">深度思考</span></div></button></div></div><button type="button" class="horizontal-tab_scrollArrow__d03daf8f horizontal-tab_scrollArrowRight__d03daf8f" aria-label="向右滚动"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></button></div></div><div class="code-block-body-scroll bg-white overflow-auto rounded-bl-[16px] rounded-br-[16px]" style="flex: 1 1 0%; min-height: 0px;"><pre class="m-0 language-json" style="background: rgb(255, 255, 255); width: fit-content; min-width: 100%; margin: 0px; overflow-x: visible; font-size: 12px; line-height: 21.6px; padding: 20px 23px; height: max-content;"><span class="token punctuation">{</span>
<span class="token property">"id"</span><span class="token operator">:</span> <span class="token string">"6ebed286b58546f6b87fa7fa9d0e806b"</span><span class="token punctuation">,</span>
<span class="token property">"choices"</span><span class="token operator">:</span> <span class="token punctuation">[</span>
<span class="token punctuation">{</span>
<span class="token property">"finish_reason"</span><span class="token operator">:</span> <span class="token string">"stop"</span><span class="token punctuation">,</span>
<span class="token property">"index"</span><span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
<span class="token property">"message"</span><span class="token operator">:</span> <span class="token punctuation">{</span>
<span class="token property">"content"</span><span class="token operator">:</span> <span class="token string">""</span><span class="token punctuation">,</span>
<span class="token property">"role"</span><span class="token operator">:</span> <span class="token string">"assistant"</span><span class="token punctuation">,</span>
<span class="token property">"audio"</span><span class="token operator">:</span> <span class="token punctuation">{</span>
<span class="token property">"id"</span><span class="token operator">:</span> <span class="token string">"979a91904f9a4143928d9e1f54837b4f"</span><span class="token punctuation">,</span>
<span class="token property">"data"</span><span class="token operator">:</span> <span class="token string">"base64Data"</span><span class="token punctuation">,</span>
<span class="token property">"expires_at"</span><span class="token operator">:</span> <span class="token null keyword">null</span><span class="token punctuation">,</span>
<span class="token property">"transcript"</span><span class="token operator">:</span> <span class="token null keyword">null</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token property">"tool_calls"</span><span class="token operator">:</span> <span class="token null keyword">null</span>
<span class="token punctuation">}</span>
<span class="token punctuation">}</span>
<span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token property">"created"</span><span class="token operator">:</span> <span class="token number">1776954802</span><span class="token punctuation">,</span>
<span class="token property">"model"</span><span class="token operator">:</span> <span class="token string">"mimo-v2.5-tts"</span><span class="token punctuation">,</span>
<span class="token property">"object"</span><span class="token operator">:</span> <span class="token string">"chat.completion"</span><span class="token punctuation">,</span>
<span class="token property">"usage"</span><span class="token operator">:</span> <span class="token punctuation">{</span>
<span class="token property">"completion_tokens"</span><span class="token operator">:</span> <span class="token number">97</span><span class="token punctuation">,</span>
<span class="token property">"prompt_tokens"</span><span class="token operator">:</span> <span class="token number">213</span><span class="token punctuation">,</span>
<span class="token property">"total_tokens"</span><span class="token operator">:</span> <span class="token number">310</span><span class="token punctuation">,</span>
<span class="token property">"completion_tokens_details"</span><span class="token operator">:</span> <span class="token punctuation">{</span>
<span class="token property">"reasoning_tokens"</span><span class="token operator">:</span> <span class="token number">0</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token property">"prompt_tokens_details"</span><span class="token operator">:</span> <span class="token punctuation">{</span>
<span class="token property">"cached_tokens"</span><span class="token operator">:</span> <span class="token number">109</span>
<span class="token punctuation">}</span>
<span class="token punctuation">}</span>
<span class="token punctuation">}</span></pre><span class="code-block-body-scroll-tail" aria-hidden="true"></span></div></div></div></div></div><div class="border-t border-neutral-200 w-full min-h-[90px] flex items-center justify-end mt-[32px]"><div class="flex items-start justify-between w-full"><a class="flex max-w-[50%] items-start gap-[4px] pr-[6px] py-[16px] max-w-[416px] rounded-[4px] transition-colors text-[#646a73] hover:text-[var(--color-highlight)] active:text-[var(--color-primary)]" href="/docs/news/news20251216" style="font-size: 18px; line-height: 27px; font-weight: 500;"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left w-5 h-5 mt-[3.5px] min-w-[20px]" aria-hidden="true"><path d="m15 18-6-6 6-6"></path></svg><span>MiMo-V2-Flash 发布 2025/12/16</span></a><a class="flex max-w-[50%] items-start text-right gap-[4px] pl-[6px] pr-0 py-[16px] max-w-[416px] rounded-[4px] transition-colors text-[#646a73] hover:text-[var(--color-highlight)] active:text-[var(--color-primary)]" href="/docs/api/chat/anthropic-api" style="font-size: 18px; line-height: 27px; font-weight: 500;"><span>Anthropic API</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right w-5 h-5 mt-[3.5px] min-w-[20px]" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></a></div></div></div><aside class="toc sticky top-0 hidden pr-[24px] w-[230px] gap-[44px] xl:flex xl:flex-col" aria-label="Table of contents"><div class="flex max-w-[260px] mr-[18px] w-full flex-col mt-[22px] gap-[8px] pl-[8px] pr-0 py-0"><div class="flex flex-col items-start relative shrink-0 w-full"><h3 style="font-size: 14px; line-height: 25px; font-weight: 400; color: rgb(31, 35, 41); margin: 0px;">目录</h3></div><div class="box-border flex flex-col items-start px-0 relative shrink-0 w-full w-[206px]"><div dir="ltr" data-slot="scroll-area" class="relative overflow-x-clip overflow-y-auto w-full" style="position: relative; --radix-scroll-area-corner-width: 0px; --radix-scroll-area-corner-height: 0px;"><style>[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}</style><div data-radix-scroll-area-viewport="" data-slot="scroll-area-viewport" class="focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1" style="overflow: hidden scroll;"><div style="min-width: 100%; display: table;"><div class="style_anchor-container__ceb2c43f flex flex-col gap-[10px] items-start w-full w-[206px]"><div class="style_custom-anchor__ceb2c43f custom-anchor w-full"><div style="display: none;"><div data-anchor-href="#请求地址" data-anchor-title="请求地址" data-anchor-level="2"></div><div data-anchor-href="#请求头" data-anchor-title="请求头" data-anchor-level="2"></div><div data-anchor-href="#请求体" data-anchor-title="请求体" data-anchor-level="2"></div><div data-anchor-href="#chat-响应对象非流式输出" data-anchor-title="Chat 响应对象(非流式输出)" data-anchor-level="2"></div><div data-anchor-href="#chat-响应chunk对象流式输出" data-anchor-title="Chat 响应chunk对象(流式输出)" data-anchor-level="2"></div></div><div class="style_custom-anchor-link__ceb2c43f custom-anchor-link "><div class="relative shrink-0 w-full text-nowrap transition-colors text-[#1f2329] hover:text-[var(--color-highlight)]" style="padding-left: 0px; font-size: 14px; line-height: 20px; font-weight: 400; text-decoration: none; cursor: pointer; width: 100%; max-width: 206px; white-space: normal;">请求地址</div></div><div class="style_custom-anchor-link__ceb2c43f custom-anchor-link "><div class="relative shrink-0 w-full text-nowrap transition-colors text-[#1f2329] hover:text-[var(--color-highlight)]" style="padding-left: 0px; font-size: 14px; line-height: 20px; font-weight: 400; text-decoration: none; cursor: pointer; width: 100%; max-width: 206px; white-space: normal;">请求头</div></div><div class="style_custom-anchor-link__ceb2c43f custom-anchor-link custom-anchor-link-active"><div class="relative shrink-0 w-full text-nowrap transition-colors text-[var(--color-highlight)]" style="padding-left: 0px; font-size: 14px; line-height: 20px; font-weight: 400; text-decoration: none; cursor: pointer; width: 100%; max-width: 206px; white-space: normal;">请求体</div></div><div class="style_custom-anchor-link__ceb2c43f custom-anchor-link "><div class="relative shrink-0 w-full text-nowrap transition-colors text-[#1f2329] hover:text-[var(--color-highlight)]" style="padding-left: 0px; font-size: 14px; line-height: 20px; font-weight: 400; text-decoration: none; cursor: pointer; width: 100%; max-width: 206px; white-space: normal;">Chat 响应对象(非流式输出)</div></div><div class="style_custom-anchor-link__ceb2c43f custom-anchor-link "><div class="relative shrink-0 w-full text-nowrap transition-colors text-[#1f2329] hover:text-[var(--color-highlight)]" style="padding-left: 0px; font-size: 14px; line-height: 20px; font-weight: 400; text-decoration: none; cursor: pointer; width: 100%; max-width: 206px; white-space: normal;">Chat 响应chunk对象(流式输出)</div></div></div></div></div></div></div></div></div><button title="回到顶部" aria-label="回到顶部" type="button" class="text-[#1F2329] ml-2 mt-[5px] flex cursor-pointer items-center self-start text-sm transition undefined"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-up mr-1 inline-block h-4 w-4 align-middle" aria-hidden="true"><path d="m5 12 7-7 7 7"></path><path d="M12 19V5"></path></svg><span>回到顶部</span></button></aside><button class="z-[999] lg:hidden cursor-pointer bg-white box-border flex flex-col items-center justify-center p-[4px] rounded-[999px] shadow-[0px_6px_30px_5px_rgba(0,0,0,0.05),0px_16px_24px_2px_rgba(0,0,0,0.04),0px_8px_10px_-5px_rgba(0,0,0,0.08)] w-[40px] h-[40px] transition-opacity duration-300 opacity-100" aria-label="回到顶部" type="button" style="position: fixed; bottom: 90px; right: 20px;"><svg class="absolute inset-0 w-full h-full pointer-events-none" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg" style="transform: rotate(-90deg);"><circle cx="20" cy="20" r="18.5" fill="none" stroke="var(--color-primary)" stroke-width="3" stroke-dasharray="116.23892818282235" stroke-dashoffset="106.24569940981124" stroke-linecap="round"></circle></svg><div class="box-border flex flex-col gap-[4px] items-center justify-center p-[8px] relative rounded-[3px] shrink-0 w-[40px] h-[40px] z-10"><div class="relative shrink-0 w-[24px] h-[24px] flex items-center justify-center"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.00012 4H20.0001V6H4.00012V4ZM12.0001 7.58579L18.9143 14.5L17.5001 15.9142L13.0001 11.4142V21H11.0001V11.4142L6.50012 15.9142L5.08591 14.5L12.0001 7.58579Z" fill="#646A73"></path></svg></div></div></button><div class="w-[448px] pt-[76px] pr-[40px] hidden lg:block utils_codeBlockWrapper__ad34a85d"><div class="flex flex-col" style="position: sticky; top: 16px;"><div class="flex justify-end mb-[24px] 4xl:hidden"><button type="button" class="toc-dropdown_tocButton__ede87630 ant-dropdown-trigger" aria-label="目录" aria-describedby="_r_o_"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.66683 2.33337L14.3335 2.33337L14.3335 3.66671L1.66683 3.66671L1.66683 2.33337ZM1.66683 7.33337L11.5002 7.33337L11.5002 8.66671L1.66683 8.66671L1.66683 7.33337ZM1.66683 12.3334L6.3335 12.3334L6.3335 13.6667L1.66683 13.6667L1.66683 12.3334Z" fill="currentColor"></path></svg><span class="toc-dropdown_label__ede87630">目录</span></button></div><div><div class="w-full rounded-[16px] border overflow-hidden" style="border-color: rgb(222, 224, 227); background: rgb(246, 246, 246); height: calc(-152px + 50vh); display: flex; flex-direction: column; margin-bottom: 24px;"><div class="bg-[#f6f6f6] pb-0 pt-0 px-0 rounded-tl-[16px] rounded-tr-[16px]" style="flex-shrink: 0;"><div class="flex items-center h-[50px] mb-[-8px]"><div class="flex items-center px-[8px] py-[4px] flex-1"><div class="bg-[#ededed] p-[3px] rounded-[10px] w-full flex items-center gap-0"><button type="button" class="px-[12px] py-[2px] flex-1 rounded-[8px] transition-colors bg-white" style="font-size: 13px; line-height: 22px; font-weight: 500; color: var(--color-highlight);">curl</button><button type="button" class="px-[12px] py-[2px] flex-1 rounded-[8px] transition-colors bg-transparent" style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">python</button></div></div><div class="flex items-center justify-center pr-[10px]"><div class="flex items-center justify-center rounded-[6px] size-[26px]" style="backdrop-filter: blur(4px);"><button data-slot="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50 size-9 relative !border-gray-200 cursor-pointer !text-black !bg-transparent !border-none hover:!bg-transparent !size-[26px]"><div class="flex size-full items-center justify-center transition-transform duration-300 scale-100 opacity-100"><svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg" class="!size-[26px]" style="width: 26px; height: 26px; min-width: 26px; min-height: 26px;"><path d="M17.6667 9.66675H11.4445C10.4627 9.66675 9.66675 10.4627 9.66675 11.4445V17.6667C9.66675 18.6486 10.4627 19.4445 11.4445 19.4445H17.6667C18.6486 19.4445 19.4445 18.6486 19.4445 17.6667V11.4445C19.4445 10.4627 18.6486 9.66675 17.6667 9.66675Z" stroke="#9F9F9F" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.4898 15.665L6.57514 9.51028C6.43114 8.53872 7.10136 7.63472 8.07202 7.49072L14.2267 6.57605C15.056 6.4525 15.8356 6.92272 16.136 7.66761" stroke="#9F9F9F" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path></svg></div><span class="pointer-events-none absolute inset-0 flex items-center justify-center"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check !size-3.5 transition-all duration-300 scale-90 opacity-0" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg></span></button></div></div></div><div class="relative horizontal-tab_tabScrollWrapper__d03daf8f horizontal-tab_noScrollShadow__d03daf8f" style="--tab-bg-color: #f6f6f6;"><div class="horizontal-tab_tabScrollContainer__d03daf8f"><div class="flex items-start flex-nowrap min-w-max" style="padding: 0px 16px; gap: 20px;"><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 cursor-default"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 500; color: var(--color-highlight);">基础调用</span></div><div class="rounded-tl-[4px] rounded-tr-[4px] w-full" style="background-color: var(--color-highlight); height: 4px; margin-top: 5px; flex-shrink: 0;"></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">流式响应</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">函数调用</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">联网搜索</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">图像输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">音频输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">视频输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">语音合成</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">结构化输出</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">深度思考</span></div></button></div></div></div></div><div class="code-block-body-scroll bg-white overflow-auto rounded-bl-[16px] rounded-br-[16px]" style="flex: 1 1 0%; min-height: 0px;"><pre class="m-0 language-bash" style="background: rgb(255, 255, 255); width: fit-content; min-width: 100%; margin: 0px; overflow-x: visible; font-size: 12px; line-height: 21.6px; padding: 20px 23px; height: max-content;"><span class="token function">curl</span> <span class="token parameter variable">--location</span> <span class="token parameter variable">--request</span> POST <span class="token string">'https://api.xiaomimimo.com/v1/chat/completions'</span> <span class="token punctuation">\</span>
<span class="token parameter variable">--header</span> <span class="token string">"api-key: <span class="token variable">$MIMO_API_KEY</span>"</span> <span class="token punctuation">\</span>
<span class="token parameter variable">--header</span> <span class="token string">"Content-Type: application/json"</span> <span class="token punctuation">\</span>
--data-raw <span class="token string">'{
"model": "mimo-v2.5-pro",
"messages": [
{
"role": "system",
"content": "You are MiMo, an AI assistant developed by Xiaomi. Today is date: Tuesday, December 16, 2025. Your knowledge cutoff date is December 2024."
},
{
"role": "user",
"content": "please introduce yourself"
}
],
"max_completion_tokens": 1024,
"temperature": 1.0,
"top_p": 0.95,
"stream": false,
"stop": null,
"frequency_penalty": 0,
"presence_penalty": 0,
"thinking": {
"type": "disabled"
}
}'</span></pre><span class="code-block-body-scroll-tail" aria-hidden="true"></span></div></div><div class="w-full rounded-[16px] border overflow-hidden" style="border-color: rgb(222, 224, 227); background: rgb(246, 246, 246); height: calc(-152px + 50vh); display: flex; flex-direction: column; margin-bottom: 24px;"><div class="bg-[#f6f6f6] pb-0 pt-0 px-0 rounded-tl-[16px] rounded-tr-[16px]" style="flex-shrink: 0;"><div class="flex items-center h-[50px] mb-[-8px]"><div class="flex items-center px-[8px] py-[4px] flex-1"><div class="px-[8px] py-0 leading-[32px] h-[32px]"><span style="font-size: 18px; font-weight: 500; color: rgb(31, 35, 41);">响应</span></div></div><div class="flex items-center justify-center pr-[10px]"><div class="flex items-center justify-center rounded-[6px] size-[26px]" style="backdrop-filter: blur(4px);"><button data-slot="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50 size-9 relative !border-gray-200 cursor-pointer !text-black !bg-transparent !border-none hover:!bg-transparent !size-[26px]"><div class="flex size-full items-center justify-center transition-transform duration-300 scale-100 opacity-100"><svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg" class="!size-[26px]" style="width: 26px; height: 26px; min-width: 26px; min-height: 26px;"><path d="M17.6667 9.66675H11.4445C10.4627 9.66675 9.66675 10.4627 9.66675 11.4445V17.6667C9.66675 18.6486 10.4627 19.4445 11.4445 19.4445H17.6667C18.6486 19.4445 19.4445 18.6486 19.4445 17.6667V11.4445C19.4445 10.4627 18.6486 9.66675 17.6667 9.66675Z" stroke="#9F9F9F" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.4898 15.665L6.57514 9.51028C6.43114 8.53872 7.10136 7.63472 8.07202 7.49072L14.2267 6.57605C15.056 6.4525 15.8356 6.92272 16.136 7.66761" stroke="#9F9F9F" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path></svg></div><span class="pointer-events-none absolute inset-0 flex items-center justify-center"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check !size-3.5 transition-all duration-300 scale-90 opacity-0" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg></span></button></div></div></div><div class="relative horizontal-tab_tabScrollWrapper__d03daf8f horizontal-tab_noScrollShadow__d03daf8f" style="--tab-bg-color: #f6f6f6;"><div class="horizontal-tab_tabScrollContainer__d03daf8f"><div class="flex items-start flex-nowrap min-w-max" style="padding: 0px 16px; gap: 20px;"><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0 cursor-default"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 500; color: var(--color-highlight);">基础调用</span></div><div class="rounded-tl-[4px] rounded-tr-[4px] w-full" style="background-color: var(--color-highlight); height: 4px; margin-top: 5px; flex-shrink: 0;"></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">流式响应</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">函数调用</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">联网搜索</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">图像输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">音频输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">视频输入</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">语音合成</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">结构化输出</span></div></button><button type="button" class="flex flex-col items-center cursor-pointer pt-[9px] pb-0 flex-shrink-0"><div class="flex gap-[2px] items-center whitespace-nowrap"><span style="font-size: 13px; line-height: 22px; font-weight: 400; color: rgb(100, 106, 115);">深度思考</span></div></button></div></div></div></div><div class="code-block-body-scroll bg-white overflow-auto rounded-bl-[16px] rounded-br-[16px]" style="flex: 1 1 0%; min-height: 0px;"><pre class="m-0 language-json" style="background: rgb(255, 255, 255); width: fit-content; min-width: 100%; margin: 0px; overflow-x: visible; font-size: 12px; line-height: 21.6px; padding: 20px 23px; height: max-content;"><span class="token punctuation">{</span>
<span class="token property">"id"</span><span class="token operator">:</span> <span class="token string">"8b51f9e0515949cb8207fbd35ea6ea5c"</span><span class="token punctuation">,</span>
<span class="token property">"choices"</span><span class="token operator">:</span> <span class="token punctuation">[</span>
<span class="token punctuation">{</span>
<span class="token property">"finish_reason"</span><span class="token operator">:</span> <span class="token string">"stop"</span><span class="token punctuation">,</span>
<span class="token property">"index"</span><span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
<span class="token property">"message"</span><span class="token operator">:</span> <span class="token punctuation">{</span>
<span class="token property">"content"</span><span class="token operator">:</span> <span class="token string">"Hello! I'm MiMo, Xiaomi's AI assistant created by the Xiaomi LLM-Core team. I'm here to chat, help answer questions, and assist with various tasks—whether it's providing information, brainstorming ideas, or just having a friendly conversation. Feel free to ask me anything, and I'll do my best to help! 😊"</span><span class="token punctuation">,</span>
<span class="token property">"role"</span><span class="token operator">:</span> <span class="token string">"assistant"</span><span class="token punctuation">,</span>
<span class="token property">"tool_calls"</span><span class="token operator">:</span> <span class="token null keyword">null</span>
<span class="token punctuation">}</span>
<span class="token punctuation">}</span>
<span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token property">"created"</span><span class="token operator">:</span> <span class="token number">1776848906</span><span class="token punctuation">,</span>
<span class="token property">"model"</span><span class="token operator">:</span> <span class="token string">"mimo-v2.5-pro"</span><span class="token punctuation">,</span>
<span class="token property">"object"</span><span class="token operator">:</span> <span class="token string">"chat.completion"</span><span class="token punctuation">,</span>
<span class="token property">"usage"</span><span class="token operator">:</span> <span class="token punctuation">{</span>
<span class="token property">"completion_tokens"</span><span class="token operator">:</span> <span class="token number">72</span><span class="token punctuation">,</span>
<span class="token property">"prompt_tokens"</span><span class="token operator">:</span> <span class="token number">57</span><span class="token punctuation">,</span>
<span class="token property">"total_tokens"</span><span class="token operator">:</span> <span class="token number">129</span><span class="token punctuation">,</span>
<span class="token property">"completion_tokens_details"</span><span class="token operator">:</span> <span class="token punctuation">{</span>
<span class="token property">"reasoning_tokens"</span><span class="token operator">:</span> <span class="token number">0</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token property">"prompt_tokens_details"</span><span class="token operator">:</span> <span class="token null keyword">null</span>
<span class="token punctuation">}</span>
<span class="token punctuation">}</span></pre><span class="code-block-body-scroll-tail" aria-hidden="true"></span></div></div></div><button title="回到顶部" aria-label="回到顶部" type="button" class="text-[#1F2329] ml-2 mt-[5px] flex cursor-pointer items-center self-start text-sm transition 4xl:hidden"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-up mr-1 inline-block h-4 w-4 align-middle" aria-hidden="true"><path d="m5 12 7-7 7 7"></path><path d="M12 19V5"></path></svg><span>回到顶部</span></button></div></div></div></div><footer class="bg-[#f5f6f8] border-[#e5e6eb] border-solid flex items-center justify-center w-full px-0 py-[22px]"><div class="flex flex-col justify-center items-center text-center "><p class="text-[11px] leading-[20px] font-normal mb-0 flex flex-col md:flex-row md:flex-wrap lg:flex-nowrap md:justify-center md:items-center text-[#8f959e]"><a class="whitespace-nowrap text-inherit" rel="noopener noreferrer" href="/docs/terms/user-agreement" target="_blank">Xiaomi MiMo 开放平台服务协议</a><span class="hidden md:inline"> | </span><a class="whitespace-nowrap text-inherit" rel="noopener noreferrer" href="/docs/terms/privacy-policy" target="_blank">Xiaomi MiMo 开放平台隐私政策</a></p><p class="text-[11px] leading-[20px] font-normal flex flex-col md:flex-row md:flex-wrap xl:flex-nowrap md:justify-center md:items-center text-[#8f959e]"><span class="whitespace-nowrap block md:w-full xl:w-auto xl:flex-shrink-0">Copyright©2025 Xiaomi. All Rights Reserved</span><span class="hidden xl:inline"> | </span><a class="whitespace-nowrap block md:w-full xl:w-auto xl:flex-shrink-0 text-inherit" href="https://mp.weixin.qq.com/s/67LmJeFdhi58UpPk9Wbssg" target="_blank" rel="noopener noreferrer">Xiaomi MiMo : 备案号 Beijing-XiaomiMiMo-202601050182</a><span class="hidden xl:inline"> | </span><a class="word-break-keep-all block md:w-full xl:w-auto xl:flex-shrink-0 text-inherit" href="https://cdn.cnbj3-fusion.fds.api.mi-img.com/chatbot-prod/system/%E5%85%AC%E7%A4%BA%E5%86%85%E5%AE%B9_%E7%BD%91%E4%BF%A1%E7%AE%97%E5%A4%87110108916280901240011%E5%8F%B7.pdf" target="_blank" rel="noopener noreferrer">小米大语言模型算法 : 备案号 网信算备110108916280901240011号</a><span class="hidden xl:inline"> | </span><a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener noreferrer" class="word-break-keep-all block md:w-full xl:w-auto xl:flex-shrink-0 text-inherit">京ICP备17028681号-55</a></p></div></footer></main></div></div></div><script>(function(){var g={},h={};function n(e){var c=h[e];if(c!==void 0)return c.exports;var r=h[e]={exports:{}};return g[e].call(r.exports,r,r.exports,n),r.exports}n.m=g,(function(){n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,{a:c}),c}})(),(function(){var e=Object.getPrototypeOf?function(r){return Object.getPrototypeOf(r)}:function(r){return r.__proto__},c;n.t=function(r,a){if(a&1&&(r=this(r)),a&8||typeof r=="object"&&r&&(a&4&&r.__esModule||a&16&&typeof r.then=="function"))return r;var o=Object.create(null);n.r(o);var i={};c=c||[null,e({}),e([]),e(e)];for(var t=a&2&&r;(typeof t=="object"||typeof t=="function")&&!~c.indexOf(t);t=e(t))Object.getOwnPropertyNames(t).forEach(function(d){i[d]=function(){return r[d]}});return i.default=function(){return r},n.d(o,i),o}})(),(function(){n.d=function(e,c){for(var r in c)n.o(c,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:c[r]})}})(),(function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(c,r){return n.f[r](e,c),c},[]))}})(),(function(){n.u=function(e){return"static/"+(e===8792?"main":e)+"."+{131:"3f1be451",303:"b3889d56",326:"e08bd2ed",440:"5770bf8c",477:"4fe8db94",642:"68cb5473",685:"fea3b832",1229:"981d2f94",1338:"ed6aafbd",1474:"60bebbf7",1704:"cd93dd8f",1919:"7b27a9d3",2076:"bd65f53c",2146:"a2dd7726",2266:"28a0a2e2",2338:"947809a9",2588:"354f7380",2687:"210d2a68",3039:"f536ac3b",3258:"7cce43fb",3437:"b8aa8c7f",3470:"ac1e0d50",3872:"98449acf",3941:"c17ab693",4017:"c0442bce",4363:"19a3f323",4394:"0cdce813",4465:"fcce8bd1",4524:"dcdced7c",4576:"747d96d6",4873:"ac1c746a",4939:"34827ebd",5261:"609bf420",5633:"a4a2fbeb",5668:"9857f915",5674:"7ec80c72",5703:"ac2da06d",5716:"a7267d24",5830:"fb5c5019",5855:"468238bd",5962:"1abab088",6014:"c0b31a89",6081:"f56692e7",6295:"5c913ff3",6380:"79a6075d",6571:"e6cd15f8",6685:"be2a9829",6722:"e650baac",6907:"2da82e60",6930:"e8ed018c",6956:"ae1ba55c",7026:"b3bb7ecc",7054:"031f738e",7115:"771a0700",7145:"7a7da254",7219:"cb2ce260",7298:"5e80be7d",7620:"0632d17d",8207:"faf46494",8235:"66cff5e8",8352:"5343ba14",8596:"9c7aff04",8622:"bb3b2cd8",8732:"b3610c4e",8792:"c30cccb4",8971:"065af445",8977:"72783658",9074:"66766d3a",9134:"694ae072",9357:"6ea38e9b",9424:"fa452350",9607:"b8c8e292",9711:"411f7d39",9818:"cdb68a58",9819:"b9f81b87",9841:"274258c0",9861:"8764b5cd",9880:"e9cf9df1",9949:"7392ef7a"}[e]+".chunk.js"}})(),(function(){n.miniCssF=function(e){return"static/"+({8597:"docs-styles",8792:"main"}[e]||e)+"."+{2687:"47276ca8",4017:"31b24793",5962:"9f618428",6907:"5dc743d8",8207:"0da16249",8597:"635b4b26",8792:"c070fa1f",9819:"5c4009b7"}[e]+".chunk.css"}})(),(function(){n.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})()})(),(function(){n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)}})(),(function(){var e={},c="mimo_document:";n.l=function(r,a,o,i){if(e[r]){e[r].push(a);return}var t,d;if(o!==void 0)for(var u=document.getElementsByTagName("script"),f=0;f<u.length;f++){var s=u[f];if(s.getAttribute("src")==r||s.getAttribute("data-webpack")==c+o){t=s;break}}t||(d=!0,t=document.createElement("script"),t.charset="utf-8",n.nc&&t.setAttribute("nonce",n.nc),t.setAttribute("data-webpack",c+o),t.src=r,t.src.indexOf(window.location.origin+"/")!==0&&(t.crossOrigin="anonymous")),e[r]=[a];var b=function(m,p){t.onerror=t.onload=null,clearTimeout(l);var _=e[r];if(delete e[r],t.parentNode&&t.parentNode.removeChild(t),_&&_.forEach(function(v){return v(p)}),m)return m(p)},l=setTimeout(b.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=b.bind(null,t.onerror),t.onload=b.bind(null,t.onload),d&&document.head.appendChild(t)}})(),(function(){n.r=function(e){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(function(){n.p="/"})(),(function(){if(!(typeof document>"u")){var e=function(o,i,t,d,u){var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",n.nc&&(f.nonce=n.nc);var s=function(b){if(f.onerror=f.onload=null,b.type==="load")d();else{var l=b&&b.type,m=b&&b.target&&b.target.href||i,p=new Error("Loading CSS chunk "+o+` failed.
(`+l+": "+m+")");p.name="ChunkLoadError",p.code="CSS_CHUNK_LOAD_FAILED",p.type=l,p.request=m,f.parentNode&&f.parentNode.removeChild(f),u(p)}};return f.onerror=f.onload=s,f.href=i,f.href.indexOf(window.location.origin+"/")!==0&&(f.crossOrigin="anonymous"),t?t.parentNode.insertBefore(f,t.nextSibling):document.head.appendChild(f),f},c=function(o,i){for(var t=document.getElementsByTagName("link"),d=0;d<t.length;d++){var u=t[d],f=u.getAttribute("data-href")||u.getAttribute("href");if(u.rel==="stylesheet"&&(f===o||f===i))return u}for(var s=document.getElementsByTagName("style"),d=0;d<s.length;d++){var u=s[d],f=u.getAttribute("data-href");if(f===o||f===i)return u}},r=function(o){return new Promise(function(i,t){var d=n.miniCssF(o),u=n.p+d;if(c(d,u))return i();e(o,u,null,i,t)})},a={4577:0};n.f.miniCss=function(o,i){var t={2687:1,4017:1,5962:1,6907:1,8207:1,8597:1,8792:1,9819:1};a[o]?i.push(a[o]):a[o]!==0&&t[o]&&i.push(a[o]=r(o).then(function(){a[o]=0},function(d){throw delete a[o],d}))}}})(),(function(){var e={4577:0};n.f.j=function(a,o){var i=n.o(e,a)?e[a]:void 0;if(i!==0)if(i)o.push(i[2]);else if(a!=8597){var t=new Promise(function(s,b){i=e[a]=[s,b]});o.push(i[2]=t);var d=n.p+n.u(a),u=new Error,f=function(s){if(n.o(e,a)&&(i=e[a],i!==0&&(e[a]=void 0),i)){var b=s&&(s.type==="load"?"missing":s.type),l=s&&s.target&&s.target.src;u.message="Loading chunk "+a+` failed.
(`+b+": "+l+")",u.name="ChunkLoadError",u.type=b,u.request=l,i[1](u)}};n.l(d,f,"chunk-"+a,a)}else e[a]=0};var c=function(a,o){var i=o[0],t=o[1],d=o[2],u,f,s=0;if(i.some(function(l){return e[l]!==0})){for(u in t)n.o(t,u)&&(n.m[u]=t[u]);if(d)var b=d(n)}for(a&&a(o);s<i.length;s++)f=i[s],n.o(e,f)&&e[f]&&e[f][0](),e[f]=0},r=self.webpackChunkmimo_document=self.webpackChunkmimo_document||[];r.forEach(c.bind(null,0)),r.push=c.bind(null,r.push.bind(r))})();var y={};Promise.all([n.e(8597),n.e(3470),n.e(8792)]).then(n.bind(n,48585))})();</script><script src="https://ssl-cdn.static.browser.mi-img.com/mistat-data/pubsub-v2/pubsub.js" async=""></script></body>