Upriver API
A social insights API for ad generation platforms. It provides structured signals, like psychographics, behavioral insights, trends, and audience language, to help AI models generate relevant, higher-converting ads.
A social insights API for ad generation platforms. It provides structured signals, like psychographics, behavioral insights, trends, and audience language, to help AI models generate relevant, higher-converting ads.
Download an image from a public HTTPS URL. Useful when a website blocks direct image downloads.
Returns the original image bytes, with the format in Content-Type. Errors return JSON.
Supports JPEG, PNG, WebP, GIF, and AVIF up to 10 MiB, with at most 16 million pixels across up to 32 frames.
For product images, add image_url to include in POST /v1/brand/products and pass the returned URL here.
Public HTTPS URL of the image to download.
Invalid or non-public URL.
Source image not found.
Request body or image exceeds a size, pixel, or frame limit.
Too many requests.
Source unavailable or did not return a supported image.
Image downloads temporarily unavailable. Retry later.
Download timed out.
curl https://api.upriver.ai/v1/images/download \
--request POST \
--header 'Content-Type: application/json' \
--header 'X-API-Key: YOUR_SECRET_TOKEN' \
--data '{
"url": "https://example.com/product.png"
}'
@filename