2026-05-04 13:33:18 +01:00
|
|
|
# Ghostlight Scripts
|
2026-05-03 12:53:58 +01:00
|
|
|
|
2026-05-04 13:33:18 +01:00
|
|
|
## Visual Image Inventory
|
2026-05-03 12:53:58 +01:00
|
|
|
|
2026-05-04 13:33:18 +01:00
|
|
|
`count_visual_images.py` counts base images and branch/state variants declared by
|
|
|
|
|
Ghostlight `.visual.json` plans. Use it before committing to an illustrated IF
|
|
|
|
|
fixture so the render burden is visible instead of quietly breeding in a vent.
|
2026-05-03 12:53:58 +01:00
|
|
|
|
2026-05-04 13:33:18 +01:00
|
|
|
Run the default inventory:
|
2026-05-03 13:00:41 +01:00
|
|
|
|
|
|
|
|
```powershell
|
2026-05-04 13:33:18 +01:00
|
|
|
& 'C:\Users\Meta\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\python.exe' .\scripts\count_visual_images.py
|
2026-05-03 13:00:41 +01:00
|
|
|
```
|
|
|
|
|
|
2026-05-04 13:33:18 +01:00
|
|
|
Run with per-scene detail:
|
2026-05-03 12:53:58 +01:00
|
|
|
|
|
|
|
|
```powershell
|
2026-05-04 13:33:18 +01:00
|
|
|
& 'C:\Users\Meta\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\python.exe' .\scripts\count_visual_images.py --verbose
|
2026-05-03 12:53:58 +01:00
|
|
|
```
|
2026-05-05 01:49:45 +01:00
|
|
|
|
|
|
|
|
## BFL Image Batches
|
|
|
|
|
|
|
|
|
|
`generate_bfl_images.py` submits a compact prompt manifest to the BFL async
|
|
|
|
|
image API, polls the returned status URL, downloads signed results immediately,
|
|
|
|
|
and writes a local run manifest. Generated images belong under
|
|
|
|
|
`experiments/images/`, which is ignored by git.
|
|
|
|
|
|
|
|
|
|
Run the Corvid simple-prompt batch:
|
|
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
|
& 'C:\Users\Meta\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\python.exe' .\scripts\generate_bfl_images.py .\prompts\image-generation\corvid-collective-founding.bfl-simple-prompts.v0.json --out-dir .\experiments\images\corvid-collective-founding-v0\bfl --skip-existing --continue-on-error
|
|
|
|
|
```
|