Examples β Indic Heritage Studio v2
This directory contains pre-baked demo outputs for the project profile PDF
and the demo video. Run python scripts/generate_demo_outputs.py to
generate the full gallery on your dev box before recording the AMD demo.
Structure
examples/
βββ README.md β this file
βββ inputs/ β source images used for style transfer / video / inpainting
β βββ portrait.jpg
β βββ landscape.jpg
β βββ portrait_mask.png
βββ 1_text_to_image/ β 5 styles Γ 3 prompts Γ 3 seeds = 45 images
β βββ madhubani/
β βββ warli/
β βββ pattachitra/
β βββ mughal/
β βββ tanjore/
βββ 2_style_transfer/ β 5 styles Γ 2 input images = 10 styled images
β βββ madhubani/
β βββ warli/
β βββ β¦
βββ 3_image_to_video/ β 5 styles Γ 25-frame MP4 = 5 videos
β βββ madhubani.mp4
β βββ β¦
βββ 5_inpainting/ β 1 inpainting demo
βββ 6_controlnet/ β 1 ControlNet demo (canny + mughal)
Demo video script (3-5 min)
- 0:00 β Title card + intro (15s)
- "Indic Heritage Studio β multimodal heritage art generation on AMD Radeon + ROCm"
- 0:15 β GPU verification (15s)
rocm-smivisible in terminalpython scripts/verify_rocm.pyshows ROCm ready
- 0:30 β Text β Image demo (60s)
- Run:
python -m core.text_to_image --prompt "..." --style madhubani --size 1024 - Show output PNG
- Mention: "SDXL 1.0 + per-style LoRA, 1024Γ1024 native"
- Run:
- 1:30 β Style transfer demo (45s)
- Run:
python -m core.style_transfer --image examples/inputs/portrait.jpg --style mughal - Show before/after
- Mention: "IP-Adapter XL on SDXL, 30 steps"
- Run:
- 2:15 β Image β Video demo (45s)
- Run:
python -m core.image_to_video --image outputs/demo_styled_mughal.png --out outputs/demo.mp4 - Play the 25-frame MP4
- Mention: "Stable Video Diffusion XT 1.1, 25 frames at 8 fps"
- Run:
- 3:00 β Inpainting + ControlNet demo (45s)
- Quick show of inpainting output
- Quick show of ControlNet (canny β mughal)
- 3:45 β Multi-GPU benchmark (30s)
python scripts/benchmark.py --configs 1 2 4 8 --samples 4- Show scaling chart
- 4:15 β UI walkthrough (30s)
python app.pyβ walk through all 6 tabs in browser
- 4:45 β Closing (15s)
- "Track 1, TeamIndicForge, Indic Heritage Studio β submitted."
Pre-baking strategy
Run python scripts/generate_demo_outputs.py on your 8Γ80GB NVIDIA dev box
in Week 2. This takes ~30 minutes and produces every demo asset. The AMD
demo recording (Aug 4) then only needs to re-run a few commands live for
the camera β the actual outputs already exist as fallback if AMD
generation fails.
Curating the gallery for the PDF
After generating, curate:
- Pick 1 best image per style for the PDF cover
- Pick 1 best video for the PDF embedded figure
- Pick the most visually striking ControlNet result
- Pick a 2Γ2 grid showing 4 styles for the architecture section