Preparation ⚙️
- Third-party
Account Registration
andEnvironment Variable Configuration (API Key)
- Required Software Installation
Account Registration (Third-party)
All options are free.
Model Libraries
Huggingface
Application link: https://huggingface.co/settings/tokens
Note
Requires VPN access.
Language Models
Google Gemini
Application link: https://aistudio.google.com/apikey
Recommendation level: 🔥🔥🔥🔥🔥 Free quota sufficient for daily use.
Note
Requires VPN access.
DashScope Qwen
Application link: https://bailian.console.aliyun.com/console?tab=model#/api-key
New users receive 1 million free tokens.
Note
Validity is generally 30 ~ 180 days.
Auxiliary Tools
Ngrok Internal and External Tunneling
Application link: https://dashboard.ngrok.com/domains
Info
Optional, not needed for local deployment.
Environment Variables
Below are the environment variables and corresponding API keys that need to be configured. Replace <GOOGLE_API_KEY>
, <DASHSCOPE_API_KEY>
, <HUGGINGFACEHUB_API_TOKEN>
, <NGROK_API_KEY>
, and <NGROK_HOSTNAME>
with your actual keys.
All information is stored in the local computer's environment variables. The program does not record or save API key information.
Right-click This PC and select Properties.
Click Advanced System Settings, then select Environment Variables.
In the System Variables section, click New and add the following variables:
GOOGLE_API_KEY
DASHSCOPE_API_KEY
HUGGINGFACEHUB_API_TOKEN
NGROK_API_KEY
- Open Command Prompt or PowerShell and run the following command to verify:
echo $env:GOOGLE_API_KEY
Tip
For Colab usage, see the 《Remote Deployment》 section.
Software Downloads
Virtual Environment Miniconda
Miniconda allows you to quickly create clean, isolated Python virtual environments, suitable for data analysis, AI projects, custom scripts, and more.
1. Download and Install
Go to the official website to download the Miniconda installer for your operating system: https://www.anaconda.com/download/success
Here, we use Windows
as an example:
- Double-click the
.exe
installer. - Check “Add Miniconda to PATH” (optional but recommended).
- After installation, search for "Anaconda Prompt" in the Start menu.
2. Verify Installation
# List all virtual environments
conda env list
Expected output for a successful installation:
PS C:\Users\home> conda env list
# conda environments:
#
base D:\Projects\miniconda3
3. Common Commands
Command | Description |
---|---|
conda create --name creatorbox python=3.11.11 | Create an environment named creatorbox with Python version 3.11.11 . |
conda env list | List all created virtual environments. |
conda activate creatorbox | Activate the creatorbox environment. |
conda deactivate | Exit the currently activated environment. |
conda remove -n creatorbox --all | Delete the entire environment named creatorbox . |
Note
It is recommended to use Miniconda instead of Anaconda for a smaller size, faster startup, and cleaner dependencies.
Version Control Git
Git is a distributed version control system that helps developers track code changes, collaborate with others, and efficiently manage software projects.
1. Download and Install
Go to the official website to download the Git installer for your operating system: https://git-scm.com/
Here, we use Windows
as an example:
- Double-click the
.exe
installer. - It is recommended to keep the default options during installation.
2. Verify Installation
Right-click on the desktop, select Git Bash Here
, and enter the following command:
git --version
Expected output for a successful installation:
git version 2.47.0.windows.2
3. Common Commands
Command | Description |
---|---|
git clone <repository_url> | Clone and download files from the specified repository URL. |
git pull | Pull the latest content. |
Note
- Avoid spaces and Chinese characters in the
git clone
path to prevent unexpected issues.
- Avoid spaces and Chinese characters in the
- Use
git pull
inside the clonedCreatorBox
folder to update the code directly.
- Use
Video Editing JianYing
JianYing is an all-in-one, easy-to-use desktop video editing software, making creation easier.
1. Download and Install
Go to the official website to download the installer: https://www.capcut.cn
Here, we use Windows
as an example:
- Double-click the
.exe
installer. - Configure options as needed during installation.