genblaze  by backblaze-labs

Python SDK for generative media pipelines

Created 2 months ago
281 stars

Top 92.5% on SourcePulse

GitHubView on GitHub
Project Summary

Genblaze is an open-source Python SDK designed for orchestrating generative AI media pipelines across video, audio, and image providers. It targets engineers and researchers building complex AI media workflows, offering a unified API to abstract provider differences and providing built-in provenance tracking for every output, ensuring traceability and verifiability.

How It Works

Genblaze employs a unified Pipeline and Step API to abstract away the complexities of interacting with diverse generative AI services like OpenAI, Google, Runway, and NVIDIA NIM. This design allows users to swap providers with minimal code changes. A core feature is the automatic generation of a canonical provenance manifest for each pipeline run, which can be embedded directly into media files or stored separately, ensuring auditable lineage and asset integrity. Storage integration with Backblaze B2 and S3-compatible services is a first-class concern.

Quick Start & Requirements

Highlighted Details

  • Provenance by Default: Generates canonical, hash-verified provenance manifests embeddable into media files (.mp4, .png, .jpg, etc.) or storable in cloud buckets.
  • Unified Provider API: Supports numerous video, image, audio, and chat providers (e.g., OpenAI, Google, Runway, Luma, ElevenLabs, Stability AI, NVIDIA NIM) via a single Pipeline/Step interface.
  • First-Class Storage: Seamless integration with Backblaze B2 and any S3-compatible store for durable asset and manifest persistence.
  • Replayable Runs: Manifests capture full provenance, enabling pipeline reconstruction and replayability.
  • Fallback Chains & Conformance: Includes mechanisms for retries on model errors and tests to detect upstream provider drift.

Maintenance & Community

The project provides contribution guidelines in CONTRIBUTING.md and repo conventions in AGENTS.md. No specific community channels (like Discord/Slack) or sponsorship details are prominently featured in the README.

Licensing & Compatibility

The project is licensed under the MIT License. This license generally permits commercial use and integration into closed-source applications.

Limitations & Caveats

Genblaze is not intended for simple LLM chat loops (use provider SDKs or LangChain), UI-driven generation apps in JS/TS (use Vercel AI SDK), or scenarios where media generation and provenance are not primary concerns. Outputs that are URL-only, without bytes being transferred or verified, will not pass Manifest.verify().

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
29
Issues (30d)
7
Star History
273 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.