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

Uploaded Python 3

File details

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

File metadata

  • Download URL: genblaze_decart-0.2.2.tar.gz
  • Upload date:
  • Size: 7.5 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.2.tar.gz
Algorithm Hash digest
SHA256 4af470e0d3ecb256335fd408df3d4c8a7451cf744c5867ade23c54a64dbb5455
MD5 1e8edd760bfa3ef8a3845b43b5085a34
BLAKE2b-256 6d3d343672bd3847f20592ee662dc99fe6e067660427ad1b4e9d013c8310a27b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for genblaze_decart-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6c4dd9d0b902f82389fb9cde7ef198beb64bd7072a75ca651433ef36b36a11dc
MD5 92ff4f3871002d4b6e7b738bd734adcf
BLAKE2b-256 83ff1decc5c2c44b93a0825308d754e136fb0c8f6e6dbdc5144b2f2e2edf0fe8

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