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.0.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.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genblaze_decart-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 95d26fc8eb6b034ddb5bb22d7476d00621d086eb2d684a93f8ed6de94ab88fdc
MD5 5956957848f3e4234f28eb11d0c1a26a
BLAKE2b-256 dd94ff7ca717c1bf61dee142b3b5b5ee43ae2cdff233e450f203c2d6a00f319f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for genblaze_decart-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92abb2c132ea7f9ec666f5dd689147b513b31d30053fcd20cfcdd2803d63d56e
MD5 4d4a783f5dc44eaf5872e33262a8d36d
BLAKE2b-256 20a5ff01a86ccc5a4d47a525f8ad2882ae09ff3491ee49010960110a31e5ff1c

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