Loading...
Loading...
Compare original and translation side by side
当用户首次使用此 Skill 时,按以下流程自动配置环境。每一步执行后检查结果,全部通过后再告知用户可以开始使用。
When a user uses this Skill for the first time, automatically configure the environment according to the following process. Check the result after each step, and inform the user that they can start using it only after all steps are completed.
{W}dream_to_video/{W}/dream_to_video/{W}/skills/dream-to-video/{W}{W}dream_to_video/{W}/dream_to_video/{W}/skills/dream-to-video/{W}cd "<用户指定的目录>" && git clone https://github.com/mediastormDev/dream-to-video-skill.git && cd dream-to-video-skilldream-to-video-skill{W}python --version请先安装 Python 3.10 或更高版本:https://www.python.org/downloads/ 安装时勾选「Add Python to PATH」。
cd "{W}/dream_to_video" && pip install -r requirements.txtplaywright install chromiumcd "{W}/dream_to_video" && mkdir -p output data auth/browser_profile reference_images/室内 reference_images/室外skills/dream-to-video/reference_images/cp -n "{W}/skills/dream-to-video/reference_images/室内/"*.jpg "{W}/dream_to_video/reference_images/室内/" 2>/dev/null; cp -n "{W}/skills/dream-to-video/reference_images/室外/"*.jpg "{W}/dream_to_video/reference_images/室外/" 2>/dev/null; echo "reference images deployed"不覆盖已存在的文件。如果用户有自己的公司环境照片,可以额外放入对应目录。-n
cd "<directory specified by user>" && git clone https://github.com/mediastormDev/dream-to-video-skill.git && cd dream-to-video-skilldream-to-video-skill{W}python --versionPlease install Python 3.10 or higher first: https://www.python.org/downloads/ Check "Add Python to PATH" during installation.
cd "{W}/dream_to_video" && pip install -r requirements.txtplaywright install chromiumcd "{W}/dream_to_video" && mkdir -p output data auth/browser_profile reference_images/indoor reference_images/outdoorskills/dream-to-video/reference_images/cp -n "{W}/skills/dream-to-video/reference_images/indoor/"*.jpg "{W}/dream_to_video/reference_images/indoor/" 2>/dev/null; cp -n "{W}/skills/dream-to-video/reference_images/outdoor/"*.jpg "{W}/dream_to_video/reference_images/outdoor/" 2>/dev/null; echo "reference images deployed"does not overwrite existing files. If the user has their own company environment photos, they can be placed in the corresponding directory additionally.-n
cd "{W}/dream_to_video" && python main.py login请用手机抖音/即梦 App 扫描浏览器中的二维码完成登录。登录成功后程序会自动保存凭证,后续无需重复登录。
cd "{W}/dream_to_video" && python main.py loginPlease scan the QR code in the browser with your TikTok/Jiemeng App to complete login. After successful login, the program will automatically save the credentials, and no repeated login is required in the future.
undefinedundefined
**全部通过后,告知用户:**
> 环境配置完成!你现在可以直接给我梦境素材,我会自动生成视频。
**如果某项失败,针对性提示用户如何修复,不要继续后续步骤。**
---
**After all checks pass, inform the user:**
> Environment configuration completed! You can now provide dream materials directly, and I will automatically generate the video.
**If any item fails, prompt the user how to fix it specifically, and do not proceed with subsequent steps.**
---用户给梦境素材 → 你按规则转化为 Prompt → 提交到队列 → Worker 自动生成+下载 → 通知用户User provides dream materials → You convert to Prompt according to rules → Submit to queue → Worker automatically generates + downloads → Notify user参考图中环境;cd "{W}/dream_to_video" && python -u main.py add "你生成的完整Prompt"cd "{W}/dream_to_video" && python -u main.py workerrun_in_background: true参考图中环境;@图片1{W}/dream_to_video/output/Reference image environment;cd "{W}/dream_to_video" && python -u main.py add "the complete Prompt you generated"cd "{W}/dream_to_video" && python -u main.py workerrun_in_background: trueReference image environment;@Image 1{W}/dream_to_video/output/cd "{W}/dream_to_video" && python -u main.py status{W}/dream_to_video/output/batch_state.jsoncd "{W}/dream_to_video" && python -u main.py status{W}/dream_to_video/output/batch_state.json| 用户素材关键词 | Prompt 中为其他人物追加 |
|---|---|
| 美国、纽约、洛杉矶等 | 美国人 |
| 日本、东京、大阪等 | 日本人 |
| 韩国、首尔、釜山等 | 韩国人 |
| 印度、孟买、德里等 | 印度人 |
| 英国、伦敦等 | 英国人 |
| 泰国、曼谷等 | 泰国人 |
| 俄罗斯、莫斯科等 | 俄罗斯人 |
| 其他可识别的国家/地区 | 对应国籍的人 |
| User Material Keywords | Added to Other Characters in Prompt |
|---|---|
| USA, New York, Los Angeles, etc. | American |
| Japan, Tokyo, Osaka, etc. | Japanese |
| South Korea, Seoul, Busan, etc. | Korean |
| India, Mumbai, Delhi, etc. | Indian |
| UK, London, etc. | British |
| Thailand, Bangkok, etc. | Thai |
| Russia, Moscow, etc. | Russian |
| Other recognizable countries/regions | Corresponding nationality |
{W}/dream_to_video/reference_images/| 用户素材示例 | 判断 | 理由 |
|---|---|---|
| "在公司的走廊里" | ✅ 追加 | "公司"指代物理场所 |
| "公司门口停着一辆车" | ✅ 追加 | 描述公司的物理入口 |
| "到了几号楼的电梯间" | ✅ 追加 | 描述具体建筑物 |
| "几号棚的灯全亮着" | ✅ 追加 | 描述具体工棚/摄影棚 |
| "办公楼走廊的灯是绿色的" | ✅ 追加 | 描述办公建筑环境 |
| "写字楼大堂很空旷" | ✅ 追加 | 描述写字楼环境 |
| "工厂车间里全是灰尘" | ✅ 追加 | 描述工厂环境 |
| "公司年会在某个场地里,天花板漏水" | ✅ 追加 | 场地+天花板=物理建筑环境 |
| "在公司加班,办公室的灯突然灭了" | ✅ 追加 | 办公室=物理空间 |
| 用户素材示例 | 判断 | 理由 |
|---|---|---|
| "公司的同事找我借钱" | ❌ 不追加 | "公司的"修饰人,非场所 |
| "和公司的人一起吃饭" | ❌ 不追加 | "公司的人"指社交关系 |
| "公司老板突然出现" | ❌ 不追加 | 指代人物身份 |
| "在商场碰到公司的朋友" | ❌ 不追加 | 场景是商场,非公司 |
| "参与公司红包大战" | ❌ 不追加 | 社交活动,无物理空间描写 |
参考图中环境;这是一个[写实+情绪词]的梦境……{W}/dream_to_video/reference_images/| User Material Example | Judgment | Reason |
|---|---|---|
| "In the corridor of the company" | ✅ Add | "Company" refers to physical place |
| "A car is parked at the entrance of the company" | ✅ Add | Describes the physical entrance of the company |
| "Arrived at the elevator hall of Building X" | ✅ Add | Describes a specific building |
| "All lights in Studio X are on" | ✅ Add | Describes a specific studio/photography studio |
| "The lights in the corridor of the office building are green" | ✅ Add | Describes the office building environment |
| "The lobby of the office building is very empty" | ✅ Add | Describes the office building environment |
| "The factory workshop is full of dust" | ✅ Add | Describes the factory environment |
| "The company annual meeting is in a certain venue, and the ceiling is leaking" | ✅ Add | Venue + ceiling = physical building environment |
| "Working overtime in the company, the lights in the office suddenly went out" | ✅ Add | Office = physical space |
| User Material Example | Judgment | Reason |
|---|---|---|
| "A colleague from the company asked me to borrow money" | ❌ Do not add | "Company's" modifies people, not place |
| "Eating with people from the company" | ❌ Do not add | "People from the company" refers to social relationships |
| "The company boss suddenly appeared" | ❌ Do not add | Refers to character identity |
| "Met a friend from the company in the mall" | ❌ Do not add | The scene is a mall, not a company |
| "Participated in the company red envelope war" | ❌ Do not add | Social activity, no physical space description |
Reference image environment; This is a [realistic + emotional word] dream...这是一个 [写实+情绪词] 的梦境,镜头采用 [镜头方式]。
This is a [realistic + emotional word] dream, shot with [lens method].
| 分镜 | 职能 | 描述要点 |
|---|---|---|
| Shot 1 | 起手与定调 | 环境显现 + 自然光影 + 主角与环境的物理关系 |
| Shot 2 | 主线与细节 | 核心事件 + 超现实细节 + 关键动作交互 |
| Shot 3 | 转折或跳切 | 硬切或物理衔接 + 镜头机位变动 + 诡异反馈 |
| Shot 4-6 | 高潮与退出 | 视觉冲击 + 画面边缘畸变 + 物理消散或硬止 |
| Shot | Function | Description Points |
|---|---|---|
| Shot 1 | Opening & Tone Setting | Environment reveal + natural light and shadow + physical relationship between protagonist and environment |
| Shot 2 | Main Plot & Details | Core event + surreal details + key action interaction |
| Shot 3 | Turning Point or Jump Cut | Hard cut or physical connection + camera angle change + eerie feedback |
| Shot 4-6 | Climax & Exit | Visual impact + frame edge distortion + physical dissipation or hard stop |
Arri Alexa拍摄,鱼眼镜头 (Fisheye 12mm),画面呈现明显桶形畸变。上下黑边 (2.39:1 Letterbox),强制宽银幕电影画幅。暗角 (Heavy Vignette),画面四角压暗向中心收拢。[根据场景填写光影描述],低饱和度冷色调。照片级写实。微弱的数字噪点和类似VHS的失真在画面边缘闪烁,图像感觉脆弱,仿佛随时会崩塌瓦解。梦核。阈限空间。
Shot on Arri Alexa, Fisheye Lens (Fisheye 12mm), obvious barrel distortion in the frame. Letterbox (2.39:1), mandatory wide-screen movie aspect ratio. Heavy Vignette, the four corners of the frame are darkened and converge towards the center. [Fill in light and shadow description according to the scene], low-saturation cool tone. Photo-level realism. Faint digital noise and VHS-like distortion flicker at the frame edges, the image feels fragile as if it will collapse at any moment. Dream core. Liminal space.
cd "{W}/dream_to_video" && python main.py logincd "{W}/dream_to_video" && python main.py login| 文件 | 命名格式 | 说明 |
|---|---|---|
| 原版 | | 即梦生成的原始视频 |
| 特效版 | | 叠加椭圆破碎边缘特效 |
effects/elliptic_shatter.py| File | Naming Format | Description |
|---|---|---|
| Original | | Original video generated by Jiemeng |
| Effect Version | | Overlaid with elliptic shatter edge effect |
effects/elliptic_shatter.pypython main.py add{W}/dream_to_video/output/python main.py add{W}/dream_to_video/output/