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).

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output"
}