feat(viral-video): v1.6 single-shot Seedance + director storyboard #2124 #2126
Reference in New Issue
Block a user
Delete Branch "fix/2124-storyboard-pipeline-single-shot"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
变更概述
重大架构简化(Seedance 2.5 单次最长30秒,直接出片):
1. 文案输出改为编导分镜脚本
输出从营销口播文案改为专业编导分镜脚本(给 Seedance 用的导演提示词)。CopyResult v1.6 新结构:
overview:{theme, total_duration, aspect_ratio}scene_and_lighting: 整体场景+光线描述shots[]: 逐镜头时间轴(每镜含time_range/shot_type_angle_movement/scene_and_dialogue/action_details/audio_bgm/transition/reference_image_index)hard_constraints[]: 硬性约束(无字幕/无水印/人物一致/口型同步/无变形)negative_prompts[]: 负面提示词(字幕/水印/错误文字/五官崩坏/多余手指/闪烁/模糊)voiceover_script: 完整口播稿(纯文本,用于TTS)2. Pipeline 简化为4步
_step_image_analysis(VLM分析,加None防护)_step_script_generation(编导脚本生成,融合原copy_fusion+storyboard+review,输出严格JSON)_step_tts(整段合成+上传OSS做reference_audios)_step_render(单次Seedance调用直接出片)_step_upload(直接上传单个mp4)3. 删除的代码
4. 新增能力
ai_client.video_generation/ai_service.call_video_generation支持reference_images/reference_audios/reference_videos/generate_audio/model参数reference_audios[0]驱动整段口型reference_images(首帧通过image_url单独传,其余做多参考)reference_videos传入5. E2E Bug修复
_step_image_analysis全路径加 None/非dict/异常 fallback6. 向后兼容
final_copy = voiceover_script、storyboard = shots、generated_copy_text = voiceover_script_build_copy_result老数据降级拼装(从v1.5 storyboard list[dict]转shots)run_viral_video_pipeline/resume_viral_video_pipeline保留兼容参数
测试
🚀 预览环境已部署
84f7f698bcto6eeb33bbf38e8f9d5a18to649420bd35🗑️ 预览环境已清理
PR #2126 已关闭或合并,对应的预览环境已被清理。