MV Creation AI Agent Pipeline Using LTX 2.3 Reference-to-Video (Patreon)
Videos
-
677914190.mp4 -
part 1.mp4
Downloads
Content
In the last public post, I have mentioned the LTX 2.3 Ref2Vid
https://www.patreon.com/posts/ltx-2-3-to-video-160523400
Hey everyone! This post accompanies my latest video on LiconStudio's MSR (Multiple Subject Reference) LoRA for LTX 2.3. Below you'll find the ComfyUI workflows and the full MV Creation Agent pipeline I built around it.
What's Included
1. ComfyUI Workflow: LTX 2.3 MSR Reference-to-Video
File: LTX-2.3_PR_MSR_Advance.json
The main workflow I demo in the video. Supports 2 character reference images + 1 background reference image, all fed through LiconStudio's MSR LoRA into LTX 2.3. Uses Prompt Relay for multi-segment camera motions within a single clip.
This workflow, I have not convert into AI Agent pipeline, because it have 2 pass and upscaler. I will keep this for manual run, if I need higher quality.
LoRAs loaded:
- LTX 2.3 Distill LoRA 1.1
- LiconStudio MSR V1
- Omnidirectional MFT
Key settings:
- 50 FPS recommended for high-motion scenes
- 10-15 second clips
- Negative prompt included (helps with MSR quality)
- Seed 44, CFG 1.0, 9-step Euler
2. ComfyUI Workflow: ZIT T2I Upscale
File: ZIT T2I Upscale - Ver 20260608 (API).json
Two-pass Z-Image Turbo text-to-image with upscale chain. Used to generate character sheets and background plates. Produces ~2880x1620 final images. Only input you need to set is the text prompt on node 173.
3. MV Creation Agent Pipeline (Full Source Code)
Folder: MV-Create-R2V/
A complete autonomous music video production pipeline. Takes a song audio file + story concept and produces a fully rendered music video. Built with Python and ComfyUI API integration.
Pipeline steps:
1. Audio Analysis — Librosa extracts BPM, beat frames, energy segments
2. Storyboard & Timing — LLM generates timeline.json with clips, segments, camera motions
3. Character & Background Generation — Z-Image Turbo generates character sheets (multi-angle) and background plates
4. Human Review Gate — Pipeline pauses for your approval on all assets
5. Video Synthesis — LTX 2.3 MSR generates 10-15s clips with Prompt Relay camera motions
6. Final Assembly — FFmpeg concatenates clips with full audio track
Scripts included:
- pipeline.py — State machine orchestrator with resume capability
- audio_analyzer.py — Audio analysis (BPM, segments, energy map)
- storyboard_generator.py — LLM storyboard prompt builder
- generate_characters.py — Character sheet generation via ComfyUI
- generate_backgrounds.py — Background plate generation via ComfyUI
- generate_video.py — LTX 2.3 MSR video clip generation
- comfyui_client.py — ComfyUI API client (queue, poll, upload)
- config.py — Paths, URLs, defaults
——————————————————
REQUIREMENTS
- ComfyUI with API enabled (http://127.0.0.1:8188)
- ComfyUI-Licon-MSR plugin installed in custom_nodes
- LTX-2.3-Multiple-Subject-Reference LoRA from LiconStudio HuggingFace (https://huggingface.co/LiconStudio/LTX-2.3-Multiple-Subject-Reference)
- Z-Image Turbo model for character/background generation
- Python 3.12+ with librosa, numpy
——————————————————
QUICK START
Running the Workflow Manually:
1. Load LTX-2.3_PR_MSR_Advance.json into ComfyUI
2. Set your character ref images on nodes 80 and 81
3. Set your background image on node 85
4. Write your global prompt (node 5899) and segment prompts (node 5900)
5. Set audio file path on node 109
6. Queue and generate
Running the Full Pipeline:
cd MV-Create-R2V
Step 1: Analyze your song
python audio_analyzer.py "yoursong.mp3" "audio_profile.json"
Step 2: Generate storyboard (sends prompt to LLM)
Review and save the timeline.json output
Step 3: Generate character sheets and backgrounds
python generate_characters.py --audio "yoursong.mp3"
python generate_backgrounds.py --audio "yoursong.mp3"
Step 4: Review assets (human-in-the-loop)
Step 5: Generate all video clips
python generate_video.py --audio "yoursong.mp3"
Or generate a specific clip:
python generate_video.py --audio "yoursong.mp3" --clip 1
——————————————————
TIPS FOR BEST RESULTS
Character sheets: Use multi-angle views on white background. The MSR LoRA encodes reference images as video latents, so multi-angle sheets give the best identity preservation across different camera angles.
Prompt Relay structure:
- Global prompt: Full scene description (who, where, lighting, mood, aesthetic)
- Segment prompts: Pipe-separated (use |) — each segment is one continuous camera shot
- Leave segment_lengths empty — durations auto-derive from pipe count
FPS: 50 for high-motion scenes. Lower FPS can make reference images look off in the output.
Negative prompt: The workflow includes one by default. I tested without it and quality drops slightly with MSR. Keep it.
Clip duration: 10-15 seconds is the sweet spot for LTX 2.3 motion quality. A 3-minute song = roughly 12-18 clips.
The demo video - part 1 , maybe I will complete a full MV later.
Thanks for supporting the channel! If you have questions or want to share what you create with these, drop a comment on the video or message me here on Patreon.
Files