POST/v1/uploads
Upload an image (logo, photo, background) and get a URL to use in image layers
Keep your own image at a stable URL on img.imageapis.com, then use that URL as an image layer's src, in a CSV column like logo.src, or anywhere else. Send the file as the request body with its image Content-Type (--data-binary @logo.png -H 'Content-Type: image/png'), as multipart/form-data with a file field (-F file=@logo.png), or as JSON with url (copied from a public URL) or data (base64). PNG, JPEG, WebP, GIF, AVIF and SVG, up to 10 MB and 50 megapixels; the type comes from the bytes. Free, kept until you delete it, up to 500 per account. SVGs with scripts or event handlers are refused.
REQUEST BODY · APPLICATION/JSON
{
"url": "https://example.com/brand/logo-dark.png",
"name": "logo-dark.png"
}
REQUEST
curl -X POST "https://api.imageapis.com/v1/uploads" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/brand/logo-dark.png",
"name": "logo-dark.png"
}'
import requests
r = requests.post("https://api.imageapis.com/v1/uploads", headers={"X-API-Key": "YOUR_KEY"}, json={
"url": "https://example.com/brand/logo-dark.png",
"name": "logo-dark.png"
})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://api.imageapis.com/v1/uploads", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({
"url": "https://example.com/brand/logo-dark.png",
"name": "logo-dark.png"
})
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
201Created
{
"id": "upl_8kq2wzm4tnb7hdc3vrex",
"object": "upload",
"url": "https://img.imageapis.com/u/upl_8kq2wzm4tnb7hdc3vrex.png",
"name": "logo-dark.png",
"format": "png",
"content_type": "image/png",
"width": 512,
"height": 512,
"bytes": 18233,
"created": "2026-10-11T15:02:11Z"
}
401Missing or invalid API key (from the gateway)
404No such template or record on this account
{
"error": "string",
"message": "string",
"param": "string"
}