Skip to content

Preparation ⚙️

  • Third-party Account Registration and Environment 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.

  1. Right-click This PC and select Properties.

  2. Click Advanced System Settings, then select Environment Variables.

  3. In the System Variables section, click New and add the following variables:

  • GOOGLE_API_KEY

  • DASHSCOPE_API_KEY

  • HUGGINGFACEHUB_API_TOKEN

  • NGROK_API_KEY

  1. Open Command Prompt or PowerShell and run the following command to verify:
bash
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

bash
# List all virtual environments
conda env list

Expected output for a successful installation:

log
PS C:\Users\home> conda env list
# conda environments:
#
base                   D:\Projects\miniconda3

3. Common Commands

CommandDescription
conda create --name creatorbox python=3.11.11Create an environment named creatorbox with Python version 3.11.11.
conda env listList all created virtual environments.
conda activate creatorboxActivate the creatorbox environment.
conda deactivateExit the currently activated environment.
conda remove -n creatorbox --allDelete 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:

bash
git --version

Expected output for a successful installation:

log
git version 2.47.0.windows.2

3. Common Commands

CommandDescription
git clone <repository_url>Clone and download files from the specified repository URL.
git pullPull the latest content.

Note

    1. Avoid spaces and Chinese characters in the git clone path to prevent unexpected issues.
    1. Use git pull inside the cloned CreatorBox folder to update the code directly.

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.