- Third-party
Ad Delayer turns a finished, flat ad image into an editable JSON layer document: a background plate, product and logo cutouts, live text with typography, and vector shapes, with each image layer hosted as its own file. It is designed for flat ads; results for ordinary photographs are not guaranteed. Bria trains it exclusively on licensed data.
| Model Info | |
|---|---|
| Terms and License | link ↗ |
| More information | link ↗ |
| Pricing |
|
const response = await env.AI.run(
'bria/ad-delayer',
{ image: 'https://examples.aig.cloudflare.com/xai/grok-imagine-image-2.0/simple-generation.jpg' },
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "bria/ad-delayer",
"input": {
"image": "https://examples.aig.cloudflare.com/xai/grok-imagine-image-2.0/simple-generation.jpg"
}
}'Constructed a layered ad.
{
"state": "Completed",
"result": {
"layer_document": "https://examples.aig.cloudflare.com/bria/ad-delayer/concert-poster.json",
"text": "Constructed a layered ad."
}
}▶image
one ofrequiredlayer_document
stringformat: uriURL of the JSON layer document: the canvas size, font stylesheets, and z-ordered image, vector, and text layers. Image layers link to their extracted assets through `asset_path`. Bria hosts the document and assets for 30 days.text
stringShort summary from Bria of the layers it built.