#!/bin/bash # Reproduce White House Funk: copy the eight library characters into $REMAKE_HOME/chars/, then hand the task to codex. # Needs live workers on the same REMAKE_HOME (viggle-remake-worker, one per GPU) and a ChatGPT-subscription codex login # (pool image mode, examples/codex_config.toml). Expect about 1.5 h on two workers and ~80 image calls; no API spend. EX=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) REMAKE_HOME=$(realpath -m "${REMAKE_HOME:-$HOME/.viggle-remake}") export REMAKE_HOME mkdir -p "$REMAKE_HOME/chars" cp -n "$EX"/chars/* "$REMAKE_HOME/chars/" exec "$EX/../../scripts/codex_exec.sh" exec -m gpt-6.1-terra -c 'model_reasoning_effort="high"' "$(sed "s#@SRC@#$EX/uptown_funk.mp4#" "$EX/task.txt")"