ランキングに戻る

rese1f/StableVideo

Pythonrese1f.github.io/StableVideo/

[ICCV 2023] StableVideo: Text-driven Consistency-aware Diffusion Video Editing

aigccomputer-visiondiffusion-modelvideo-editingcontrolnet
スター成長
スター
1.4k
フォーク
89
週間成長
Issue
15
1k1.2k1.4k
2023年8月2024年6月2025年4月2026年3月
成果物PyPIpip install stablevideo
README

StableVideo

StableVideo: Text-driven Consistency-aware Diffusion Video Editing
Wenhao Chai, Xun Guo✉️, Gaoang Wang, Yan Lu
ICCV 2023

https://github.com/rese1f/StableVideo/assets/58205475/558555f1-711c-46f0-85bc-9c229ff1f511

https://github.com/rese1f/StableVideo/assets/58205475/c152d0fa-16d3-4528-b9c2-ad2ec53944b9

https://github.com/rese1f/StableVideo/assets/58205475/0edbefdd-9b5f-4868-842c-9bf3156a54d3

VRAM requirement

VRAM (MiB)
float32 29145
amp 23005
amp + cpu 17639
amp + cpu + xformers 14185
  • cpu: use cpu cache, args: save_memory

under default setting (e.g. resolution, etc.) in app.py

Installation

git clone https://github.com/rese1f/StableVideo.git
conda create -n stablevideo python=3.11
pip install -r requirements.txt
(optional) pip install xformers 

(optional) We also provide CPU only version huggingface demo.

git lfs install
git clone https://huggingface.co/spaces/Reself/StableVideo
pip install -r requirements.txt

Download Pretrained Model

All models and detectors can be downloaded from ControlNet Hugging Face page at Download Link.

Download example videos

Download the example atlas for car-turn, boat, libby, blackswa, bear, bicycle_tali, giraffe, kite-surf, lucia and motorbike at Download Link shared by Text2LIVE authors.

You can also train on your own video following NLA.

And it will create a folder data:

StableVideo
├── ...
├── ckpt
│   ├── cldm_v15.yaml
|   ├── dpt_hybrid-midas-501f0c75.pt
│   ├── control_sd15_canny.pth
│   └── control_sd15_depth.pth
├── data
│   └── car-turn
│       ├── checkpoint # NLA models are stored here
│       ├── car-turn # contains video frames
│       ├── ...
│   ├── blackswan
│   ├── ...
└── ...

Run and Play!

Run the following command to start.

python app.py

the result .mp4 video and keyframe will be stored in the directory ./log after clicking render button.

You can also edit the mask region for the foreground atlas as follows. Currently there might be a bug in Gradio. Please carefully check if the editable output foreground atlas block looks the same as the one above. If not, try to restart the entire program.

Citation

If our work is useful for your research, please consider citing as below. Many thanks :)

@article{chai2023stablevideo,
  title={StableVideo: Text-driven Consistency-aware Diffusion Video Editing},
  author={Chai, Wenhao and Guo, Xun and Wang, Gaoang and Lu, Yan},
  journal={arXiv preprint arXiv:2308.09592},
  year={2023}
}

Acknowledgement

This implementation is built partly on Text2LIVE and ControlNet.

関連リポジトリ
ZhuLinsen/daily_stock_analysis

LLM 驱动的多市场股票智能分析系统:多源行情、实时新闻、决策看板与自动推送,支持零成本定时运行。 LLM-powered multi-market stock analysis system with multi-source market data, real-time news, decision dashboard, automated notifications, and cost-free scheduled runs.

PythonPyPIMIT Licenseaigcllm
dsa.zhulinsen.tech
58.2k50k
ATH-MaaS/Pixelle-Video

🚀 AI 全自动短视频引擎 | AI Fully Automated Short Video Engine

PythonPyPIApache License 2.0aigccomfyui
aidc-ai.github.io/Pixelle-Video/zh
25.8k3.7k
Wan-Video/Wan2.2

Wan: Open and Advanced Large-Scale Video Generative Models

PythonPyPIApache License 2.0aigcvideo-generation
wan.video
16.8k2.1k
Wan-Video/Wan2.1

Wan: Open and Advanced Large-Scale Video Generative Models

PythonPyPIApache License 2.0aigcvideogeneration
wan.video
16.6k3k
liaokongVFX/LangChain-Chinese-Getting-Started-Guide

LangChain 的中文入门教程

chatgptlangchain
9.1k710
rockbenben/ChatGPT-Shortcut

🚀💪Maximize your efficiency and productivity. The ultimate hub to manage, customize, and share prompts. (English/中文/Español/العربية). 让生产力加倍的 AI 快捷指令。更高效地管理提示词,在分享社区中发现适用于不同场景的灵感。

TypeScriptnpmMIT Licensechatgptprompts
aishort.top/en
8.6k947
lipku/LiveTalking

Real time interactive streaming digital human

PythonPyPIApache License 2.0digital-humannerf
livetalking.ai
8.5k1.4k
zilliztech/GPTCache

Semantic cache for LLMs. Fully integrated with LangChain and llama_index.

PythonPyPIMIT Licensechatbotchatgpt
gptcache.readthedocs.io
8.1k587
YaoApp/yao

✨ Build AI agents and web apps — with a single binary.

GoGo ModulesOthergolangapi
yaoagents.com
7.5k686
open-mmlab/mmagic

OpenMMLab Multimodal Advanced, Generative, and Intelligent Creation Toolbox. Unlock the magic 🪄: Generative-AI (AIGC), easy-to-use APIs, awsome model zoo, diffusion models, for text-to-image generation, image/video restoration/enhancement, etc.

Jupyter NotebookApache License 2.0super-resolutioninpainting
mmagic.readthedocs.io/en/latest/
7.4k1.1k
Moonvy/OpenPromptStudio

🥣 AIGC 提示词可视化编辑器 | OPS | Open Prompt Studio

Vueaiaigc
moonvy.com/apps/ops/
6.6k741
EwingYangs/awesome-open-gpt

Collection of Open Source Projects Related to GPT,GPT相关开源项目合集🚀、精选🔥🔥

PythonPyPIaigcchatgpt
6k543