jarvis-labs2024
/
my_sdxl_ip
- Public
- 19 runs
Run jarvis-labs2024/my_sdxl_ip 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 |
---|---|---|---|
ip_image |
string
|
IP adapter image
|
|
prompt |
string
|
|
Text prompt for image generation
|
image |
string
|
Input image to transform
|
|
base_model |
string
(enum)
|
Lykon/DreamShaper
Options: Lykon/DreamShaper, stabilityai/stable-diffusion-xl-base-1.0, cagliostrolab/animagine-xl-3.1 |
Which Base model
|
mask |
string
|
Mask image
|
|
negative_prompt |
string
|
deformed, ugly, wrong proportion, low res, bad anatomy, worst quality, low quality
|
Negative prompt
|
num_inference_steps |
integer
|
50
Min: 1 Max: 100 |
Number of denoising steps
|
guidance_scale |
number
|
7.5
Max: 20 |
Scale for classifier-free guidance
|
strength |
number
|
0.65
Max: 1 |
Strength for conditioning
|
ip_scale |
number
|
0.6
Max: 1 |
Strength for IP adapter
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
{
"type": "object",
"title": "Input",
"required": [
"ip_image"
],
"properties": {
"mask": {
"type": "string",
"title": "Mask",
"format": "uri",
"x-order": 4,
"description": "Mask image"
},
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 10,
"description": "Random seed. Leave blank to randomize the seed"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 2,
"description": "Input image to transform"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 1,
"description": "Text prompt for image generation"
},
"ip_image": {
"type": "string",
"title": "Ip Image",
"format": "uri",
"x-order": 0,
"description": "IP adapter image"
},
"ip_scale": {
"type": "number",
"title": "Ip Scale",
"default": 0.6,
"maximum": 1,
"minimum": 0,
"x-order": 9,
"description": "Strength for IP adapter"
},
"strength": {
"type": "number",
"title": "Strength",
"default": 0.65,
"maximum": 1,
"minimum": 0,
"x-order": 8,
"description": "Strength for conditioning"
},
"base_model": {
"enum": [
"Lykon/DreamShaper",
"stabilityai/stable-diffusion-xl-base-1.0",
"cagliostrolab/animagine-xl-3.1"
],
"type": "string",
"title": "base_model",
"description": "Which Base model",
"default": "Lykon/DreamShaper",
"x-order": 3
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7.5,
"maximum": 20,
"minimum": 0,
"x-order": 7,
"description": "Scale for classifier-free guidance"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": "deformed, ugly, wrong proportion, low res, bad anatomy, worst quality, low quality",
"x-order": 5,
"description": "Negative prompt"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 50,
"maximum": 100,
"minimum": 1,
"x-order": 6,
"description": "Number of denoising steps"
}
}
}
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"
}