AI Ad Creative API

How to create a Shopify product ad via API via API

Need to auto-generate ad creative from your Shopify product feed? PixelAPI's ai ad creative api handles it in under 12 seconds at $0.020 per ad.

The 3-step API call

1. Sign up at pixelapi.dev — get 500 free credits, no card.
2. POST your input to /v1/ads/generate.
3. Receive a public output URL in seconds.

Code sample

curl -X POST https://api.pixelapi.dev/v1/ads/generate \
  -H "X-API-Key: $PIXELAPI_KEY" \
  -d '{"product_image":"https://...","headline":"50% off shoes","cta":"Shop now","aspect_ratio":"1:1"}'

Why this works for this use case

Composes product image + headline + CTA into ad-ready creative. Outputs across IAB banner sizes (300×250, 728×90, 160×600, etc.) plus 1:1, 4:5, 9:16 social formats. Output is production-ready, suitable for catalog work, ad creative, and consumer-facing apps.

Pricing

$0.020 per ad. The first 100 calls are free on signup. Higher volume → lower per-call rate (Pro plan = 60K credits for $50, Scale = 300K credits for $200).

Try free — 500 credits, no card See pricing REST API docs