{"id":1295,"date":"2026-07-11T17:40:22","date_gmt":"2026-07-11T09:40:22","guid":{"rendered":"http:\/\/ai.taichi-maker.com\/?page_id=1295"},"modified":"2026-09-04T15:39:52","modified_gmt":"2026-09-04T07:39:52","slug":"ai-platform-used-in-this-tutorial","status":"publish","type":"page","link":"http:\/\/ai.taichi-maker.com\/index.php\/homepage\/ai-tutorial-index\/ai-maker-project-tutorial-index\/ai-basics\/ai-platform-used-in-this-tutorial\/","title":{"rendered":"\u672c\u6559\u7a0b\u53ef\u7528\u7684\u4eba\u5de5\u667a\u80fd\u5e73\u53f0\u4fe1\u606f"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u672c\u6559\u7a0b\u6240\u8bb2\u89e3\u7684\u5185\u5bb9\u53ef\u9002\u7528\u4e8e\u591a\u4e2a\u4eba\u5de5\u667a\u80fd\u5e73\u53f0\u3002\u867d\u7136\u60a8\u5728\u89c2\u770b\u672c\u6559\u7a0b\u89c6\u9891\u65f6\uff0c\u6211\u4eec\u4f7f\u7528\u7684\u662f\u963f\u91cc\u4e91\u767e\u70bcAI\u670d\u52a1\u5e73\u53f0\uff0c\u4f46\u662f\u5982\u679c\u60a8\u5e0c\u671b\u4f7f\u7528\u5176\u4ed6\u5e73\u53f0\u6765\u5b66\u4e60\u672c\u6559\u7a0b\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u5e73\u53f0\u540d\u79f0\uff0c\u627e\u5230\u76f8\u5e94\u7684\u4ecb\u7ecd\uff0c\u5e76\u4e14\u8fdb\u884c\u66ff\u6362\u5373\u53ef\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5e73\u53f0\u540d\u79f0\uff1a\u963f\u91cc\u4e91\u767e\u70bcAI\u670d\u52a1\u5e73\u53f0<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u9700\u83b7\u53d6\u7533\u8bf7\u8be5\u5e73\u53f0API-Key\u6307\u5bfc\uff0c\u8bf7\u67e5\u9605\u672c\u7ad9\u4ee5\u4e0b\u7f51\u9875\uff1a<br><a href=\"http:\/\/ai.taichi-maker.com\/index.php\/ai-development-referene\/ai_platform_references\/how-to-apply-aliyun-bailian-api-key\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u5982\u4f55\u83b7\u53d6\u963f\u91cc\u4e91\u767e\u70bc\u4eba\u5de5\u667a\u80fd\u5927\u6a21\u578b\u670d\u52a1\u5e73\u53f0API-Key<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u5e73\u53f0API\u7aef\u70b9\u5730\u5740:<br>dashscope.aliyuncs.com\/compatible-mode\/v1\/chat\/completions<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u5e73\u53f0\u670d\u52a1\u5668(Host)\u5730\u5740\uff1a<br>dashscope.aliyuncs.com<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u5e73\u53f0\u4eba\u5de5\u667a\u80fd\u670d\u52a1API\u8def\u5f84\uff1a<br>\/compatible-mode\/v1\/chat\/completions<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b66\u4e60\u672c\u6559\u7a0b\u63a8\u8350\u4f7f\u7528\u6a21\u578b\uff1a<br>qwen-flash<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">HTTP\u8bf7\u6c42\u793a\u4f8b\uff1a<br><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>POST \/compatible-mode\/v1\/chat\/completions HTTP\/1.1\nHost: dashscope.aliyuncs.com\nContent-Type: application\/json\nAuthorization: Bearer sk-xxxxxxxxxxxxxxxxxxxxxxxx\nContent-Length: &#91;\u7cfb\u7edf\u81ea\u52a8\u8ba1\u7b97&#93;\n\n{\n  \"model\": \"qwen-flash\",\n  \"messages\": &#91;\n    {\n      \"role\": \"system\",\n      \"content\": \"You are a helpful assistant.\"\n    },\n    {\n      \"role\": \"user\",\n      \"content\": \"Hi. Who are you?\"\n    }\n  &#93;,\n  \"temperature\": 0.7,\n  \"max_tokens\": 150\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D8DEE9FF\">POST \/compatible-mode\/v<\/span><span style=\"color: #B48EAD\">1<\/span><span style=\"color: #D8DEE9FF\">\/chat\/completions HTTP\/<\/span><span style=\"color: #B48EAD\">1<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #B48EAD\">1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">Host: dashscope.aliyuncs.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">Content-Type: application\/json<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">Authorization: Bearer sk-xxxxxxxxxxxxxxxxxxxxxxxx<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">Content-Length: &#91;\u7cfb\u7edf\u81ea\u52a8\u8ba1\u7b97&#93;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  &quot;model&quot;: &quot;qwen-flash&quot;,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  &quot;messages&quot;: &#91;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">      &quot;role&quot;: &quot;system&quot;,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">      &quot;content&quot;: &quot;You are a helpful assistant.&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    },<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">      &quot;role&quot;: &quot;user&quot;,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">      &quot;content&quot;: &quot;Hi. Who are you?&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  &#93;,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  &quot;temperature&quot;: <\/span><span style=\"color: #B48EAD\">0<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #B48EAD\">7<\/span><span style=\"color: #D8DEE9FF\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  &quot;max_tokens&quot;: <\/span><span style=\"color: #B48EAD\">150<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u5e73\u53f0\u540d\u79f0\uff1aDeepSeek AI\u670d\u52a1\u5e73\u53f0<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u5e73\u53f0API\u7aef\u70b9\u5730\u5740:<br>api.deepseek.com\/chat\/completions<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u5e73\u53f0\u670d\u52a1\u5668(Host)\u5730\u5740\uff1a<br>api.deepseek.com<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u5e73\u53f0\u4eba\u5de5\u667a\u80fd\u670d\u52a1API\u8def\u5f84\uff1a<br>\/chat\/completions<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b66\u4e60\u672c\u6559\u7a0b\u63a8\u8350\u4f7f\u7528\u6a21\u578b\uff1a<br>deepseek-chat<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5e73\u53f0\u540d\u79f0\uff1a\u5b57\u8282\u8df3\u52a8\u706b\u5c71\u5f15\u64ceAI\u670d\u52a1\u5e73\u53f0<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u5e73\u53f0API\u7aef\u70b9\u5730\u5740:<br>ark.cn-beijing.volces.com\/api\/v3\/chat\/completions<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u5e73\u53f0\u670d\u52a1\u5668(Host)\u5730\u5740\uff1a<br>ark.cn-beijing.volces.com<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8be5\u5e73\u53f0\u4eba\u5de5\u667a\u80fd\u670d\u52a1API\u8def\u5f84\uff1a<br>\/api\/v3\/chat\/completions<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b66\u4e60\u672c\u6559\u7a0b\u63a8\u8350\u4f7f\u7528\u6a21\u578b\uff1a<br>doubao-seed-1-6-251015<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6559\u7a0b\u6240\u8bb2\u89e3\u7684\u5185\u5bb9\u53ef\u9002\u7528\u4e8e\u591a\u4e2a\u4eba\u5de5\u667a\u80fd\u5e73\u53f0\u3002\u867d\u7136\u60a8\u5728\u89c2\u770b\u672c\u6559\u7a0b\u89c6\u9891\u65f6\uff0c\u6211\u4eec\u4f7f\u7528\u7684\u662f\u963f\u91cc\u4e91\u767e\u70bcAI\u670d\u52a1\u5e73\u53f0\uff0c\u4f46\u662f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":80,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1295","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/pages\/1295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/comments?post=1295"}],"version-history":[{"count":11,"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/pages\/1295\/revisions"}],"predecessor-version":[{"id":1378,"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/pages\/1295\/revisions\/1378"}],"up":[{"embeddable":true,"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/pages\/80"}],"wp:attachment":[{"href":"http:\/\/ai.taichi-maker.com\/index.php\/wp-json\/wp\/v2\/media?parent=1295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}