Skip to main content
POST
/
images
/
uploads
/
file
Upload an image (file)
curl --request POST \
  --url https://www.trybloom.ai/api/v1/images/uploads/file \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'file=<string>' \
  --form 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

multipart/form-data
file
required

Image file (PNG, JPEG, WebP, or AVIF, max 10MB). AVIF is converted to PNG server-side.

brandSessionId
string<uuid>
required

Brand session to scope this upload to

Response

OK

data
object
required