Inspiration

With Samsar, I have always envisioned it as being a decentralized networked router- the backbone agent, connecting the various adapters and orchestrating them. BlazeConnect is the next step in this direction.

The Devpost hackathon gave me the opportunity to achieve another step in making the agent more robust and decentralized while also ensuring predictable outputs across adapters and models. The Text-to-visualize anything framework has been to allow multiple adapters and model settings. Previous version of the community edition supported only S3 and Minio based local file-system. I wanted to add additional remote S3 compatible storage adapter which was affordable to end users, B2 exactly matched with the requirements and a super adapter capable of handling LLM, Image and Video calls. By combining GMI Cloud’s GenBlaze infrastructure with reliable, scalable Backblaze B2 storage, I was able to achieve all of my goals while also making the platform more distributed and affordable as well as enable fallback mechanisms and more options for the end-user.

What it does

The core product allows user to create prompt to video using any combination of inference, video and image model settings up to 3 minutes in duration. BlazeConnect allows user to setup GenBlaze via GMI cloud for the Samsar pipeline. This setting when enabled allows GenBlaze to be used as the primary provider for all parts for the text to video and image list to video agent. This integration also allows user to setup Backblaze B2- S3 compatible storage server, for user to store their renders and images in a remote file-system to protect against accidental deletion etc. and is more affordable option with fast access and easy setup.

How I built it

I deep connected GenBlaze and GMI cloud adapters in all service projects, then I connected the GenBlaze generation pipeline to Backblaze B2 using its S3-compatible API, enabling generated files to be uploaded and retrieved automatically. This integration was built with heavy assistant of Codex with GPT 5.6 Sol over multiple long prompt, verification and debugging sessions.

I added adapters for GMI Cloud for all services, and added listeners in the services as well, in the generators and listeners for GenBlaze, the system pre-processes the payload to make it compatible with Genblade API for each supported model before sending the generate or polling request.

Challenges I ran into

Normalization of model keys in GMI Cloud and mapping against the Samsar Model keys.

Limited concurrency (perhaps due our account to usage tier) However user can use their own GMI Cloud API key, the GenBlaze container shipped as part of the bundle is fully open-source.

Seedance 2 model integration faced some challenges, such as high refusale rate, output intermittently never returning and getting stuck for ever.

Accomplishments that I am proud of

I built the text to video and image list to video agent for over 3 years and iterating over each model release which is now a premier model composable framework to visualize anything from text prompts.

The latest Genblaze and B2 cloud integration makes the platform even more distributed and robust than before.

Users gets the most choices for adapters and models as well as the best in class technology for 1-shot Text to video and image list to video.

The app runs in secure sandboxed environment and the user only enables the credentials they need to minimally enable all the services for T2V agent.

What I learned

I learnt more about the GenBlaze platform and GMI Cloud, this was my first introduction to the BackBlade generative media cloud and I was pleasantly surprised to find that there is a generative adapter available with such comprehensive tooling, which seem to be exactly what a stateful long running agent like Samsar needs. I learnt how to handle models adapter wise and also that behavior of same model across adapters differs substantially.

I learnt that payload input needs to be normalized across adapters even for the same models.

I have also blogged about my learnings here https://samsar.one/blog/backblaze-b2-cloud-and-genblaze-adapter-are-now-configurable-in-samsar/

What's next for BlazeConnect

BlazeConect is the GenBlaze and B2 integration within Samsar monorepo. I will continue maintaining model and version upgrades for GenBlaze and parity with the latest features in Samsar - the Text to visualize anything agent and generative video cloud.

Share this project:

Updates

posted an update

GMI Cloud with GenBlaze and B2 Integration update

Seedance 2.5 image-to-video is the latest addition to our GMI Cloud integration. Routed through GenBlaze using seedance-2-5-260628, it supports first frame, optional last frames, adaptive framing, 720p output, and 5-, 10-, or 15-second scenes.

Model Matrix

Capability GMI Cloud models through GenBlaze Backblaze B2 role
Text and vision GPT 5.6 Sol · Gemini 3.1 Pro · Qwen 3.8 Max Publishes vision inputs as provider-readable HTTPS assets
Image generation GPT Image 2 · Seedream 5 Pro · Nano Banana 2 · Nano Banana Pro Stores generated images at durable public URLs
Image editing GPT Image 2 Edit · Nano Banana 2 Edit · Nano Banana Pro Edit · BRIA Eraser · BRIA GenFill Hosts source images and completed edits
Video generation Veo 3.1 and Fast · Seedance 1.5, 2.0 and 2.5 I2V · Kling 3 Pro, Turbo, 1.6 Pro and 2.1 variants · Hailuo 02 Pro · Happy Horse 1.1 I2V Publishes input frames and stores generated clips and final renders
Speech ElevenLabs Multilingual TTS · OpenAI TTS Stores generated audio assets

Model availability is credential-scoped. GenBlaze enables only exact routes verified for the connected GMI Cloud API key.

Local Media Delivery Fix

Slow or provider-unreachable local media URLs no longer block the agent pipeline. When GMI Cloud cannot download a managed local asset, GenBlaze:

  1. Reads the media through the internal gateway.
  2. Uploads it through GMI Cloud’s signed upload flow.
  3. Receives a stable, provider-hosted public URL.
  4. Retries the model request with the new URL.

This recovery path covers vision inputs, image edits, first and last video frames, and other media-based agent operations.

Integration Flow

Backblaze B2 media → GenBlaze gateway → GMI Cloud model → processed output → durable B2 asset

  • GenBlaze handles routing, request translation, media recovery, submission, and polling.
  • Backblaze B2 provides public media delivery and persistent output storage.
  • Completed assets are copied from temporary provider URLs into B2.
  • Setup validates the B2 endpoint, bucket access, and upload permissions.
  • Master keys use the Native B2 API; application keys use the S3-compatible API.

You can checkout the latest code here

Log in or sign up for Devpost to join the conversation.