Objective: End-to-end character consistency, video orchestration, and automated distribution.
Hardware: Remote RTX 3090 (192.168.1.143) + Local Orchestrator.
Session Date: Feb 4, 2026
This Base64 string must be injected into the inlineData of every Nano Pro call to maintain facial structure.
Reference File: riley.jpg
Base64 DNA:
$(cat riley_base64.txt)
Environmental setup and database level fixes.
Allows local CLI agents to control the remote node graph.
# Install & Run
ssh [email protected] "~/ComfyUI/venv/bin/pip install mcp && nohup ~/ComfyUI/venv/bin/python ~/ComfyUI/main.py --listen --port 8188 > ~/ComfyUI/comfy.log 2>&1 &"Fixes the KeyError: 'name' tool schema error.
UPDATE tools SET json_schema = jsonb_set(json_schema, '{name}', '"submit_video"') WHERE name = 'submit_video';
INSERT INTO tools_agents (tool_id, agent_id) SELECT id, 'agent-e565b3e8-4a59-440a-89ab-6c279d61cfb0' FROM tools WHERE name = 'submit_video' ON CONFLICT DO NOTHING;The exact raw script used to generate consistency across shots.
#!/bin/bash
# Generate high-fidelity PNGs before video animation.
# Loops through a shot list, injecting the base64 reference DNA.
API_KEY="AIzaSyDFWAa2Snp3AMHW-5sS1P4hef20zonOZuM"
shots=(
"riley_escalade_v2:Riley opening back passenger door of a black Escalade SUV at night in NYC. iPhone 17 quality. Wearing white varsity jacket."
"knicks_cheers_v2:POV shot of two hands holding stadium cups at Knicks game. Left arm has white varsity jacket sleeve."
"riley_hibachi_pov_v2:iPhone 17 flash photo quality of Riley eating hibachi. Wearing white varsity jacket."
"hibachi_plates_v2:Cinematic close up of steaming hibachi steak and rice."
"riley_nyc_street_v2:Riley strutting down NYC street at night. Wearing white varsity jacket."
)
for shot in "${shots[@]}"; do
filename="${shot%%:*}"
desc="${shot#*:}"
printf '{
"contents": [
{
"role": "user",
"parts": [
{
"text": "Cinematic 8k photorealistic shot. %s CRITICAL: Maintain Riley EXACT facial structure. OUTFIT CONSISTENCY: White varsity jacket."
},
{
"inlineData": {
"mimeType": "image/jpeg",
"data": "%s"
}
}
]
}
]
}' "$desc" "$(cat riley_base64.txt)" > "payload_${filename}.json"
curl -s -X POST -H "Content-Type: application/json" -d @"payload_${filename}.json" \
"https://generativelanguage.googleapis.com/v1beta/models/gemini-3-pro-image-preview:generateContent?key=${API_KEY}" > "response_${filename}.json"
python3 -c "import json, base64; data = json.load(open('response_${filename}.json')); img_data = data['candidates'][0]['content']['parts'][0]['inlineData']['data']; open('${filename}.png', 'wb').write(base64.b64decode(img_data))"
donePrecise Letta MAS payloads for Narrative Sequencing.
Endpoint: http://192.168.1.143:8283/v1/agents/agent-e565b3e8-4a59-440a-89ab-6c279d61cfb0/messages
{
"messages": [
{
"role": "user",
"content": "Writer, generate the \"Riley: Perfect Night Out (V2)\" Story. MODE: Native Audio (Version 10). Voice: riley-lovett. \n\n1. Chapter 1: riley_escalade_v2.png. Prompt: [\"Okay, finally here. This night is gonna be crazy.\"] Riley opens Escalade door, looks back excitedly, gets in.\n2. Chapter 3: riley_hibachi_pov_v2.png. Prompt: [\"Oh my god. You have to try this right now.\"] Riley sips wine, laughs, looks at camera. Intimate."
}
]
}The exact sequence to bypass bot detection and upload videos.
# 1. Manual Headed Login (Do once)
/opt/homebrew/bin/agent-browser --headed open "https://facebook.com"
# 2. Save Session State
/opt/homebrew/bin/agent-browser state save fb_auth.json# 1. Open Target Group with State
/opt/homebrew/bin/agent-browser --state fb_auth.json --headed open "https://www.facebook.com/groups/1208994427922565"
# 2. Open Composer
/opt/homebrew/bin/agent-browser find text "Write something..." click
# 3. Surgical Upload (Bypassing OS File Picker)
/opt/homebrew/bin/agent-browser upload "input[type='file'][accept*='video']" "/Users/speed/Downloads/work-context/LTX-2_I2V_CLEAN_1770007375_00003.mp4"
# 4. Fill Caption & Post
/opt/homebrew/bin/agent-browser fill "div[role='textbox']" "Reality Check: Ladies..."
/opt/homebrew/bin/agent-browser find role button click --name "Post"- DNA:
riley_base64.txt - Auth:
fb_auth.json - Workflows:
LTX-2_I2V_Clean.json(V8),LTX-2_I2V_Audio.json(V10) - Outputs:
LTX-2_I2V_CLEAN_1770007375_00003.mp4(Posted to FB) - Prompt IDs:
e2a27ac8,9920692c,ea061b49,1497a50b,0ab1209b
Status: FULL ARCHIVE COMPLETE.