{"id":5906,"date":"2024-09-17T20:55:52","date_gmt":"2024-09-17T12:55:52","guid":{"rendered":"https:\/\/www.xinyixx.com\/?p=5906"},"modified":"2024-09-17T20:58:34","modified_gmt":"2024-09-17T12:58:34","slug":"openchatvideoeditor","status":"publish","type":"post","link":"https:\/\/www.xinyixx.com\/index.php\/2024\/09\/17\/openchatvideoeditor\/","title":{"rendered":"\u77ed\u89c6\u9891\u751f\u6210\u548c\u7f16\u8f91\u5de5\u5177&#8211;OpenChatVideoEditor"},"content":{"rendered":"<h3 class=\"wp-block-heading\">1\u3001\u77ed\u53e5\u8f6c\u77ed\u89c6\u9891\uff08Text2Video\uff09<\/h3>\n\n\n\n<p>\u754c\u9762\u5982\u4e0b:&nbsp;&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><noscript><img decoding=\"async\" src=\"https:\/\/www.freedidi.com\/wp-content\/uploads\/2024\/09\/143106-.png\" alt=\"text2video\" class=\"wp-image-14443\"><\/noscript><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"text2video\" class=\"wp-image-14443 lazyload\" data-src=\"https:\/\/www.freedidi.com\/wp-content\/uploads\/2024\/09\/143106-.png\"><\/figure>\n<\/div>\n\n\n<p>\u4ee5\u8f93\u5165\u6587\u6848\uff1a\u3010\u5c0f\u5b69\u5b50\u517b\u5ba0\u7269\u3011\u4e3a\u4f8b\uff0c\u5229\u7528\u6587\u672c\u6a21\u578b\uff08\u5982\uff1achatgpt \u7b49\uff09\uff0c\u53ef\u4ee5\u81ea\u52a8\u751f\u6210\u4e00\u4e2a\u8f83\u957f\u7684\u77ed\u89c6\u9891\u6587\u6848\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;'\u5c0f\u5b69\u5b50\u517b\u5ba0\u7269', '\u53ef\u4ee5\u66f4\u597d\u5730\u63d0\u5347\u5c0f\u5b69\u5b50\u7684\u8d23\u4efb\u611f\u548c\u72ec\u7acb\u611f', '\u4f46\u4e5f\u8981\u614e\u91cd\u7684\u9009\u62e9\u5408\u9002\u7684\u5ba0\u7269', '\u56e0\u4e3a\u53ea\u6709\u7ecf\u8fc7\u4e00\u5b9a\u7684\u8bad\u7ec3\u517b\u6210', '\u5b83\u4eec\u624d\u80fd\u591f\u6210\u957f\u8d77\u6765', '\u4e00\u8d77\u73a9\u800d\u548c\u5ea6\u8fc7\u4e00\u6bb5\u6b22\u5feb\u7684\u65f6\u5149', '\u5ba0\u7269\u4e0d\u4ec5\u80fd\u591f\u966a\u4f34\u5c0f\u5b69\u5b50\u6e21\u8fc7\u5bc2\u5bde\u65f6\u5149', '\u8fd8\u80fd\u57f9\u517b\u5c0f\u5b69\u5b50\u5904\u4e8b\u51b7\u9759\u3001\u81ea\u4fe1\u4ee5\u53ca\u60c5\u611f\u4ea4\u6d41\u548c\u6c9f\u901a\u80fd\u529b', '\u5728\u517b\u5ba0\u7269\u7684\u8fc7\u7a0b\u4e2d', '\u5c0f\u5b69\u5b50\u4eec\u53ef\u4ee5\u5524\u9192\u548c\u53d1\u6398\u4ed6\u4eec\u88ab\u78e8\u7ec3\u51fa\u6765\u7684\u575a\u6bc5\u548c\u8010\u529b', '\u80fd\u591f\u4eb2\u8eab\u4f53\u9a8c\u5230\u52e4\u52c9 \u548c\u575a\u6301\u7684\u91cd\u8981\u6027'] \n<\/code><\/pre>\n\n\n\n<p>\u6574\u4f53\u6280\u672f\u6846\u67b6\u5982\u4e0b\uff1a<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.freedidi.com\/wp-content\/uploads\/2024\/09\/20240909143023.webp\"><noscript><img decoding=\"async\" src=\"https:\/\/www.freedidi.com\/wp-content\/uploads\/2024\/09\/20240909143023.webp\" alt class=\"wp-image-14441\"><\/noscript><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt class=\"wp-image-14441 lazyload\" data-src=\"https:\/\/www.freedidi.com\/wp-content\/uploads\/2024\/09\/20240909143023.webp\"><\/a><\/figure>\n<\/div>\n\n\n<p>\u6839\u636e\u4e0d\u540c\u7684\u89c6\u9891\u751f\u6210\u6a21\u5f0f\uff0c\u53ef\u4ee5\u751f\u6210\u4e0d\u540c\u7684\u89c6\u9891\uff0c<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2\u3001\u7f51\u9875\u8f6c\u77ed\u89c6\u9891\uff08Url2Video\uff09<\/h3>\n\n\n\n<p>\u754c\u9762\u5982\u4e0b\uff1a<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><noscript><img decoding=\"async\" src=\"https:\/\/www.freedidi.com\/wp-content\/uploads\/2024\/09\/143107-.png\" alt=\"url2video\" class=\"wp-image-14444\"><\/noscript><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"url2video\" class=\"wp-image-14444 lazyload\" data-src=\"https:\/\/www.freedidi.com\/wp-content\/uploads\/2024\/09\/143107-.png\"><\/figure>\n<\/div>\n\n\n<p>1\uff09\u8f93\u5165\u4e00\u4e2aurl, \u4f8b\u5982\uff1a<a target=\"_blank\" href=\"https:\/\/zh.wikipedia.org\/wiki\/%E7%BE%8E%E5%9B%BD%E7%9F%AD%E6%AF%9B%E7%8C%AB\" rel=\"noreferrer noopener\">https:\/\/zh.wikipedia.org\/wiki\/%E7%BE%8E%E5%9B%BD%E7%9F%AD%E6%AF%9B%E7%8C%AB<\/a>&nbsp;\u5176\u5185\u5bb9\u662f\uff1a\u7f8e\u56fd\u77ed\u6bdb\u732b\u7684\u7ef4\u57fa\u767e\u79d1<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><noscript><img decoding=\"async\" src=\"https:\/\/www.freedidi.com\/wp-content\/uploads\/2024\/09\/143107-1-1.png\" alt=\"wiki\" class=\"wp-image-14445\"><\/noscript><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"wiki\" class=\"wp-image-14445 lazyload\" data-src=\"https:\/\/www.freedidi.com\/wp-content\/uploads\/2024\/09\/143107-1-1.png\"><\/figure>\n<\/div>\n\n\n<p>2\uff09\u89e3\u6790\u7f51\u9875\u5e76\u81ea\u52a8\u6458\u8981\u6210\u77ed\u89c6\u9891\u6587\u6848\uff0c\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;'\\n\\n\u7f8e\u56fd\u77ed\u6bdb\u732b', '\u662f\u4e00\u79cd\u795e\u5947\u53c8\u9b54\u5e7b\u7684\u5ba0\u7269\u732b\u54c1\u79cd', '\u5b83\u4eec\u4f18\u96c5\u53ef\u7231', '\u6d3b\u529b\u65e0\u6bd4', '\u80fd\u62e5\u6709\u591a\u8fbe80\u591a\u79cd\u5934\u6bdb\u8272\u5f69', '\u6700\u51fa\u540d\u7684\u662f\u94f6\u864e\u6591', '\u5176\u94f6\u8272\u6bdb\u53d1\u4e2d\u900f\u7740\u6d53\u539a\u7684\u9ed1\u8272\u6591 \n\u7eb9', '\u9664\u6b64\u4e4b\u5916', '\u5b83\u4eec\u8fd8\u975e\u5e38\u6e29\u67d4', '\u662f\u975e\u5e38\u9002\u5408\u5bb6\u5ead\u548c\u4eba\u7c7b\u76f8\u5904\u7684\u5ba0\u7269', '\u5e76\u4e14\u5e73\u5747\u5bff\u547d\u8fbe15-20\u5e74', '\u8fd9\u79cd\u53ef\u7231\u7684\u732b \n\u54c1\u79cd', '\u6b63\u5728\u53d7\u5230\u8d8a\u6765\u8d8a\u591a\u4eba\u7684\u559c\u7231', '\u4e0d\u59a8\u8bd5\u8bd5\u4f60\u4e5f\u6765\u517b\u4e00\u53ea\u5427']<\/code><\/pre>\n\n\n\n<p>3\uff09\u81ea\u52a8\u5408\u6210\u77ed\u89c6\u9891 \u4f8b\u5982\u56fe\u50cf\u751f\u6210\u6a21\u5f0f\u4e0b\u751f\u6210\u7684\u7ed3\u679c\u5982\u4e0b\uff0c\u5176\u4ed6\u6a21\u5f0f\u4e0d\u518d\u4e00\u4e00\u5bf9\u6bd4\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3\u3001\u957f\u89c6\u9891\u8f6c\u77ed\u89c6\u9891\uff08Long Video to Short Video\uff09<\/h3>\n\n\n\n<p><strong>\u5373\u5c06\u53d1\u5e03\uff0c\u656c\u8bf7\u671f\u5f85<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b89\u88c5\u4e0e\u4f7f\u7528<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u73af\u5883\u5b89\u88c5<\/h3>\n\n\n\n<p>\u9996\u5148\u4e0b\u8f7d\u6e90\u7801<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/SCUTlihaoyu\/open-chat-video-editor.git\n<\/code><\/pre>\n\n\n\n<p>\u6839\u636e\u4e0d\u540c\u9700\u6c42\uff0c\u9009\u62e9\u4e0d\u540c\u7684<a href=\"https:\/\/www.freedidi.com\/14431.html#\">&nbsp;\u5b89\u88c5<\/a>\u65b9\u5f0f1\u30012\u3001\u548c3\u3001\u4efb\u9009\u5176\u4e00\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1\u3001Docker<\/h4>\n\n\n\n<p>\u76ee\u524ddocker\u73af\u5883\u56e0\u4e3a\u6bcf\u4e2a\u4eba\u7684cuda\u7248\u672c\u53ef\u80fd\u4e0d\u4e00\u6837\uff0c\u6240\u4ee5\u65e0\u6cd5\u4fdd\u8bc1\u90fd\u80fd\u591f\u6b63\u5e38\u4f7f\u7528GPU\u3002\u76ee\u524d\u652f\u6301\u56fe\u50cf\u68c0\u7d22\u6a21\u5f0f\uff0c<strong>CPU\u673a\u5668\u4e5f\u53ef\u4ee5\u4f7f\u7528<\/strong>\u3002\u4f46docker\u6bd4\u8f83\u5927\uff0c\u9700\u8981\u5360\u7528\u6bd4\u8f83\u591a\u7684\u50a8\u5b58\uff0824G\uff09\u3002 YourPath\u8868\u793a\u5b58\u653e\u4e0a\u9762\u4e0b\u8f7d\u7684\u4ee3\u7801\u7684\u8def\u5f84<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker pull iamjunhonghuang\/open-chat-video-editor:retrival\ndocker run -it --network=host -v \/YourPath\/open-chat-video-editor:\/YourPath\/open-chat-video-editor\/ iamjunhonghuang\/open-chat-video-editor:retrival bash\nconda activate open_editor\n<\/code><\/pre>\n\n\n\n<p>\u6216\u8005\u4f7f\u7528\u963f\u91cc\u4e91\u7684\u955c\u50cf\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker login --username=xxx registry.cn-hangzhou.aliyuncs.com\ndocker pull registry.cn-hangzhou.aliyuncs.com\/iamjunhonghuang\/open-chat-video-editor:retrival\ndocker run -it --network=host -v \/YourPath\/open-chat-video-editor:\/YourPath\/open-chat-video-editor\/ registry.cn-hangzhou.aliyuncs.com\/iamjunhonghuang\/open-chat-video-editor:retrival bash\nconda activate open_editor\n<\/code><\/pre>\n\n\n\n<p>\u6ce8\u610f\uff1a\u76ee\u524d\u6682\u4e0d\u652f\u6301\u4e2d\u6587\u5b57\u5e55\u663e\u793a\uff0c\u6240\u4ee5\u9700\u8981\u4fee\u6539\u914d\u7f6e\u6587\u4ef6yaml\u4e2d\u7684\u5b57\u4f53\u8bbe\u7f6e\uff0c\u4f8b\u5982\u2019image_by_retrieval_text_by_<a href=\"https:\/\/www.freedidi.com\/14431.html#\">&nbsp;chatgpt<\/a>_zh.yaml\u2018<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  subtitle:\n    font: DejaVu-Sans-Bold-Oblique\n    # font: Cantarell-Regular\n    # font: \u534e\u6587\u7ec6\u9ed1\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">2\u3001Linux (\u76ee\u524d\u4ec5\u5728centOS\u6d4b\u8bd5)<\/h4>\n\n\n\n<p>1\uff09\u9996\u5148\u5b89\u88c5\u57fa\u4e8econda\u7684python\u73af\u5883\uff0cgcc\u7248\u672c\u5b89\u88c5\u6d4b\u8bd5\u65f6\u662f8.5.0\uff0c\u6240\u4ee5\u5c3d\u91cf\u5347\u7ea7\u52308\u4ee5\u4e0a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda env create -f env.yaml\nconda env update -f env.yaml #\u5047\u5982\u7b2c\u4e00\u884c\u51fa\u73b0\u9519\u8bef\uff0c\u9700\u8981\u66f4\u65b0\u4f7f\u7528\u7684\u547d\u4ee4\n<\/code><\/pre>\n\n\n\n<p>2\uff09 \u63a5\u7740\u5b89\u88c5\u73af\u5883\u4f9d\u8d56\uff0c\u4e3b\u8981\u76ee\u7684\u662f\u6b63\u5e38\u5b89\u88c5ImageMagick\uff0c\u5176\u4ed6linux\u7248\u672c\u53ef\u4ee5\u53c2\u8003<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># yum groupinstall 'Development Tools'\n# yum install ghostscript\n# yum -y install bzip2-devel freetype-devel libjpeg-devel libpng-devel libtiff-devel giflib-devel zlib-devel ghostscript-devel djvulibre-devel libwmf-devel jasper-devel libtool-ltdl-devel libX11-devel libXext-devel libXt-devel libxml2-devel librsvg2-devel OpenEXR-devel php-devel\n# wget https:\/\/www.imagemagick.org\/download\/ImageMagick.tar.gz\n# tar xvzf ImageMagick.tar.gz\n# cd ImageMagick*\n# .\/configure\n# make\n# make install\n<\/code><\/pre>\n\n\n\n<p>3\uff09\u9700\u8981\u4fee\u6539moviepy\u7684\u8c03\u7528\u8def\u5f84\uff0c\u4e5f\u5c31\u662f\u5c06\u4e0b\u9762\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$HOME\/anaconda3\/envs\/open_editor\/lib\/python3.8\/site-packages\/moviepy\/config_defaults.py\n<\/code><\/pre>\n\n\n\n<p>\u4fee\u6539\u6210<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#IMAGEMAGICK_BINARY = os.getenv('IMAGEMAGICK_BINARY', 'auto-detect')\nIMAGEMAGICK_BINARY='\/usr\/local\/bin\/magick'\n<\/code><\/pre>\n\n\n\n<p>4\uff09\u76ee\u524d\u6682\u4e0d\u652f\u6301\u4e2d\u6587\u5b57\u5e55\u663e\u793a\uff0c\u6240\u4ee5\u9700\u8981\u4fee\u6539\u914d\u7f6e\u6587\u4ef6yaml\u4e2d\u7684\u5b57\u4f53\u8bbe\u7f6e\uff0c\u4f8b\u5982\u2019image_by_retrieval_text_by_<a href=\"https:\/\/www.freedidi.com\/14431.html#\">&nbsp;chatgpt<\/a>_zh.yaml\u2018<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  subtitle:\n    font: DejaVu-Sans-Bold-Oblique\n    # font: Cantarell-Regular\n    # font: \u534e\u6587\u7ec6\u9ed1\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">3\u3001Windows<\/h4>\n\n\n\n<p>1\uff09\u5efa\u8bae\u4f7f\u7528<a href=\"https:\/\/www.freedidi.com\/14431.html#\">&nbsp;python<\/a>&nbsp;3.8.16\u7248\u672c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda create -n open_editor python=3.8.16\n<\/code><\/pre>\n\n\n\n<p>2\uff09\u5b89\u88c5pytorch<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># GPU \u7248\u672c\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu117\n\n# CPU\u7248\u672c\npip3 install torch torchvision torchaudio\n\n<\/code><\/pre>\n\n\n\n<p>3\uff09\u5b89\u88c5\u5176\u4ed6\u4f9d\u8d56\u73af\u5883<\/p>\n\n\n\n<p><code>pip install -r requirements.txt<\/code><\/p>\n\n\n\n<p>4\uff09\u5b89\u88c5clip<\/p>\n\n\n\n<p><code>pip install git+https:\/\/github.com\/openai\/CLIP.git<\/code><\/p>\n\n\n\n<p>5\uff09\u5b89\u88c5faiss<\/p>\n\n\n\n<p><code>conda install -c pytorch faiss-cpu<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4ee3\u7801\u6267\u884c<\/h3>\n\n\n\n<p>1\uff09\u6839\u636e\u5b9e\u9645\u9700\u8981\uff0c\u9009\u62e9\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u914d\u7f6e\u6587\u4ef6<\/th><th>\u8bf4\u660e<\/th><\/tr><\/thead><tbody><tr><td>configs\/text2video\/image_by_retrieval_text_by_chatgpt_zh.yaml<\/td><td>\u77ed\u6587\u672c\u8f6c\u89c6\u9891,\u89c6\u9891\u6587\u6848\u91c7\u7528chatgpt\u751f\u6210,\u89c6\u89c9\u90e8\u5206\u91c7\u7528\u56fe\u50cf\u68c0\u7d22\u6765\u751f\u6210<\/td><\/tr><tr><td>configs\\text2video\\image_by_diffusion_text_by_chatgpt_zh.yaml<\/td><td>\u77ed\u6587\u672c\u8f6c\u89c6\u9891,\u89c6\u9891\u6587\u6848\u91c7\u7528chatgpt\u751f\u6210, \u89c6\u89c9\u90e8\u5206\u91c7\u7528\u56fe\u50cfstable diffusion \u6765\u751f\u6210<\/td><\/tr><tr><td>configs\\text2video\\image_by_retrieval_then_diffusion_chatgpt_zh.yaml<\/td><td>\u77ed\u6587\u672c\u8f6c\u89c6\u9891,\u89c6\u9891\u6587\u6848\u91c7\u7528chatgpt\u751f\u6210,\u89c6\u89c9\u90e8\u5206\u91c7\u7528\u5148\u56fe\u50cf\u68c0\u7d22\uff0c\u7136\u540e\u518d\u57fa\u4e8e\u56fe\u50cf\u7684stable diffusion \u6765\u751f\u6210<\/td><\/tr><tr><td>configs\\text2video\\video_by_retrieval_text_by_chatgpt_zh.yaml<\/td><td>\u77ed\u6587\u672c\u8f6c\u89c6\u9891, \u89c6\u9891\u6587\u6848\u91c7\u7528chatgpt\u751f\u6210,\u89c6\u89c9\u90e8\u5206\u91c7\u7528<a href=\"https:\/\/www.freedidi.com\/14431.html#\">&nbsp;\u89c6\u9891<\/a>\u68c0\u7d22\u6765\u751f\u6210<\/td><\/tr><tr><td>configs\\url2video\\image_by_retrieval_text_by_<a href=\"https:\/\/www.freedidi.com\/14431.html#\">&nbsp;chatgpt<\/a>.yaml<\/td><td>url\u8f6c\u89c6\u9891\uff0c\u89c6\u9891\u6587\u6848\u91c7\u7528chatgpt\u751f\u6210,\u89c6\u89c9\u90e8\u5206\u91c7\u7528\u56fe\u50cf\u68c0\u7d22\u6765\u751f\u6210<\/td><\/tr><tr><td>configs\\url2video\\image_by_diffusion_text_by_chatgpt.yaml<\/td><td>url\u8f6c\u89c6\u9891,\u89c6\u9891\u6587\u6848\u91c7\u7528chatgpt\u751f\u6210, \u89c6\u89c9\u90e8\u5206\u91c7\u7528\u56fe\u50cfstable diffusion \u6765\u751f\u6210<\/td><\/tr><tr><td>configs\\url2video\\image_by_retrieval_then_diffusion_chatgpt.yaml<\/td><td>url\u8f6c\u89c6\u9891,\u89c6\u9891\u6587\u6848\u91c7\u7528chatgpt\u751f\u6210,\u89c6\u89c9\u90e8\u5206\u91c7\u7528\u5148\u56fe\u50cf\u68c0\u7d22\uff0c\u7136\u540e\u518d\u57fa\u4e8e\u56fe\u50cf\u7684stable diffusion \u6765\u751f\u6210<\/td><\/tr><tr><td>configs\\url2video\\video_by_retrieval_text_by_chatgpt.yaml<\/td><td>url\u8f6c\u89c6\u9891,\u89c6\u9891\u6587\u6848\u91c7\u7528chatgpt\u751f\u6210,\u89c6\u89c9\u90e8\u5206\u91c7\u7528\u89c6\u9891\u68c0\u7d22\u6765\u751f\u6210<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff1a\u5982\u679c\u8981\u91c7\u7528ChatGPT\u6765\u751f\u6210\u6587\u6848\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6\u91cc\u9762\uff0c\u6dfb\u52a0organization_id\uff08\u8981\u5728Organization settings\u90a3\u91cc\u67e5\uff0c\u800c\u4e0d\u662f\u76f4\u63a5\u8f93\u5165\u201cpersonal\u201d\uff09\u548c api_key<\/strong><\/p>\n\n\n\n<p>2\uff09\u4e0b\u8f7d\u6570\u636e\u7d22\u5f15\u548cmeta\u4fe1\u606f<a target=\"_blank\" href=\"https:\/\/pan.quark.cn\/s\/19fa46ceb2cb\" rel=\"noreferrer noopener\">data.tar<\/a>,\u5e76\u89e3\u538b\u5230 data\/index \u76ee\u5f55\u4e0b\uff0c<\/p>\n\n\n\n<p>3\uff09\u6267\u884c\u811a\u672c\u3002\u6ce8\u610f\uff1a\u4e0b\u9762\u7684${cfg_file}\u6307\u7684\u662f\u662f\u4e0a\u9762\u5217\u8868\u4e2d\u7684\u914d\u7f6e\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u4e0d\u540c\u914d\u7f6e\u6587\u4ef6\u4f1a\u8fd0\u884c\u4e0d\u540c\u7684\u6a21\u5f0f\u3002\u4f8b\u5982\uff1a\u5c06\u4e0b\u9762${cfg_file}\u66f4\u6539\u6210configs\/text2<a href=\"https:\/\/www.freedidi.com\/14431.html#\">&nbsp;video<\/a>\/image_by_retrieval_text_by_<a href=\"https:\/\/www.freedidi.com\/14431.html#\">&nbsp;chatgpt<\/a>_zh.yaml<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Text to video \npython  app\/app.py --func Text2VideoEditor  --cfg ${cfg_file}\n# URL to video \npython  app\/app.py --func URL2VideoEditor  --cfg ${cfg_file}<\/code><\/pre>\n\n\n\n<p>\u8be5\u5de5\u5177\u4e0b\u8f7d\u5730\u5740\uff1a<\/p>\n\n\n\n<p>1\u3001Github \u5f00\u6e90\u9879\u76ee\uff1a<a href=\"https:\/\/github.com\/SCUTlihaoyu\/open-chat-video-editor\">GitHub &#8211; SCUTlihaoyu\/open-chat-video-editor: Open source short video automatic generation tool<\/a><\/p>\n\n\n\n<p>2\u3001\u7f51\u76d8\u6253\u5305\uff1a<a href=\"https:\/\/pan.tuio.cc\/s\/QGJIX\">open-chat-video-editor-main.zip &#8211; CloudPlus (tuio.cc)<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u77ed\u53e5\u8f6c\u77ed\u89c6\u9891\uff08Text2Video\uff09 \u754c\u9762\u5982\u4e0b:\u00a0\u00a0 \u4ee5\u8f93\u5165\u6587\u6848\uff1a\u3010\u5c0f\u5b69\u5b50\u517b\u5ba0\u7269\u3011\u4e3a\u4f8b\uff0c\u5229\u7528\u6587\u672c\u6a21\u578b\uff08\u5982\uff1a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[5],"tags":[57,422],"class_list":["post-5906","post","type-post","status-publish","format-standard","hentry","category-ai-learn","tag-chatgpt","tag-openchatvideoeditor","entry"],"_links":{"self":[{"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/posts\/5906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/comments?post=5906"}],"version-history":[{"count":0,"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/posts\/5906\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/media?parent=5906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/categories?post=5906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/tags?post=5906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}