Communitygithub.com

3D预可视化到AI视频

通过3D灰盒场景(预可视化)控制AI视频的相机路径和编排——在Blender、three.js或任何3D工具中搭建场景,动画化相机,导出参考视频,并结合角色/车辆/场景参考图像传递给Seedance 2.x参考模式(@Video1 + @Image映射)。

3D预可视化到AI视频 是什么?

该技能解决了一个核心痛点:纯文本提示词无法精确描述复杂的相机运动(如FPV穿越街道、汽车变形时刻)。它利用3D预可视化(灰盒场景)为AI视频生成模型(如Seedance 2.x)提供相机路径、时间控制和对象位置参考。用户首先在Blender、three.js等工具中用简单几何体搭建灰盒场景,动画化相机运动(规则是每段≤8秒只做一个相机动作),然后渲染出参考视频和关键帧联络图。同时准备参考图像(角色多视图、车辆多角度、真实场景照片)。生成时,将灰盒视频作为@Video1,参考图像作为@Image1..n,Seedance会忠实复制相机运动,同时从图像和提示词中获取视觉风格。该技能已覆盖单次运动规律、车内视角、变换镜头、成本估算等细节,特别适合FPV镜头、汽车变形、复杂编排或文本提示无法控制的精确相机运动场景。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/klakix-ai/ai-video-skills/tree/HEAD/skills/3d-previs-to-ai-video

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

3D预可视化到AI视频 是做什么的?

文本无法描述一条精确的FPV路径穿过街道,或者一辆汽车解体并重新组装成另一辆汽车的时刻。3D灰盒可以。参考模式的视频模型(Seedance 2.x)会出色地复制参考视频的相机运动和时序,并通过参考图像获取外观。你获得了3D的精确控制力与视频模型的真实感。

流程

  1. 搭建灰盒场景,使用简单形状:地面、建筑用方块、角色用胶囊体、车辆用带轮子的方块。中性灰材质,普通日光。
  2. 动画化相机(每段一个动作,见规则)以及关键对象。
  3. 渲染联络图(3到6帧),在其他操作前先检查它。
  4. 渲染参考视频,采用目标宽高比和时长(8到15秒;长边1280像素即可)。
  5. 制作参考图像:角色多视图、车辆多角度视图、场景照片。场景和车辆优先使用真实照片(移除人脸和商标)。
  6. 生成,将灰盒作为@Video1,图像作为@Image1..n,使用参考映射提示词(模板如下)。草稿用480p,如果画面会大篇幅展示则最终用720p。
  7. 并排比较(灰盒在上,结果在下),检查相机是否跟随了路径。

灰盒规则

  • 中性灰,普通日光。 使用黄金时刻的灰盒导致结果变得暗沉和偏橙色。外观来自提示词和图像参考,而非灰盒的照明。
  • 每段≤8秒镜头只做一个相机动作。 在8秒内做三个动作(俯冲+跟随+上升)导致“相机太快,效果糟糕”。保持相机速度适中;使用ai-video-camera-language/scripts/camera_speed.py测量渲染效果。
  • 在动作结束时,重要元素必须在画面内;观众记住的是最后一帧。
  • 背景保持合理距离: 自动生成的布局会把山脉直接放在人群后面,用巨大的灰锥填满画面。确保远处的场景至少是主要动作深度的3到4倍。
  • 相机必须拍摄到重要内容。 远处的最终相机使60名骑手的队形不可见。在灰盒中修复,这里修改是零成本的。
  • 变换动作也必须在灰盒内规划。 如果一辆车变成另一辆车,构建匹配的零件组(车门、引擎盖、车轮)附属于一个根对象,并按顺序沉入和升起;这样提示词就能计时相同的秒数。不要在相机紧挨着零件时改变它。
  • 车内镜头: 保持相机在座椅靠背前方,面向驾驶员,这样驾驶员永远不会离开画面。

提示词模板(参考模式)

图像/视频 参考映射
@Video1是灰色3D灰盒:它仅定义相机路径、时序和对象的位置。精确复制@Video1的每一个相机动作。忽略其灰色材质和照明。
@Image1是快递员(角色图)。@Image2是摩托车。@Image3是街道(真实照片)。

真实FPV画面,实际街道,逼真的色彩,真实的曝光,仅有背景有运动模糊,灰尘和污垢。非CGI。

0-3秒:相机从屋顶高度俯冲向来自@Image1的快递员,他正沿着来自@Image3的街道骑着来自@Image2的摩托车。
3-6秒:相机低跟在身后,在停放的车辆间穿梭。
6-8秒:相机升至交叉路口上方,并定格在他身上,他在咖啡馆停下。
相机绝不丢失主体。无文字,无标志,无徽章。

对于变换,描述材质而非效果:“油漆和面板粉碎成细小的金属片和灰尘,露出下方有光泽的表面;无线框,无全息网格”。

真实感备注

  • “35mm胶片,黄金时刻,镜头光晕”导致结果偏向CGI。“真实FPV画面,实际街道,逼真的色彩,非CGI”修复了这个问题。
  • 生成的场景图像带有明信片风格;真实照片使街道可信。
  • 角色:AI生成的脸部能通过参考过滤器,真实人像照片不能,且多面板真实感图表比单张图像更容易被拒绝。如果包含角色图表的请求被拒绝,请在不包含脸部图像的情况下重试一次。

成本与时机(2026年末)

  • Seedance 2.5参考模式(使用参考视频)按大多数提供商的输入视频秒数加上输出秒数计费。一个8秒480p镜头加上8秒灰盒成本约为0.75至0.85美元;生成耗时2.5至3分钟。
  • 使用LLM编写场景图的规划:在我们的测试中,每场约30至60秒,成本0.12至0.20美元。
  • 灰盒迭代免费进行;只在联络图正确后才付费。

工具

Blender(AI代理可通过MCP桥为你搭建灰盒),浏览器中的three.js,Unreal/Unity,或任何能将相机动画渲染成MP4的DCC工具。模型只需要视频。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

ai-video-camera-language

Camera angles, lenses and camera movement for AI video generation (Seedance, Kling, Veo, Sora, MiniMax/Hailuo, Runway, Wan, Luma). A tested library of shot types with copy-paste prompt wording, rules for camera speed, the snap-zoom-and-hold move, what to avoid (whip pans, shake, speed ramps on generated footage), and a script that measures camera speed with optical flow so you can pick the calmest part of a clip. Use when writing camera directions in a video prompt, choosing shot types for a storyboard, when a generated clip feels too fast, shaky or lifeless, or when someone asks about camera angles, camera moves or cinematography for AI video.

ai-video-prompting

Write prompts for AI video models that follow instructions precisely - Seedance 2.0 / 2.5 (text, image, multi-reference with @Image/@Video/@Audio, edit, extend), Kling, Veo, MiniMax/Hailuo, Runway, Wan and Sora. Covers prompt structure, second-by-second timelines, reference maps, negative wording, length limits, when to turn off prompt enhancers, and model-specific quirks we measured. Use when writing or fixing a text-to-video or image-to-video prompt, a Seedance reference prompt, when a model ignores parts of the prompt, or when someone asks how to prompt Seedance, Kling or Veo.

ai-video-realism

Make AI images and AI video look like real footage instead of glossy "AI slop". Device-based realism (describe the phone, GoPro, broadcast camera that shot it and its flaws), what words push models toward CGI, real-photo references for locations and vehicles, key frames with photographic image models, natural colour instead of heavy film looks, and absurd-but-real comedy. Use when output looks fake, plastic, too perfect, too cinematic or like a video game, when someone asks for "hyper-realistic", "photorealistic", "looks like a real video", or when planning key frames for an AI video.

ai-video-shot-planning

Plan a multi-shot AI video (Seedance, Kling, Veo, MiniMax/Hailuo, Runway, Wan) before spending money on generation. Turns an idea into a shot list with per-shot action beats, camera move, scene logic, costume and reference images, key frames, a cheap test plan and a cost estimate. Use when someone asks to make an AI short film, reel, ad, music video, story or "viral video" with more than one shot, asks for a storyboard or shot list, or is about to generate several clips in a row.

相关技能