Skip to main content

LiveFrame

Real-time video generation, honestly measured.

LiveFrame is an evidence-first measurement framework for real-time autoregressive diffusion video, spanning NVIDIA CUDA and Apple MLX. It separates four claim layers — numerical trajectory, intrinsic quality, same-seed identity, and complete-wall performance — with pre-registered thresholds and digest-bound provenance.

Paper: LiveFrame: Evidence-First Measurement of Real-Time Autoregressive Diffusion Video Across CUDA and Apple MLX (2026).

This release (0.2.0)

This release adds dependency-free orchestration APIs for measured generation:

  • stream() yields timed native-frame events.
  • clip() requires exact finite completion and reports complete measured wall time.
  • benchmark() separates warmups from measured trials and reports median and p95 wall time.

Model loading remains behind a small backend protocol. The package does not bundle Wan, MLX, or CUDA weights and does not claim to provide a production model backend yet.

from collections.abc import Iterator

from liveframe import GenerationRequest, NativeFrame, benchmark, clip


class MyBackend:
	def stream(self, request: GenerationRequest) -> Iterator[NativeFrame]:
		for index in range(request.native_frames):
			pixels = generate_one_frame(index, request)  # your model integration
			yield NativeFrame(index=index, payload=pixels)


request = GenerationRequest("a paper boat crossing a rain puddle")
result = clip(MyBackend(), request)
print(result.metrics.generated_fps)

summary = benchmark(MyBackend(), request, warmup_runs=1, trials=3)
print(summary.median_generated_fps, summary.p95_wall_seconds)

If a backend emits chunks, native_frame_count keeps generated-frame accounting explicit:

yield NativeFrame(index=0, payload=first_chunk, native_frame_count=4)
yield NativeFrame(index=4, payload=second_chunk, native_frame_count=4)

Missing, duplicate, out-of-order, and excess native frames fail closed. Generated FPS is computed from the declared native-frame count and measured wall time, never playback duration or iterator-item count.

The evidence verifier for LiveFrame claim ledgers remains available:

pip install liveframe

# re-hash every unique digest-bound artifact referenced by a ledger (fail-closed)
liveframe verify path/to/liveframe-publication-claims.v1.json --artifacts-root path/to/repo

# independently recompute headline arithmetic from values recorded in the ledger
liveframe recompute path/to/liveframe-publication-claims.v1.json

verify requires the separately distributed evidence artifacts referenced by the ledger; model weights and evidence files are not bundled in this Python package. It rejects missing files, digest mismatches, unsupported schemas, conflicting references, and artifact paths outside the selected root.

See the repository for the full evidence bundle, claim protocol, and reports.

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

liveframe-0.2.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

liveframe-0.2.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file liveframe-0.2.0.tar.gz.

File metadata

  • Download URL: liveframe-0.2.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for liveframe-0.2.0.tar.gz
Algorithm Hash digest
SHA256 40b811b1430e252bd16eb6235e2b33490b123eab0fe6b74d8e25d257dc6d35ea
MD5 bbf590b42c8cc953eb696031bc04e973
BLAKE2b-256 d97a6e63b24a6de1f5357081670a5e7dbbebf996eaa18909e4e5b3ed775689a7

See more details on using hashes here.

File details

Details for the file liveframe-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: liveframe-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for liveframe-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1eb73e38c7b34f983e337bbed433ea59c8938de02435c71330cf3d27183010f4
MD5 ac3082b692bd51e2d96503ae6fd88ada
BLAKE2b-256 aa3919f84e7ba1cd5834719ee973b865ed894ad67b65759d09c7cc60fc51837a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page