不知道错在哪里,我自己写的api接口,模型都在本地,生成的时候总是报错
生成一个红楼梦简介 │
│ › tool vimax_narrative_planning started │
│ › tool vimax_narrative_planning: starting: Starting narrative planning │
│ › tool vimax_narrative_planning: initializing_llm: Initializing bounded chat model │
│ › tool vimax_narrative_planning: chat_model_ready: Bounded chat model initialized │
│ › tool vimax_narrative_planning: idea_pipeline_ready: Idea pipeline initialized │
│ › tool vimax_narrative_planning: develop_story: Developing story from user idea │
│ › tool vimax_narrative_planning: extract_characters: Extracting characters from story │
│ › tool vimax_narrative_planning: write_script: Writing scene scripts from story │
│ › tool vimax_narrative_planning: plan_scene: Planning scene 0 storyboard and shots │
│ › tool vimax_narrative_planning: extract_characters: Using provided characters │
│ › tool vimax_narrative_planning: design_storyboard: Designing storyboard │
│ › tool vimax_narrative_planning: decompose_shots: Decomposing shot visual descriptions │
│ › tool vimax_narrative_planning: construct_camera_tree: Constructing camera tree │
│ › tool vimax_narrative_planning: construct_camera_tree_retry: Retrying camera tree construction after schema/type failure │
│ › tool vimax_narrative_planning: completed: Narrative planning complete │
│ › tool vimax_narrative_planning done │
│ › 已成功创建《红楼梦》简介项目。现在我已经生成了以下结构化文本文件: │
│ - idea2video/story.txt │
│ - idea2video/characters.json │
│ - idea2video/script.json │
│ - idea2video/scene_*/storyboard.json │
│ - idea2video/scene_*/camera_tree.json │
│ - idea2video/scene_*/shots/*/shot_description.json │
│ │
│ 这些文件包含了项目的基本规划。接下来您需要决定是否要进入渲染阶段。如果您希望生成最终的视频,我可以调用渲染工具。或者您也可以先检查这些文本文件的内容,并提出修改意见。 │
│ › 进入渲染 │
│ › tool vimax_render_video started │
│ › tool vimax_render_video: rendering: Starting video render │
│ › tool vimax_render_video: render_failed: Render failed; partial artifacts were kept │
│ › tool vimax_render_video error: Render failed: │
│ › 渲染失败,缺少以下文件: │
│ │
│ ### 缺少的文件: │
│ - idea2video/final_video.mp4 │
│ - script2video/characters.json │
│ - script2video/storyboard.json │
│ - script2video/shots/*/shot_description.json │
│ - script2video/camera_tree.json │
│ - script2video/shots/*/*_selector_output.json │
│ - script2video/final_video.mp4 │
│ - novel2video/novel/novel.txt │
│ - novel2video/novel/novel_compressed.txt │
│ - novel2video/events/event_*.json │
│ - novel2video/relevant_chunks/event_* │
│ - novel2video/scenes/event_*/scene_*.json │
│ - novel2video/global_information/characters/event_level/*.json │
│ - novel2video/global_information/characters/novel_level/*.json │
│ │
│ ### 问题分析: │
│ 您尝试渲染的项目依赖于一系列结构化文本文件,但这些文件要么缺失,要么未正确生成。主要问题在于: │
│ 1. final_video.mp4 缺失:这是最终的视频输出文件,尚未生成。 │
│ 2. script2video 目录中的多个文件缺失:这些文件是渲染过程的关键依赖。 │
│ 3. novel2video 目录中的相关文件也缺失:虽然您当前只关注《红楼梦》的简介,但某些文件的缺失可能影响整体流程。 │
│ │
│ ### 建议: │
│ 1. 检查并补充缺失的文件: │
│ - 请确认 idea2video/story.txt、idea2video/characters.json 等文件是否已正确生成。 │
│ - 如果这些文件存在,请确保它们的路径和格式符合要求。 │
│ - 对于 script2video 和 novel2video 中缺失的文件,您需要先生成这些文件,然后再尝试渲染。 │
│ │
│ 2. 调用 vimax_narrative_planning 优化工作流程: │
│ - 您可以重新调用 vimax_narrative_planning 工具,以生成缺失的文本文件。 │
│ - 请明确指出您需要生成的文件或指定修改要求。 │
│ │
│ 3. 重新启动渲染流程: │
│ - 在确保所有依赖文件都已生成后,您可以再次调用 vimax_render_video 进行渲染。 │
│ │
│ 请告诉我下一步的计划,例如: │
│ - 是否需要我协助生成缺失的文件? │
│ - 是否希望我重新审视现有的文本规划? │
│ › 2 │
│ › tool vimax_narrative_planning started │
│ › tool vimax_narrative_planning error: revision_instruction is required when revision_target is provided. │
│ › tool vim
Source: HKUDS/ViMax