dream-to-video

dream-to-video is a skill for Claude Code, Codex from mediastormDev/dream-to-video-skill. It costs 126 tokens per session (5,064 once invoked), scanned A, original, MIT.

A workflow that turns written dream descriptions, diary entries, or spoken dream material into generated videos. It uses the Jimeng platform and downloads the finished video locally.

In plain words
What is it for?
Creating videos from dream text, preparing the generation environment, submitting prompts to Jimeng, and downloading the resulting files.
Why use it?
It removes the need to manually convert a dream into video prompts, operate the generation service, and retrieve the result. It also sets up the required Python, browser, folders, and reference materials.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating videos from dream text, preparing the generation environment, submitting prompts to Jimeng, and downloading the resulting files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mediastormdev/dream-to-video-skill/dream-to-video
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mediastormDev/dream-to-video-skill --skill dream-to-video
Clone the repo
git clone --depth 1 https://github.com/mediastormDev/dream-to-video-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dream-to-video

README.md
[![agentmods](https://agentmods.dev/badge/skills/mediastormdev/dream-to-video-skill/dream-to-video/github.svg)](https://agentmods.dev/skills/mediastormdev/dream-to-video-skill/dream-to-video)
Your own site
<a href="https://agentmods.dev/skills/mediastormdev/dream-to-video-skill/dream-to-video"><img src="https://agentmods.dev/badge/skills/mediastormdev/dream-to-video-skill/dream-to-video/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dream-to-video

Your own site · 80×15
<a href="https://agentmods.dev/skills/mediastormdev/dream-to-video-skill/dream-to-video"><img src="https://agentmods.dev/badge/skills/mediastormdev/dream-to-video-skill/dream-to-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,064 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.05064
Opus 5 $0.00063 $0.02532
Sonnet 5 $0.00025 $0.01013
Haiku 4.5 $0.00013 $0.00506

Measured 12d ago against content hash 11f9be5dde27, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

dream-to-video scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/dream-to-video/SKILL.md · 306 lines

How it starts

The opening of the file, as written. The whole thing — 306 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dream-to-Video 梦境素材全自动视频生成

你负责将用户提供的梦境文字素材转化为视频提示词,并通过自动化工具链提交到即梦平台生成视频、下载到本地。用户只需要给你文字,你最终返回视频文件。


零、首次环境配置

当用户首次使用此 Skill 时,按以下流程自动配置环境。每一步执行后检查结果,全部通过后再告知用户可以开始使用。

路径约定

本文档中 {W} 代表本仓库的 clone 路径(即 dream_to_video/ 目录的父级)。

  • 项目目录:{W}/dream_to_video/
  • Skill 资源目录:{W}/skills/dream-to-video/

执行命令时,将 {W} 替换为实际路径。

自动执行(无需用户操作)

Step 0-0:克隆项目仓库 询问用户希望把项目放在哪个目录,然后执行:

cd "<用户指定的目录>" && git clone https://github.com/mediastormDev/dream-to-video-skill.git && cd dream-to-video-skill

clone 完成后的 dream-to-video-skill 目录即为 {W}。 如果用户说"就在当前目录",则在当前目录下 clone。

Step 0-1:检查 Python

python --version

要求 Python ≥ 3.10。如果未安装或版本过低,停下来提示用户

请先安装 Python 3.10 或更高版本:https://www.python.org/downloads/ 安装时勾选「Add Python to PATH」。

Step 0-2:安装 Python 依赖

cd "{W}/dream_to_video" && pip install -r requirements.txt

Step 0-3:安装 Playwright 浏览器

playwright install chromium

这会下载 Chromium 浏览器引擎(约 150MB),用于自动操控即梦平台。

Step 0-4:创建必要目录

cd "{W}/dream_to_video" && mkdir -p output data auth/browser_profile reference_images/室内 reference_images/室外

Step 0-5:部署参考图素材 仓库内置参考图位于 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 不覆盖已存在的文件。如果用户有自己的公司环境照片,可以额外放入对应目录。

需要用户操作

Step 0-6:即梦平台登录

cd "{W}/dream_to_video" && python main.py login

执行后浏览器会打开即梦网站并显示登录二维码。提示用户:

请用手机抖音/即梦 App 扫描浏览器中的二维码完成登录。登录成功后程序会自动保存凭证,后续无需重复登录。

自检清单

所有步骤完成后,依次运行以下检查,全部 ✅ 才算配置成功:

# 检查 1:Python 版本
python --version
# 期望:Python 3.10+

# 检查 2:核心依赖
python -c "import playwright; import cv2; import numpy; print('deps OK')"
# 期望:输出 deps OK

# 检查 3:Playwright 浏览器
python -c "from playwright.sync_api import sync_playwright; b=sync_playwright().start(); br=b.chromium.launch(headless=True); br.close(); b.stop(); print('browser OK')"
# 期望:输出 browser OK

# 检查 4:目录结构
python -c "from pathlib import Path; dirs=['output','data','auth/browser_profile']; ok=all((Path('{W}/dream_to_video')/d).is_dir() for d in dirs); print('dirs OK' if ok else 'dirs MISSING')"
# 期望:输出 dirs OK

# 检查 5:登录状态
cd "{W}/dream_to_video" && python main.py verify
# 期望:显示登录有效

Read the full file on GitHub · 306 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 306 lines · 126 tokens per session scan A 11f9be5dde27

Subscribe to this mod's changes

dream-to-video is a skill published in the GitHub repository mediastormDev/dream-to-video-skill (360 stars, last pushed 5mo ago), licensed MIT. It adds 126 tokens to every session and 5,064 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens