
4.1 在 Windows 上装
python --versiongit --versionpython -c"import urllib.request; exec(urllib.request.urlopen('https://raw.githubusercontent.com/jieshuo-ai/narrator-ai-cli/main/install.py').read())"git clone https://ghfast.top/https://github.com/jieshuo-ai/narrator-ai-cli.gitcd narrator-ai-clipip install -e .4.2 在 macOS 上装
xcode-select--installcurl -fsSL https://raw.githubusercontent.com/jieshuo-ai/narrator-ai-cli/main/install.py | python3narrator-ai-cli config set app_key 你的API_Keynarrator-ai-cli user balancecurl --location --request POST '/v2/task/commentary/create_generate_writing' \ --header 'app-key: {{app_key}}' \ --header 'Content-Type: application/json' \ --data-raw '{...}'6.1 分层处理:本地做什么、云端做什么
6.2 在本地 Agent 里跑一次会发生什么
6.3 这个架构带来的三个实际好处
narrator-ai-cli commentary create-movie \--movie-file ~/Videos/feichi.mp4 \--platform "tiktok" \--dubbing male \--bgm "轻快节奏" \--task-count 1 \--clone-voice false \--output ~/Videos/feichi_解说.mp4预估消耗: 爆款学习点数:0.00 文案生成点数:140.00 视频合成点数:165.55 总计:305.55 点当前余额:XXXX.XX 点是否继续?(y/N)
8.1 第一步:爆款学习模型
{"video_srt_path": "bf30f03eee4541708a5d059b27ee932e","narrator_type": "电影","model_version": "advanced"}{"code": 10000,"message": "success","data": {"viral_learning_points": 0.00,"commentary_generation_points": 140.00,"video_synthesis_points": 165.55,"total_consume_points": 305.55 }}8.2 第二步:生成解说文案
{"learning_model_id": "narrator-20250929163803-MSBmuw","episodes_data": [ {"video_oss_key": "968bb7aadb154376ae2f1be9ae9e09cf","srt_oss_key": "46555bc7b9a144f99a5fc8beb4751bde","negative_oss_key": "968bb7aadb154376ae2f1be9ae9e09cf","num": 1 } ],"playlet_name": "与神同行","playlet_num": "1","target_platform": "tiktok","task_count": 1,"target_character_name": "","story_info": ""}{"code": 10000,"message": "success","data": {"task_id": "6daeda059326491d996cac6396e8a4dc" }}9.1 TTS 与一个非常实用的停顿语法
{"clone_model": 3,"voice_id": "your_voice_id","audio_text": "欢迎来到本期电影解说<#0.5#>今天我们要聊的是飞驰人生"}{"code": 10000,"message": "success","data": {"task_id": 1457,"consumed_points": "7.2","audio_file": "https://download.jufenqian.top/temp/tts/.../minimax_audio_91.mp3","subtitle_file": "https://download.jufenqian.top/temp/tts/.../minimax_subtitle_91.srt" }}9.2 语音克隆
{"clone_model": 3,"audio_file_id": "你的参考音频本地引用"}9.3 SSE 实时状态推送
curl --location --request POST '/v1/task/create/voice_clone' \ --header 'app-key: {{app_key}}' \ --header 'Accept: text/event-stream' \ --header 'Content-Type: application/json' \ --data-raw '{...}'https://github.com/jieshuo-ai/narrator-ai-cli-skill/blob/main/SKILL.mdmkdir -p ~/.openclaw/skills/narrator-ai-clicp SKILL.md ~/.openclaw/skills/narrator-ai-cli/SKILL.md
夜雨聆风