Skip to main content
POST
Describe Image

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenant
string
required

The domain of the customer

Example:

"example.com"

library_id
string
required

The id of the library

Body

multipart/form-data
image
file
required

The image, at most 20 MiB

instructions
string | null

Draft instructions that replace the configured ones

llm_profile_id
string | null

An image description LLM profile ID; tenant administrators only

Response

Successful Response

The description of one image.

status
enum<string>
required

DONE, SKIPPED or FAILED

Available options:
DONE,
SKIPPED,
FAILED
reason
enum<string> | null
required

Why the image was skipped or failed; null when DONE

Available options:
DISABLED,
MODEL_UNAVAILABLE,
DECORATIVE,
TOO_SMALL,
TOO_LARGE,
UNSUPPORTED_FORMAT,
EXPIRED,
HASH_MISMATCH,
INVALID_IMAGE,
INVALID_OUTPUT,
PROVIDER_ERROR,
POOL_ERROR,
QUOTA
description
string | null
required

The description; null unless DONE

model
string | null
required

The model that described the image

promptHash
string | null
required

The hash of the prompt configuration

language
string
required

The language of the description

cached
boolean
required

Whether the description came from the cache