Add image
Content
Add image
Adds an image to the brand image library from a public URL: fetches it, optimizes it (resize ≤1200px, palette PNG via Sharp), stores it, and vector-indexes it so the email agent can find it. Returns the durable cdn.brew.new URL plus dimensions. Credit-metered (fixed cost).
POST
Add image
Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Headers
Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.
Required string length:
1 - 100Body
application/json
Public imageUrl to optimize, save to the brand library, and rehost.