MyBits - Wan2GP - Batch file

   In this third episode I will show you how to build a simple batch file to run Wan2GP from your desktop.

  Also you can download the icon I made for the desktop shortcut.

  In this video we use a DIY budget PC with only 8GB VRAM. We use it to Generate free lip syncing video avatars using Wan2GP. Someone commented it would be nice to load it without running a conda prompt every time.

   Follow the free series to build and install the free open source options to get started with AI at home for free.

Wan2GP -Batch File

 

 

Step 1. Open notepad on your windows machine and create a new file.

Step 2. Type or copy and paste the following file:

@ echo off

call conda activate Wan2GP

start http://localhost:7860

cd G:\Wan2GP

cmd /k python wgp.py –i2v

 

Note: line 4

cd G:\Wan2GP

This is the location of my Wan2GP installation – depending on where you put it this could be different.

If you installed it in the default location:

(base)C:\Users\Your_User_name\Wan2GP

then change line 4 to your Wan2GP folder path:

cd C:\Users\Your_User_name\Wan2GP

Step 3.  Save this notepad file as Wan2GP.bat (it has to be inside the Wan2GP folder) where you installed Wan2GP.

 

Step 4.  Right click your desktop and select new Shortcut.

Browse to the .bat file you just saved in the Wan2GP folder and select it. Then hit OK. Click next and name it whatever you want I just use Wan2GP for the shortcut name. Then hit Finish.

 

Step 5. Download this PNG from here. And convert it to an .ico file.

https://mybits.live/wp-content/uploads/2025/08/wan2gp.png

Step 6.  After you download it from here.

Open the PNG in Paint by right clicking on it and selecting Open with Paint.

In Paint go to file, Save as –  Other format from the drop down. In the Save as window that opens change the name to Wan2GP.ico in the File name line, and select the 24-bit Bitmap (*.bmp,*.dib) file type. Select a save location and hit Save.

Step 7. Now right click on your Wan2GP(or whatever you named it) shortcut on your desktop and go to Properties and click on Change icon tab. Hit Browse and browse to this (PNG converted to an .ico image) and double click on it. Now hiit OK, Apply, OK. and it should change it.

 

Step 8. Double click the Shortcut on our desktop for Wan2GP and be patient…..

 —  The terminal opens first.

 — Then the localhost browser opens port 7860 and says Hmmm… it can’t reach the page.

 — Be patient give it time…. it takes a minute for the Wan2GP app to load. It will eventually show the Wan GP v7.77777 by DeepBeepMeep.

 — mine takes about 60 seconds before Wan2GP loads.

 — (OK if your that impatient hit Refresh on the browser).