ImageEmbeddingInput interface

Represents an image with optional text.

Properties

image

The input image, in PNG format.

text

Optional. The text input to feed into the model (like DINO, CLIP). Returns a 422 error if the model doesn't support the value or parameter.

Property Details

image

The input image, in PNG format.

image: string

Property Value

string

text

Optional. The text input to feed into the model (like DINO, CLIP). Returns a 422 error if the model doesn't support the value or parameter.

text?: string

Property Value

string