ChatAds can analyze product images and return affiliate links, just like it does with text messages. Pass an image URL or a base64-encoded image file, and ChatAds will identify the product and find matching affiliate offers.
Semantic image similarity isn’t perfect and can return close, but not perfect responses. Additionally, if the image has multiple products, it’ll be hard for the AI to know what to extract.
You send a request with input_type set to image_url or image_file
The message field contains the image URL (for image_url) or the base64-encoded image data (for image_file)
ChatAds processes the image to identify the product and return relevant offers with title and URL
Matching affiliate offers are returned in the standard response format
Image requests are billed at 3x the cost per request as text. For instance, if text ads are 0.90 per thousand requests, image requests would be 2.70 per thousand. Image handling requires more bandwidth and is priced accordingly.
Set input_type to image_url or image_file and pass the image in message. See the API Reference for the full list of parameters.
Use image_title_filter when an image contains multiple products. For example, a desk setup image might include a monitor, keyboard, and mouse — passing image_title_filter: "monitor" ensures only monitor results are returned.
Pass a publicly accessible image URL in the message field. The API automatically normalizes URLs — if no scheme is provided (e.g., example.com/photo.jpg), https:// is prepended. Invalid or malformed URLs return a 400 INVALID_INPUT error.
Value must be a base64-encoded JPEG/PNG/WebP, max 10MB. Auto-resized if longest dimension exceeds 1500px. Don’t recommend using API explorer for this.
Try to send images no smaller than 500px in width and no wider than 2000px. We resize to 1500px no matter what, but bigger files can slow down the request.
Pass the raw base64-encoded image data in the message field:
Image requests return up to 3 offers per request, which can be useful for building a carousel format. Each offer includes a product.title, product.image, and affiliate url:
Image requests are billed at 3x the cost of text requests. They count toward your monthly and daily request quotas the same as text, but each image request costs 3 standard requests for billing purposes.