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.2.1.tar.gz (7.4 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.2.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genblaze_decart-0.2.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for genblaze_decart-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b08d864ca5524667962388bae8e9a040ac1e7aa977a3230b383c6ba46177cf23
MD5 ab2322616d6c0dc284ea2d530cd11c39
BLAKE2b-256 29e178aae91d27f9ed513d1a8fcf5c1fc70c87f7c295a4e712d00e12ea9e8bdf

See more details on using hashes here.

File details

Details for the file genblaze_decart-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for genblaze_decart-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79985b5fd4a405c63c8c45bdb6b4fa3412e3c19c66b5f5238f2a056e0c798b4c
MD5 5a16cb1e8988b852569116cb0b182d80
BLAKE2b-256 5b041b76a43d6bcfc97381dd0182236992b5df21af0648cc5fe1c316eb7a8f5a

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