image
image

Generate structured prediction for the given image.

post/v1/image/generate

Request

  • Base URL: https://api.vlm.run (the document declares no server; this is the origin it was published from)
  • URL: https://api.vlm.run/v1/image/generate
  • Auth: HTTP bearer

Request body

idstring

Unique identifier of the request.

created_atstring date-time

Date and time when the request was created (in UTC timezone)

callback_urlstring uri nullable

The URL to call when the request is completed.

imagesstring[] required

List of base64 encoded images or URLs to the images.

batchboolean

Whether to process the image in batch mode (async).

Response

Successful Response

idstring

Unique identifier of the response.

created_atstring date-time

Date and time when the request was created (in UTC timezone)

completed_atstring date-time nullable

Date and time when the response was completed (in UTC timezone)

responseunknown
status'pending' | 'enqueued' | 'running' | 'completed' | 'failed' | 'paused'

The status of the job.

domainstring nullable

The domain of the prediction (e.g. document.invoice, image.caption).

fallbackboolean

True when the JSON was produced by a fallback model. False when the primary model succeeded.

Changes