forked from AEON-7/aeon-movie-maker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
122 lines (110 loc) · 7.68 KB
/
Copy path.env.example
File metadata and controls
122 lines (110 loc) · 7.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# ────────────────────────────────────────────────────────────────────────
# aeon-movie-maker — environment variables
# ────────────────────────────────────────────────────────────────────────
# Copy to `.env` and fill in your values. movie_maker_fast.py reads these
# via os.environ at runtime.
#
# cp .env.example .env && $EDITOR .env && ./setup.sh
# ════════════════════════════════════════════════════════════════════════
# ────────────────────────────────────────────────────────────────────────
# 1. ComfyUI server endpoint (REQUIRED)
# ────────────────────────────────────────────────────────────────────────
# HTTP endpoint of your ComfyUI server. The CLI sends LTX 2.3 workflow
# JSONs to /prompt and polls /history for results.
#
# ─── LOCAL MODE — ComfyUI on this machine: ──────────────────────────────
# COMFYUI_URL=http://127.0.0.1:8188
#
# ─── REMOTE MODE — ComfyUI on a different machine: ──────────────────────
# Direct HTTP:
# COMFYUI_URL=http://<gpu-box-ip>:8188
# # Start ComfyUI with --listen 0.0.0.0 and open port 8188 in firewall.
#
# SSH tunnel (recommended):
# # In a separate terminal:
# # ssh -L 8188:127.0.0.1:8188 user@gpu-host
# COMFYUI_URL=http://127.0.0.1:8188
#
COMFYUI_URL=http://127.0.0.1:8188
# ────────────────────────────────────────────────────────────────────────
# 2. ComfyUI install root (REQUIRED for screenplay mode + I2V)
# ────────────────────────────────────────────────────────────────────────
# IMPORTANT: this script needs file-system access to ComfyUI's `input/`
# directory because it stages seed-image frames at:
# ${COMFYUI_ROOT}/input/_movie_fast_frames/<scene>/frame_<N>.png
# so the ComfyUI VAE encoder can read them as I2V conditioning.
#
# This means COMFYUI_ROOT must point at a path that the ComfyUI server
# can also read. Three valid configurations:
#
# ─── LOCAL MODE: ────────────────────────────────────────────────────────
# Just point at your local ComfyUI install:
# Linux/macOS: COMFYUI_ROOT=/home/yourname/ComfyUI
# Windows: COMFYUI_ROOT=C:/Users/yourname/Documents/ComfyUI
#
# ─── REMOTE MODE Option A — Run CLI on the REMOTE machine: ──────────────
# Set COMFYUI_ROOT to the ComfyUI path on the remote box (the same
# filesystem as the ComfyUI process). Invoke the CLI via SSH:
# ssh user@remote 'cd /path/to/aeon-movie-maker && python scripts/...'
#
# ─── REMOTE MODE Option B — Run CLI locally with a SHARED filesystem: ───
# Mount or symlink the remote ComfyUI's `input/` directory locally
# (NFS, SMB, sshfs, Tailscale Files, etc.) so the local CLI can write
# frames where the remote ComfyUI server can read them.
# COMFYUI_ROOT=/mnt/remote-comfyui # local mount point
#
# ─── DOES NOT WORK: ─────────────────────────────────────────────────────
# Local CLI + remote ComfyUI without shared filesystem (HTTP-only).
# The ComfyUI server can't read seed images from your local disk.
# For T2V (no seed image), this would work — but I2V + screenplay
# carry-forward needs disk access. Use Option A or B above for video.
#
COMFYUI_ROOT=
# ────────────────────────────────────────────────────────────────────────
# 3. Output directory (OPTIONAL)
# ────────────────────────────────────────────────────────────────────────
# Where rendered MP4s + clips_manifest.json land. Defaults to
# ${COMFYUI_ROOT}/output if unset.
#
# OUTPUT_DIR=./output
# ────────────────────────────────────────────────────────────────────────
# 4. Binary paths (OPTIONAL)
# ────────────────────────────────────────────────────────────────────────
# FFMPEG=/usr/local/bin/ffmpeg
# FFPROBE=/usr/local/bin/ffprobe
# ────────────────────────────────────────────────────────────────────────
# 5. HuggingFace token (OPTIONAL — for gated LTX 2.3 model auto-download)
# ────────────────────────────────────────────────────────────────────────
# Some Lightricks models on HuggingFace require a token even for public
# read access. Get one (free) at:
# https://huggingface.co/settings/tokens
# Choose "Read" scope. Token starts with "hf_...".
#
# Most users don't need this — install models via ComfyUI Manager UI.
#
# HF_TOKEN=hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# ────────────────────────────────────────────────────────────────────────
# 6. Civitai API token (OPTIONAL — only for the 7 style LoRAs)
# ────────────────────────────────────────────────────────────────────────
# Style LoRAs (cyberpunk / claymation / ghibli / galaxy / tribal /
# illustration) are hosted on Civitai, not HuggingFace, and require a
# Civitai API token to download.
#
# How to get one:
# 1. Sign in at https://civitai.com (free account)
# 2. Go to https://civitai.com/user/account
# 3. Scroll to "API Keys" → "Add API key"
# 4. Name it (e.g. "aeon-movie-maker"), copy the token
# 5. Paste below
#
# Style LoRAs are STRICTLY OPTIONAL. Plain prompts without `style: <name>`
# tags work without any of them. Don't bother getting a Civitai token
# unless you actually want stylized output.
#
# Download URL pattern (the 'ltx2/' subfolder is mandatory):
# curl -L --create-dirs \
# -H "Authorization: Bearer $CIVITAI_TOKEN" \
# -o "$COMFYUI_ROOT/models/loras/<name>.safetensors" \
# "https://civitai.com/api/download/models/<version_id>"
#
# CIVITAI_TOKEN=