Now I have a comprehensive understanding of the Writer规范 (still v6.0, Main said it updated to v7.0 but the file is still v6.0) and the quality self-check system. Let me also look at the Main session's last message more carefully - it mentioned the report was about "三阶段角色一致性控制体系" with specific system adjustment suggestions.

Let me now cross-reference the Writer规范 requirements with the actual system code to find gaps.

Key areas to check based on the report summary:
1. **三同铁律**: 同模型、同seed、同锚点前缀 - Does our system support seed values?
2. **四同要求**: 同模型、同seed、同光影、同色调 - scene generation
3. **参考图驱动**: 2张参考图必传 - shot ref generation
4. **提示词三段式结构** - image_prompt format
5. **一致性检查工具** - QA checks
6. **seed值管理系统** - Not implemented
7. **锚点特征库** - Partially implemented (v3.15 anchor injection)
8. **三阶段门控机制** - Not implemented

Let me check the current system code for these specific gaps.

现在我已经读取了Writer行为规范(v6.0)和创作质量自查体系规范。结合Main报告中提到的"三阶段角色一致性控制体系"的5个系统调整方向，让我反查慢剧系统代码中的差距：

# 检查1: seed值支持
grep -rn "seed" /root/.openclaw/workspace/versions/user_driven_final_v3.0.1/manhua_studio_web_8000/real_api_client.py 2>/dev/null | head -10
echo "=== task_system seed ==="
grep -n "seed" /root/.openclaw/workspace/versions/user_driven_final_v3.0.1/manhua_studio_web_8000/user_driven_task_system.py | head -10


34:    "seedance_1.5_pro": "doubao-seedance-1-5-pro-251215",
35:    "seedance_1.0_pro": "doubao-seedance-1-0-pro-250528",
36:    "seedance_1.0_fast": "doubao-seedance-1-0-pro-fast-251015",
39:    "seedream_5.0L": "ep-20260519154951-zrktj",  # doubao-seedream-5-0 接入点ID
40:    "seedream_4.5": "doubao-seedream-4-5-251128",
41:    "seedream_4.0": "doubao-seedream-4-0-250828",
46:    "doubao-seedream-5-0": "ep-20260519154951-zrktj",
47:    "doubao-seedream-4-5-251128": "doubao-seedream-4-5-251128",
48:    "doubao-seedream-4-0-250828": "doubao-seedream-4-0-250828",
50:DEFAULT_VIDEO_MODEL = VIDEO_MODELS["seedance_1.5_pro"]
=== task_system seed ===
7:v3.8: 恢复seedream图生图功能 - 使用官方`image`参数(非image_url),角色图/场景图/镜头参考图均支持参考图输入
227:            image_model: 图片生成模型(auto/doubao-seedream-4-5-251128/doubao-seedream-4-0-250828)
228:            video_model: 视频生成模型(auto/doubao-seedance-1-5-pro-251215/doubao-seedance-1-0-pro-250528/doubao-seedance-1-0-pro-fast-251015)
1062:图片模型: Seedream 5.0L (doubao-seedream-5-0), Seedream 4.5 (doubao-seedream-4-5-251128), Seedream 4.0 (doubao-seedream-4-0-250828)
1063:视频模型: Seedance 1.5 Pro (doubao-seedance-1-5-pro-251215), Seedance 1.0 Pro (doubao-seedance-1-0-pro-250528), Seedance 1.0 Fast (doubao-seedance-1-0-pro-fast-251015)
1076:{{"title":"剧名","genre":"类型","synopsis":"200字以内剧情概要","emotional_arc":"情感曲线描述","visual_style_recommendation":{{"primary":"主要风格","secondary":"备选风格","reason":"推荐理由"}},"template_recommendation":{{"name":"推荐模板名","reason":"推荐理由"}},"model_recommendation":{{"image_model":"doubao-seedream-5-0或doubao-seedream-4-5-251128","video_model":"doubao-seedance-1-5-pro-251215或doubao-seedance-1-0-pro-fast-251015","reason":"推荐理由"}},"characters":[{{"character_id":"C01","name":"角色名","gender":"male或female","age":25,"role":"主角/配角/反派等","identity":"身份定位(如:职场新人/家庭主妇)","appearance":"详细外貌描述:身高体型、面部特征、发型发色、服装款式颜色材质、配饰道具，至少60字","distinctive_features":"标志性特征(如:左耳小痣/总扎马尾/戴圆框眼镜)","personality":"核心性格特点与行为习惯","speech_style":"说话风格、口头禅、常用语","catchphrases":["口头禅1","口头禅2"],"habits":"专属小动作/小习惯","variants":[{{"state":"默认状态","description":"日常状态外观描述","prompt_suffix":"日常穿搭，自然表情"}},{{"state":"情绪极端","description":"情绪激动时外观描述","prompt_suffix":"激动表情，动作夸张"}},{{"state":"特殊场景","description":"特殊场景外观描述","prompt_suffix":"特殊服装，场景特定"}}],"character_arc":"角色成长弧光简述"}}],"scenes_overview":[{{"scene_id":1,"location":"场景地点","time":"时间","atmosphere":"氛围描述","purpose":"剧情作用","core_elements":["核心视觉元素1","核心视觉元素2"],"props_fixed":["固定道具1","固定道具2"]}}]}}


exec

# 检查2: generate_image API是否支持seed参数
grep -n "def generate_image\|seed" /root/.openclaw/workspace/versions/user_driven_final_v3.0.1/manhua_studio_web_8000/real_api_client.py | head -20


34:    "seedance_1.5_pro": "doubao-seedance-1-5-pro-251215",
35:    "seedance_1.0_pro": "doubao-seedance-1-0-pro-250528",
36:    "seedance_1.0_fast": "doubao-seedance-1-0-pro-fast-251015",
39:    "seedream_5.0L": "ep-20260519154951-zrktj",  # doubao-seedream-5-0 接入点ID
40:    "seedream_4.5": "doubao-seedream-4-5-251128",
41:    "seedream_4.0": "doubao-seedream-4-0-250828",
46:    "doubao-seedream-5-0": "ep-20260519154951-zrktj",
47:    "doubao-seedream-4-5-251128": "doubao-seedream-4-5-251128",
48:    "doubao-seedream-4-0-250828": "doubao-seedream-4-0-250828",
50:DEFAULT_VIDEO_MODEL = VIDEO_MODELS["seedance_1.5_pro"]
51:DEFAULT_IMAGE_MODEL = IMAGE_MODELS["seedream_5.0L"]
82:    seed: int = None, resolution: str = None, camera_fixed: bool = None,
99:    - seed: 种子值[-1,2^32-1]，相同seed生成类似结果
116:    if seed is not None:
117:        body["seed"] = seed
223:def generate_image(
235:    seed: int = None,
237:    """生成图片 - seedream-5.0-lite/4.5/4.0/3.0
243:    - model: 模型ID(seedream-5.0-lite/4.5/4.0/3.0)
245:    - n: 生成数量(仅seedream-3.0有效,5.0-lite/4.5/4.0固定返回1张)


# 检查3: generate_image中seed参数是否传给API
sed -n '223,300p' /root/.openclaw/workspace/versions/user_driven_final_v3.0.1/manhua_studio_web_8000/real_api_client.py


def generate_image(
    prompt: str, model: str = None, size: str = "2048x2048",
    n: int = 1, download_dir: str = None,
    ref_image: str = None, ref_images: list = None,
    watermark: bool = False,
    output_format: str = "jpeg", response_format: str = "url",
    sequential_image_generation: str = None,
    sequential_image_generation_options: dict = None,
    stream: bool = False,
    guidance_scale: float = None,
    optimize_prompt_options: dict = None,
    tools: list = None,
    seed: int = None,
) -> Dict[str, Any]:
    """生成图片 - seedream-5.0-lite/4.5/4.0/3.0

    完整参数说明(官方文档 https://www.volcengine.com/docs/82379/1541523):

    基础参数:
    - prompt: 提示词(中英文,建议不超过300汉字/600英文词)
    - model: 模型ID(seedream-5.0-lite/4.5/4.0/3.0)
    - size: 图片尺寸,支持"2K"/"3K"/"4K"简写或"宽x高"像素值
    - n: 生成数量(仅seedream-3.0有效,5.0-lite/4.5/4.0固定返回1张)
    - watermark: 水印(默认false)
    - output_format: "jpeg"(默认)或"png"(仅5.0-lite)
    - response_format: "url"(默认)或"b64_json"

    图生图参数:
    - ref_image: 单张参考图(URL/Base64/本地路径)
    - ref_images: 多张参考图列表(2-14张,仅5.0-lite/4.5/4.0)
      例: ["https://xxx.png", "data:image/png;base64,...", "/path/to/local.png"]

    组图参数(仅5.0-lite/4.5/4.0):
    - sequential_image_generation: "auto"(组图)或"disabled"(单图,默认)
    - sequential_image_generation_options: {"max_images": N} 组图最大数量(1-15)

    高级参数:
    - stream: 流式输出(仅5.0-lite/4.5/4.0)
    - guidance_scale: 文本权重[1,10](仅seedream-3.0)
    - optimize_prompt_options: 提示词优化配置,如{"mode":"standard"}(仅5.0-lite/4.5)
      mode: "standard"(标准,质量高)或"fast"(快速,仅4.0)
    - tools: 工具列表,如[{"type":"web_search"}](仅5.0-lite)
    - seed: 随机种子(可复现结果)
    """
    model = model or DEFAULT_IMAGE_MODEL
    # v3.14: 模型名→接入点ID映射
    model = MODEL_TO_ENDPOINT.get(model, model)
    # seedream-4.5 最小像素限制自动升档
    try:
        w, h = size.split('x')
        if int(w) * int(h) < 3686400:
            size = "1440x2560" if int(h) > int(w) else "1920x1920"
            logger.info(f"图片尺寸自动升档至 {size}")
    except (ValueError, AttributeError):
        pass
    body = {
        "model": model, "prompt": prompt, "size": size, "n": n,
        "watermark": watermark, "response_format": response_format,
    }

    # === 参考图处理 ===
    # 单张参考图(image参数, 兼容旧接口ref_image)
    if ref_image:
        body["image"] = _encode_image_input(ref_image)

    # 多张参考图(image参数传入数组, 仅5.0-lite/4.5/4.0支持)
    if ref_images:
        encoded_list = []
        for img in ref_images:
            encoded = _encode_image_input(img)
            if encoded:
                encoded_list.append(encoded)
        if len(encoded_list) > 1:
            # 多图: image参数传数组
            if ref_image:
                # 已有单图, 合并
                body["image"] = [body["image"]] + encoded_list
            else: