{"id":60331,"date":"2025-11-24T20:19:12","date_gmt":"2025-11-24T12:19:12","guid":{"rendered":"https:\/\/www.kdjingpai.com\/?p=60331"},"modified":"2025-11-24T20:19:12","modified_gmt":"2025-11-24T12:19:12","slug":"code2video","status":"publish","type":"post","link":"https:\/\/www.kdjingpai.com\/ja\/code2video\/","title":{"rendered":"Code2Video\uff1a\u57fa\u4e8e\u4ee3\u7801\u9a71\u52a8\u751f\u6210\u9ad8\u8d28\u91cf\u6559\u5b66\u6f14\u793a\u89c6\u9891\u7684\u667a\u80fd\u4f53\u6846\u67b6"},"content":{"rendered":"<p>Code2Video \u662f\u7531\u65b0\u52a0\u5761\u56fd\u7acb\u5927\u5b66 Show Lab \u63a8\u51fa\u7684\u4e00\u6b3e\u5f00\u521b\u6027\u89c6\u9891\u751f\u6210\u6846\u67b6\uff0c\u5176\u6838\u5fc3\u7406\u5ff5\u662f\u201c\u4ee5\u4ee3\u7801\u4e3a\u4e2d\u5fc3\u201d\u6765\u751f\u6210\u9ad8\u8d28\u91cf\u7684\u6559\u80b2\u89c6\u9891\u3002\u4e0e\u4f20\u7edf\u7684\u76f4\u63a5\u751f\u6210\u50cf\u7d20\u7684 AI \u89c6\u9891\u6a21\u578b\uff08\u5982 Sora\uff09\u4e0d\u540c\uff0cCode2Video \u4e0d\u76f4\u63a5\u201c\u753b\u201d\u89c6\u9891\uff0c\u800c\u662f\u901a\u8fc7\u7f16\u5199\u53ef\u6267\u884c\u7684 Python \u4ee3\u7801\uff08\u57fa\u4e8e Manim \u5f15\u64ce\uff09\u6765\u201c\u6e32\u67d3\u201d\u89c6\u9891\u3002\u8fd9\u79cd\u65b9\u6cd5\u89e3\u51b3\u4e86\u4f20\u7edf\u89c6\u9891\u751f\u6210\u6a21\u578b\u5728\u903b\u8f91\u4e25\u8c28\u6027\u3001\u51e0\u4f55\u7cbe\u786e\u5ea6\u548c\u6587\u5b57\u6e05\u6670\u5ea6\u4e0a\u7684\u7f3a\u9677\uff0c\u7279\u522b\u9002\u5408\u751f\u6210\u6570\u5b66\u3001\u7269\u7406\u3001\u8ba1\u7b97\u673a\u79d1\u5b66\u7b49\u9700\u8981\u7cbe\u786e\u8868\u8fbe\u7684 STEM \u7c7b\u6559\u5b66\u89c6\u9891\u3002\u8be5\u6846\u67b6\u5305\u542b\u4e09\u4e2a\u534f\u4f5c\u7684 AI \u667a\u80fd\u4f53\uff1a\u89c4\u5212\u5668\uff08Planner\uff09\u8d1f\u8d23\u8bbe\u8ba1\u5206\u955c\uff0c\u7f16\u7801\u5668\uff08Coder\uff09\u8d1f\u8d23\u7f16\u5199\u548c\u8c03\u8bd5\u4ee3\u7801\uff0c\u8bc4\u8bba\u5bb6\uff08Critic\uff09\u8d1f\u8d23\u89c6\u89c9\u5ba1\u67e5\u548c\u4f18\u5316\u3002\u901a\u8fc7\u8fd9\u79cd\u534f\u4f5c\uff0cCode2Video \u80fd\u591f\u5c06\u7b80\u5355\u7684\u6587\u672c\u77e5\u8bc6\u70b9\u8f6c\u5316\u4e3a\u5ab2\u7f8e\u4eba\u5de5\u5236\u4f5c\uff08\u5982 3Blue1Brown \u98ce\u683c\uff09\u7684\u4e13\u4e1a\u6559\u5b66\u89c6\u9891\u3002<\/p>\n<h2>\u529f\u80fd\u5217\u8868<\/h2>\n<ul>\n<li><strong>\u667a\u80fd\u5206\u955c\u89c4\u5212\uff08Planner Agent\uff09<\/strong>\uff1a\u81ea\u52a8\u5c06\u8f93\u5165\u7684\u77e5\u8bc6\u70b9\u6216\u7b80\u77ed\u6587\u672c\u8f6c\u5316\u4e3a\u8be6\u7ec6\u7684\u89c6\u9891\u811a\u672c\u548c\u89c6\u89c9\u6545\u4e8b\u677f\uff0c\u89c4\u5212\u89c6\u9891\u7684\u8d77\u627f\u8f6c\u5408\u3002<\/li>\n<li><strong>\u81ea\u52a8\u5316\u4ee3\u7801\u751f\u6210\uff08Coder Agent\uff09<\/strong>\uff1a\u5c06\u81ea\u7136\u8bed\u8a00\u811a\u672c\u8f6c\u5316\u4e3a\u53ef\u6267\u884c\u7684 Python (Manim) \u4ee3\u7801\uff0c\u652f\u6301\u590d\u6742\u7684\u6570\u5b66\u516c\u5f0f\u3001\u51e0\u4f55\u56fe\u5f62\u548c\u52a8\u753b\u903b\u8f91\u3002<\/li>\n<li><strong>\u81ea\u6211\u4fee\u590d\u4e0e\u8c03\u8bd5<\/strong>\uff1a\u5185\u7f6e\u9519\u8bef\u68c0\u6d4b\u673a\u5236\uff0c\u5f53\u751f\u6210\u7684\u4ee3\u7801\u62a5\u9519\u65f6\uff0c\u7cfb\u7edf\u80fd\u81ea\u52a8\u5206\u6790\u9519\u8bef\u65e5\u5fd7\u5e76\u4fee\u6b63\u4ee3\u7801\uff0c\u786e\u4fdd\u4ee3\u7801\u53ef\u6210\u529f\u8fd0\u884c\u3002<\/li>\n<li><strong>\u89c6\u89c9\u8d28\u91cf\u5ba1\u67e5\uff08Critic Agent\uff09<\/strong>\uff1a\u5229\u7528\u89c6\u89c9\u8bed\u8a00\u6a21\u578b\uff08VLM\uff09\u5145\u5f53\u201c\u5ba1\u7f8e\u6307\u5bfc\u201d\uff0c\u68c0\u67e5\u751f\u6210\u753b\u9762\u7684\u5e03\u5c40\u3001\u91cd\u53e0\u548c\u6e05\u6670\u5ea6\uff0c\u5e76\u63d0\u51fa\u4fee\u6539\u5efa\u8bae\u53cd\u54fa\u7ed9\u7f16\u7801\u5668\u3002<\/li>\n<li><strong>\u9ad8\u7cbe\u5ea6\u77e2\u91cf\u6e32\u67d3<\/strong>\uff1a\u57fa\u4e8e Manim \u5f15\u64ce\u6e32\u67d3\uff0c\u751f\u6210\u7684\u89c6\u9891\u5177\u6709\u65e0\u9650\u5206\u8fa8\u7387\u7684\u6e05\u6670\u5ea6\uff0c\u516c\u5f0f\u548c\u6587\u5b57\u7edd\u65e0\u6a21\u7cca\u6216\u4f2a\u5f71\u3002<\/li>\n<li><strong>\u591a\u6a21\u578b API \u652f\u6301<\/strong>\uff1a\u652f\u6301\u63a5\u5165 Claude\u3001Gemini\u3001GPT-4 \u7b49\u591a\u79cd\u4e3b\u6d41\u5927\u8bed\u8a00\u6a21\u578b\u4f5c\u4e3a\u540e\u7aef\u903b\u8f91\u9a71\u52a8\u3002<\/li>\n<\/ul>\n<h2>\u4f7f\u7528\u5e2e\u52a9<\/h2>\n<p>Code2Video \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u9700\u8981\u5728\u672c\u5730\u914d\u7f6e Python \u73af\u5883\u8fd0\u884c\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u5b89\u88c5\u4e0e\u4f7f\u7528\u6d41\u7a0b\uff0c\u5e2e\u52a9\u4f60\u4ece\u96f6\u5f00\u59cb\u751f\u6210\u7b2c\u4e00\u4e2a\u6559\u5b66\u89c6\u9891\u3002<\/p>\n<h3>1. \u73af\u5883\u51c6\u5907\u4e0e\u5b89\u88c5<\/h3>\n<p>\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u7684\u7535\u8111\u5df2\u5b89\u88c5 Anaconda \u6216 Miniconda\uff0c\u4ee5\u53ca Git\u3002<\/p>\n<p><strong>\u6b65\u9aa4\u4e00\uff1a\u514b\u9686\u9879\u76ee\u4ee3\u7801<\/strong><br \/>\n\u6253\u5f00\u7ec8\u7aef\uff08Terminal\uff09\u6216\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4e0b\u8f7d\u9879\u76ee\uff1a<\/p>\n<pre><code>git clone https:\/\/github.com\/showlab\/Code2Video.git\r\ncd Code2Video\r\n<\/code><\/pre>\n<p><strong>\u6b65\u9aa4\u4e8c\uff1a\u521b\u5efa\u865a\u62df\u73af\u5883<\/strong><br \/>\n\u4e3a\u4e86\u907f\u514d\u4f9d\u8d56\u51b2\u7a81\uff0c\u521b\u5efa\u4e00\u4e2a\u72ec\u7acb\u7684 Python \u73af\u5883\uff08\u5efa\u8bae Python 3.9+\uff09\uff1a<\/p>\n<pre><code>conda create -n code2video python=3.9 -y\r\nconda activate code2video\r\n<\/code><\/pre>\n<p><strong>\u6b65\u9aa4\u4e09\uff1a\u5b89\u88c5\u7cfb\u7edf\u4f9d\u8d56\uff08\u4ee5 Linux \u4e3a\u4f8b\uff09<\/strong><br \/>\nManim \u5f15\u64ce\u9700\u8981\u4e00\u4e9b\u7cfb\u7edf\u7ea7\u7684\u5e93\uff08\u5982 ffmpeg, cairo\uff09\u3002<\/p>\n<pre><code>sudo apt-get update\r\nsudo apt-get install libcairo2-dev libpango1.0-dev ffmpeg\r\n<\/code><\/pre>\n<p><em>\u6ce8\uff1aWindows \u7528\u6237\u8bf7\u53c2\u8003 Manim \u5b98\u65b9\u6587\u6863\u5b89\u88c5 ffmpeg \u548c latex\u3002<\/em><\/p>\n<p><strong>\u6b65\u9aa4\u56db\uff1a\u5b89\u88c5 Python \u4f9d\u8d56<\/strong><br \/>\n\u9879\u76ee\u6700\u8fd1\u4f18\u5316\u4e86\u4f9d\u8d56\u9879\uff0c\u5b89\u88c5\u901f\u5ea6\u5df2\u5927\u5e45\u63d0\u5347\uff1a<\/p>\n<pre><code>pip install -r requirements.txt\r\n<\/code><\/pre>\n<h3>2. \u914d\u7f6e API \u5bc6\u94a5<\/h3>\n<p>Code2Video \u4f9d\u8d56\u5927\u8bed\u8a00\u6a21\u578b\u6765\u751f\u6210\u4ee3\u7801\u3002\u4f60\u9700\u8981\u914d\u7f6e LLM \u7684 API Key\u3002<br \/>\n\u5728\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u627e\u5230\u914d\u7f6e\u6587\u4ef6\uff08\u901a\u5e38\u5728\u00a0<code>config<\/code>\u00a0\u6587\u4ef6\u5939\u6216\u901a\u8fc7\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\uff09\u3002\u5efa\u8bae\u76f4\u63a5\u5728\u7ec8\u7aef\u5bfc\u51fa\u73af\u5883\u53d8\u91cf\uff1a<\/p>\n<pre><code># \u4ee5\u4f7f\u7528 <a href=\"https:\/\/www.kdjingpai.com\/claudeanquanfubai\/\">Claude<\/a> \u4e3a\u4f8b\r\nexport ANTHROPIC_API_KEY=\"sk-ant-...\"\r\n# \u6216\u8005\u4f7f\u7528 OpenAI\r\nexport OPENAI_API_KEY=\"sk-...\"\r\n<\/code><\/pre>\n<p><em>\u63d0\u793a\uff1a\u8bf7\u786e\u4fdd\u4f60\u7684\u8d26\u6237\u6709\u8db3\u591f\u7684 <a href=\"https:\/\/www.kdjingpai.com\/tokenization\/\">Token<\/a> \u989d\u5ea6\u3002<\/em><\/p>\n<h3>3. \u751f\u6210\u89c6\u9891\uff08\u6838\u5fc3\u64cd\u4f5c\uff09<\/h3>\n<p>Code2Video \u63d0\u4f9b\u4e86\u4e00\u4e2a\u4fbf\u6377\u7684\u542f\u52a8\u811a\u672c\u00a0<code>run_agent_single.sh<\/code>\u00a0\u6765\u751f\u6210\u5355\u4e2a\u77e5\u8bc6\u70b9\u7684\u89c6\u9891\u3002<\/p>\n<p><strong>\u57fa\u672c\u547d\u4ee4\u683c\u5f0f\uff1a<\/strong><\/p>\n<pre><code>bash run_agent_single.sh [\u6a21\u578bAPI] [\u8f93\u51fa\u6587\u4ef6\u5939\u524d\u7f00] \"[\u77e5\u8bc6\u70b9\u63cf\u8ff0]\"\r\n<\/code><\/pre>\n<p><strong>\u64cd\u4f5c\u793a\u4f8b\uff1a<\/strong><br \/>\n\u5047\u8bbe\u4f60\u60f3\u751f\u6210\u4e00\u4e2a\u5173\u4e8e\u201c\u52fe\u80a1\u5b9a\u7406\uff08Pythagorean theorem\uff09\u201d\u7684\u89c6\u9891\uff0c\u4f7f\u7528 Claude-3.5-Sonnet \u6a21\u578b\uff0c\u64cd\u4f5c\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li><strong>\u7f16\u8f91\u542f\u52a8\u811a\u672c\uff08\u53ef\u9009\uff09<\/strong>\uff1a<br \/>\n\u4f60\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u547d\u4ee4\uff0c\u4e5f\u53ef\u4ee5\u6253\u5f00\u00a0<code>run_agent_single.sh<\/code>\u00a0\u67e5\u770b\u9ed8\u8ba4\u53c2\u6570\u3002<\/li>\n<li><strong>\u6267\u884c\u751f\u6210\u547d\u4ee4<\/strong>\uff1a\n<pre><code>bash run_agent_single.sh claude-3-5-sonnet test_output \"The Pythagorean theorem explains the relationship between the three sides of a right-angled triangle\"\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<p><strong>\u53c2\u6570\u89e3\u91ca\uff1a<\/strong><\/p>\n<ul>\n<li><code>claude-3-5-sonnet<\/code>\uff1a\u6307\u5b9a\u4f7f\u7528\u7684\u63a8\u7406\u6a21\u578b\uff0c\u63a8\u8350\u4f7f\u7528\u7f16\u7a0b\u80fd\u529b\u5f3a\u7684\u6a21\u578b\u3002<\/li>\n<li><code>test_output<\/code>\uff1a\u751f\u6210\u7684\u89c6\u9891\u548c\u4e2d\u95f4\u6587\u4ef6\u5c06\u4fdd\u5b58\u5728\u00a0<code>experiments\/test_output<\/code>\u00a0\u76ee\u5f55\u4e0b\u3002<\/li>\n<li><code>\"...\"<\/code>\uff1a\u8fd9\u662f\u6700\u91cd\u8981\u7684\u8f93\u5165\uff0c\u7528\u4e00\u53e5\u8bdd\u6e05\u6670\u63cf\u8ff0\u4f60\u60f3\u6559\u7684\u77e5\u8bc6\u70b9\u3002<\/li>\n<\/ul>\n<h3>4. \u67e5\u770b\u7ed3\u679c<\/h3>\n<p>\u7a0b\u5e8f\u8fd0\u884c\u8fc7\u7a0b\u4e2d\uff0c\u7ec8\u7aef\u4f1a\u663e\u793a\u4e09\u4e2a\u667a\u80fd\u4f53\u7684\u534f\u4f5c\u65e5\u5fd7\uff1a<\/p>\n<ol>\n<li><strong>Planner<\/strong>\u00a0\u4f1a\u8f93\u51fa\u8bbe\u8ba1\u597d\u7684\u5206\u955c\u63cf\u8ff0\u3002<\/li>\n<li><strong>Coder<\/strong>\u00a0\u4f1a\u663e\u793a\u6b63\u5728\u751f\u6210\u7684 Python \u4ee3\u7801\uff0c\u5982\u679c\u62a5\u9519\u4f1a\u81ea\u52a8\u91cd\u8bd5\u3002<\/li>\n<li><strong>Critic<\/strong>\u00a0\u4f1a\u7ed9\u51fa\u5bf9\u5f53\u524d\u753b\u9762\u7684\u8bc4\u4ef7\u5206\u6570\u3002<\/li>\n<\/ol>\n<p>\u8fd0\u884c\u5b8c\u6210\u540e\uff0c\u8fdb\u5165\u00a0<code>experiments\/test_output<\/code>\u00a0\u6587\u4ef6\u5939\uff0c\u4f60\u5c06\u770b\u5230\uff1a<\/p>\n<ul>\n<li><code>.mp4<\/code>\u00a0\u6587\u4ef6\uff1a\u6700\u7ec8\u6e32\u67d3\u597d\u7684\u9ad8\u6e05\u89c6\u9891\u3002<\/li>\n<li><code>.py<\/code>\u00a0\u6587\u4ef6\uff1a\u751f\u6210\u7684 Manim \u6e90\u4ee3\u7801\uff08\u4f60\u53ef\u4ee5\u624b\u52a8\u4fee\u6539\u8fd9\u4e9b\u4ee3\u7801\u6765\u5fae\u8c03\u89c6\u9891\uff09\u3002<\/li>\n<li><code>log.txt<\/code>\uff1a\u5b8c\u6574\u7684\u751f\u6210\u8fc7\u7a0b\u65e5\u5fd7\u3002<\/li>\n<\/ul>\n<h3>5. \u8fdb\u9636\u6280\u5de7<\/h3>\n<ul>\n<li><strong>\u81ea\u5b9a\u4e49\u7d20\u6750<\/strong>\uff1a\u5982\u679c\u89c6\u9891\u9700\u8981\u7279\u5b9a\u56fe\u6807\uff0c\u53ef\u4ee5\u5c06 SVG \u6587\u4ef6\u653e\u5165\u00a0<code>assets<\/code>\u00a0\u6587\u4ef6\u5939\uff0c\u5e76\u5728\u63d0\u793a\u8bcd\u4e2d\u63d0\u53ca\u3002<\/li>\n<li><strong>\u8c03\u6574\u65f6\u957f<\/strong>\uff1a\u5728\u8f93\u5165\u7684 Prompt \u4e2d\uff0c\u53ef\u4ee5\u6307\u5b9a\u201c\u751f\u6210\u4e00\u4e2a\u7ea6 30 \u79d2\u7684\u89c6\u9891\u201d\uff0cPlanner \u4f1a\u76f8\u5e94\u8c03\u6574\u5206\u955c\u6570\u91cf\u3002<\/li>\n<\/ul>\n<h2>\u5e94\u7528\u573a\u666f<\/h2>\n<ol>\n<li><strong>\u6570\u5b66\u4e0e\u7269\u7406\u6559\u5b66<\/strong><br \/>\n\u8001\u5e08\u8f93\u5165\u201c\u89e3\u91ca\u5085\u91cc\u53f6\u53d8\u6362\u7684\u57fa\u672c\u539f\u7406\u201d\uff0c\u7cfb\u7edf\u81ea\u52a8\u751f\u6210\u5305\u542b\u52a8\u6001\u6ce2\u5f62\u53e0\u52a0\u52a8\u753b\u7684\u6f14\u793a\u89c6\u9891\uff0c\u76f4\u89c2\u5c55\u793a\u62bd\u8c61\u6982\u5ff5\u3002<\/li>\n<li><strong>\u7b97\u6cd5\u53ef\u89c6\u5316<\/strong><br \/>\n\u8ba1\u7b97\u673a\u4e13\u4e1a\u5b66\u751f\u8f93\u5165\u201c\u4e8c\u5206\u67e5\u627e\u7b97\u6cd5\u6f14\u793a\u201d\uff0c\u751f\u6210\u5c55\u793a\u6570\u7ec4\u7d22\u5f15\u79fb\u52a8\u548c\u67e5\u627e\u8fc7\u7a0b\u7684\u52a8\u753b\uff0c\u7528\u4e8e\u6280\u672f\u535a\u5ba2\u6216\u4f5c\u4e1a\u5c55\u793a\u3002<\/li>\n<li><strong>\u81ea\u52a8\u5316\u7f51\u8bfe\u5236\u4f5c<\/strong><br \/>\n\u6559\u80b2\u673a\u6784\u53ef\u4ee5\u5c06\u6559\u6750\u76ee\u5f55\u6279\u91cf\u8f93\u5165\u7cfb\u7edf\uff0c\u5feb\u901f\u751f\u4ea7\u4e00\u7cfb\u5217\u57fa\u7840\u6982\u5ff5\u7684\u89e3\u91ca\u77ed\u89c6\u9891\uff0c\u5efa\u7acb\u6807\u51c6\u5316\u8bfe\u7a0b\u5e93\u3002<\/li>\n<li><strong>\u79d1\u7814\u8bba\u6587\u5c55\u793a<\/strong><br \/>\n\u7814\u7a76\u4eba\u5458\u53ef\u4ee5\u5c06\u8bba\u6587\u4e2d\u7684\u6838\u5fc3\u516c\u5f0f\u6216\u6a21\u578b\u903b\u8f91\u8f93\u5165\uff0c\u751f\u6210\u9ad8\u7cbe\u5ea6\u7684\u793a\u610f\u52a8\u753b\uff0c\u7528\u4e8e\u5b66\u672f\u4f1a\u8bae\u6f14\u8bb2\u6216\u89c6\u9891\u6458\u8981\uff08Video Abstract\uff09\u3002<\/li>\n<\/ol>\n<h2>QA<\/h2>\n<ol>\n<li><strong>Code2Video \u548c Sora\/Runway \u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/strong><br \/>\nCode2Video \u5e76\u4e0d\u76f4\u63a5\u751f\u6210\u50cf\u7d20\uff0c\u800c\u662f\u751f\u6210\u201c\u4ee3\u7801\u201d\u3002\u8fd9\u610f\u5473\u7740\u5b83\u751f\u6210\u7684\u89c6\u9891\u903b\u8f91\u7edd\u5bf9\u6b63\u786e\uff08\u56e0\u4e3a\u57fa\u4e8e\u6570\u5b66\u516c\u5f0f\u8ba1\u7b97\uff09\uff0c\u6587\u5b57\u548c\u7ebf\u6761\u65e0\u9650\u6e05\u6670\uff0c\u975e\u5e38\u9002\u5408\u6559\u80b2\u548c\u79d1\u666e\uff1b\u800c <a href=\"https:\/\/www.kdjingpai.com\/sora-2\/\">Sora<\/a> \u7b49\u6a21\u578b\u9002\u5408\u751f\u6210\u5199\u5b9e\u6216\u827a\u672f\u7c7b\u7684\u521b\u610f\u89c6\u9891\uff0c\u4f46\u5728\u6587\u5b57\u548c\u903b\u8f91\u51c6\u786e\u6027\u4e0a\u8f83\u5f31\u3002<\/li>\n<li><strong>\u6211\u4e0d\u61c2\u7f16\u7a0b\u53ef\u4ee5\u4f7f\u7528\u5417\uff1f<\/strong><br \/>\n\u53ef\u4ee5\u3002\u4f60\u53ea\u9700\u8981\u8f93\u5165\u6587\u5b57\u63cf\u8ff0\uff08\u63d0\u793a\u8bcd\uff09\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5b8c\u6210\u4ee3\u7801\u7f16\u5199\u3002\u4f46\u5982\u679c\u4f60\u61c2\u4e00\u70b9 Python\/Manim\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u4fee\u6539\u751f\u6210\u7684\u4ee3\u7801\uff0c\u83b7\u5f97\u66f4\u9ad8\u7684\u63a7\u5236\u6743\u3002<\/li>\n<li><strong>\u751f\u6210\u7684\u89c6\u9891\u5f88\u77ed\u600e\u4e48\u529e\uff1f<\/strong><br \/>\n\u76ee\u524d\u7684\u7248\u672c\u4e3b\u8981\u9488\u5bf9\u5355\u4e00\u77e5\u8bc6\u70b9\u751f\u6210\u77ed\u89c6\u9891\uff08\u901a\u5e38 10-60 \u79d2\uff09\u3002\u5982\u679c\u9700\u8981\u957f\u89c6\u9891\uff0c\u5efa\u8bae\u5c06\u5927\u4e3b\u9898\u62c6\u5206\u4e3a\u591a\u4e2a\u5c0f\u77e5\u8bc6\u70b9\u5206\u522b\u751f\u6210\uff0c\u6700\u540e\u5728\u526a\u8f91\u8f6f\u4ef6\u4e2d\u5408\u5e76\u3002<\/li>\n<li><strong>\u5b89\u88c5\u65f6\u63d0\u793a\u7f3a\u5c11 ffmpeg\uff1f<\/strong><br \/>\nManim \u5f3a\u4f9d\u8d56 ffmpeg \u8fdb\u884c\u89c6\u9891\u5408\u6210\u3002\u8bf7\u786e\u4fdd\u5728\u547d\u4ee4\u884c\u8f93\u5165\u00a0<code>ffmpeg -version<\/code>\u00a0\u80fd\u770b\u5230\u7248\u672c\u4fe1\u606f\u3002Windows \u7528\u6237\u9700\u624b\u52a8\u4e0b\u8f7d ffmpeg \u5e76\u5c06\u5176 bin \u76ee\u5f55\u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf Path \u4e2d\u3002<\/li>\n<li><strong>\u652f\u6301\u4e2d\u6587\u8f93\u5165\u5417\uff1f<\/strong><br \/>\n\u652f\u6301\u3002\u867d\u7136\u5e95\u5c42\u4ee3\u7801\u662f\u82f1\u6587\uff0c\u4f46\u4f60\u53ef\u4ee5\u7528\u4e2d\u6587\u63cf\u8ff0\u77e5\u8bc6\u70b9\u3002\u4e3a\u4e86\u66f4\u597d\u7684\u6548\u679c\uff0c\u5efa\u8bae\u5728\u63d0\u793a\u8bcd\u4e2d\u8ffd\u52a0\u201cPlease use Chinese for the text in the video\u201d\u6216\u8005\u76f4\u63a5\u5728\u751f\u6210\u7684\u4ee3\u7801\u4e2d\u5c06\u6587\u672c\u66ff\u6362\u4e3a\u4e2d\u6587\u3002<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Code2Video \u662f\u7531\u65b0\u52a0\u5761\u56fd\u7acb\u5927\u5b66 Show Lab \u63a8\u51fa\u7684\u4e00\u6b3e\u5f00\u521b\u6027\u89c6\u9891\u751f\u6210\u6846\u67b6\uff0c\u5176\u6838\u5fc3\u7406\u5ff5\u662f\u201c\u4ee5\u4ee3\u7801\u4e3a\u4e2d\u5fc3\u201d\u6765\u751f\u6210\u9ad8\u8d28\u91cf\u7684\u6559\u80b2\u89c6\u9891\u3002\u4e0e\u4f20\u7edf\u7684\u76f4\u63a5\u751f\u6210\u50cf\u7d20\u7684 AI \u89c6\u9891\u6a21\u578b\uff08\u5982 Sora\uff09\u4e0d\u540c\uff0cCode2Video \u4e0d\u76f4\u63a5\u201c\u753b\u201d\u89c6\u9891&#8230;<\/p>\n","protected":false},"author":1,"featured_media":32782,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,419,465,484],"tags":[230,204,386],"class_list":["post-60331","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tool","category-ai-learning","category-product-explanation","category-copywriting-video","tag-aikaiyuanxiangmu","tag-aijiaoyugongju","tag-zhinengtiyingyong"],"_links":{"self":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/60331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/comments?post=60331"}],"version-history":[{"count":0,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/60331\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media\/32782"}],"wp:attachment":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media?parent=60331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/categories?post=60331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/tags?post=60331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}