Skip to main content

Decart Lucy video/image provider adapter for genblaze

Project description

genblaze-decart

Decart Lucy video + image provider adapter for genblaze — text-to-video, image-to-video, and image generation/editing AI pipelines with SHA-256 provenance manifests.

genblaze-decart wraps Decart's Lucy family of models as genblaze providers — DecartVideoProvider for text-to-video and image-to-video, DecartImageProvider for text-to-image and image-to-image editing. Compose them 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-decart

  • Lucy Pro video + image + edits — text-to-video, image-to-video, text-to-image, image-to-image, all under one pipeline API.
  • Chain Lucy I2V after Lucy T2I — single pipeline, image→video with linked provenance.
  • Provenance by default — SHA-256-verified manifest on every output.
  • Production-ready — timeouts, retries, progress streaming, step caching.
  • Durable storage — plug genblaze-s3 in for Backblaze B2 / AWS S3 / R2 / MinIO persistence.

Providers + models

Provider class Modality Models
DecartVideoProvider video lucy-pro-t2v (text-to-video), lucy-pro-i2v / lucy-dev-i2v (image-to-video)
DecartImageProvider image lucy-pro-t2i (text-to-image), lucy-pro-i2i (image-to-image editing)

Registered via entry points as decart and decart-image.

Install

pip install genblaze-decart

Quickstart — Lucy text-to-video

pip install genblaze-core genblaze-decart
export DECART_API_KEY="..."
from genblaze_core import Modality, Pipeline
from genblaze_decart import DecartVideoProvider

run, manifest = (
    Pipeline("decart-demo")
    .step(DecartVideoProvider(output_dir="output/video"),
          model="lucy-pro-t2v",
          prompt="A serene ocean with dolphins jumping at sunset, cinematic lighting",
          modality=Modality.VIDEO, resolution="720p")
    .run(timeout=300)
)
print(run.steps[0].assets[0].url, manifest.canonical_hash)

Quickstart — Lucy image-to-video chain

from genblaze_core import Modality, Pipeline
from genblaze_decart import DecartImageProvider, DecartVideoProvider

run, manifest = (
    Pipeline("image-to-video", chain=True)
    .step(DecartImageProvider(), model="lucy-pro-t2i",
          prompt="cyberpunk cityscape, neon reflections", modality=Modality.IMAGE)
    .step(DecartVideoProvider(), model="lucy-pro-i2v",
          prompt="camera slowly pans right", modality=Modality.VIDEO)
    .run(timeout=600)
)

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(…)

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

Credentials

Env var Where to get it
DECART_API_KEY https://platform.decart.ai/

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_decart-0.3.0.tar.gz (10.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_decart-0.3.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file genblaze_decart-0.3.0.tar.gz.

File metadata

  • Download URL: genblaze_decart-0.3.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for genblaze_decart-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9e3599b42302b557a85324e1e5140d5d55d627ff11f633a70efc880bb13b7a7b
MD5 25344e1ec0a892c194e401bb33be04b5
BLAKE2b-256 c0e674cfd53a93a93c673b33c667311741d7ac6a4b3bf1ed4d4f5fcba2082c1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_decart-0.3.0.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_decart-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: genblaze_decart-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for genblaze_decart-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55065922e78b3b83081f4e90fc25955aa607555a84e8fc0f3d3084b212d7d697
MD5 6dc645ff7a36e74d70ad78a3752fa07d
BLAKE2b-256 47dfb27a095e01c1e2036f40fa76463e5823f0ac4c8f9977e8f4dec114018ed1

See more details on using hashes here.

Provenance

The following attestation bundles were made for genblaze_decart-0.3.0-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