embeddingForUrl
Query
Generate an embedding vector of the image at the specified URL
Response
Returns EmbeddingResponse
Arguments
| Name | Type | Description |
|---|---|---|
url | String! | The URL of the image |
options | EmbeddingOptionsInput | Optional embedding parameters. |
Example
query embeddingForUrl( $url: String!, $options: EmbeddingOptionsInput) { embeddingForUrl( url: $url, options: $options ) { results { embedding regionIndex } }}{ "url": "url-b2b8"}{ "data": { "embeddingForUrl": { "results": [ { "embedding": [ 361.13 ], "regionIndex": 459 } ] } }}