Skip to content

Instantly share code, notes, and snippets.

@gamedev44
Last active February 21, 2026 04:37
Show Gist options
  • Select an option

  • Save gamedev44/dabcf7687e25cecf64766fa752c610e6 to your computer and use it in GitHub Desktop.

Select an option

Save gamedev44/dabcf7687e25cecf64766fa752c610e6 to your computer and use it in GitHub Desktop.

☄️ THE BATTLE OF THE CANYON: GOKU VS. BULACK

image

🎬 Project Overview: DBZ "What If" Fan Series

This project is a Human Assisted AI-driven storyboard-to-video pipeline idea designed to create a comedic, fan-made Dragon Ball Z series akin to That of TeamFourStar. By leveraging Models such as Nano Banana Pro and GPT 5 Image along with the new open source LTX-2 audio-visual model, we aim to transform static, stylized AI images and storyboards into cinematic video clips with synchronized sound.

💡 The Concept

The series follows "Bulack," a hyper-muscular, arrogant canyon-dweller who mistakenly believes he’s the strongest fighter in the universe. The comedy stems from the contrast between his massive ego and the unfiltered innocence behind the fact hes a black version of Bojack and a racist steriotype at best along with the completely oblivious Goku—leading to high-octane battles triggered by the most ridiculous misunderstandings.

🛠️ The Creative Workflow

  1. Image Generation: Create consistent 90s-style anime stills using specialized LoRAs to maintain the classic "VHS" aesthetic.
  2. Storyboarding: Use the Cinematic Script format to define camera angles, character movement, and lighting.
  3. Video Synthesis: Feed the images and prompts into LTX-2 to generate fluid motion and matching environmental audio in a single pass.
  4. Comedic Timing: Utilize the model's ability to sync audio-visual cues to emphasize "shaky cam" impacts and dramatic close-ups for comedic effect.

📖 Table of Contents

  1. Introduction to LTX-2
  2. Quick Start & Installation
  3. Required Models
  4. Available Pipelines
  5. Optimization Tips
  6. Prompting Guide
  7. Repository Structure
  8. Cinematic Script: Goku vs. Bulack
  9. Scene 1: The Encounter
  10. Scene 2: The Breaking Point
  11. Scene 3: The Explosive Opening
  12. Scene 4: Energy Clash
  13. Scene 5: The Victor

📽️ Introduction to LTX-2

LTX-2 is the first DiT-based audio-video foundation model designed to generate synchronized video and audio within a single model. Developed by Lightricks, it brings together the core building blocks of modern video generation with open weights and a focus on practical, local execution.

Key Features

  • Joint Audio-Visual Generation: Generates visuals and sound simultaneously.
  • High Fidelity: Supports up to 50 FPS and native 4K resolution (via upscalers).
  • Flexible Modes: Includes both dev models and distilled versions for fast inference.
  • Local Execution: Optimized for consumer hardware (e.g., RTX 4090/5090).

🚀 Quick Start & Installation

LTX-2 requires Python 3.12+ and CUDA 12.7+.

# Clone the repository
git clone https://github.com/Lightricks/LTX-2.git
cd LTX-2

# Set up the environment using uv (recommended)
uv sync --frozen
source .venv/bin/activate

🛠️ Required Models

Download the following assets from the LTX-2 HuggingFace repository:

Component Recommendation Link
Model Checkpoint ltx-2-19b-dev-fp8.safetensors Download
Spatial Upscaler ltx-2-spatial-upscaler-x2-1.0 Download
Distilled LoRA ltx-2-19b-distilled-lora-384 Download
Text Encoder Gemma 3 (12B) HuggingFace

🔌 Available Pipelines

  • TI2VidTwoStagesPipeline: Production-quality text/image-to-video with 2x upsampling.
  • TI2VidOneStagePipeline: Single-stage generation for quick prototyping.
  • DistilledPipeline: Fastest inference with 8 predefined sigmas.
  • ICLoraPipeline: Video-to-video and image-to-video transformations.
  • KeyframeInterpolationPipeline: Interpolate between keyframe images.

⚡ Optimization Tips

  • Use DistilledPipeline: Reduces steps to 8 (Stage 1) and 4 (Stage 2).
  • Enable FP8: Use --enable-fp8 to lower memory footprint.
  • Attention Optimizations: Install xFormers or Flash Attention 3.
  • Skip Cleanup: Disable memory cleanup between stages if VRAM allows.

✍️ Prompting for LTX-2

Focus on detailed, chronological descriptions. Think like a cinematographer describing a shot list within 200 words.

Structure:

  1. Start with main action in a single sentence.
  2. Add specific movements and gestures.
  3. Describe character/object appearances precisely.
  4. Include environment, camera angles, and lighting.

📦 Repository Structure

Package Path Description
ltx-core packages/ltx-core/ Core model definitions and utilities.
ltx-pipelines packages/ltx-pipelines/ High-level generation logic.
ltx-trainer packages/ltx-trainer/ Tools for LoRA and fine-tuning.

🎬 Cinematic Script: Goku vs. Bulack

Scene 1: The Encounter

Visual Prompt: Cinematic anime style, 90s aesthetic (VHS grain, cel-shaded). Wide shot of a desolate, rocky canyon under a harsh sun. A massive, muscular warrior named Bulack with spiky red hair and pointed ears stands tall, arms crossed. Opposite him, Goku in a white and blue Gi stands relaxed. Dialogue:

  • Bulack: "Sup. Names Bulack. I’m the muscle around these streets... and word has it there's a stronger fighter here in town today? That wouldn't be you, would it?"
  • Goku (Close-up, chuckling): "Yeah? Depends on who’s asking, I guess!"

Scene 2: The Breaking Point

Visual Prompt: Medium shot of Bulack leaning in, his expression turning malicious. He says, "Big talk. I bet Chi-Chi won't be so cheerful when I bring back what's left of you." The camera cuts to a dramatic extreme close-up of Goku’s eyes; the pupils shrink as his face darkens with pure rage. The ground begins to tremble, and pebbles start to float around his feet.

Scene 3: The Explosive Opening

Visual Prompt: High-octane action sequence. Goku screams "YOU’LL PAY!!" and lunges forward, becoming a blur of white light. He thrusts a powerful punch toward Bulack. Bulack catches the fist, and the impact creates a massive circular shockwave that shatters the surrounding rock pillars. The camera follows their movement in a fast-paced "shaky cam" style as they exchange a flurry of lightning-fast blows.

Scene 4: Energy Clash

Visual Prompt: Dynamic mid-air shot. Goku flies backward, cup-shaping his hands to fire a brilliant blue Ki blast. Simultaneously, Bulack raises a hand, generating a massive, swirling crimson energy orb. The blue and red beams collide in the center of the screen, creating a blinding white light and electrical arcs that dance across the canyon walls. High-intensity particle effects and lens flares.

Scene 5: The Victor

Visual Prompt: The smoke clears from a massive crater. Goku lies defeated on the ground, his Gi torn. The camera tilts up to reveal Bulack standing over him, untouched and towering. Bulack throws his head back in a menacing, guttural laugh, his red hair flowing in the wind. The sun sets behind him, casting a long, intimidating shadow over the fallen hero.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment