v1

latestOpenAPI 3.0.02026-07-13650400.5 KB
Campaign Generation (Coming soon)

Generate a Campaign

The Campaign Generation API enables the creation of multiple ads (scenes) in various sizes and resolutions, all unified by the same branding, style, and messaging. This is essential for testing different ad variations, repurposing successful ad formats, and significantly reducing the manual effort required to create multiple ads.

BRIA's Campaign Generation API provides a unique and scalable solution for producing professional-grade ads while minimizing the need for time-consuming design work.

<img src="https://bria-datasets.s3.us-east-1.amazonaws.com/temp_exp_or/Campaign.jpg" width="400"/>

Smart Image Feature
A standout feature of BRIA's Campaign Generation API is its ability to seamlessly embed objects, products, and presenter images into another image (a "smart image"). This AI-powered capability allows for generating diverse backgrounds for the embedded image or extending the background to fit the ad's design perfectly.

How It Works
The Campaign Generation API works by sending a template ID along with inputs such as text, images, the main object with its background definition, and a brand ID (including logos, colors, and fonts). In response, the API generates a set of ad images.

Templates can be easily created using BRIA’s Campaign Editor application. Once a template is ready, it can be used to produce multiple ad versions with varying messaging, branding, and images.

post/campaign_api/generate

Headers

api_tokenstring required

API token associated with the organization.

Request body

template_idstring

The ID of the template to be used for generating the campaign scenes.

brand_idstring

The ID of the brand.

canvas_colorstring

Canvas background color in hex format.

Response

Campaign generated successfully.

string[] required