swimmerzeromaybe commited on
Commit
485879a
Β·
verified Β·
1 Parent(s): 40648c0

Space card

Browse files
Files changed (1) hide show
  1. README.md +36 -6
README.md CHANGED
@@ -1,13 +1,43 @@
1
  ---
2
  title: H3 Script Studio
3
- emoji: πŸŒ–
4
- colorFrom: green
5
- colorTo: purple
6
  sdk: gradio
7
- sdk_version: 6.32.0
8
- python_version: '3.13'
9
  app_file: app.py
10
  pinned: false
 
 
 
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: H3 Script Studio
3
+ emoji: 🎬
4
+ colorFrom: indigo
5
+ colorTo: pink
6
  sdk: gradio
7
+ sdk_version: 6.20.0
 
8
  app_file: app.py
9
  pinned: false
10
+ tags:
11
+ - ml-intern
12
+ short_description: Structured pre-production β†’ shot prompts β†’ MiniMax-H3 clips
13
  ---
14
 
15
+ # H3 Script Studio
16
+
17
+ A structured, no-LLM pre-production pipeline and prompt builder for **[MiniMax-H3](https://huggingface.co/MiniMaxAI/MiniMax-H3)** video generation β€” the writing half of a shot-by-shot movie workflow, built to drive a render backend Space.
18
+
19
+ **Pipeline tabs:** Concept (title, logline, genre, style, tone, palette β†’ a *style bible* reused in every prompt) β†’ Characters (locked word-for-word appearance strings, the mechanism that keeps a character on-model across shots) β†’ Locations β†’ Story beats (one per line) β†’ Shots (camera, lens, lighting, audio, canvas, duration, seed β†’ composed H3 prompt) β†’ Keyframes (FLUX.1-schnell stills or uploads for first/last frames) β†’ Render & assemble (delegated clip generation + ffmpeg concat) β†’ Project JSON export/import.
20
+
21
+ ## How rendering works
22
+
23
+ This Space runs on free CPU β€” it delegates all heavy work:
24
+
25
+ - **Video clips** β†’ any Space exposing the ShotCraft-style `/generate` API (prompt, first/last keyframes, canvas, duration, steps, seed, upsample, LoRA). Default backend: [`swimmerzeromaybe/ShotCraft-Movie-Production`](https://hf.co/spaces/swimmerzeromaybe/ShotCraft-Movie-Production), which also provides `/stitch` for assembling the sequence. Note: the official [`MiniMaxAI/MiniMax-H3-Turbo-Lora`](https://hf.co/spaces/MiniMaxAI/MiniMax-H3-Turbo-Lora) demo was rewritten to a `gr.Workflow` canvas and no longer exposes `/generate` to clients.
26
+ - **Stills** β†’ [`black-forest-labs/FLUX.1-schnell`](https://huggingface.co/black-forest-labs/FLUX.1-schnell) via the HF Inference router. Add an `HF_TOKEN` secret to this Space (Settings β†’ Variables and secrets) to enable it.
27
+ - **Canvas table and duration snapping** mirror the backend exactly (H3's video VAE decodes `17Β·n+5` frames at 24 fps, 2–14 s clips), so no composed setting is ever rejected by the conditioner.
28
+
29
+ ## Setup
30
+
31
+ 1. (Optional) Add `HF_TOKEN` as a Space secret for FLUX stills and for calling private backends.
32
+ 2. Set the backend Space id on the Render tab. Its GPU quota applies to renders.
33
+
34
+ ## Workflow tips
35
+
36
+ - Keep each beat filmable in 2–14 s: one place, one action, one moment of light.
37
+ - Reuse the *exact* character appearance string in every shot β€” paraphrasing breaks consistency.
38
+ - Generate 4–6 still options per keyframe and pick the best; the same seed + prompt gives the same frame.
39
+ - Export the project JSON often; keyframe images are session files and are not saved into the export.
40
+
41
+ Built with ML Intern β€” try:
42
+
43
+ <div style="display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 2em"><a href="https://hf.co/chat?mode=ml-intern"><img src="https://hf.co/datasets/huggingface/badges/resolve/main/built-with-ml-intern-lg.svg" alt="Built with ML Intern" style="margin:0"></a><a href="https://hf.co/chat?mode=ml-intern&prompt=Render%20a%20test%20clip%20from%20swimmerzeromaybe%2FH3-Script-Studio" style="display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border:1.5px solid #eee;border-radius:16px;background:#f9fbfc;color:#c2410c;font-weight:600;font-size:14px;text-decoration:none">Render a test clip β€Ί</a></div>