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)

Output schema

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

Schema
{
  "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"
}