Skip to main content

Runway Gen video provider adapter for genblaze

Project description

genblaze-runway

Runway Gen-4 / Gen-3 video provider adapter for genblaze — text-to-video AI pipelines with SHA-256 provenance manifests on every render.

genblaze-runway wraps the Runway ML API (Gen-4 Turbo, Gen-3a Turbo) as a genblaze provider. Compose Runway video generations into multi-step AI pipelines, persist outputs to Backblaze B2 or any S3-compatible store, and emit a tamper-evident provenance manifest for every run.

Why genblaze-runway

  • Runway Gen-4 Turbo, unified API — same Pipeline API as Sora, Veo, Luma, Flux.
  • Provenance by default — every render gets a SHA-256-verified manifest with prompt, model, params, timestamps.
  • Production-ready — timeouts, retries, progress streaming, step caching, moderation hooks.
  • Composable — chain Runway outputs into downstream FFmpeg transforms or AV compositors.
  • Durable storage — drop the genblaze-s3 sink in for B2 / AWS S3 / R2 / MinIO persistence.

Models

Model Notes
gen4_turbo Latest Runway Gen model — fast, highest quality. Image-to-video only: every request needs an input image (inputs=/external_inputs=/params={'prompt_image': url}).
gen3a_turbo Previous generation — still supported. Also image-to-video only.
gen4.5, veo3, veo3.1, veo3.1_fast Support both image-to-video and text-only prompts — with no input image, the provider routes to Runway's text-to-video endpoint automatically.

Install

pip install genblaze-runway

Registers the runway provider via entry points; genblaze-core discovers it automatically.

Quickstart — text-to-video

gen4_turbo/gen3a_turbo are image-to-video only; use a text-capable model (gen4.5, veo3, veo3.1, veo3.1_fast) for text-only prompts:

pip install genblaze-core genblaze-runway
export RUNWAYML_API_SECRET="..."
from genblaze_core import Modality, Pipeline
from genblaze_runway import RunwayProvider

run, manifest = (
    Pipeline("runway-demo")
    .step(RunwayProvider(), model="veo3.1",
          prompt="A timelapse of wildflowers blooming in a meadow, soft morning light, macro detail",
          modality=Modality.VIDEO, duration=8)
    .run(timeout=300)
)
print(run.steps[0].assets[0].url, manifest.canonical_hash)
assert manifest.verify()

Quickstart — Gen-4 Turbo image-to-video

gen4_turbo always requires a source image — pass one via external_inputs:

from genblaze_core import Asset, Modality, Pipeline
from genblaze_runway import RunwayProvider

reference_image = Asset(url="https://example.com/reference.jpg", media_type="image/jpeg")

run, manifest = (
    Pipeline("runway-demo")
    .step(RunwayProvider(), model="gen4_turbo",
          prompt="A timelapse of wildflowers blooming in a meadow, soft morning light, macro detail",
          modality=Modality.VIDEO, duration=10,
          external_inputs=[reference_image])
    .run(timeout=300)
)
print(run.steps[0].assets[0].url, manifest.canonical_hash)
assert manifest.verify()

Persist to Backblaze B2

from genblaze_core import KeyStrategy, ObjectStorageSink
from genblaze_s3 import S3StorageBackend

storage = ObjectStorageSink(
    S3StorageBackend.for_backblaze("my-bucket"),
    key_strategy=KeyStrategy.HIERARCHICAL,
)
# pass sink=storage to .run(…) — assets + manifest uploaded to B2

Backblaze B2 is the recommended default sink for large AI-generated video.

Credentials

Env var Where to get it
RUNWAYML_API_SECRET https://dev.runwayml.com/

Documentation

Related packages

License

MIT

Project details


Download files

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

Source Distribution

genblaze_runway-0.3.3.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

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

genblaze_runway-0.3.3-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file genblaze_runway-0.3.3.tar.gz.

File metadata

  • Download URL: genblaze_runway-0.3.3.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for genblaze_runway-0.3.3.tar.gz
Algorithm Hash digest
SHA256 21117f290948fd1070486482043c478c5078bd02e24887f802708f3e5e3d35ba
MD5 641d8fa5e7080a21a9773cc647dfb984
BLAKE2b-256 fc3a671272d2a49f0a36fc35f4460ec8a1b49b5af9d16befc45db382b4b8710e

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_runway-0.3.3.tar.gz:

Publisher: release.yml on backblaze-labs/genblaze

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file genblaze_runway-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: genblaze_runway-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for genblaze_runway-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 11ce930c1615205d264946029c3c962d6d947d9906e5c75062ab0f533b4df05c
MD5 603bcb30fad90cfc8060119ba2c44bef
BLAKE2b-256 0605d852524157b287b2bfdff56d60cef608604c90eb80af5f5aee269d2a239a

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_runway-0.3.3-py3-none-any.whl:

Publisher: release.yml on backblaze-labs/genblaze

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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