deepfates
/
clip-embeds
Just an endpoint for getting CLIP embeddings from text and images
- Public
- 300 runs
Run deepfates/clip-embeds with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
inputs |
string
|
a
b
|
Newline-separated inputs. Can either be strings of text or image URIs starting with http[s]:// or base64 encoded images starting with 'data:image/'
|
{
"type": "object",
"title": "Input",
"properties": {
"inputs": {
"type": "string",
"title": "Inputs",
"default": "a\nb",
"x-order": 0,
"description": "Newline-separated inputs. Can either be strings of text or image URIs starting with http[s]:// or base64 encoded images starting with 'data:image/'"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "object",
"title": "NamedEmbedding",
"required": [
"input",
"embedding"
],
"properties": {
"input": {
"type": "string",
"title": "Input"
},
"embedding": {
"type": "array",
"items": {
"type": "number"
},
"title": "Embedding"
}
}
},
"title": "Output"
}