{"id":689,"date":"2025-03-22T22:33:24","date_gmt":"2025-03-22T14:33:24","guid":{"rendered":"https:\/\/lucas2011.top\/?p=689"},"modified":"2025-03-30T14:17:25","modified_gmt":"2025-03-30T06:17:25","slug":"latex2svgapi%e4%b8%ad%e6%96%87%e6%96%87%e6%a1%a3","status":"publish","type":"post","link":"https:\/\/lucas2011.top\/index.php\/archives\/689","title":{"rendered":"latex2svgAPI\u4e2d\u6587\u6587\u6863"},"content":{"rendered":"<p><script>\n  iziToast.show({\n      title: '\u672c\u6587\u5177\u6709\u65f6\u6548\u6027',\n      message: \"\u672c\u6587\u6700\u540e\u540c\u6b65\u4e8e2025\u5e743\u670830\u65e5 13:51<br \/>\u63d0\u4ea4\u54c8\u5e0c\u4e3a2b9b2e1e12aa490ed4ed89cb2f0fa1cc71849a2f\",\n      class: 'shadow-sm',\n      position: 'topRight',\n      backgroundColor: 'var(--themecolor)',\n      titleColor: '#ffffff',\n      messageColor: '#ffffff',\n      iconColor: '#ffffff',\n      progressBarColor: '#ffffff',\n      icon: 'fa fa-info',\n      timeout: 8000\n  });\n  <\/script><\/p>\n<h1>latex2svgAPI<\/h1>\n<p>\u4e00\u4e2a\u7b80\u5355\u7684Python\u811a\u672c\uff0c\u5141\u8bb8\u7528\u6237\u901a\u8fc7API\u7f16\u8bd1LaTeX\u5e76\u83b7\u53d6SVG\u8f93\u51fa\u3002<\/p>\n<p>github\u4ed3\u5e93\uff1a<a href=\"https:\/\/github.com\/Lucas2011wastaken\/latex2svgAPI\">https:\/\/github.com\/Lucas2011wastaken\/latex2svgAPI<\/a><br \/>\n\u7ed9\u6211\u4e2astar\u5427\u6c42\u4f60\u5566(\u3002\u30fb\u03c9\u30fb\u3002)<br \/>\n\u6709\u4ec0\u4e48\u95ee\u9898\u6b22\u8fce\u5230github\u4e0a\u63d0\u4ea4issues\uff0c\u4e5f\u6b22\u8fcePR\uff01<\/p>\n<p>\u63a8\u8350\u670d\u52a1\u5668\u5e73\u53f0\uff1aLinux<\/p>\n<blockquote>\n<p><em>\u6ce8\u610f\uff1a<\/em> \u56e0\u5176\u5feb\u901f\u7684LaTeX\u7f16\u8bd1\u901f\u5ea6<\/p>\n<\/blockquote>\n<p>\u4f7f\u7528\u7684\u5305\uff1achemfig, mhchem, ctex, tikz\uff08\u53ef\u6839\u636e\u9700\u6c42\u6dfb\u52a0\uff09<\/p>\n<h1>\u529f\u80fd<\/h1>\n<h2>\u4f7f\u7528\u539f\u751fLaTeX\u73af\u5883\u7f16\u8bd1<\/h2>\n<p>\u901a\u8fc7\u8c03\u7528\u9884\u5148\u5b89\u88c5\u7684LaTeX\u73af\u5883\uff08\u9ed8\u8ba4\u4f7f\u7528XeLaTeX\uff09\uff0c\u5c06\u8fd4\u56de\u6700&quot;\u6b63\u5b97&quot;\u7684LaTeX\u8f93\u51fa\uff0c\u652f\u6301<code>tikz<\/code>\u3001<code>chemfig<\/code>\u7b49\u5b8f\u5305\u3002<\/p>\n<p>\u540c\u65f6\u4f1a\u63d0\u4f9b\u8be6\u7ec6\u7684\u9519\u8bef\u8f93\u51fa\uff0c\u65b9\u4fbf\u7528\u6237\u4fee\u6b63\u62fc\u5199\u9519\u8bef\u3002<\/p>\n<h2>\u4e2d\u6587\u652f\u6301<\/h2>\n<p>\u652f\u6301\u4e2d\u6587\u5b57\u7b26\uff0c\u53ea\u9700\u6b63\u786e\u653e\u7f6e\u5728LaTeX\u73af\u5883\u4e2d\u3002\u4f8b\u5982\uff1a<code>$\\text{\u4e2d\u6587}$<\/code><\/p>\n<h2>\u7cbe\u51c6\u53ef\u8c03\u7684\u81ea\u9002\u5e94\u8fb9\u7f18\u88c1\u526a<\/h2>\n<p>\u901a\u8fc7\u4f7f\u7528Standalone\u6587\u6863\u7c7b\uff0c\u81ea\u52a8\u53bb\u9664\u767d\u8fb9\u3002\u60a8\u4e5f\u53ef\u4ee5\u901a\u8fc7<code>border=<\/code>\u53c2\u6570\u81ea\u5b9a\u4e49\u8fb9\u8ddd\u3002<\/p>\n<h2>\u5b8f\u5b9a\u4e49\u652f\u6301<\/h2>\n<p>\u5f53\u5f15\u5165\u67d0\u4e9b\u5b8f\u5b9a\u4e49\u65f6\uff0c\u53ef\u80fd\u9700\u8981\u4e8c\u6b21\u7f16\u8bd1\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e<code>twicecompile=true<\/code>\u5b9e\u73b0\u3002<\/p>\n<h2>\u9ad8\u7ea7\u7f13\u5b58<\/h2>\n<p>\u4e3a\u7279\u5b9a\u7528\u6237\u63d0\u4f9b\u4e13\u5c5e\u7f13\u5b58\u533a\u3002\u901a\u8fc7\u6307\u5b9a<code>superiorcacheid<\/code>\u4e0d\u80fd\u5305\u62ec\u975e\u6cd5\u5b57\u7b26\uff08i.e. \uff09\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u4fdd\u5b58\u6700\u8fd1\u4e00\u6b21\u6210\u529f\u7684\u7f16\u8bd1\u7ed3\u679c\u3002\u5f53\u7528\u6237\u518d\u6b21\u8bf7\u6c42\u5b8c\u5168\u76f8\u540c\u7684\u7f16\u8bd1\u5185\u5bb9\uff08\u5373\u76f8\u540c\u7684<code>superiorcacheid<\/code>\uff09\u65f6\uff0c\u5c06\u76f4\u63a5\u8fd4\u56de\u7f13\u5b58\u7ed3\u679c\u3002<\/p>\n<p>\u9ad8\u7ea7\u7f13\u5b58\u652f\u6301\u4fbf\u6377\u7684\u7ba1\u7406\u529f\u80fd\uff08\u5217\u8868\u67e5\u770b\u3001\u5220\u9664\u7b49\uff09\u3002<\/p>\n<p><code>superiorcacheid<\/code>\u4e0d\u80fd\u5305\u62ec\u975e\u6cd5\u5b57\u7b26\uff08i.e. <code>\/?.\\@#$&amp;()|:*;&lt;&gt;&quot;<\/code>\uff09<\/p>\n<p>\u4f60\u53ef\u4ee5\u5728\u4e0d\u6cc4\u9732token\u7684\u524d\u63d0\u4e0b\u901a\u8fc7\u6bcf\u4e2asuperiorcache\u7684UID\u6765\u8bbf\u95ee\u5b83\u4eec\uff0c\u53e6\u89c1<a href=\"https:\/\/lucas2011.top\/index.php\/archives\/689#header-id-15\">&quot;\/superiorcache&quot; \u63a5\u53e3<\/a><\/p>\n<h2>\u7528\u6237\u63a7\u5236<\/h2>\n<p>\u901a\u8fc7\u5728<code>user.json<\/code>\u4e2d\u914d\u7f6e\uff0c\u53ef\u4ee5\u4e3a\u7279\u5b9a\u7528\u6237\u5f00\u542fAPI\u8bbf\u95ee\uff0c\u5e76\u9650\u5236\u4f7f\u7528\u6b21\u6570\u3002<\/p>\n<p>\u82e5\u7528\u6237\u5728<code>user.json<\/code>\u4e2d\u88ab\u914d\u7f6e\u4e3a\u9ad8\u7ea7\u7528\u6237\uff0c\u8be5\u7528\u6237\u5c06\u62e5\u6709\u4e13\u5c5e\u7f13\u5b58\u533a\uff0cSVG\u8f93\u51fa\u4f1a\u88ab\u7279\u522b\u7f13\u5b58\u3002\u5f53\u7528\u6237\u4f7f\u7528\u76f8\u540c<code>superiorcacheid<\/code>\u518d\u6b21\u8c03\u7528\u65f6\uff0cAPI\u5c06\u76f4\u63a5\u8fd4\u56de\u7f13\u5b58\u7ed3\u679c\u4ee5\u4f18\u5316\u5ef6\u8fdf\u3002<\/p>\n<h1>API\u8c03\u7528\u8bf4\u660e<\/h1>\n<p>\u7aef\u53e3\uff1a443<\/p>\n<h2><code>&quot;\/&quot;<\/code>\uff1a<\/h2>\n<p>\u8bf7\u6c42\u65b9\u6cd5\uff1aGET<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center;\">\u53c2\u6570<\/th>\n<th style=\"text-align: center;\">\u7c7b\u578b<\/th>\n<th style=\"text-align: left;\">\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><code>token<\/code><\/td>\n<td style=\"text-align: center;\">str<\/td>\n<td style=\"text-align: left;\">\u7528\u6237\u6807\u8bc6\u5b57\u7b26\u4e32\uff0c\u9700\u5728<code>user.json<\/code>\u4e2d\u914d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><code>latex<\/code><\/td>\n<td style=\"text-align: center;\">str<\/td>\n<td style=\"text-align: left;\">(\u53ef\u9009)\u9700\u8981\u7f16\u8bd1\u7684\u4ee3\u7801\uff0c\u6ce8\u610f\u68c0\u67e5\u662f\u5426\u9700\u8981\u4f7f\u7528<code>$<\/code>\u5305\u88f9\uff08\u5982<code>\\LaTeX<\/code>\u65e0\u9700\u5305\u88f9\uff09\uff0c\u9ed8\u8ba4\u503c\u4e3a<code>\\LaTeX<\/code><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><code>border<\/code><\/td>\n<td style=\"text-align: center;\">float<\/td>\n<td style=\"text-align: left;\">(\u53ef\u9009)\u63a7\u5236\u8f93\u51fa\u8fb9\u8ddd\uff0c\u9ed8\u8ba40\u3002\u4f8b\u5982<code>border=5.0<\/code><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><code>twicecompile<\/code><\/td>\n<td style=\"text-align: center;\">bool<\/td>\n<td style=\"text-align: left;\">(\u53ef\u9009)\u9700\u8981\u4e8c\u6b21\u7f16\u8bd1\u65f6\u4f7f\u7528\uff08\u5982\u5b8f\u5b9a\u4e49\u3001\u805a\u5408\u7269\u7b49\u60c5\u51b5\uff09\uff0c\u9ed8\u8ba4False<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><code>superiorcacheid<\/code><\/td>\n<td style=\"text-align: center;\">str<\/td>\n<td style=\"text-align: left;\">(\u53ef\u9009)\u7528\u4e8e\u6307\u5b9a\u9ad8\u7ea7\u7f13\u5b58\u7684\u552f\u4e00\u6807\u8bc6\u540d\uff08\u4e0b\u65b9\u6709\u8be6\u7ec6\u8bf4\u660e\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u6210\u529f\uff1a<\/h3>\n<p><code>latexout.svg<\/code><\/p>\n<h3>\u5931\u8d25\uff1a<\/h3>\n<ul>\n<li><code>{&quot;error&quot;: &quot;Unauthorised&quot;}<\/code>: \u65e0\u6548token\uff0c\u8bf7\u68c0\u67e5<code>user.json<\/code>\u914d\u7f6e<\/li>\n<li><code>{&quot;error&quot;: &quot;InsufficientUsage&quot;}<\/code>: \u4f7f\u7528\u6b21\u6570\u5df2\u8017\u5c3d\uff0c\u8bf7\u4fee\u6539<code>user.json<\/code>\u4e2d\u7684<code>maxusage<\/code><\/li>\n<li><code>{&quot;error&quot;: &quot;LaTeXCompileFault&quot;}<\/code>: LaTeX\u8bed\u6cd5\u9519\u8bef\uff0c\u4e0b\u65b9\u9644\u5177\u4f53\u9519\u8bef\u4fe1\u606f<\/li>\n<li><code>{&quot;error&quot;: &quot;File not found&quot;}<\/code>: \u627e\u4e0d\u5230SVG\u6587\u4ef6\uff0c\u8bf7\u68c0\u67e5pdf2svg\u5b89\u88c5<\/li>\n<\/ul>\n<h3>\u793a\u4f8b<\/h3>\n<pre><code>https:\/\/latex2svg.api.lucas2011.top\/?token=gzgz&amp;twicecompile=true&amp;latex=$ \\ce{Z }\\left[\\chemfig{[,0.6] W(-[:120]M)(-[4]M)(-[:-120]M)-[@{left,0.5}:-30,0.8]W(-[2]M)(-[6]M)-[@{right,0.5}:30,0.8]X-[2]Y(=[0]X)(=[4]X)-[2]X}\\right]^- \\polymerdelim[delimiters={()},height=2pt, depth=5pt, indice=n]{left}{right} $<\/code><\/pre>\n<p>\u7ed3\u679c:<br \/>\n<div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/raw.githubusercontent.com\/Lucas2011wastaken\/latex2svgAPI\/refs\/heads\/main\/cache\/1740027670.3095944\/latexoutput.svg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/raw.githubusercontent.com\/Lucas2011wastaken\/latex2svgAPI\/refs\/heads\/main\/cache\/1740027670.3095944\/latexoutput.svg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" \/><\/div><\/p>\n<pre><code>https:\/\/latex2svg.api.lucas2011.top\/?token=gzgz<\/code><\/pre>\n<p>\u7ed3\u679c:<br \/>\n<div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/raw.githubusercontent.com\/Lucas2011wastaken\/latex2svgAPI\/refs\/heads\/main\/cache\/1740027512.4471781\/latexoutput.svg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/raw.githubusercontent.com\/Lucas2011wastaken\/latex2svgAPI\/refs\/heads\/main\/cache\/1740027512.4471781\/latexoutput.svg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" \/><\/div><\/p>\n<pre><code>https:\/\/latex2svg.api.lucas2011.top\/?token=gzgz&amp;superiorcacheid=benzene<\/code><\/pre>\n<p>\u7ed3\u679c:<\/p>\n<p><strong>\u9664\u975e\u4f60\u77e5\u9053\u81ea\u5df1\u5728\u505a\u4ec0\u4e48\uff0c\u5426\u5219\u4e0d\u5efa\u8bae\u4f7f\u7528\u6b64\u7c7b\u65b9\u5f0f\u3002<\/strong> \u670d\u52a1\u5668\u5c06\u8fd4\u56deID\u4e3a&quot;benzene&quot;\u7684\u9ad8\u7ea7\u7f13\u5b58\uff08\u82e5\u5b58\u5728\uff09\uff0c\u5426\u5219\u8fd4\u56de\u9ed8\u8ba4\u7f16\u8bd1\u7ed3\u679c\uff1a<div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/raw.githubusercontent.com\/Lucas2011wastaken\/latex2svgAPI\/refs\/heads\/main\/cache\/1740027512.4471781\/latexoutput.svg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/raw.githubusercontent.com\/Lucas2011wastaken\/latex2svgAPI\/refs\/heads\/main\/cache\/1740027512.4471781\/latexoutput.svg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" \/><\/div><\/p>\n<h2><code>&quot;\/superiorcache&quot;<\/code>\u63a5\u53e3<\/h2>\n<p>\u7528\u67e5\u8be2\u53c2\u6570\u8c03\u7528\u4ee5\u7ba1\u7406\u9ad8\u7ea7\u7f13\u5b58\uff0c\u7528\u8def\u5f84\u53c2\u6570\u53ef\u4ee5\u901a\u8fc7UID\u65b9\u5f0f\u6765\u8bbf\u95ee\u9ad8\u7ea7\u7f13\u5b58\u3002<\/p>\n<h3>\u67e5\u8be2\u53c2\u6570<\/h3>\n<p>\u8bf7\u6c42\u65b9\u6cd5\uff1aGET<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center;\">\u53c2\u6570<\/th>\n<th style=\"text-align: center;\">\u7c7b\u578b<\/th>\n<th style=\"text-align: left;\">\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><code>token<\/code><\/td>\n<td style=\"text-align: center;\">str<\/td>\n<td style=\"text-align: left;\">\u7528\u6237\u6807\u8bc6\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><code>action<\/code><\/td>\n<td style=\"text-align: center;\">str<\/td>\n<td style=\"text-align: left;\">\u64cd\u4f5c\u7c7b\u578b\uff1a<code>list<\/code>\uff08\u5217\u51fa\uff09\u6216<code>delete<\/code>\uff08\u5220\u9664\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u6210\u529f\u54cd\u5e94\uff1a<code>action=list<\/code><\/h4>\n<p>\u4ee5\u7f51\u9875\u5f62\u5f0f\u5217\u51fa\u6240\u6709\u9ad8\u7ea7\u7f13\u5b58<\/p>\n<h4>\u6210\u529f\u54cd\u5e94\uff1a<code>action=delete<\/code><\/h4>\n<p>\u5220\u9664\u6307\u5b9a\u7f13\u5b58\u5e76\u8fd4\u56de\uff1a<code>{&quot;success&quot;: &quot;FileDeleted example.svg&quot;}<\/code><\/p>\n<h4>\u5931\u8d25\u54cd\u5e94\uff1a<\/h4>\n<ul>\n<li><code>{&quot;error&quot;: &quot;Unauthorised&quot;}<\/code>: \u65e0\u6548\u4ee4\u724c<\/li>\n<li><code>{&quot;error&quot;: &quot;InsufficientUsage&quot;}<\/code>: \u4f7f\u7528\u6b21\u6570\u5df2\u8017\u5c3d<\/li>\n<li><code>{&quot;error&quot;: &quot;InvalidAction&quot;}<\/code>: \u4e0d\u652f\u6301\u7684\u64cd\u4f5c\u7c7b\u578b<\/li>\n<li><code>{&quot;error&quot;: &quot;DeletionFailed&quot;}<\/code>: \u5220\u9664\u5931\u8d25\uff08\u53ef\u80fd\u56e0\u6743\u9650\u95ee\u9898\uff09<\/li>\n<li><code>{&quot;error&quot;: &quot;FileNotFound&quot;}<\/code>: \u6307\u5b9a\u7f13\u5b58\u4e0d\u5b58\u5728<\/li>\n<\/ul>\n<h3>\u8def\u5f84\u53c2\u6570<\/h3>\n<p>\u901a\u8fc7\u4f20\u5165UID\u6765\u8bbf\u95ee\u4f60\u7684\u9ad8\u7ea7\u7f13\u5b58\uff0c\u4e3e\u4e2a\u4f8b\u5b50\uff1a<\/p>\n<pre><code>https:\/\/www.example.com:4000\/superiorcache\/d2b521cdad6799c342414a76eb1f06eb.svg<\/code><\/pre>\n<p>\u5176\u4e2d\uff0c<code>d2b521cdad6799c342414a76eb1f06eb<\/code>\u662f\u8be5SVG\u7684UID\uff0c\u4f60\u53ef\u4ee5\u5728SVG\u5217\u8868\u4e2d\u5f88\u8f7b\u677e\u7684\u627e\u5230\uff08\u8bf7\u628agzgz\u66ff\u6362\u6210\u4f60\u81ea\u5df1\u7684token\uff09\uff1a<\/p>\n<pre><code>https:\/\/www.example.com:4000\/superiorcache?token=gzgz&amp;action=list<\/code><\/pre>\n<h1>\u90e8\u7f72\u6307\u5357<\/h1>\n<ol>\n<li>\u5b89\u88c5<a href=\"https:\/\/tug.org\/texlive\/\">XeLaTeX<\/a>\u548c<a href=\"https:\/\/github.com\/dawbarton\/pdf2svg\">pdf2svg<\/a><\/li>\n<li>\u5b89\u88c5Python\u4f9d\u8d56\uff1a\n<pre><code class=\"language-bash\">pip install fastapi uvicorn<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>\u914d\u7f6euser.json\u6587\u4ef6\uff0c\u793a\u4f8b\uff1a<\/p>\n<pre><code class=\"language-json\">{\n    &quot;gzgz&quot;: {\n        &quot;currentusage&quot;: 49,\n        &quot;maxusage&quot;: -1,\n        &quot;superior&quot;: true\n    }\n}<\/code><\/pre>\n<p>\uff08&quot;gzgz&quot;\u4e3atoken\uff09<\/p>\n<p>\u8fd0\u884c\u670d\u52a1\uff1a<\/p>\n<pre><code class=\"language-bash\">python3 main.py<\/code><\/pre>\n<h1>\u5c1d\u8bd5\u4e00\u4e0b\u5427<\/h1>\n<p>\u6d4b\u8bd5\u7528token\uff1a<code>gzgz<\/code>\uff08\u6709\u9650\u989d\uff0c\u522b\u8001\u73a9\u513f\uff09<br \/>\n\u7528\u4e8e\u6f14\u793a\u7684<code>gzgz<\/code>\u7684superiorcache\u4f1a\u88ab\u5b9a\u671f\u5220\u9664\u3002<\/p>\n<p><iframe id=\"latex2svgAPI doc\" title=\"latex2svgAPIdoc\"width=\"100%\" height=600 src=\"https:\/\/32767.xyz\/docs#\/\">\u670d\u52a1\u5668\u7ef4\u62a4\u4e2d\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\u3002<br \/>\n<\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>latex2svgAPI \u4e00\u4e2a\u7b80\u5355\u7684Python\u811a\u672c\uff0c\u5141\u8bb8\u7528\u6237\u901a\u8fc7API\u7f16\u8bd1LaTeX\u5e76\u83b7\u53d6SVG\u8f93\u51fa\u3002 gi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[67,44,57,51,26],"class_list":["post-689","post","type-post","status-publish","format-standard","hentry","category-66","tag-api","tag-latex","tag-linux","tag-arranging","tag-internet"],"_links":{"self":[{"href":"https:\/\/lucas2011.top\/index.php\/wp-json\/wp\/v2\/posts\/689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lucas2011.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lucas2011.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lucas2011.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lucas2011.top\/index.php\/wp-json\/wp\/v2\/comments?post=689"}],"version-history":[{"count":14,"href":"https:\/\/lucas2011.top\/index.php\/wp-json\/wp\/v2\/posts\/689\/revisions"}],"predecessor-version":[{"id":757,"href":"https:\/\/lucas2011.top\/index.php\/wp-json\/wp\/v2\/posts\/689\/revisions\/757"}],"wp:attachment":[{"href":"https:\/\/lucas2011.top\/index.php\/wp-json\/wp\/v2\/media?parent=689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lucas2011.top\/index.php\/wp-json\/wp\/v2\/categories?post=689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lucas2011.top\/index.php\/wp-json\/wp\/v2\/tags?post=689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}