open-h3-ir
Open-source local implementation of MiniMax H3 Context-IR. Turn simple prompts into structured, validated H3 video briefs.
File Explorer
- ci.yml
- dial-extreme.brief.txt
- dial-restrained-vs-extreme.mp4
- dial-restrained-vs-extreme.webp
- dial-restrained.brief.txt
- off-vs-on.compiled-brief.txt
- off-vs-on.mp4
- off-vs-on.webp
- openh3ir-title.mp4
- openh3ir-title.webp
- plate-car.jpg
- plate-showroom.jpg
- social-card.png
- build-log.md
- calling-the-api.md
- design.md
- vocab.json
- __init__.py
- controls.py
- score.py
- suite.py
- ref1.png
- ref2.png
- base_mode_wrote_ref_format.txt
- i2va.ir.txt
- live_transformation_crossbucket.txt
- live_transformation_ref2va.txt
- official_fl2va_example.txt
- official_ref2va_example.txt
- ref2va.ir.txt
- shipped_repeated_shot.txt
- t2va.ir.txt
- base-en.txt
- beatsheet.v1.txt
- compose.v1.txt
- compose.v2.txt
- compose.v3.txt
- compose_base.v1.txt
- prose_shot.v1.txt
- prose_shot.v2.txt
- ref-en.txt
- shotplan.v1.txt
- __init__.py
- acceptance.py
- analyse.py
- backend.py
- cli.py
- comfy.py
- compile.py
- config.py
- contract.py
- creativity.py
- director.py
- draft.py
- grid.py
- licence.py
- lora.py
- mode.py
- models.py
- plan.py
- prose.py
- render.py
- repair.py
- service.py
- shots.py
- style.py
- textnorm.py
- tokens.py
- uploads.py
- validate.py
- handpainted_anim_v2.safetensors
- howtouse.md
- contract_falsification.py
- flakiness.py
- make_acceptance_arm.py
- proportionality.py
- conftest.py
- test_anchor_downgrade_is_honest.py
- test_ask_states_the_wiring.py
- test_audio_card_is_not_cached.py
- test_audio_claims.py
- test_capacity.py
- test_closed_vocabulary.py
- test_contract.py
- test_creativity.py
- test_declared_roles.py
- test_deterministic.py
- test_dialogue_across_a_cut.py
- test_director.py
- test_endpoint_portability.py
- test_enrichment_path_imports.py
- test_every_role_renders.py
- test_ffmpeg_absent.py
- test_file_facts.py
- test_fix_loop.py
- test_frame_anchors.py
- test_golden_asset_geometry.py
- test_hardening.py
- test_instruction_line.py
- test_megapixels.py
- test_music_referenced_not_copied.py
- test_paired_soundtrack.py
- test_pinned_shots.py
- test_reference_audio_words.py
- test_reference_licence.py
- test_request_validation.py
- test_retention_bookkeeping.py
- test_retry_varies_the_question.py
- test_score_and_length.py
- test_service_errors.py
- test_shot_planning.py
- test_storyboard_role.py
- test_structure_role.py
- test_style_role.py
- test_supported_python_versions.py
- test_swap_roles.py
- test_upload_endpoint.py
- test_upload_store.py
- test_video_reference.py
- .env.example
- .gitignore
- AGENTS.md
- HANDOFF.md
- LICENSE
- NOTICE
- pyproject.toml
- README.md
- requirements.txt
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
ffmpeg
View Details ▼
ffmpeg
Video conversion tool.
See also: `gst-launch-1.0`.
ffmpeg -i {{path/to/video.mp4}} -vn {{path/to/sound.mp3}}
Extract the sound from a video and save it as MP3:
ffmpeg -i {{path/to/input_audio.flac}} -ar 44100 -sample_fmt s16 {{path/to/output_audio.wav}}
Transcode a FLAC file to Red Book CD format (44100kHz, 16bit):
ffmpeg -i {{path/to/video.mp4}} {{[-vf|-filter:v]}} 'scale=-1:1000' -r 15 {{path/to/output.gif}}
Save a video as GIF, scaling the height to 1000px and setting framerate to 15:
ffprobe
View Details ▼
ffprobe
Multimedia stream analyzer.
ffprobe {{[-v|-loglevel]}} error -show_streams {{input.mp4}}
Display all available stream info for a media file:
ffprobe {{[-v|-loglevel]}} error -show_entries format=duration {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}
Display media duration:
ffprobe {{[-v|-loglevel]}} error -select_streams v:0 -show_entries stream=avg_frame_rate {{[-of|-output_format]}} default=noprint_wrappers=1:nokey=1 {{input.mp4}}
Display the frame rate of a video:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
pytest
View Details ▼
pytest
Run Python tests.
pytest {{path/to/test_file1.py path/to/test_file2.py ...}}
Run tests from specific files:
pytest -k {{expression}}
Run tests with names matching a specific [k]eyword expression:
pytest {{[-x|--exitfirst]}}
Exit as soon as a test fails or encounters an error:
python3
View Details ▼
python3
This command is an alias of `python`.
tldr python
View documentation for the original command:
