TheDenk/cogvideox-5b-controlnet-hed-v1
2272
CogvideoX-5b Controlnet Extention
<video controls autoplay src="https://cdn-uploads.huggingface.co/production/uploads/63fde49f6315a264aba6a7ed/frns--XYMiWf0mBUI0UMK.mp4"></video>
(Warning) This is raw version of controlnet. Better version will be published soon.
How to
Clone repo
git clone https://github.com/TheDenk/cogvideox-controlnet.git
cd cogvideox-controlnetCreate venv
python -m venv venv
source venv/bin/activateInstall requirements
pip install -r requirements.txtInference examples
Inference with cli
python -m inference.cli_demo \
--video_path "resources/car.mp4" \
--prompt "The camera follows behind red car. Car is surrounded by a panoramic view of the vast, azure ocean. Seagulls soar overhead, and in the distance, a lighthouse stands sentinel, its beam cutting through the twilight. The scene captures a perfect blend of adventure and serenity, with the car symbolizing freedom on the open sea." \
--controlnet_type "hed" \
--base_model_path THUDM/CogVideoX-5b \
--controlnet_model_path TheDenk/cogvideox-5b-controlnet-hed-v1Inference with Gradio
python -m inference.gradio_web_demo \
--controlnet_type "hed" \
--base_model_path THUDM/CogVideoX-5b \
--controlnet_model_path TheDenk/cogvideox-5b-controlnet-hed-v1Acknowledgements
Original code and models CogVideoX.
Contacts
<p>Issues should be raised directly in the repository. For professional support and recommendations please <a>welcomedenk@gmail.com</a>.</p>
