Skip to content

IAB Images

Fresh

Purpose

Generate IAB (Interactive Advertising Bureau) compliant ad banner images from a single input image using the Creatify IAB Images API. Produces standard ad sizes for display advertising.

Prerequisites

  • Authenticated API access (Authentication SOP)
  • A product or brand image (publicly accessible URL)
  • 2 credits per generation

Procedure

Step 1: Generate IAB Banners

bash
curl --request POST \
  --url https://api.creatify.ai/api/iab_images/ \
  --header "Content-Type: application/json" \
  --header "X-API-ID: $CREATIFY_API_ID" \
  --header "X-API-KEY: $CREATIFY_API_KEY" \
  --data '{
    "image_url": "https://example.com/product-image.jpg"
  }'

Response:

json
{
  "id": "iab-task-uuid",
  "status": "pending"
}

Step 2: Poll for Completion

bash
curl --request GET \
  --url https://api.creatify.ai/api/iab_images/iab-task-uuid/ \
  --header "X-API-ID: $CREATIFY_API_ID" \
  --header "X-API-KEY: $CREATIFY_API_KEY"

Completed response:

json
{
  "id": "iab-task-uuid",
  "status": "done",
  "outputs": [
    {
      "size": "300x250",
      "url": "https://cdn.creatify.ai/images/iab-300x250.png"
    },
    {
      "size": "728x90",
      "url": "https://cdn.creatify.ai/images/iab-728x90.png"
    },
    {
      "size": "160x600",
      "url": "https://cdn.creatify.ai/images/iab-160x600.png"
    }
  ]
}

Step 3: Download Banners

Download each banner from its url field. Standard IAB sizes typically include:

SizeNameUsage
300x250Medium RectangleMost common display ad
728x90LeaderboardTop of page banner
160x600Wide SkyscraperSidebar
320x50Mobile LeaderboardMobile banner
300x600Half PagePremium display

Credit Cost

OperationCredits
Generate IAB banners2 per generation
List IAB items0

TIP

One generation produces multiple banner sizes from a single image. At 2 credits, this is highly cost-effective for display advertising campaigns.

Verification Checklist

  • [ ] Source image URL is publicly accessible
  • [ ] Task creation returns pending status
  • [ ] Final status is done with multiple output sizes
  • [ ] Each banner size meets IAB specifications
  • [ ] Images are clean with no artifacts
  • [ ] Brand elements are visible in all sizes

See Also