image-generations
Post apiv1image generations
POST
/
api
/
v1
/
image-generations
Error
A valid request URL is required to generate request examples{
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Available options:
CAMPAIGN_MEDIA Available options:
SQUARE, PORTRAIT Required string length:
1 - 2000A hint about who the advertiser is, and nothing more: only the scheme, host and path reach the image model, never the query string. Placeholders (see CreateCampaignRequest.destinationUrl) cannot be substituted at this point — the image is generated before the campaign exists, so there is no campaign to name — and a URL still carrying one after the query string is cut is left out of the prompt altogether.
Maximum string length:
2048Available options:
AWARENESS, TRAFFIC, CONVERSIONS, APP_INSTALLS Maximum string length:
4000Response
Accepted
⌘I
Error
A valid request URL is required to generate request examples{
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>"
}