Skip to main content
POST
/
images
/
uploads
Upload an image (url)
curl --request POST \
  --url https://www.trybloom.ai/api/v1/images/uploads \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "imageUrl": "<string>",
  "brandSessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "imageUrl": "<string>",
    "width": 123,
    "height": 123,
    "mimeType": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://www.trybloom.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Body

application/json
imageUrl
string<uri>
required

URL of the image to upload (PNG, JPG, WebP). Server downloads and stores the image.

brandSessionId
string<uuid>

Associate the upload with a brand session

Response

OK

data
object
required