Most text-to-image systems today rely heavily on prompt engineering, which often leads to inconsistent and non-repeatable results. Small changes in wording can drastically alter outputs, making these tools difficult to use in professional production workflows such as cinematography planning, creative direction, or automated visual pipelines.
When we explored Bria FIBO’s JSON-native generation, it revealed a fundamentally different paradigm: instead of describing what we want, we can define how the image is constructed — camera angles, field of view, lighting conditions, and rendering intent — in a structured, deterministic way.
This inspired Cametrax: a tool that treats AI image generation like a camera and lighting console, not a text box.
🧠 What We Learned
Building Cametrax helped us understand:
How structured JSON dramatically improves reproducibility and control in visual AI
How professional concepts like yaw, pitch, roll, FOV, and color temperature map naturally to FIBO’s generation parameters
How JSON-native workflows can be integrated into agentic pipelines, creative tools, and production systems
Why deterministic control is critical for enterprise and commercial use
We also learned how to design a user experience that exposes powerful controls without overwhelming users.
🛠 How We Built It
Cametrax is built as a full-stack prototype:
Frontend
React (Vite) for a fast, modular UI
Dedicated components for camera controls, lighting controls, presets, JSON preview, and history
A custom hook (useCametraxPayload) that maintains a clean, schema-aligned JSON payload
Real-time visualization of the exact JSON sent to the model
Backend
Flask (Python) serving as a lightweight generation API
A mock FIBO client to simulate image generation
Clean separation between request handling and generation logic, making it easy to swap in the real FIBO SDK
The system architecture mirrors how Cametrax would be deployed in real production pipelines.
🧩 Challenges Faced
One of the biggest challenges was balancing power and usability. Exposing professional camera and lighting parameters risks overwhelming users, so we introduced:
Sensible presets (Studio, Cinematic, Portrait)
Clear parameter ranges and labels
Live JSON previews for transparency and learning
Another challenge was designing the system to remain fully deterministic while still feeling creative. This required strict schema alignment and careful state management so every UI interaction maps directly to a JSON parameter.
🚀 Outcome & Future Potential
Cametrax demonstrates how FIBO’s JSON-native generation can move AI imagery beyond experimentation and into repeatable, professional workflows.
Future extensions include:
HDR / 16-bit color workflows
ControlNet or multimodal constraints
Agent-driven batch generation
Direct integration with ComfyUI, Nuke, or creative suites
Cametrax is a step toward a future where AI image generation is engineered, not guessed.
Built With
- and
- bria
- css
- flask
- html
- javascript
- json-native-pipelines
- python
- react-(vite)
- rest-apis
Log in or sign up for Devpost to join the conversation.