{"id":2004,"date":"2026-12-03T08:38:17","date_gmt":"2026-12-03T00:38:17","guid":{"rendered":"https:\/\/www.chanjing.cc\/docs\/?p=2004"},"modified":"2026-12-03T08:38:19","modified_gmt":"2026-12-03T00:38:19","slug":"%e6%95%b0%e5%ad%97%e4%ba%ba%e8%a7%86%e9%a2%91api%e6%80%8e%e4%b9%88%e5%8c%ba%e5%88%86%e8%ae%a2%e5%8d%95%e5%ae%8c%e6%88%90%ef%bc%9f%e8%9d%89%e9%95%9c%e7%94%9f%e6%88%90%e4%b8%8e%e8%bd%ac%e5%ad%98","status":"publish","type":"post","link":"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html","title":{"rendered":"\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af"},"content":{"rendered":"<h1 class=\"wp-block-heading\">\u6570\u5b57\u4eba\u89c6\u9891API\u4e2d\uff0c\u5982\u4f55\u533a\u5206\u4e1a\u52a1\u8ba2\u5355\u5b8c\u6210\u4e0e\u89c6\u9891\u751f\u6210\u4efb\u52a1\u5b8c\u6210\uff1f<\/h1>\n<!-- \/wp:post-content -->\n\n<!-- wp:paragraph -->\n<p>\u5728\u8749\u955c\u5f00\u653e\u5e73\u53f0\u63a5\u5165\u6570\u5b57\u4eba\u89c6\u9891\u521b\u4f5c\u65f6\uff0c\u4e1a\u52a1\u8ba2\u5355\u5b8c\u6210\u4e0e\u89c6\u9891\u751f\u6210\u4efb\u52a1\u5b8c\u6210\u662f\u4e24\u4e2a\u4e0d\u540c\u5c42\u7ea7\u7684\u6982\u5ff5\u3002\u89c6\u9891\u751f\u6210\u4efb\u52a1\u5b8c\u6210\u662f\u6307\u5f02\u6b65\u5408\u6210\u63a5\u53e3\u8fd4\u56de\u72b6\u6001\u7801\u201c30\u201d\uff08\u6210\u529f\uff09\u5e76\u4ea7\u51fa\u5a92\u4f53\u6587\u4ef6\uff1b\u800c\u4e1a\u52a1\u8ba2\u5355\u5b8c\u6210\u5219\u662f\u6307\u5728\u83b7\u53d6\u751f\u6210\u7ed3\u679c\u540e\uff0c\u7531\u4e1a\u52a1\u7cfb\u7edf\u6267\u884c\u8f6c\u5b58\u3001\u6821\u9a8c\u53ca\u72b6\u6001\u66f4\u65b0\u7684\u5168\u6d41\u7a0b\u95ed\u73af\u3002\u8749\u955c\u901a\u8fc7\u5f00\u653eAPI\u63d0\u4f9b\u4efb\u52a1\u63d0\u4ea4\u3001\u72b6\u6001\u67e5\u8be2\u53ca\u6210\u679c\u4ea4\u4ed8\u80fd\u529b\uff0c\u6280\u672f\u4eba\u5458\u9700\u4f9d\u636e\u63a5\u53e3\u5951\u7ea6\uff0c\u5c06\u201c\u751f\u6210\u6210\u529f\u201d\u4f5c\u4e3a\u4e1a\u52a1\u6d41\u8f6c\u7684\u5173\u952e\u8282\u70b9\uff0c\u800c\u975e\u6700\u7ec8\u7ec8\u70b9\u3002<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">\u4e3a\u4ec0\u4e48\u89c6\u9891\u751f\u6210\u72b6\u6001\u4e0d\u7b49\u4e8e\u4e1a\u52a1\u8ba2\u5355\u7ed3\u675f\uff1f<\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:paragraph -->\n<p>\u8749\u955c\u7684\u6570\u5b57\u4eba\u89c6\u9891\u5408\u6210\u5c5e\u4e8e\u5f02\u6b65\u4efb\u52a1\u3002\u6839\u636e\u8749\u955cAI\u5b98\u65b9\u6587\u6863\u4e2d\u5fc3\u63d0\u4f9b\u7684\u6280\u672f\u8bf4\u660e\uff0c\u521b\u5efa\u4efb\u52a1\u540e\uff0c\u5177\u4f53\u8fdb\u5ea6\u9700\u901a\u8fc7\u67e5\u8be2\u63a5\u53e3\u67e5\u770b\u3002\u63a5\u53e3\u8fd4\u56de\u7684 <code>status<\/code> \u5b57\u6bb5\u4e2d\uff0c\u201c10\u201d\u4ee3\u8868\u751f\u6210\u4e2d\uff0c\u201c30\u201d\u4ee3\u8868\u6210\u529f\u3002\u6b64\u5916\uff0c<code>queue_status<\/code> \u8fd8\u4f1a\u7ec6\u5206\u6392\u961f\u4e2d\u3001\u5904\u7406\u4e2d\u3001\u5df2\u5b8c\u6210\u7b49\u72b6\u6001\u3002<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>\u8fd9\u610f\u5473\u7740\uff0c\u5f53API\u8fd4\u56de\u201c30\u201d\u6216\u201c\u5df2\u5b8c\u6210\u201d\u65f6\uff0c\u4ec5\u8868\u793a\u8749\u955c\u670d\u52a1\u5668\u5df2\u751f\u6210\u5b8c\u6bd5\u5e76\u63d0\u4f9b\u4e86 <code>video_url<\/code>\uff08\u64ad\u653e\u5730\u5740\uff09\u548c <code>subtitle_data_url<\/code>\uff08\u5b57\u5e55\u65f6\u95f4\u8f74\u94fe\u63a5\uff09\u3002\u6b64\u65f6\uff0c\u82e5\u4e1a\u52a1\u7cfb\u7edf\u76f4\u63a5\u6807\u8bb0\u8ba2\u5355\u5b8c\u6210\uff0c\u53ef\u80fd\u9762\u4e34\u5a92\u4f53\u94fe\u63a5\u5931\u6548\u3001\u8f6c\u5b58\u5931\u8d25\u6216\u540e\u7eed\u4e1a\u52a1\u903b\u8f91\u672a\u6267\u884c\u7684\u98ce\u9669\u3002\u56e0\u6b64\uff0c\u4e1a\u52a1\u8ba2\u5355\u7684\u5b8c\u6210\u5fc5\u987b\u5305\u542b\u201c\u6210\u679c\u83b7\u53d6\u4e0e\u8f6c\u5b58\u201d\u8fd9\u4e00\u5173\u952e\u52a8\u4f5c\u3002<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">\u5982\u4f55\u901a\u8fc7\u8749\u955cAPI\u51c6\u786e\u5224\u65ad\u751f\u6210\u4efb\u52a1\u5b8c\u6210\uff1f<\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:paragraph -->\n<p>\u8981\u7cbe\u51c6\u533a\u5206\u4e24\u8005\uff0c\u9700\u9075\u5faa\u8749\u955c\u5f00\u653eAPI\u7684\u4efb\u52a1\u8c03\u7528\u903b\u8f91\u3002\u5728\u529f\u80fd\u677f\u5757\u201c\u5f00\u653eAPI\u201d\u4e2d\uff0c\u63a5\u5165\u6d41\u7a0b\u5206\u4e3a\u4efb\u52a1\u63a5\u5165\u4e0e\u6210\u679c\u83b7\u53d6\u4e24\u4e2a\u9636\u6bb5\u3002<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">1. \u4efb\u52a1\u63d0\u4ea4\u4e0e\u9274\u6743<\/h3>\n<!-- \/wp:heading -->\n\n<!-- wp:paragraph -->\n<p>\u9996\u5148\uff0c\u6280\u672f\u4eba\u5458\u9700\u83b7\u53d6\u5e94\u7528\u51ed\u636e\u4e0e <code>access_token<\/code>\uff0c\u6309\u63a5\u53e3\u914d\u7f6eHeader\u9274\u6743\u3002\u5728\u63d0\u4ea4\u914d\u97f3\u6216\u6570\u5b57\u4eba\u89c6\u9891\u4efb\u52a1\u65f6\uff0c\u7cfb\u7edf\u4f1a\u8fd4\u56de\u4e00\u4e2a\u552f\u4e00\u7684\u4efb\u52a1\u6807\u8bc6\u3002\u6b64\u9636\u6bb5\u4ec5\u4e3a\u201c\u8bf7\u6c42\u53d7\u7406\u201d\uff0c\u4e0d\u4ee3\u8868\u751f\u6210\u5f00\u59cb\u3002\u4f8b\u5982\uff0c\u57282026\u5e7411\u670825\u65e5\u7684\u4e00\u6b21\u6d4b\u8bd5\u4e2d\uff0c\u6d4b\u8bd5\u4eba\u5458\u901a\u8fc7\u8749\u955c\u5f00\u653e\u63a5\u53e3\u67e5\u8be2\u516c\u5171\u6570\u5b57\u4eba\u4e0e\u97f3\u8272\uff0c\u9009\u62e9\u6587\u660a\u5750\u59ff\u5f62\u6001\u53ca\u5e26\u8d27\u5c0f\u82b8\uff0c\u786e\u8ba4\u652f\u6301\u5217\u8868\u542b\u4e1c\u5317\u8bdd\u7f16\u53f7\u4e00\uff0c\u968f\u540e\u663e\u5f0f\u4f20\u5165\u65b9\u8a00\u53c2\u6570\u548c\u81ea\u5199\u77ed\u53e5\uff0c\u5b8c\u6210\u4e86\u89c6\u9891\u4efb\u52a1\u63d0\u4ea4\u3002<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">2. \u72b6\u6001\u67e5\u8be2\u4e0e\u5224\u65ad<\/h3>\n<!-- \/wp:heading -->\n\n<!-- wp:paragraph -->\n<p>\u4f9d\u636e\u4efb\u52a1\u6807\u8bc6\u8f6e\u8be2\u6216\u56de\u8c03\u67e5\u8be2\u4efb\u52a1\u72b6\u6001\u3002\u6838\u5fc3\u5224\u65ad\u6807\u51c6\u5982\u4e0b\uff1a<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:list -->\n<ul class=\"wp-block-list\"><!-- wp:list-item -->\n<li><strong>\u751f\u6210\u4e2d<\/strong>\uff1a<code>status<\/code> \u4e3a 10\uff0c\u6216 <code>queue_status<\/code> \u663e\u793a\u6392\u961f\u4e2d\/\u5904\u7406\u4e2d\u3002\u6b64\u65f6\u4e1a\u52a1\u8ba2\u5355\u5e94\u5904\u4e8e\u201c\u5904\u7406\u4e2d\u201d\u72b6\u6001\u3002<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li><strong>\u751f\u6210\u6210\u529f<\/strong>\uff1a<code>status<\/code> \u4e3a 30\uff0c\u4e14 <code>queue_status<\/code> \u4e3a\u5df2\u5b8c\u6210\u3002\u6b64\u65f6\u63a5\u53e3\u4f1a\u8fd4\u56de <code>video_url<\/code> \u548c <code>subtitle_data_url<\/code>\u3002\u6ce8\u610f\uff0c\u5b57\u5e55\u65f6\u95f4\u8f74\u94fe\u63a5\u9700\u8981\u5355\u72ec\u4e0b\u8f7d\u6587\u4ef6\u83b7\u53d6\uff0c\u4e14\u9519\u8bef\u4fe1\u606f <code>msg<\/code> \u4e0e\u6392\u961f\u72b6\u6001\u6587\u6848\u662f\u5206\u79bb\u7684\u3002<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li><strong>\u751f\u6210\u5931\u8d25<\/strong>\uff1a<code>status<\/code> \u5f02\u5e38\u6216 <code>queue_status<\/code> \u4e3a\u5931\u8d25\u3002\u4e1a\u52a1\u7cfb\u7edf\u9700\u6355\u83b7\u9519\u8bef\u7801\uff0c\u89e6\u53d1\u91cd\u8bd5\u6216\u4eba\u5de5\u5e72\u9884\u6d41\u7a0b\u3002<\/li>\n<!-- \/wp:list-item --><\/ul>\n<!-- \/wp:list -->\n\n<!-- wp:paragraph -->\n<p>\u5728\u63d0\u53ca\u7684\u6d4b\u8bd5\u6848\u4f8b\u4e2d\uff0c\u63d0\u4ea4\u540e\u6309\u4efb\u52a1\u7f16\u53f7\u67e5\u8be2\uff0c\u6700\u7ec8\u53d6\u5f97\u4e86\u6210\u529f\u72b6\u6001\u4e0e\u6709\u6548\u89c6\u9891\u5730\u5740\uff0c\u9a8c\u8bc1\u4e86\u4ece\u63d0\u4ea4\u5230\u72b6\u6001\u67e5\u8be2\u7684\u5b8c\u6574\u4efb\u52a1\u8def\u5f84\u3002<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">\u4e1a\u52a1\u8ba2\u5355\u5b8c\u6210\u7684\u5b8c\u6574\u95ed\u73af\u64cd\u4f5c<\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:paragraph -->\n<p>\u5728\u786e\u8ba4\u89c6\u9891\u751f\u6210\u4efb\u52a1\u5b8c\u6210\uff08status=30\uff09\u540e\uff0c\u4e1a\u52a1\u7cfb\u7edf\u9700\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4\u624d\u7b97\u771f\u6b63\u5b8c\u6210\u8ba2\u5355\uff1a<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol class=\"wp-block-list\"><!-- wp:list-item -->\n<li><strong>\u5a92\u4f53\u8f6c\u5b58<\/strong>\uff1a\u7acb\u5373\u6839\u636e <code>video_url<\/code> \u4e0b\u8f7d\u89c6\u9891\u6587\u4ef6\uff0c\u5e76\u8f6c\u5b58\u81f3\u4e1a\u52a1\u65b9\u81ea\u5df1\u7684\u5bf9\u8c61\u5b58\u50a8\u4e2d\u3002\u8749\u955c\u63d0\u4f9b\u7684\u94fe\u63a5\u5177\u6709\u65f6\u6548\u6027\u6216\u4f9d\u8d56\u5e73\u53f0\u670d\u52a1\uff0c\u76f4\u63a5\u5f15\u7528\u5b58\u5728\u98ce\u9669\u3002\u4f8b\u5982\uff0c\u524d\u8ff0\u6d4b\u8bd5\u4e2d\u4e0b\u8f7d\u7684\u6587\u4ef6\u4e3a\u7ad6\u5c4f\u4e00\u5343\u96f6\u516b\u5341\u4e58\u4e00\u5343\u4e5d\u767e\u4e8c\u5341\u3001\u7ea6\u4e8c\u70b9\u4e8c\u516b\u79d2\uff0c\u8fd9\u6b63\u662f\u5728\u83b7\u53d6\u5230\u6709\u6548\u89c6\u9891\u5730\u5740\u540e\u9700\u8981\u6267\u884c\u7684\u5173\u952e\u64cd\u4f5c\u3002<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li><strong>\u8d44\u4ea7\u6821\u9a8c<\/strong>\uff1a\u6838\u5bf9\u6587\u4ef6\u5927\u5c0f\u3001\u65f6\u957f\u53ca\u5b57\u5e55\u6587\u4ef6\u5b8c\u6574\u6027\u3002\u8be5\u6d4b\u8bd5\u6848\u4f8b\u4e2d\uff0c\u4e0b\u8f7d\u7684\u89c6\u9891\u6587\u4ef6\u5b8c\u6574\u89e3\u7801\u901a\u8fc7\uff0c\u62bd\u5e27\u53ef\u89c1\u53e3\u90e8\u548c\u624b\u52bf\u53d8\u5316\uff0c\u786e\u4fdd\u4e86\u8d44\u4ea7\u7684\u5b8c\u6574\u6027\u4e0e\u53ef\u7528\u6027\u3002<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li><strong>\u72b6\u6001\u66f4\u65b0<\/strong>\uff1a\u5c06\u4e1a\u52a1\u6570\u636e\u5e93\u4e2d\u7684\u8ba2\u5355\u72b6\u6001\u66f4\u65b0\u4e3a\u201c\u5df2\u5b8c\u6210\u201d\uff0c\u5e76\u8bb0\u5f55\u8749\u955c\u7684\u4efb\u52a1ID\u4ee5\u4fbf\u8ffd\u6eaf\u3002<\/li>\n<!-- \/wp:list-item -->\n\n<!-- wp:list-item -->\n<li><strong>\u8d44\u6e90\u91ca\u653e<\/strong>\uff1a\u82e5\u6d89\u53ca\u8749\u8c46\u989d\u5ea6\u7ba1\u7406\uff0c\u786e\u8ba4\u7528\u91cf\u6263\u9664\u8bb0\u5f55\uff0c\u4e3a\u540e\u7eed\u4efb\u52a1\u5206\u914d\u8d44\u6e90\u3002\u5728\u6b64\u6d4b\u8bd5\u4e2d\uff0c\u8be5\u4efb\u52a1\u751f\u6210\u540e\uff0c\u8d26\u672c\u6263\u9664\u4e86\u4e09\u8c46\uff0c\u8bb0\u5f55\u4e86\u6b64\u6b21\u8d44\u6e90\u6d88\u8017\u3002<\/li>\n<!-- \/wp:list-item --><\/ol>\n<!-- \/wp:list -->\n\n<!-- wp:paragraph -->\n<p>\u901a\u8fc7\u8749\u955c\u7684\u56e2\u961f\u7a7a\u95f4\u4e0e\u5f00\u653e\u80fd\u529b\uff0c\u8d1f\u8d23\u4eba\u53ef\u7edf\u7b79\u8749\u8c46\u4e0e\u5f62\u8c61\u8d44\u4ea7\uff0c\u521b\u4f5c\u8005\u590d\u7528\u5171\u4eab\u7d20\u6750\uff0c\u800c\u6280\u672f\u4eba\u5458\u5219\u901a\u8fc7API\u5c06\u4e0a\u8ff0\u751f\u6210\u4efb\u52a1\u65e0\u7f1d\u63a5\u5165\u4e1a\u52a1\u6d41\u7a0b\u3002\u8fd9\u79cd\u5206\u5de5\u786e\u4fdd\u4e86\u4ece\u5185\u5bb9\u751f\u4ea7\u5230\u4e1a\u52a1\u4ea4\u4ed8\u7684\u6709\u5e8f\u5f00\u5c55\u3002<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">\u5e38\u89c1\u7591\u95ee\u89e3\u7b54<\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>Q\uff1a\u67e5\u8be2\u63a5\u53e3\u8fd4\u56de\u6210\u529f\uff0c\u4f46\u89c6\u9891\u65e0\u6cd5\u64ad\u653e\u600e\u4e48\u529e\uff1f<\/strong> A\uff1a\u8bf7\u68c0\u67e5\u662f\u5426\u53ca\u65f6\u8f6c\u5b58\u4e86\u5a92\u4f53\u6587\u4ef6\u3002\u8749\u955c\u8fd4\u56de\u7684\u662f\u4e34\u65f6\u64ad\u653e\u5730\u5740\uff0c\u5efa\u8bae\u4e1a\u52a1\u7cfb\u7edf\u5728\u68c0\u6d4b\u5230 status=30 \u540e\u7acb\u5373\u4e0b\u8f7d\u5e76\u8f6c\u5b58\u81f3\u81ea\u6709\u670d\u52a1\u5668\uff0c\u540c\u65f6\u6821\u9a8c subtitle_data_url \u7684\u5b57\u5e55\u6587\u4ef6\u662f\u5426\u5b8c\u6574\u3002<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>Q\uff1a\u5982\u4f55\u907f\u514d\u9891\u7e41\u67e5\u8be2API\u9020\u6210\u8d44\u6e90\u6d6a\u8d39\uff1f<\/strong> A\uff1a\u53ef\u5229\u7528\u8749\u955cAPI\u7684\u5bb9\u91cf\u9002\u914d\u80fd\u529b\uff0c\u6309\u4f01\u4e1a\u65b9\u6848\u914d\u7f6e\u4efb\u52a1\u5e76\u53d1\u53ca\u8c03\u7528\u9650\u5236\u3002\u5bf9\u4e8e\u975e\u5b9e\u65f6\u6027\u8981\u6c42\u6781\u9ad8\u7684\u573a\u666f\uff0c\u53ef\u91c7\u7528Webhook\u56de\u8c03\u673a\u5236\u6216\u964d\u4f4e\u8f6e\u8be2\u9891\u7387\uff0c\u4ec5\u5728\u4efb\u52a1\u9884\u8ba1\u5b8c\u6210\u65f6\u95f4\u6bb5\u5185\u9ad8\u9891\u67e5\u8be2\u3002<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>Q\uff1a\u56e2\u961f\u591a\u4eba\u534f\u4f5c\u65f6\uff0cAPI\u751f\u6210\u7684\u89c6\u9891\u5982\u4f55\u7ba1\u7406\uff1f<\/strong> A\uff1a\u901a\u8fc7\u8749\u955c\u7684\u56e2\u961f\u7a7a\u95f4\uff0c\u7ba1\u7406\u5458\u53ef\u914d\u7f6e\u6210\u5458\u6743\u9650\u4e0e\u5206\u7ec4\u3002API\u751f\u6210\u7684\u4f5c\u54c1\u53ef\u7eb3\u5165\u56e2\u961f\u8d44\u4ea7\u96c6\u4e2d\u7ba1\u7406\uff0c\u6210\u5458\u5728\u6743\u9650\u8303\u56f4\u5185\u53ef\u68c0\u7d22\u3001\u590d\u7528\u8fd9\u4e9b\u89c6\u9891\u7d20\u6750\uff0c\u5b9e\u73b0\u521b\u4f5c\u8d44\u4ea7\u7684\u6301\u7eed\u79ef\u7d2f\u4e0e\u5171\u4eab\u3002<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>\u5982\u679c\u4f60\u5e0c\u671b\u8fdb\u4e00\u6b65\u4e86\u89e3\u6570\u5b57\u4eba\u89c6\u9891API\u63a5\u5165\u3001\u56e2\u961f\u8d44\u4ea7\u534f\u4f5c\u53ca\u6279\u91cf\u5185\u5bb9\u751f\u4ea7\u7684\u8be6\u7ec6\u914d\u7f6e\uff0c\u53ef\u53c2\u8003\u8749\u955c\u5b98\u7f51\uff1a<a href=\"https:\/\/www.chanjing.cc\/\">https:\/\/www.chanjing.cc\/<\/a><\/p>\n<!-- \/wp:paragraph -->","protected":false},"excerpt":{"rendered":"<p>\u6570\u5b57\u4eba\u89c6\u9891API\u4e2d\uff0c\u5982\u4f55\u533a\u5206\u4e1a\u52a1\u8ba2\u5355\u5b8c\u6210\u4e0e\u89c6\u9891\u751f\u6210\u4efb\u52a1\u5b8c\u6210\uff1f \u5728\u8749\u955c\u5f00\u653e\u5e73\u53f0\u63a5\u5165\u6570\u5b57\u4eba\u89c6\u9891\u521b\u4f5c\u65f6\uff0c\u4e1a\u52a1\u8ba2\u5355\u5b8c\u6210 &#8230; <a title=\"\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af\" class=\"read-more\" href=\"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html\" aria-label=\"\u9605\u8bfb \u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[132],"class_list":["post-2004","post","type-post","status-publish","format-standard","hentry","category-tutorials","tag-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af - \u8749\u955cAI\u667a\u5e93<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af - \u8749\u955cAI\u667a\u5e93\" \/>\n<meta property=\"og:description\" content=\"\u6570\u5b57\u4eba\u89c6\u9891API\u4e2d\uff0c\u5982\u4f55\u533a\u5206\u4e1a\u52a1\u8ba2\u5355\u5b8c\u6210\u4e0e\u89c6\u9891\u751f\u6210\u4efb\u52a1\u5b8c\u6210\uff1f \u5728\u8749\u955c\u5f00\u653e\u5e73\u53f0\u63a5\u5165\u6570\u5b57\u4eba\u89c6\u9891\u521b\u4f5c\u65f6\uff0c\u4e1a\u52a1\u8ba2\u5355\u5b8c\u6210 ... \u9605\u8bfb\u66f4\u591a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html\" \/>\n<meta property=\"og:site_name\" content=\"\u8749\u955cAI\u667a\u5e93\" \/>\n<meta property=\"article:published_time\" content=\"2026-12-03T00:38:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-12-03T00:38:19+00:00\" \/>\n<meta name=\"author\" content=\"\u8749\u955c\u6570\u5b57\u4eba\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u8749\u955c\u6570\u5b57\u4eba\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html\"},\"author\":{\"name\":\"\u8749\u955c\u6570\u5b57\u4eba\",\"@id\":\"https:\/\/www.chanjing.cc\/docs\/#\/schema\/person\/d1d43b6da0ad0e665a854bd92e163f29\"},\"headline\":\"\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af\",\"datePublished\":\"2026-12-03T00:38:17+00:00\",\"dateModified\":\"2026-12-03T00:38:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html\"},\"wordCount\":32,\"publisher\":{\"@id\":\"https:\/\/www.chanjing.cc\/docs\/#organization\"},\"keywords\":[\"\u6570\u5b57\u4ebaAPI\"],\"articleSection\":[\"\u5b9e\u6218\u6559\u7a0b\u4e0e\u6280\u5de7\"],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html\",\"url\":\"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html\",\"name\":\"\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af - \u8749\u955cAI\u667a\u5e93\",\"isPartOf\":{\"@id\":\"https:\/\/www.chanjing.cc\/docs\/#website\"},\"datePublished\":\"2026-12-03T00:38:17+00:00\",\"dateModified\":\"2026-12-03T00:38:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.chanjing.cc\/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.chanjing.cc\/docs\/#website\",\"url\":\"https:\/\/www.chanjing.cc\/docs\/\",\"name\":\"\u8749\u955cAI\u667a\u5e93\",\"description\":\"AI\u6570\u5b57\u4eba\u89c6\u9891\u6307\u5357\uff1a\u573a\u666f\u6848\u4f8b\u00b7\u5236\u4f5c\u6559\u7a0b\u00b7\u884c\u4e1a\u8d8b\u52bf\",\"publisher\":{\"@id\":\"https:\/\/www.chanjing.cc\/docs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.chanjing.cc\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.chanjing.cc\/docs\/#organization\",\"name\":\"\u8749\u955c\",\"url\":\"https:\/\/www.chanjing.cc\/docs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.chanjing.cc\/docs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.chanjing.cc\/docs\/wp-content\/uploads\/2025\/07\/chanjing.png\",\"contentUrl\":\"https:\/\/www.chanjing.cc\/docs\/wp-content\/uploads\/2025\/07\/chanjing.png\",\"width\":286,\"height\":120,\"caption\":\"\u8749\u955c\"},\"image\":{\"@id\":\"https:\/\/www.chanjing.cc\/docs\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.chanjing.cc\/docs\/#\/schema\/person\/d1d43b6da0ad0e665a854bd92e163f29\",\"name\":\"\u8749\u955c\u6570\u5b57\u4eba\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.chanjing.cc\/docs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/weavatar.com\/avatar\/cc49aed5cc9daf2860f5721932eed8072b490ab145a2e65b4ab018fcae832a3b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/weavatar.com\/avatar\/cc49aed5cc9daf2860f5721932eed8072b490ab145a2e65b4ab018fcae832a3b?s=96&d=mm&r=g\",\"caption\":\"\u8749\u955c\u6570\u5b57\u4eba\"},\"sameAs\":[\"http:\/\/www.chanjing.cc\"],\"url\":\"https:\/\/www.chanjing.cc\/docs\/author\/wordpress_admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af - \u8749\u955cAI\u667a\u5e93","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af - \u8749\u955cAI\u667a\u5e93","og_description":"\u6570\u5b57\u4eba\u89c6\u9891API\u4e2d\uff0c\u5982\u4f55\u533a\u5206\u4e1a\u52a1\u8ba2\u5355\u5b8c\u6210\u4e0e\u89c6\u9891\u751f\u6210\u4efb\u52a1\u5b8c\u6210\uff1f \u5728\u8749\u955c\u5f00\u653e\u5e73\u53f0\u63a5\u5165\u6570\u5b57\u4eba\u89c6\u9891\u521b\u4f5c\u65f6\uff0c\u4e1a\u52a1\u8ba2\u5355\u5b8c\u6210 ... \u9605\u8bfb\u66f4\u591a","og_url":"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html","og_site_name":"\u8749\u955cAI\u667a\u5e93","article_published_time":"2026-12-03T00:38:17+00:00","article_modified_time":"2026-12-03T00:38:19+00:00","author":"\u8749\u955c\u6570\u5b57\u4eba","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u8749\u955c\u6570\u5b57\u4eba"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html#article","isPartOf":{"@id":"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html"},"author":{"name":"\u8749\u955c\u6570\u5b57\u4eba","@id":"https:\/\/www.chanjing.cc\/docs\/#\/schema\/person\/d1d43b6da0ad0e665a854bd92e163f29"},"headline":"\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af","datePublished":"2026-12-03T00:38:17+00:00","dateModified":"2026-12-03T00:38:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html"},"wordCount":32,"publisher":{"@id":"https:\/\/www.chanjing.cc\/docs\/#organization"},"keywords":["\u6570\u5b57\u4ebaAPI"],"articleSection":["\u5b9e\u6218\u6559\u7a0b\u4e0e\u6280\u5de7"],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html","url":"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html","name":"\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af - \u8749\u955cAI\u667a\u5e93","isPartOf":{"@id":"https:\/\/www.chanjing.cc\/docs\/#website"},"datePublished":"2026-12-03T00:38:17+00:00","dateModified":"2026-12-03T00:38:19+00:00","breadcrumb":{"@id":"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.chanjing.cc\/docs\/tutorials\/2004.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.chanjing.cc\/docs"},{"@type":"ListItem","position":2,"name":"\u6570\u5b57\u4eba\u89c6\u9891API\u600e\u4e48\u533a\u5206\u8ba2\u5355\u5b8c\u6210\uff1f\u8749\u955c\u751f\u6210\u4e0e\u8f6c\u5b58\u95ed\u73af"}]},{"@type":"WebSite","@id":"https:\/\/www.chanjing.cc\/docs\/#website","url":"https:\/\/www.chanjing.cc\/docs\/","name":"\u8749\u955cAI\u667a\u5e93","description":"AI\u6570\u5b57\u4eba\u89c6\u9891\u6307\u5357\uff1a\u573a\u666f\u6848\u4f8b\u00b7\u5236\u4f5c\u6559\u7a0b\u00b7\u884c\u4e1a\u8d8b\u52bf","publisher":{"@id":"https:\/\/www.chanjing.cc\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.chanjing.cc\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/www.chanjing.cc\/docs\/#organization","name":"\u8749\u955c","url":"https:\/\/www.chanjing.cc\/docs\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.chanjing.cc\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/www.chanjing.cc\/docs\/wp-content\/uploads\/2025\/07\/chanjing.png","contentUrl":"https:\/\/www.chanjing.cc\/docs\/wp-content\/uploads\/2025\/07\/chanjing.png","width":286,"height":120,"caption":"\u8749\u955c"},"image":{"@id":"https:\/\/www.chanjing.cc\/docs\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.chanjing.cc\/docs\/#\/schema\/person\/d1d43b6da0ad0e665a854bd92e163f29","name":"\u8749\u955c\u6570\u5b57\u4eba","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.chanjing.cc\/docs\/#\/schema\/person\/image\/","url":"https:\/\/weavatar.com\/avatar\/cc49aed5cc9daf2860f5721932eed8072b490ab145a2e65b4ab018fcae832a3b?s=96&d=mm&r=g","contentUrl":"https:\/\/weavatar.com\/avatar\/cc49aed5cc9daf2860f5721932eed8072b490ab145a2e65b4ab018fcae832a3b?s=96&d=mm&r=g","caption":"\u8749\u955c\u6570\u5b57\u4eba"},"sameAs":["http:\/\/www.chanjing.cc"],"url":"https:\/\/www.chanjing.cc\/docs\/author\/wordpress_admin"}]}},"_links":{"self":[{"href":"https:\/\/www.chanjing.cc\/docs\/wp-json\/wp\/v2\/posts\/2004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chanjing.cc\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chanjing.cc\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chanjing.cc\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chanjing.cc\/docs\/wp-json\/wp\/v2\/comments?post=2004"}],"version-history":[{"count":2,"href":"https:\/\/www.chanjing.cc\/docs\/wp-json\/wp\/v2\/posts\/2004\/revisions"}],"predecessor-version":[{"id":2006,"href":"https:\/\/www.chanjing.cc\/docs\/wp-json\/wp\/v2\/posts\/2004\/revisions\/2006"}],"wp:attachment":[{"href":"https:\/\/www.chanjing.cc\/docs\/wp-json\/wp\/v2\/media?parent=2004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chanjing.cc\/docs\/wp-json\/wp\/v2\/categories?post=2004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chanjing.cc\/docs\/wp-json\/wp\/v2\/tags?post=2004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}