Ad Resizer
Changed onReframes an ad creative to an exact ad resolution, regenerating the layout so text and key elements stay legible at the new size. Upload the source creative as image using multipart/form-data, and supply platform to keep the ad inside that platform's safe zone. Returns a generation_id; poll GET /v2/generations/{generation_id} or supply a webhook_url.
Request
- Base URL: https://api.ideogram.ai
- URL: https://api.ideogram.ai/v2/tool/ad-resizer
- Auth: API key in header Api-Key
Query parameters
When true, the request is validated and priced but not run: nothing is generated, stored, or billed, and no safety review is performed. The response is a PriceQuote object instead of the usual response for this endpoint. Send exactly the request you would send to generate, so the quote reflects the same options.
Response
Ad resize accepted for asynchronous processing.
Changes
- breaking
removed the media type
application/jsonfrom the request body - breaking
the request property
became required - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
api operation id
post_ad_resizerremoved and replaced witheditWorkflow_post_ad_resizer - info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
request body became optional
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking
- info
added the new optional request property
/(media type: multipart/form-data) - info
added the new optional request property
/(media type: application/json)
- info