2026-04-14 12:05:56 +08:00
2026-03-18 17:36:07 +08:00
2026-03-25 19:35:37 +08:00
2026-03-25 19:35:37 +08:00
2026-04-14 12:05:56 +08:00
2026-03-25 19:35:37 +08:00
2026-04-14 12:05:56 +08:00
2026-04-14 12:05:56 +08:00
2026-03-25 13:33:48 +08:00
2026-04-14 12:05:56 +08:00
2026-03-18 17:36:07 +08:00
2026-03-25 13:43:00 +08:00
2026-04-14 12:05:56 +08:00
2026-03-25 16:59:05 +08:00
2026-04-14 12:05:56 +08:00
2026-04-14 12:05:56 +08:00
2026-03-25 13:33:48 +08:00
2026-03-25 13:33:48 +08:00
2026-04-14 12:05:56 +08:00
2026-03-18 17:36:07 +08:00

AiVideo POC

What it does

  • Input: a user creative prompt
  • Output: a 3-scene narrated video final_poc.mp4 (mock mode supported)

Quick start (Docker)

docker compose up includes a ComfyUI service (default through domestic mirror: docker.1ms.run/ardenius/comfyui-cpu:latest). If you use another registry image, set COMFYUI_IMAGE in the environment.

Build:

docker compose build

Run mock pipeline (no ComfyUI required):

docker compose run --rm aivideo python main.py --prompt "写一个温暖的城市夜景故事" --mock

Run with ComfyUI on host:

  • Set app.comfy_base_url in configs/config.yaml to http://host.docker.internal:8188
  • Ensure workflow_api.json exists in repo root

Then:

docker compose run --rm aivideo python main.py --prompt "写一个科幻追逐镜头短片"

ComfyUI connectivity check

docker compose run --rm aivideo python scripts/check_comfy.py --base-url http://host.docker.internal:8188 --pretty

Node.js bridge (stream scenes to browser)

Everything now runs inside one container (Node + Python).

docker compose up --build

Open http://127.0.0.1:3000 and click “运行” to see main.py --script-only streaming scenes in real time.

China mirrors

  • apt: TUNA Debian mirrors (baked into Dockerfile)
  • pip: PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
  • npm: NPM_CONFIG_REGISTRY=https://registry.npmmirror.com
  • docker images: default base images now pull via docker.m.daocloud.io mirror
Description
No description provided
Readme 8.2 MiB
Languages
HTML 90.5%
Python 7.6%
JavaScript 1.4%
Shell 0.3%
Dockerfile 0.2%