vetkastar
/
clip
- Public
- 8 runs
Run vetkastar/clip 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 |
---|---|---|---|
image |
string
|
Input image
|
|
clip_model_name |
string
(enum)
|
ViT-L-14-336/openai
Options: ViT-L-14-336/openai, xlm-roberta-large-ViT-H-14/frozen_laion5b_s13b_b90k |
Choose ViT-L for Stable Diffusion 1, ViT-H for Stable Diffusion 2
|
mode |
string
(enum)
|
best
Options: best, classic, fast, negative |
Prompt mode (best takes 10-20 seconds, fast takes 1-2 seconds).
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"mode": {
"enum": [
"best",
"classic",
"fast",
"negative"
],
"type": "string",
"title": "mode",
"description": "Prompt mode (best takes 10-20 seconds, fast takes 1-2 seconds).",
"default": "best",
"x-order": 2
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image"
},
"clip_model_name": {
"enum": [
"ViT-L-14-336/openai",
"xlm-roberta-large-ViT-H-14/frozen_laion5b_s13b_b90k"
],
"type": "string",
"title": "clip_model_name",
"description": "Choose ViT-L for Stable Diffusion 1, ViT-H for Stable Diffusion 2",
"default": "ViT-L-14-336/openai",
"x-order": 1
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output"
}