Text Generation
PEFT
Safetensors
English
lora
sft
trl
script-generation
minimax-h3
video-generation
conversational
Instructions to use woodfireind/H3-ScriptGen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use woodfireind/H3-ScriptGen with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-0.8B") model = PeftModel.from_pretrained(base_model, "woodfireind/H3-ScriptGen") - Notebooks
- Google Colab
- Kaggle
File size: 12,347 Bytes
7dbeac1 | 1 2 3 4 5 6 7 | {"messages":[{"role":"system","content":"You write ONE MiniMax-H3 FL2VA scene beat for Backlot. Output fields: ACTION, SHOT, STORYBOARD_PROMPT, H3_MODE, H3_VIDEO_PROMPT (alignment + integrated_multimodal_description + overall_soundscape + non_diegetic_music), DURATION 5."},{"role":"user","content":"Premise: A courier in a yellow raincoat delivers a package through a neon alley in the rain.\nSetting: Night, rain-slicked street, pink and cyan neon\nTone: moody, cinematic\nWrite SCENE 1 now."},{"role":"assistant","content":"## SCENE 1 β EXT. NEON ALLEY - NIGHT\nACTION: A courier in a yellow raincoat walks toward camera through steam and puddles; the camera pushes in until their hooded face fills the frame.\nDIALOGUE β COURIER: Almost there.\nSHOT: medium-wide shot, push in with small amplitude at slow speed\nSTORYBOARD_PROMPT: cinematic night alley, rain-slicked pavement, pink and cyan neon signs reflecting in puddles, courier in yellow raincoat walking toward camera, steam from street vent, moody live-action, sharp detail\nH3_MODE: FL2VA\nH3_VIDEO_PROMPT:\nHow the reference pictures align with the target video β Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot 1) aligns with the 5.00-second mark of the target video.\n\nintegrated_multimodal_description: [Shot 1] Live-action, cinematic, a medium-wide shot opens on the rain-slicked neon alley composition of Picture 1: a courier in a yellow raincoat walks toward the camera through rising steam, pink and cyan signs reflecting in puddles. The camera pushes in with small amplitude at slow speed as rain streaks past the lens. The courier (S1) says in a quiet, breathy voice: <d>[English] Almost there.</d> Their pace steadies until the framing settles into the extreme close-up of the hooded face established by Picture 2, neon catching in their eyes.\n\noverall_soundscape: Steady rain on asphalt and metal awnings, soft steam hiss from a street vent, distant traffic wet-road rumble.\n\nnon_diegetic_music: Sparse synth pads at a slow tempo with a low sub-bass pulse that gently rises then holds.\nLORA: none\nAUDIO: rain bed, optional neon buzz\nDURATION: 5"}]}
{"messages":[{"role":"system","content":"You write ONE MiniMax-H3 FL2VA scene beat for Backlot. Output fields: ACTION, SHOT, STORYBOARD_PROMPT, H3_MODE, H3_VIDEO_PROMPT (alignment + integrated_multimodal_description + overall_soundscape + non_diegetic_music), DURATION 5."},{"role":"user","content":"Premise: A baker opens a street bakery before sunrise and places the first loaf on the counter.\nTone: warm, quiet\nWrite SCENE 1 now."},{"role":"assistant","content":"## SCENE 1 β EXT./INT. STREET BAKERY - PRE-DAWN\nACTION: A middle-aged baker opens the shutters, then the camera moves inside as they set a warm loaf on the wooden counter.\nDIALOGUE β BAKER: First batch of the morning.\nSHOT: medium-wide, push in with small amplitude at slow speed\nSTORYBOARD_PROMPT: pre-dawn street bakery, baker opening wooden shutters, warm interior light, fresh bread, live-action cinematic, quiet mood\nH3_MODE: FL2VA\nH3_VIDEO_PROMPT:\nHow the reference pictures align with the target video β Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot 1) aligns with the 5.00-second mark of the target video.\n\nintegrated_multimodal_description: [Shot 1] Live-action, cinematic, a medium-wide shot frames a baker opening the shutters of a small street bakery before sunrise, matching Picture 1. The camera pushes in with small amplitude at slow speed as the middle-aged baker with a calm, slightly raspy voice (S1) places a fresh loaf on the wooden counter and says: <d>[English] First batch of the morning.</d> Steam rises and the composition settles into the close warm counter view of Picture 2.\n\noverall_soundscape: Wooden shutters scrape open over a quiet street; trays clink softly; bread crust crackles as it is set down.\n\nnon_diegetic_music: Soft acoustic-guitar pattern at a moderate tempo with sparse upright-bass notes and a gentle fade.\nLORA: none\nAUDIO: none\nDURATION: 5"}]}
{"messages":[{"role":"system","content":"You write ONE MiniMax-H3 FL2VA scene beat for Backlot. Output fields: ACTION, SHOT, STORYBOARD_PROMPT, H3_MODE, H3_VIDEO_PROMPT, DURATION 5."},{"role":"user","content":"Premise: A train passenger folds a letter and looks out at city lights in the rain.\nWrite SCENE 1 now."},{"role":"assistant","content":"## SCENE 1 β INT. TRAIN CARRIAGE - NIGHT\nACTION: A young woman by a rain-covered window lowers a letter and turns her gaze to the passing city lights as the camera trucks slightly.\nDIALOGUE β WOMAN: I get off at the next station.\nSHOT: medium close-up, truck right with small amplitude at slow speed\nSTORYBOARD_PROMPT: young woman at rain-covered train window, night city lights outside, folded letter in hands, carriage interior, cinematic live-action\nH3_MODE: FL2VA\nH3_VIDEO_PROMPT:\nHow the reference pictures align with the target video β Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot 1) aligns with the 5.00-second mark of the target video.\n\nintegrated_multimodal_description: [Shot 1] Live-action, cinematic, the young woman shown in Picture 1 remains beside the rain-covered train window, preserving her appearance, clothing, seat position, and the carriage layout. The camera trucks right with small amplitude at slow speed as she lifts her gaze from the folded letter toward the passing city lights. The quiet, breathy young woman (S1) says: <d>[English] I get off at the next station.</d> She folds the letter along its crease as the frame settles into Picture 2.\n\noverall_soundscape: Train wheels produce a steady metallic rhythm beneath a low ventilation hum. Rain ticks against the window; paper rustles softly.\n\nnon_diegetic_music: Sustained cello notes at a slow tempo with widely spaced piano tones, gradually decreasing in volume.\nLORA: none\nAUDIO: none\nDURATION: 5"}]}
{"messages":[{"role":"system","content":"You write ONE MiniMax-H3 FL2VA scene beat for Backlot."},{"role":"user","content":"Premise: A rain-soaked cyclist opens a black umbrella beside a silver bicycle.\nWrite SCENE 1 (single continuous FL2VA path)."},{"role":"assistant","content":"## SCENE 1 β EXT. WET STREET - DAY\nACTION: A cyclist raises and opens a black umbrella, stepping under it as the camera pulls out slightly.\nSHOT: medium shot, pull out with small amplitude at slow speed\nSTORYBOARD_PROMPT: rain-soaked cyclist with closed black umbrella beside silver bicycle, wet street, overcast daylight, cinematic\nH3_MODE: FL2VA\nH3_VIDEO_PROMPT:\nHow the reference pictures align with the target video β Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot 1) aligns with the 5.00-second mark of the target video.\n\nintegrated_multimodal_description: [Shot 1] Live-action, cinematic, a rain-soaked cyclist begins in the position and framing established by Picture 1, holding a closed black umbrella beside a silver bicycle. The camera pulls out with small amplitude at slow speed as she releases the bicycle handle, raises the umbrella, and presses the runner upward until the canopy opens. Water rolls from the expanding fabric while she steps beneath it and settles into the pose and composition established by Picture 2.\n\noverall_soundscape: Rain falls steadily on pavement, followed by the metallic click of the umbrella runner and the soft snap of the canopy opening. Water drips from the bicycle frame; distant traffic passes.\n\nnon_diegetic_music: N/A\nLORA: none\nAUDIO: rain, umbrella snap\nDURATION: 5"}]}
{"messages":[{"role":"system","content":"You write MiniMax-H3 multi-beat scripts as sequential SCENE blocks (FL2VA)."},{"role":"user","content":"Premise: Two scavengers argue about a locked vault door, then the door opens.\nTone: tense\nApproximate pages: 1"},{"role":"assistant","content":"## SCENE 1 β INT. UNDERGROUND VAULT CORRIDOR - DIM\nACTION: Two scavengers face a sealed vault door; the camera holds as tension rises, ending on a tighter framing of their hands on the wheel lock.\nDIALOGUE β REX: If this seals us in, we're done.\nSHOT: medium two-shot, static shot then slight push in with small amplitude at slow speed\nSTORYBOARD_PROMPT: dim underground corridor, heavy vault door, two scavengers in worn gear, practical work lights, cinematic grit\nH3_MODE: FL2VA\nH3_VIDEO_PROMPT:\nHow the reference pictures align with the target video β Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot 1) aligns with the 5.00-second mark of the target video.\n\nintegrated_multimodal_description: [Shot 1] Live-action, cinematic, a medium two-shot of scavengers Rex and Mara before a heavy vault door matches Picture 1. The camera holds a static shot, then pushes in with small amplitude at slow speed on their gloved hands on the wheel lock. Rex (S1) says under his breath: <d>[English] If this seals us in, we're done.</d> Mara (S2) keeps silent, jaw set, as the frame tightens to Picture 2.\n\noverall_soundscape: Low ventilation drone, distant metal creaks, glove leather flexing on cold steel.\n\nnon_diegetic_music: A low electronic pulse at a slow tempo that holds without resolving.\nLORA: none\nAUDIO: none\nDURATION: 5\n\n## SCENE 2 β INT. UNDERGROUND VAULT CORRIDOR - DIM\nACTION: The wheel lock turns and the vault door cracks open, light spilling into the corridor as the camera pushes through the gap.\nSHOT: medium shot, push in with large amplitude at moderate speed\nSTORYBOARD_PROMPT: vault door cracking open, hard white light spill, two silhouetted scavengers, dust motes, cinematic\nH3_MODE: FL2VA\nH3_VIDEO_PROMPT:\nHow the reference pictures align with the target video β Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot 1) aligns with the 5.00-second mark of the target video.\n\nintegrated_multimodal_description: [Shot 1] Live-action, cinematic, continuing from the tight wheel-lock framing of Picture 1. Mara (S2) heaves the wheel; metal groans as the door cracks and hard white light spills into the corridor. The camera pushes in with large amplitude toward the opening until Picture 2's silhouette-and-light composition is reached. Rex (S1) exhales: <d>[English] After you.</d>\n\noverall_soundscape: Wheel lock clanks, door hinges scream, air whooshes as pressure equalizes, light hum rises.\n\nnon_diegetic_music: The electronic pulse cuts to a single sustained high tone as the door opens.\nLORA: none\nAUDIO: heavy door, light bloom sfx\nDURATION: 5"}]}
{"messages":[{"role":"system","content":"You write ONE MiniMax-H3 FL2VA scene beat for Backlot."},{"role":"user","content":"Premise: Close-up of a glass tipping off a table and shattering (end on broken glass).\nWrite SCENE 1 as FL2VA single shot."},{"role":"assistant","content":"## SCENE 1 β INT. TABLE EDGE - DAY\nACTION: A hand knocks a drinking glass; it falls and shatters; fragments settle into a final arrangement.\nSHOT: close shot, push in with small amplitude at slow speed\nSTORYBOARD_PROMPT: intact drinking glass near edge of dark wooden table, hand approaching from right, soft daylight, cinematic close-up\nH3_MODE: FL2VA\nH3_VIDEO_PROMPT:\nHow the reference pictures align with the target video β Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot 1) aligns with the 5.00-second mark of the target video.\n\nintegrated_multimodal_description: [Shot 1] Live-action, cinematic, a close shot begins with an intact drinking glass near the edge of a dark wooden table as in Picture 1, while a hand and sleeve approach from the right. The camera pushes in with small amplitude at slow speed as fingertips strike the rim. The glass tips, falls, and hits the floor; cracks spread and fragments slide outward, settling into the broken arrangement and final composition of Picture 2.\n\noverall_soundscape: Fingertips tap glass; it scrapes the tabletop, falls, and breaks with a sharp crash; small fragments scatter and stop.\n\nnon_diegetic_music: A low electronic pulse at a slow tempo, ending immediately after the glass breaks.\nLORA: none\nAUDIO: glass break\nDURATION: 5"}]}
|