-
-
Choose a campaign template and fill the business snapshot (product, audience, pain point).
-
LIVE mode is on—connected to Bria FIBO with your API key for real generation.
-
Experiment plan generated: control + tests, with hypothesis, metrics, and spend minima.
-
Generating LunaGlow Sunscreen creatives—agent runs the test plan and renders variants.
-
Variants rendered as cards: Bria FIBO LIVE, JSON-controlled creative parameters.
-
Enter results (impr/clicks/conv/spend/revenue) and request the agent’s recommendation.
-
Winner selected with the exact FIBO parameter recipe (shot, lighting, palette, background).
-
Export all artifacts into a shareable bundle for judges, teammates, or launch.
Inspira## Inspiration
We were inspired by the need for an agentic system that can automate the expensive, time‑consuming work of marketing campaign setup. Just as film production uses storyboards and iterative editing to deliver polished stories, we wanted to bring that level of creativity and rigor to ads. Our team drew from film, human‑centered design, and JSON‑native automation to imagine a copilot that can plan, generate, test and refine ads without constant human intervention.
What it does
Agentic Ad Optimizer takes a “business snapshot” (business goals, target customer, product features and creative tone) and automatically designs an experiment plan. It generates multiple creative variants using Bria’s FIBO controlled image API, writes copy, and ensures each variant adheres to FIBO specifications. It then scores each variant using a rubric across multiple criteria (relevance, visual appeal, diversity, etc.), recommends the best performing creative, and outputs a JSON evidence pack with the winning creative and next tests. All interactions are fully JSON‑native – endpoints return both the human‑readable artifact and the underlying JSON data so the process can be audited and reused.
How we built it
The monorepo has a Python FastAPI backend and a React + Vite frontend. The backend exposes endpoints like /experiment-plan (creates a plan given a business snapshot), /creative-variants (generates FIBO image spec patches and copy), /score-variants (scores the variants against a rubric) and /recommend-next-tests. We integrate with Bria’s FIBO API to generate image patches and use Pydantic models to ensure everything is strongly typed. Campaign templates, exports and scoring rubrics live in the templates/ folder so new campaigns can be added quickly. The frontend renders the plan, variants and scores and lets judges download an evidence pack (PDF) and a judge‑ready README. Our README.md is hardened with context injection to prevent prompt injection.
Challenges we ran into
We underestimated the complexity of implementing ethical and compliance guardrails for generative ads. Building safe prompts for Bria’s API and preventing raw network errors required careful error handling and fallback logic. Standardizing the scoring scale so that creative quality, relevance and adherence to spec could be compared fairly was also tricky. Finally, time was limited, so shipping a polished frontend while building robust backend logic was a challenge.
Accomplishments that we’re proud of
We delivered five P0+ features in three days: (1) campaign templates with JSON snapshot and experiment plan; (2) exportable artifacts like a judge‑ready README and evidence pack; (3) a winner card that highlights the best creative and why it won; (4) a hardened README with context injection and FIBO spec references; and (5) a pipeline that is fully JSON‑native and agentic, requiring no manual input once the business snapshot is provided. We also learned a lot about controlled image generation and scoring.
What’s next
There is still so much we want to build. We plan to integrate with real ad platforms (Meta, Google, LinkedIn) to push winning creatives live and collect performance data. We want to add RL algorithms that learn from user engagement to refine the creative generation and scoring over time. Finally, we want to expand beyond images into video and audio ads, leveraging Bria’s future FIBO modalities.tion
Log in or sign up for Devpost to join the conversation.