IAB Images
FreshPurpose
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:
| Size | Name | Usage |
|---|---|---|
| 300x250 | Medium Rectangle | Most common display ad |
| 728x90 | Leaderboard | Top of page banner |
| 160x600 | Wide Skyscraper | Sidebar |
| 320x50 | Mobile Leaderboard | Mobile banner |
| 300x600 | Half Page | Premium display |
Credit Cost
| Operation | Credits |
|---|---|
| Generate IAB banners | 2 per generation |
| List IAB items | 0 |
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
pendingstatus - [ ] Final status is
donewith multiple output sizes - [ ] Each banner size meets IAB specifications
- [ ] Images are clean with no artifacts
- [ ] Brand elements are visible in all sizes
See Also
- Asset Generator SOP -- Generate custom images
- Product Video SOP -- Video ads from product images
- Credit Costs Reference -- Full credit matrix