forked from LiteReality/LiteReality-Agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (35 loc) · 1.74 KB
/
Copy path.env.example
File metadata and controls
42 lines (35 loc) · 1.74 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
# --- reference image generation (required) ---
# One of these, matching $LR_IMAGE_PROVIDER in models.env (openai by default).
OPENAI_API_KEY=
# Only needed when LR_IMAGE_PROVIDER=gemini (or --image-model gemini-*). Get one at
# https://aistudio.google.com/apikey
GEMINI_API_KEY=
# --- Blender (required) ---
# Your Blender INSTALL DIR — the folder containing the `blender` binary, not the binary itself.
BLENDER_PATH=
# --- your scans (required) ---
# Folder holding your scans. Each <scan>/ = frame_*.jpg + frame_*.json + room.usdz.
LR_SCANS_DIR=
# --- hosted models on Modal (the default runtime) ---
# Filling these in is the whole opt-in: it selects hosted TRELLIS (image -> 3D) plus hosted
# GroundingDINO + DINOv2, so the pipeline process never loads torch and needs no NVIDIA GPU.
# Create a free account, then copy the token pair from https://modal.com/settings/tokens
# (or run `uv run modal token new`). Then `uv run litereality setup` deploys the apps for you.
# No Hugging Face account or token is required.
MODAL_TOKEN_ID=
MODAL_TOKEN_SECRET=
# Alternative to the token pair: a named profile in ~/.modal.toml, created by `modal setup`.
# Leave empty if you filled in the tokens above.
MODAL_PROFILE=
# Only needed when a workspace deploys the apps under non-default names.
MODAL_TRELLIS_APP=litereality-trellis
MODAL_TRELLIS_FUNCTION=generate
MODAL_DINO_APP=litereality-dino
MODAL_DINO_FUNCTION=infer
MODAL_ENVIRONMENT=main
# --- local runtimes (fallbacks, only used when no Modal credentials are set above) ---
# A local GPU TRELLIS install (Linux + NVIDIA only) — that env's python interpreter.
TRELLIS_PYTHON=
# --- isolated detection runtime ---
# Optional alternative to Modal DINO: an explicit local GroundingDINO environment.
GROUNDING_DINO_PYTHON=