← Back to Leaderboard
PPika-Labs

Pika-Labs/Pika-H3-Flex

MiniMax-H3 adapters for self-hosted, reference-guided video with synchronized audio

View on GitHub ↗
Engineering Health (Methodology)
B · 56/100
Maintenance Activity
● Updated 24d ago
Latest Release
Rolling commits (main)
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance31/35
Fork Adoption13/25
Release Cadence6/20
License Clarity6/20
DockerSelf-HostedGPUCLI
Total Stars
★ 1,230
24h Growth
+9
7d Growth
+226
Forks
53

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

Pika-Labs/Pika-H3-Flex Star History (2026-10-28 - 2026-12-04) DAILY STAR HISTORY (34-DAY D1 TELEMETRY) +1.2k in 37d · avg +33/day 1.3k 650 0 2026-10-28: ★ 12026-10-31: ★ 2942026-11-03: ★ 5022026-11-06: ★ 6182026-11-09: ★ 7382026-11-12: ★ 8642026-11-15: ★ 8732026-11-18: ★ 8882026-11-21: ★ 8972026-11-24: ★ 9072026-11-27: ★ 1,0042026-11-30: ★ 1,1222026-12-04: ★ 1,230 ★ 1.2k 10-28 11-15 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Pika H3 Flex is a post-trained MiniMax-H3 model release with two task adapters and a native inference CLI, pika-h3-pro (pika_h3.cli:main). FL2VA serves text-only and first-, last-, or dual-endpoint frame conditioning. Ref2VA serves ordered media references. The pipeline encodes prompts and input media, generates video and audio latents together, then decodes and muxes them into an MP4. The downloader fetches the selected adapter and pinned base components, and the loader checks adapter hashes and sampling parameters before loading the transformer.

The Python 3.12 stack pins PyTorch 2.13.0+cu129, Transformers 5.15.0, and PEFT 0.20.0, and applies repository patches to a commit-pinned Diffusers checkout. Adapter files remain FP32, while resident LoRA computation uses BF16. The six denoising forwards follow knots 1000/750/500/250/100/40/0, with video shift 12, audio shift 3, and fresh intermediate noise. Replacing this sampler with generic six-step Euler changes the inference procedure, even if the step count is identical.

Key Capabilities & Differentiators

The CLI supports prompt-only generation, opening and closing frame controls, and multimodal references. Ref2VA requires at least one image or video and accepts up to 12 files total, with individual caps of nine images, three videos, and three standalone audio clips. Each video or standalone audio clip must run 2–15 seconds; the aggregate video duration and aggregate standalone audio duration are each capped at 15 seconds. Embedded video audio stays with its video and does not use a standalone audio slot.

Local generation supports 480p and 768p across 11 aspect-ratio buckets, at 24 fps with 32 kHz mixed stereo. Requested durations are integer values from 5 to 15 seconds, rounded up to the model's frame grid: a five-second request yields 124 frames, about 5.17 seconds. The CLI produces H.264/AAC MP4 and a JSON sidecar with the final prompt, seed, artifact identity, geometry, offload setting, and timings. Draft-to-video at 1080p, 2K, or 4K, separate audio stems, and prompt enhancement are optional hosted Pika services, not local capabilities.

Trade-offs & Limitations

Compared with a managed workflow such as Sora or Runway, Flex gives a team local control over source media, model revisions, and render metadata, but puts GPU provisioning, dependency patching, and artifact storage on that team. Its local output ceiling is 768p with mixed stereo, so budget separately for hosted Pika services if delivery requires higher resolution or stems. The creative showcases are not release-validation renders or throughput benchmarks and do not establish a quality or speed ranking against alternatives.

Each request uses one GPU and cannot be sharded across devices. Representative cases ran on an H100 80 GB; H200 and B300 are untested, and legal input combinations can still exceed VRAM. CPU offload moves transformer weights to host RAM and prefetches blocks, increasing memory and transfer demands on the host while leaving the text encoder and VAEs on the GPU. Matching seeds and artifact pins do not guarantee identical output across kernels, devices, or library versions. For commercial adoption, review the separate adapter license and upstream model terms rather than applying the code's Apache-2.0 license to the weights.

Hardware & Deployment Guide

Deploy on Python 3.12 with an NVIDIA GPU and a driver compatible with the CUDA 12.9 PyTorch build. A pip installation needs Git, patch, FFmpeg, and a C compiler with development headers; Triton uses the compiler at runtime. The Docker and Conda recipes supply those prerequisites. The Dockerfile uses a digest-pinned Python slim Bookworm base, installs requirements.txt, runs tools/apply_diffusers_patches.py, and sets pika-h3-pro as its entrypoint. Pass Hugging Face credentials at runtime when required, not in image layers.

Plan for approximately 210 GB of base files plus 5.5 GB of adapters when acquiring both tasks, with extra space for dependencies and staging. Local snapshot overrides are available for validation; the normal download path fetches the selected adapter and base artifacts. Begin qualification with a five-second 480p job on one GPU. For more throughput, run independent processes on separate GPUs rather than exposing more devices to one job. There is no listed GitHub release; release.json records the released adapter pair and immutable Hugging Face revision.

Adapter split: FL2VA handles text and endpoint frames; Ref2VA handles ordered image, video, and optional audio references.
Sampling: Six denoising forwards on an adapter-specific schedule with separate video and audio shifts; generic six-step Euler sampling is not equivalent.
Reference budget: Up to 12 files, with individual caps of nine images, three videos, and three standalone audio clips.
Local delivery: 480p or 768p at 24 fps across 11 aspect ratios, with 32 kHz mixed stereo in an H.264/AAC MP4 and a JSON sidecar.
GPU execution: One GPU per request; optional block-prefetch offload trades host RAM and transfer time for lower transformer sampling VRAM.
Artifact control: release.json pins the Hugging Face revision; the loader validates adapter hashes and sampling parameters before loading the transformer.
Best For

Teams with access to an H100-class evaluation environment that need pinned, self-hosted generation of short audiovisual drafts controlled by endpoint frames or ordered media references.

Skip If

You need native local output above 768p, separate audio stems, multi-GPU sharding per request, or a managed workflow without GPU and model-artifact operations.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedGPUCLI
docker build -t pika-h3-pro .
docker run --rm --gpus 'device=0' pika-h3-pro --help

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Pika-H3-Flex ★1.2k+226Python—MiniMax-H3 adapters for self-hosted, reference-guided video with synchronized au
hyperframes95.5k+4.4kTypeScriptApache-2.0HTML timelines for editable video projects and frame-by-frame rendering
Open-Generative-AI37.6k+1.1kJavaScriptMITNext.js and Electron studio for cloud and local media generation
ComfyUI149.9k+945PythonGPL-3.0A node-graph engine for building and running multimodal AI workflows locally

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Pika-Labs/Pika-H3-Flex.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Pika-Labs/Pika-H3-Flex Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Pika-H3-Flex

How should I integrate Pika H3 Flex into a render pipeline?

Use the pika-h3-pro CLI as a generation job. Select t2va, i2va, l2va, or fl2va for text and endpoint-frame workflows, and ref2va for ordered media references. Pin the model with --model-repo and --revision, and ingest the MP4 and JSON sidecar together. The sidecar contains the final prompt, so review it before sending it to shared logs or publishing it.

What GPU should I start with, and will CPU offload make a smaller card viable?

Qualify on one NVIDIA GPU, starting at 480p and five seconds. Representative cases were tested on an H100 80 GB, which is not a published minimum or a guarantee for the largest reference sets. --cpu-offload lowers transformer sampling VRAM at the cost of host RAM and transfer time; it does not offload the text encoder or VAEs. Use separate processes for independent jobs on multiple GPUs, not for sharding one job.

Does the Apache-2.0 license clear commercial self-hosting and redistribution?

Apache-2.0 covers the inference and loader code, not the adapters. Review the separate adapter model license and the terms of the upstream MiniMax-H3 artifacts for your intended use and any redistribution. The presence of downloadable weights and a Dockerfile does not establish commercial or redistribution rights.

When should I choose Flex over Sora or Runway?

Evaluate Flex against Sora or Runway when local execution, pinned model artifacts, and endpoint or reference conditioning matter more than avoiding GPU operations. Native local output tops out at 768p with mixed stereo; higher resolution and stems require separate Pika hosted services. There are no comparable quality or throughput measurements here, so test all candidates on your own prompts and reference assets.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Pika-Labs/Pika-H3-Flex? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Pika-Labs/Pika-H3-Flex on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare