Skip to content

embeddingForUrl

Query

Generate an embedding vector of the image at the specified URL

Response

Returns EmbeddingResponse

Arguments

NameTypeDescription
urlString!

The URL of the image

optionsEmbeddingOptionsInput

Optional embedding parameters.

Example

query embeddingForUrl(
$url: String!,
$options: EmbeddingOptionsInput
) {
embeddingForUrl(
url: $url,
options: $options
) {
results {
embedding
regionIndex
}
}
}