edit-workflow

Reframes 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.

post/v2/tool/ad-resizer

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

dry_runboolean

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.

generation_idstring required

URL-safe base64 ID accepted by the generation polling endpoint.

Changes

    • breaking

      removed the media type application/json from 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_resizer removed and replaced with editWorkflow_post_ad_resizer

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      request body became optional

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the new optional request property / (media type: multipart/form-data)

    • info

      added the new optional request property / (media type: application/json)