# Ads API Reference

Two endpoints for finished, flat ads. `POST /v2/ads/delayer` turns an ad into editable layers (background plate, image cutouts, live text with typography, vector shapes) returned as one JSON layer document. `POST /v2/ads/resize` produces the same ad at up to ten other sizes with the layout redone for each shape. Both are asynchronous: they return a `request_id` and `status_url`, and the completed status body carries the result. The [Ads overview](/ads-overview) introduces both; each endpoint below carries its full guide: the flow, the response contract, limits and retention.



## Servers

```
https://engine.prod.bria-api.com/v2
```

## Security

### api_token

[object Object]

Type: apiKey
In: header
Name: api_token

## Download OpenAPI description

 - [Ads API Reference](https://docs.bria.ai/_bundle/ads.yaml)

## Transformations

 - [POST /ads/delayer](https://docs.bria.ai/ads/transformations/delayer-ad.md): Turn a flat ad image into editable layers, returned as one structured JSON document: a background plate, product and logo cutouts, live text with typography, and vector shapes. Trained exclusively on
 - [POST /ads/resize](https://docs.bria.ai/ads/transformations/resize-ad.md): Send one finished, flat ad and up to ten target sizes; get back one finished image per size, with the layout redone for each shape rather than cropped or stretched. Trained exclusively on licensed dat
