vivalapanda
/
stable-diffusion-blip
- Public
- 796 runs
Run vivalapanda/stable-diffusion-blip 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 |
---|---|---|---|
prompt |
string
|
|
Input prompt
|
init_image |
string
|
Inital image to provide structural or conceptual guidance
|
|
captioning_model |
string
(enum)
|
blip
Options: blip, clip-interrogator-v1 |
Captioning model to use. One of 'blip' or 'clip-interrogator-v1'
|
structural_image_strength |
number
|
0.15
|
Structural (standard) image strength. 0.0 corresponds to full destruction of information, and does not use the initial image for structure.
|
conceptual_image_strength |
number
|
0.4
|
Conceptual image strength. 0.0 doesn't use the image conceptually at all, 1.0 only uses the image concept and ignores the prompt.
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 5,
"description": "Random seed. Leave blank to randomize the seed"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 0,
"description": "Input prompt"
},
"init_image": {
"type": "string",
"title": "Init Image",
"format": "uri",
"x-order": 1,
"description": "Inital image to provide structural or conceptual guidance"
},
"captioning_model": {
"enum": [
"blip",
"clip-interrogator-v1"
],
"type": "string",
"title": "captioning_model",
"description": "Captioning model to use. One of 'blip' or 'clip-interrogator-v1'",
"default": "blip",
"x-order": 2
},
"conceptual_image_strength": {
"type": "number",
"title": "Conceptual Image Strength",
"default": 0.4,
"x-order": 4,
"description": "Conceptual image strength. 0.0 doesn't use the image conceptually at all, 1.0 only uses the image concept and ignores the prompt."
},
"structural_image_strength": {
"type": "number",
"title": "Structural Image Strength",
"default": 0.15,
"x-order": 3,
"description": "Structural (standard) image strength. 0.0 corresponds to full destruction of information, and does not use the initial image for structure."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}