Skip to content

ReShot — copy the shot, not the actors. Video → depth map, OpenPose skeleton or canny lines for Seedance 2.0/2.5 reference video, MiniMax H3 Fun ControlNet and Wan VACE. Apache-2.0. Open-sourced by Maosika 猫斯卡 (www.maosika.com), the AI short-drama production system.

colab: call the reshot console script (PyPI 0.4.0 has no __main__)

wangfeng210a1cc4ff14
diff --git a/examples/reshot_colab.ipynb b/examples/reshot_colab.ipynb
index a4f2407..d01c65e 100644
--- a/examples/reshot_colab.ipynb
+++ b/examples/reshot_colab.ipynb
@@ -117,9 +117,9 @@
"#@title Run (a 12 s clip takes ~40 s on a T4 at `fast`, ~2 min at `full`)\n",
"target = \"seedance\" #@param [\"seedance\", \"h3\", \"wan\", \"none\"]\n",
"quality = \"fast\" #@param [\"fast\", \"full\"]\n",
- "import json, subprocess, sys, time\n",
+ "import json, os, shutil, subprocess, time\n",
"t0 = time.time()\n",
- "r = subprocess.run([sys.executable, \"-m\", \"reshot\", INPUT, \"-o\", \"depth.mp4\",\n",
+ "r = subprocess.run([shutil.which(\"reshot\") or \"reshot\", INPUT, \"-o\", \"depth.mp4\",\n",
" \"--target\", target, \"--quality\", quality, \"--metrics\", \"metrics.json\"],\n",
" capture_output=True, text=True)\n",
"print(r.stderr[-3000:])\n",