edenartlab
/
eden-sd-pipelines
- Public
- 114.9K runs
Run edenartlab/eden-sd-pipelines 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 |
---|---|---|---|
mode |
string
(enum)
|
generate
Options: generate, remix, interpolate, real2real, interrogate |
Mode
|
stream |
boolean
|
False
|
yield individual results if True
|
stream_every |
integer
|
1
Min: 1 Max: 25 |
for mode generate, how many steps per update to stream (steam must be set to True)
|
width |
integer
|
768
Min: 256 Max: 2048 |
Width
|
height |
integer
|
768
Min: 256 Max: 2048 |
Height
|
checkpoint |
string
(enum)
|
eden:eden-v1
Options: eden:eden-v1, gordon-berger:gordon-berger-figurative |
Which Stable Diffusion checkpoint to use
|
lora |
string
|
(optional) URL of Lora finetuning
|
|
lora_scale |
number
|
0.8
Max: 1.2 |
Lora scale (how much of the Lora finetuning to apply)
|
sampler |
string
(enum)
|
euler
Options: euler |
Which sampler to use
|
steps |
integer
|
60
Min: 10 Max: 100 |
Diffusion steps
|
guidance_scale |
number
|
7.5
Max: 30 |
Strength of text conditioning guidance
|
upscale_f |
number
|
1
Min: 1 Max: 2 |
Upscaling resolution
|
init_image_data |
string
|
Load initial image from file, url, or base64 string
|
|
init_image_strength |
number
|
0
Max: 1 |
Strength of initial image
|
text_input |
string
|
Text input (mode==generate)
|
|
uc_text |
string
|
watermark, text, nude, naked, nsfw, poorly drawn face, ugly, tiling, out of frame, blurry, blurred, grainy, signature, cut off, draft
|
Negative text input (mode==all)
|
seed |
integer
|
13
Max: 10000000000 |
random seed (mode==generate)
|
n_samples |
integer
|
1
Min: 1 Max: 4 |
batch size (mode==generate)
|
n_frames |
integer
|
60
Min: 3 Max: 1000 |
Total number of frames (mode==interpolate)
|
interpolation_texts |
string
|
Interpolation texts (mode==interpolate)
|
|
interpolation_seeds |
string
|
Seeds for interpolated texts (mode==interpolate)
|
|
interpolation_init_images |
string
|
Interpolation init images, file paths or urls (mode==interpolate)
|
|
interpolation_init_images_power |
number
|
3
Min: 0.5 Max: 5 |
Power for interpolation_init_images prompts (mode==interpolate)
|
interpolation_init_images_min_strength |
number
|
0.25
Max: 0.75 |
Minimum init image strength for interpolation_init_images prompts (mode==interpolate)
|
interpolation_init_images_max_strength |
number
|
0.95
Min: 0.5 Max: 1 |
Maximum init image strength for interpolation_init_images prompts (mode==interpolate)
|
scale_modulation |
number
|
0
Max: 0.25 |
Scale modulation amplitude for interpolation (mode==interpolate)
|
loop |
boolean
|
True
|
Loops (mode==interpolate)
|
smooth |
boolean
|
False
|
Smooth (mode==interpolate)
|
n_film |
integer
|
0
Max: 2 |
Number of times to smooth final frames with FILM (default is 0) (mode==interpolate)
|
fps |
integer
|
12
Min: 1 Max: 60 |
Frames per second (mode==interpolate)
|
{
"type": "object",
"title": "Input",
"required": [
"text_input"
],
"properties": {
"fps": {
"type": "integer",
"title": "Fps",
"default": 12,
"maximum": 60,
"minimum": 1,
"x-order": 29,
"description": "Frames per second (mode==interpolate)"
},
"loop": {
"type": "boolean",
"title": "Loop",
"default": true,
"x-order": 26,
"description": "Loops (mode==interpolate)"
},
"lora": {
"type": "string",
"title": "Lora",
"x-order": 6,
"description": "(optional) URL of Lora finetuning"
},
"mode": {
"enum": [
"generate",
"remix",
"interpolate",
"real2real",
"interrogate"
],
"type": "string",
"title": "mode",
"description": "Mode",
"default": "generate",
"x-order": 0
},
"seed": {
"type": "integer",
"title": "Seed",
"default": 13,
"maximum": 10000000000,
"minimum": 0,
"x-order": 16,
"description": "random seed (mode==generate)"
},
"steps": {
"type": "integer",
"title": "Steps",
"default": 60,
"maximum": 100,
"minimum": 10,
"x-order": 9,
"description": "Diffusion steps"
},
"width": {
"type": "integer",
"title": "Width",
"default": 768,
"maximum": 2048,
"minimum": 256,
"x-order": 3,
"description": "Width"
},
"height": {
"type": "integer",
"title": "Height",
"default": 768,
"maximum": 2048,
"minimum": 256,
"x-order": 4,
"description": "Height"
},
"n_film": {
"type": "integer",
"title": "N Film",
"default": 0,
"maximum": 2,
"minimum": 0,
"x-order": 28,
"description": "Number of times to smooth final frames with FILM (default is 0) (mode==interpolate)"
},
"smooth": {
"type": "boolean",
"title": "Smooth",
"default": false,
"x-order": 27,
"description": "Smooth (mode==interpolate)"
},
"stream": {
"type": "boolean",
"title": "Stream",
"default": false,
"x-order": 1,
"description": "yield individual results if True"
},
"sampler": {
"enum": [
"euler"
],
"type": "string",
"title": "sampler",
"description": "Which sampler to use",
"default": "euler",
"x-order": 8
},
"uc_text": {
"type": "string",
"title": "Uc Text",
"default": "watermark, text, nude, naked, nsfw, poorly drawn face, ugly, tiling, out of frame, blurry, blurred, grainy, signature, cut off, draft",
"x-order": 15,
"description": "Negative text input (mode==all)"
},
"n_frames": {
"type": "integer",
"title": "N Frames",
"default": 60,
"maximum": 1000,
"minimum": 3,
"x-order": 18,
"description": "Total number of frames (mode==interpolate)"
},
"n_samples": {
"type": "integer",
"title": "N Samples",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 17,
"description": "batch size (mode==generate)"
},
"upscale_f": {
"type": "number",
"title": "Upscale F",
"default": 1,
"maximum": 2,
"minimum": 1,
"x-order": 11,
"description": "Upscaling resolution"
},
"checkpoint": {
"enum": [
"eden:eden-v1",
"gordon-berger:gordon-berger-figurative"
],
"type": "string",
"title": "checkpoint",
"description": "Which Stable Diffusion checkpoint to use",
"default": "eden:eden-v1",
"x-order": 5
},
"lora_scale": {
"type": "number",
"title": "Lora Scale",
"default": 0.8,
"maximum": 1.2,
"minimum": 0,
"x-order": 7,
"description": "Lora scale (how much of the Lora finetuning to apply)"
},
"text_input": {
"type": "string",
"title": "Text Input",
"x-order": 14,
"description": "Text input (mode==generate)"
},
"stream_every": {
"type": "integer",
"title": "Stream Every",
"default": 1,
"maximum": 25,
"minimum": 1,
"x-order": 2,
"description": "for mode generate, how many steps per update to stream (steam must be set to True)"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 7.5,
"maximum": 30,
"minimum": 0,
"x-order": 10,
"description": "Strength of text conditioning guidance"
},
"init_image_data": {
"type": "string",
"title": "Init Image Data",
"x-order": 12,
"description": "Load initial image from file, url, or base64 string"
},
"scale_modulation": {
"type": "number",
"title": "Scale Modulation",
"default": 0,
"maximum": 0.25,
"minimum": 0,
"x-order": 25,
"description": "Scale modulation amplitude for interpolation (mode==interpolate)"
},
"init_image_strength": {
"type": "number",
"title": "Init Image Strength",
"default": 0,
"maximum": 1,
"minimum": 0,
"x-order": 13,
"description": "Strength of initial image"
},
"interpolation_seeds": {
"type": "string",
"title": "Interpolation Seeds",
"x-order": 20,
"description": "Seeds for interpolated texts (mode==interpolate)"
},
"interpolation_texts": {
"type": "string",
"title": "Interpolation Texts",
"x-order": 19,
"description": "Interpolation texts (mode==interpolate)"
},
"interpolation_init_images": {
"type": "string",
"title": "Interpolation Init Images",
"x-order": 21,
"description": "Interpolation init images, file paths or urls (mode==interpolate)"
},
"interpolation_init_images_power": {
"type": "number",
"title": "Interpolation Init Images Power",
"default": 3,
"maximum": 5,
"minimum": 0.5,
"x-order": 22,
"description": "Power for interpolation_init_images prompts (mode==interpolate)"
},
"interpolation_init_images_max_strength": {
"type": "number",
"title": "Interpolation Init Images Max Strength",
"default": 0.95,
"maximum": 1,
"minimum": 0.5,
"x-order": 24,
"description": "Maximum init image strength for interpolation_init_images prompts (mode==interpolate)"
},
"interpolation_init_images_min_strength": {
"type": "number",
"title": "Interpolation Init Images Min Strength",
"default": 0.25,
"maximum": 0.75,
"minimum": 0,
"x-order": 23,
"description": "Minimum init image strength for interpolation_init_images prompts (mode==interpolate)"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "object",
"title": "CogOutput",
"required": [
"files"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"files": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Files"
},
"isFinal": {
"type": "boolean",
"title": "Isfinal",
"default": false
},
"progress": {
"type": "number",
"title": "Progress"
},
"attributes": {
"type": "object",
"title": "Attributes"
},
"thumbnails": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Thumbnails",
"default": [
null
]
}
}
},
"title": "Output",
"x-cog-array-type": "iterator"
}