project-manager

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Project Manager

项目管理器

Manages the lifecycle of video production projects. Each project gets a manifest, character profiles, workflow records, and asset tracking.
管理视频制作项目的全生命周期。每个项目都包含项目清单、角色档案、工作流记录和资产追踪功能。

Project Structure

项目结构

projects/{project-name}/
  manifest.yaml          # Project metadata, settings, status
  characters/
    {name}/
      profile.yaml       # Character description, reference images, voice profile
      references/         # Source images for this character
      outputs/            # Generated outputs
  workflows/              # Saved ComfyUI workflow JSONs
  assets/                 # External assets (audio, video, images)
  notes.md                # Production notes, what worked/didn't
projects/{project-name}/
  manifest.yaml          # 项目元数据、设置、状态
  characters/
    {name}/
      profile.yaml       # 角色描述、参考图片、语音档案
      references/         # 该角色的源图片
      outputs/            # 生成的输出内容
  workflows/              # 已保存的ComfyUI工作流JSON文件
  assets/                 # 外部资产(音频、视频、图片)
  notes.md                # 制作笔记、可行/不可行方案记录

Commands

命令

Create New Project

创建新项目

When user wants to start a new project:
  1. Ask for project name and brief description
  2. Create directory structure under
    projects/
  3. Generate
    manifest.yaml
    :
yaml
name: "{project-name}"
description: "{description}"
created: "{ISO date}"
updated: "{ISO date}"
status: active  # active | paused | completed | archived

hardware:
  gpu: "RTX 5090"
  vram: 32

defaults:
  checkpoint: ""         # Filled after first successful generation
  upscaler: ""
  cfg: null
  sampler: ""
  scheduler: ""

characters: []           # List of character names
workflows: []            # List of saved workflow files

notes: ""
当用户想要启动新项目时:
  1. 询问项目名称和简要描述
  2. projects/
    目录下创建目录结构
  3. 生成
    manifest.yaml
yaml
name: "{project-name}"
description: "{description}"
created: "{ISO date}"
updated: "{ISO date}"
status: active  # active | paused | completed | archived

hardware:
  gpu: "RTX 5090"
  vram: 32

defaults:
  checkpoint: ""         # 首次成功生成后填充
  upscaler: ""
  cfg: null
  sampler: ""
  scheduler: ""

characters: []           # 角色名称列表
workflows: []            # 已保存的工作流文件列表

notes: ""

Create Character Profile

创建角色档案

When user describes a character:
  1. Create
    projects/{project}/characters/{name}/profile.yaml
    :
yaml
name: "{character-name}"
trigger_word: "{unique_trigger}"  # e.g., "sage_character"
created: "{ISO date}"

appearance:
  gender: ""
  age_range: ""
  ethnicity: ""
  hair: ""
  eyes: ""
  skin: ""
  build: ""
  distinguishing_features: []

personality:
  traits: []
  voice_description: ""

reference_images:
  source_type: ""        # 3d_render | photograph | illustration | generated
  count: 0
  path: "references/"

lora:
  trained: false
  model_file: ""
  trigger_word: ""
  best_strength: null

voice:
  cloned: false
  model: ""              # chatterbox | f5-tts | elevenlabs | rvc
  sample_file: ""
  settings: {}

generation_history:
  preferred_method: ""   # instantid | pulid | infiniteyou | kontext | lora
  best_settings:
    cfg: null
    steps: null
    sampler: ""
    ip_adapter_weight: null
    instantid_weight: null
  successful_prompts: []
  failed_approaches: []
当用户描述一个角色时:
  1. 创建
    projects/{project}/characters/{name}/profile.yaml
yaml
name: "{character-name}"
trigger_word: "{unique_trigger}"  # 示例:"sage_character"
created: "{ISO date}"

appearance:
  gender: ""
  age_range: ""
  ethnicity: ""
  hair: ""
  eyes: ""
  skin: ""
  build: ""
  distinguishing_features: []

personality:
  traits: []
  voice_description: ""

reference_images:
  source_type: ""        # 3d_render | photograph | illustration | generated
  count: 0
  path: "references/"

lora:
  trained: false
  model_file: ""
  trigger_word: ""
  best_strength: null

voice:
  cloned: false
  model: ""              # chatterbox | f5-tts | elevenlabs | rvc
  sample_file: ""
  settings: {}

generation_history:
  preferred_method: ""   # instantid | pulid | infiniteyou | kontext | lora
  best_settings:
    cfg: null
    steps: null
    sampler: ""
    ip_adapter_weight: null
    instantid_weight: null
  successful_prompts: []
  failed_approaches: []

Update Project State

更新项目状态

After any successful generation or pipeline run:
  1. Read current manifest
  2. Update
    defaults
    with settings that worked
  3. Update character's
    generation_history
  4. Add workflow file to
    workflows/
    list
  5. Update
    updated
    timestamp
在任何成功生成或流水线运行后:
  1. 读取当前项目清单
  2. 使用有效的设置更新
    defaults
    字段
  3. 更新角色的
    generation_history
  4. 将工作流文件添加到
    workflows/
    列表中
  5. 更新
    updated
    时间戳

List Projects

列出项目

List all projects under
projects/
with status and character count.
列出
projects/
下的所有项目及其状态和角色数量。

Archive Project

归档项目

Set status to
archived
, optionally compress outputs.
将状态设置为
archived
,可选择压缩输出内容。

Integration

集成

  • comfyui-inventory: Check what's available before recommending approaches
  • comfyui-character-gen: Feed character profile as context for generation
  • comfyui-voice-pipeline: Feed voice profile for synthesis
  • comfyui-lora-training: Use reference images and profile for dataset prep
  • comfyui-inventory:在推荐方案前检查可用资源
  • comfyui-character-gen:将角色档案作为生成上下文传入
  • comfyui-voice-pipeline:传入语音档案用于语音合成
  • comfyui-lora-training:使用参考图片和档案进行数据集准备