Readme
…
Model description
…
Intended use
…
Ethical considerations
…
Caveats and recommendations
…
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run edenartlab/eden-sd-pipelines using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"edenartlab/eden-sd-pipelines:79befe687d0930473e5528b59673890c694250b615e8405bc8f245f906ae8042",
input={
"fps": 12,
"loop": True,
"mode": "generate",
"seed": 13,
"steps": 60,
"width": 768,
"height": 768,
"n_film": 0,
"smooth": False,
"stream": False,
"sampler": "euler",
"uc_text": "watermark, text, nude, naked, nsfw, poorly drawn face, ugly, tiling, out of frame, blurry, blurred, grainy, signature, cut off, draft",
"n_frames": 60,
"n_samples": 1,
"upscale_f": 1,
"checkpoint": "eden:eden-v1",
"lora_scale": 0.8,
"stream_every": 1,
"guidance_scale": 7.5,
"scale_modulation": 0,
"init_image_strength": 0,
"interpolation_init_images_power": 3,
"interpolation_init_images_max_strength": 0.95,
"interpolation_init_images_min_strength": 0.25
}
)
# The edenartlab/eden-sd-pipelines model can stream output as it's running.
# The predict method returns an iterator, and you can iterate over that output.
for item in output:
# https://replicate.com/edenartlab/eden-sd-pipelines/api#output-schema
print(item)
To learn more, take a look at the guide on getting started with Python.
No output yet! Press "Submit" to start a prediction.
This model costs approximately $0.016 to run on Replicate, or 62 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.
This model runs on Nvidia A100 (80GB) GPU hardware. Predictions typically complete within 12 seconds.
…
…
…
…
…