mediastormDev/dream-to-video-skill
حول
AI agent skill that transforms dream descriptions into cinematic videos — auto-generates prompts, submits to Jimeng via browser automation, and downloads finished videos with post-processing effects.
الذكاء الاصطناعي وتعلّم الآلةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- -١
- خلال 15 يومًا
- +٣
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلDream-to-Video Skill
AI agent skill that transforms dream text into cinematic videos. Describe your dream, and the agent automatically generates professional video prompts, submits them to the Jimeng platform via browser automation, downloads the finished videos, and applies post-processing effects.
How It Works
Dream text → AI transforms to cinematic prompt → Queue → Browser automation → Jimeng platform → Download → Post-processing → Video files
- Prompt transformation — The AI agent converts your dream description into a detailed cinematic video prompt following 10 strict rules (photorealistic style, fisheye lens, no text overlays, silent narrative, etc.)
- Queue submission — The prompt is added to a local task queue (SQLite + JSONL)
- Browser automation — A background worker drives Chromium via Playwright to interact with the Jimeng video generation platform: login, submit prompts, upload reference images when needed, monitor progress
- Download & post-processing — Completed videos are downloaded and automatically processed with an "Elliptic Shatter" edge effect (center-clear, shattered-glass edges), outputting both the original and the effect version
Install
Via skills CLI
npx skills add mediastormDev/dream-to-video-skill -s dream-to-video
Manual install
Clone the repo and symlink the skill directory into your agent's skill folder:
git clone https://github.com/mediastormDev/dream-to-video-skill.git
mkdir -p ~/.claude/skills
ln -s "$(pwd)/dream-to-video-skill/skills/dream-to-video" ~/.claude/skills/dream-to-video
Requirements
- Python >= 3.10
- Chromium (installed via Playwright)
- An API key from any supported provider:
| Provider | Model | Get a key |
|---|---|---|
| Claude (default) | claude-sonnet-4 | console.anthropic.com |
| OpenAI | gpt-4o | platform.openai.com |
| OpenRouter | any model | openrouter.ai |
| Google Gemini | gemini-2.5-flash | aistudio.google.com |
Setup
After installing the skill, clone this repo to get the Python toolchain:
git clone https://github.com/mediastormDev/dream-to-video-skill.git
cd dream-to-video-skill/dream_to_video
pip install -r requirements.txt
playwright install chromium
Then log in to the Jimeng platform (one-time QR code scan):
python main.py login
Usage
Once set up, just describe a dream to your AI agent:
"I dreamed I was running barefoot on a coastal boardwalk surrounded by hundreds of sea lions..."
The agent will:
- Transform your text into a cinematic video prompt
- Submit it to the queue (
python main.py add "<prompt>") - Start the background worker (
python main.py worker) - Notify you when the video is ready in
dream_to_video/output/
CLI Commands
| Command | Description |
|---|---|
python main.py login |
Log in to Jimeng via QR code |
python main.py verify |
Check login status |
python main.py add "<prompt>" |
Add a prompt to the task queue |
python main.py worker |
Start background worker |
python main.py status |
View task progress |
python main.py generate "<prompt>" |
Single synchronous generation |
python main.py serve |
Start FastAPI web server |
Output
Each task produces two video files in dream_to_video/output/:
task_XXX_YYYYMMDD_HHMMSS.mp4— Original videotask_XXX_YYYYMMDD_HHMMSS_elliptic-shatter.mp4— With shattered-glass edge effect
License
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…