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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for genblaze_decart-0.3.3.tar.gz
Algorithm Hash digest
SHA256 c8abcc21bb3c2a68638ff64cb6be96c1aa1d455993dd4faa1e3e5e067301ecda
MD5 1f6059c8594c2e9d3fda0795d890cda1
BLAKE2b-256 222a186dd83636ed2944bf759ac68e1e3836963e647a440257f5dceb44ebcb9c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: genblaze_decart-0.3.3-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.14

File hashes

Hashes for genblaze_decart-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d2da4c80fb5cc91e4cd44bcbe4676e762c3a992a0a486414309bfe8016a4c3b2
MD5 eec816f9b83fb5bd6cf8aba88cae3f48
BLAKE2b-256 5ab0228bd7f70c89c5fbfa8ab16da2143bc1f9070054e8be21b96b1fc3f19fa0

See more details on using hashes here.

Provenance

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