ImageEmbeddingInput interface
Represents an image with optional text.
Properties
image | The input image encoded in base64 string as a data URL. Example: |
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 encoded in base64 string as a data URL. Example: data:image/{format};base64,{data}
.
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