Readme
This model doesn't have a readme.
Run this model in Node.js with one line of code:
npm 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 from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run vetkastar/stable_diffusion_no_ui_control_reliberate using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"vetkastar/stable_diffusion_no_ui_control_reliberate:b6296f54cb77a5929ffd2e83465069781776ffacf1f13d8fcf768e5a06dea524",
{
input: {
width: 512,
height: 512,
prompt: "",
tiling: false,
sampler: "Euler a",
ad_model: "face_yolov8s",
hr_scale: 2,
ad_prompt: "",
cfg_scale: 7,
ad_enabled: false,
ad_sampler: "Euler a",
hr_enabled: false,
hr_resize_x: 0,
hr_resize_y: 0,
hr_upscaler: "4x_foolhardy_Remacri",
num_outputs: 1,
ad_mask_blur: 4,
ad_2_ad_model: "face_yolov8s",
ad_3_ad_model: "face_yolov8s",
ad_4_ad_model: "face_yolov8s",
ad_confidence: 0.3,
lineart_model: "controlnet11Models_lineart",
sampler_steps: 20,
ad_2_ad_prompt: "",
ad_3_ad_prompt: "",
ad_4_ad_prompt: "",
ad_use_sampler: true,
openpose_model: "controlnet11Models_openpose",
scribble_model: "controlnet11Models_scribble",
ad_2_ad_enabled: false,
ad_2_ad_sampler: "Euler a",
ad_3_ad_enabled: false,
ad_3_ad_sampler: "Euler a",
ad_4_ad_enabled: false,
ad_4_ad_sampler: "Euler a",
ad_dilate_erode: 4,
generation_type: "txt2img",
lineart_enabled: false,
negative_prompt: "(deformed, distorted, disfigured:1.3), (naked, nude:1.5), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation",
tile_blur_model: "controlnet11Models_tile",
ad_inpaint_width: 512,
openpose_enabled: false,
scribble_enabled: false,
ad_2_ad_mask_blur: 4,
ad_3_ad_mask_blur: 4,
ad_4_ad_mask_blur: 4,
ad_inpaint_height: 512,
reference_enabled: false,
tile_blur_enabled: false,
ad_2_ad_confidence: 0.3,
ad_3_ad_confidence: 0.3,
ad_4_ad_confidence: 0.3,
ad_mask_merge_mode: "None",
ad_negative_prompt: "",
denoising_strength: 0.75,
instruct_p2p_model: "control_v11e_sd15_ip2p_fp16",
sd_upscaler_enable: false,
ad_2_ad_use_sampler: true,
ad_3_ad_use_sampler: true,
ad_4_ad_use_sampler: true,
reference_2_enabled: false,
ad_2_ad_dilate_erode: 4,
ad_3_ad_dilate_erode: 4,
ad_4_ad_dilate_erode: 4,
hr_second_pass_steps: 0,
instruct_p2p_enabled: false,
lineart_control_mode: "Balanced",
lineart_guidance_end: 1,
lineart_preprocessor: "lineart_realistic",
sd_upscaler_upscaler: "4x_foolhardy_Remacri",
ad_2_ad_inpaint_width: 512,
ad_3_ad_inpaint_width: 512,
ad_4_ad_inpaint_width: 512,
ad_denoising_strength: 0.4,
openpose_control_mode: "Balanced",
openpose_guidance_end: 1,
openpose_preprocessor: "openpose_full",
scribble_control_mode: "Balanced",
scribble_guidance_end: 1,
scribble_preprocessor: "t2ia_sketch_pidi",
ad_2_ad_inpaint_height: 512,
ad_3_ad_inpaint_height: 512,
ad_4_ad_inpaint_height: 512,
ad_inpaint_only_masked: true,
lineart_control_weight: 1,
lineart_guidance_start: 0,
lineart_use_image_size: false,
reference_control_mode: "Balanced",
reference_guidance_end: 1,
reference_preprocessor: "reference_only",
tile_blur_control_mode: "Balanced",
tile_blur_guidance_end: 1,
tile_blur_preprocessor: "tile_resample",
ad_2_ad_mask_merge_mode: "None",
ad_2_ad_negative_prompt: "",
ad_3_ad_mask_merge_mode: "None",
ad_3_ad_negative_prompt: "",
ad_4_ad_mask_merge_mode: "None",
ad_4_ad_negative_prompt: "",
openpose_control_weight: 1,
openpose_guidance_start: 0,
openpose_use_image_size: false,
scribble_control_weight: 1,
scribble_guidance_start: 0,
scribble_use_image_size: false,
scribble_xdog_threshold: 32,
clip_stop_at_last_layers: 2,
reference_2_control_mode: "Balanced",
reference_2_guidance_end: 1,
reference_2_preprocessor: "reference_only",
reference_control_weight: 1,
reference_guidance_start: 0,
reference_style_fidelity: 0.5,
reference_use_image_size: false,
sd_upscaler_scale_factor: 2,
sd_upscaler_tile_overlap: 16,
tile_blur_control_weight: 1,
tile_blur_guidance_start: 0,
tile_blur_use_image_size: false,
instruct_p2p_control_mode: "Balanced",
instruct_p2p_guidance_end: 1,
ad_2_ad_denoising_strength: 0.4,
ad_3_ad_denoising_strength: 0.4,
ad_4_ad_denoising_strength: 0.4,
reference_2_control_weight: 1,
reference_2_guidance_start: 0,
reference_2_style_fidelity: 0.5,
reference_2_use_image_size: false,
ad_2_ad_inpaint_only_masked: true,
ad_3_ad_inpaint_only_masked: true,
ad_4_ad_inpaint_only_masked: true,
ad_use_inpaint_width_height: false,
instruct_p2p_control_weight: 1,
instruct_p2p_guidance_start: 0,
instruct_p2p_use_image_size: false,
tile_blur_down_sampling_rate: 1,
ad_inpaint_only_masked_padding: 32,
lineart_preprocessor_resolution: 512,
ad_2_ad_use_inpaint_width_height: false,
ad_3_ad_use_inpaint_width_height: false,
ad_4_ad_use_inpaint_width_height: false,
openpose_preprocessor_resolution: 512,
scribble_preprocessor_resolution: 512,
ad_2_ad_inpaint_only_masked_padding: 32,
ad_3_ad_inpaint_only_masked_padding: 32,
ad_4_ad_inpaint_only_masked_padding: 32
}
}
);
console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
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 vetkastar/stable_diffusion_no_ui_control_reliberate using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"vetkastar/stable_diffusion_no_ui_control_reliberate:b6296f54cb77a5929ffd2e83465069781776ffacf1f13d8fcf768e5a06dea524",
input={
"width": 512,
"height": 512,
"prompt": "",
"tiling": False,
"sampler": "Euler a",
"ad_model": "face_yolov8s",
"hr_scale": 2,
"ad_prompt": "",
"cfg_scale": 7,
"ad_enabled": False,
"ad_sampler": "Euler a",
"hr_enabled": False,
"hr_resize_x": 0,
"hr_resize_y": 0,
"hr_upscaler": "4x_foolhardy_Remacri",
"num_outputs": 1,
"ad_mask_blur": 4,
"ad_2_ad_model": "face_yolov8s",
"ad_3_ad_model": "face_yolov8s",
"ad_4_ad_model": "face_yolov8s",
"ad_confidence": 0.3,
"lineart_model": "controlnet11Models_lineart",
"sampler_steps": 20,
"ad_2_ad_prompt": "",
"ad_3_ad_prompt": "",
"ad_4_ad_prompt": "",
"ad_use_sampler": True,
"openpose_model": "controlnet11Models_openpose",
"scribble_model": "controlnet11Models_scribble",
"ad_2_ad_enabled": False,
"ad_2_ad_sampler": "Euler a",
"ad_3_ad_enabled": False,
"ad_3_ad_sampler": "Euler a",
"ad_4_ad_enabled": False,
"ad_4_ad_sampler": "Euler a",
"ad_dilate_erode": 4,
"generation_type": "txt2img",
"lineart_enabled": False,
"negative_prompt": "(deformed, distorted, disfigured:1.3), (naked, nude:1.5), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation",
"tile_blur_model": "controlnet11Models_tile",
"ad_inpaint_width": 512,
"openpose_enabled": False,
"scribble_enabled": False,
"ad_2_ad_mask_blur": 4,
"ad_3_ad_mask_blur": 4,
"ad_4_ad_mask_blur": 4,
"ad_inpaint_height": 512,
"reference_enabled": False,
"tile_blur_enabled": False,
"ad_2_ad_confidence": 0.3,
"ad_3_ad_confidence": 0.3,
"ad_4_ad_confidence": 0.3,
"ad_mask_merge_mode": "None",
"ad_negative_prompt": "",
"denoising_strength": 0.75,
"instruct_p2p_model": "control_v11e_sd15_ip2p_fp16",
"sd_upscaler_enable": False,
"ad_2_ad_use_sampler": True,
"ad_3_ad_use_sampler": True,
"ad_4_ad_use_sampler": True,
"reference_2_enabled": False,
"ad_2_ad_dilate_erode": 4,
"ad_3_ad_dilate_erode": 4,
"ad_4_ad_dilate_erode": 4,
"hr_second_pass_steps": 0,
"instruct_p2p_enabled": False,
"lineart_control_mode": "Balanced",
"lineart_guidance_end": 1,
"lineart_preprocessor": "lineart_realistic",
"sd_upscaler_upscaler": "4x_foolhardy_Remacri",
"ad_2_ad_inpaint_width": 512,
"ad_3_ad_inpaint_width": 512,
"ad_4_ad_inpaint_width": 512,
"ad_denoising_strength": 0.4,
"openpose_control_mode": "Balanced",
"openpose_guidance_end": 1,
"openpose_preprocessor": "openpose_full",
"scribble_control_mode": "Balanced",
"scribble_guidance_end": 1,
"scribble_preprocessor": "t2ia_sketch_pidi",
"ad_2_ad_inpaint_height": 512,
"ad_3_ad_inpaint_height": 512,
"ad_4_ad_inpaint_height": 512,
"ad_inpaint_only_masked": True,
"lineart_control_weight": 1,
"lineart_guidance_start": 0,
"lineart_use_image_size": False,
"reference_control_mode": "Balanced",
"reference_guidance_end": 1,
"reference_preprocessor": "reference_only",
"tile_blur_control_mode": "Balanced",
"tile_blur_guidance_end": 1,
"tile_blur_preprocessor": "tile_resample",
"ad_2_ad_mask_merge_mode": "None",
"ad_2_ad_negative_prompt": "",
"ad_3_ad_mask_merge_mode": "None",
"ad_3_ad_negative_prompt": "",
"ad_4_ad_mask_merge_mode": "None",
"ad_4_ad_negative_prompt": "",
"openpose_control_weight": 1,
"openpose_guidance_start": 0,
"openpose_use_image_size": False,
"scribble_control_weight": 1,
"scribble_guidance_start": 0,
"scribble_use_image_size": False,
"scribble_xdog_threshold": 32,
"clip_stop_at_last_layers": 2,
"reference_2_control_mode": "Balanced",
"reference_2_guidance_end": 1,
"reference_2_preprocessor": "reference_only",
"reference_control_weight": 1,
"reference_guidance_start": 0,
"reference_style_fidelity": 0.5,
"reference_use_image_size": False,
"sd_upscaler_scale_factor": 2,
"sd_upscaler_tile_overlap": 16,
"tile_blur_control_weight": 1,
"tile_blur_guidance_start": 0,
"tile_blur_use_image_size": False,
"instruct_p2p_control_mode": "Balanced",
"instruct_p2p_guidance_end": 1,
"ad_2_ad_denoising_strength": 0.4,
"ad_3_ad_denoising_strength": 0.4,
"ad_4_ad_denoising_strength": 0.4,
"reference_2_control_weight": 1,
"reference_2_guidance_start": 0,
"reference_2_style_fidelity": 0.5,
"reference_2_use_image_size": False,
"ad_2_ad_inpaint_only_masked": True,
"ad_3_ad_inpaint_only_masked": True,
"ad_4_ad_inpaint_only_masked": True,
"ad_use_inpaint_width_height": False,
"instruct_p2p_control_weight": 1,
"instruct_p2p_guidance_start": 0,
"instruct_p2p_use_image_size": False,
"tile_blur_down_sampling_rate": 1,
"ad_inpaint_only_masked_padding": 32,
"lineart_preprocessor_resolution": 512,
"ad_2_ad_use_inpaint_width_height": False,
"ad_3_ad_use_inpaint_width_height": False,
"ad_4_ad_use_inpaint_width_height": False,
"openpose_preprocessor_resolution": 512,
"scribble_preprocessor_resolution": 512,
"ad_2_ad_inpaint_only_masked_padding": 32,
"ad_3_ad_inpaint_only_masked_padding": 32,
"ad_4_ad_inpaint_only_masked_padding": 32
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run vetkastar/stable_diffusion_no_ui_control_reliberate using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Prefer: wait" \
-d $'{
"version": "b6296f54cb77a5929ffd2e83465069781776ffacf1f13d8fcf768e5a06dea524",
"input": {
"width": 512,
"height": 512,
"prompt": "",
"tiling": false,
"sampler": "Euler a",
"ad_model": "face_yolov8s",
"hr_scale": 2,
"ad_prompt": "",
"cfg_scale": 7,
"ad_enabled": false,
"ad_sampler": "Euler a",
"hr_enabled": false,
"hr_resize_x": 0,
"hr_resize_y": 0,
"hr_upscaler": "4x_foolhardy_Remacri",
"num_outputs": 1,
"ad_mask_blur": 4,
"ad_2_ad_model": "face_yolov8s",
"ad_3_ad_model": "face_yolov8s",
"ad_4_ad_model": "face_yolov8s",
"ad_confidence": 0.3,
"lineart_model": "controlnet11Models_lineart",
"sampler_steps": 20,
"ad_2_ad_prompt": "",
"ad_3_ad_prompt": "",
"ad_4_ad_prompt": "",
"ad_use_sampler": true,
"openpose_model": "controlnet11Models_openpose",
"scribble_model": "controlnet11Models_scribble",
"ad_2_ad_enabled": false,
"ad_2_ad_sampler": "Euler a",
"ad_3_ad_enabled": false,
"ad_3_ad_sampler": "Euler a",
"ad_4_ad_enabled": false,
"ad_4_ad_sampler": "Euler a",
"ad_dilate_erode": 4,
"generation_type": "txt2img",
"lineart_enabled": false,
"negative_prompt": "(deformed, distorted, disfigured:1.3), (naked, nude:1.5), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation",
"tile_blur_model": "controlnet11Models_tile",
"ad_inpaint_width": 512,
"openpose_enabled": false,
"scribble_enabled": false,
"ad_2_ad_mask_blur": 4,
"ad_3_ad_mask_blur": 4,
"ad_4_ad_mask_blur": 4,
"ad_inpaint_height": 512,
"reference_enabled": false,
"tile_blur_enabled": false,
"ad_2_ad_confidence": 0.3,
"ad_3_ad_confidence": 0.3,
"ad_4_ad_confidence": 0.3,
"ad_mask_merge_mode": "None",
"ad_negative_prompt": "",
"denoising_strength": 0.75,
"instruct_p2p_model": "control_v11e_sd15_ip2p_fp16",
"sd_upscaler_enable": false,
"ad_2_ad_use_sampler": true,
"ad_3_ad_use_sampler": true,
"ad_4_ad_use_sampler": true,
"reference_2_enabled": false,
"ad_2_ad_dilate_erode": 4,
"ad_3_ad_dilate_erode": 4,
"ad_4_ad_dilate_erode": 4,
"hr_second_pass_steps": 0,
"instruct_p2p_enabled": false,
"lineart_control_mode": "Balanced",
"lineart_guidance_end": 1,
"lineart_preprocessor": "lineart_realistic",
"sd_upscaler_upscaler": "4x_foolhardy_Remacri",
"ad_2_ad_inpaint_width": 512,
"ad_3_ad_inpaint_width": 512,
"ad_4_ad_inpaint_width": 512,
"ad_denoising_strength": 0.4,
"openpose_control_mode": "Balanced",
"openpose_guidance_end": 1,
"openpose_preprocessor": "openpose_full",
"scribble_control_mode": "Balanced",
"scribble_guidance_end": 1,
"scribble_preprocessor": "t2ia_sketch_pidi",
"ad_2_ad_inpaint_height": 512,
"ad_3_ad_inpaint_height": 512,
"ad_4_ad_inpaint_height": 512,
"ad_inpaint_only_masked": true,
"lineart_control_weight": 1,
"lineart_guidance_start": 0,
"lineart_use_image_size": false,
"reference_control_mode": "Balanced",
"reference_guidance_end": 1,
"reference_preprocessor": "reference_only",
"tile_blur_control_mode": "Balanced",
"tile_blur_guidance_end": 1,
"tile_blur_preprocessor": "tile_resample",
"ad_2_ad_mask_merge_mode": "None",
"ad_2_ad_negative_prompt": "",
"ad_3_ad_mask_merge_mode": "None",
"ad_3_ad_negative_prompt": "",
"ad_4_ad_mask_merge_mode": "None",
"ad_4_ad_negative_prompt": "",
"openpose_control_weight": 1,
"openpose_guidance_start": 0,
"openpose_use_image_size": false,
"scribble_control_weight": 1,
"scribble_guidance_start": 0,
"scribble_use_image_size": false,
"scribble_xdog_threshold": 32,
"clip_stop_at_last_layers": 2,
"reference_2_control_mode": "Balanced",
"reference_2_guidance_end": 1,
"reference_2_preprocessor": "reference_only",
"reference_control_weight": 1,
"reference_guidance_start": 0,
"reference_style_fidelity": 0.5,
"reference_use_image_size": false,
"sd_upscaler_scale_factor": 2,
"sd_upscaler_tile_overlap": 16,
"tile_blur_control_weight": 1,
"tile_blur_guidance_start": 0,
"tile_blur_use_image_size": false,
"instruct_p2p_control_mode": "Balanced",
"instruct_p2p_guidance_end": 1,
"ad_2_ad_denoising_strength": 0.4,
"ad_3_ad_denoising_strength": 0.4,
"ad_4_ad_denoising_strength": 0.4,
"reference_2_control_weight": 1,
"reference_2_guidance_start": 0,
"reference_2_style_fidelity": 0.5,
"reference_2_use_image_size": false,
"ad_2_ad_inpaint_only_masked": true,
"ad_3_ad_inpaint_only_masked": true,
"ad_4_ad_inpaint_only_masked": true,
"ad_use_inpaint_width_height": false,
"instruct_p2p_control_weight": 1,
"instruct_p2p_guidance_start": 0,
"instruct_p2p_use_image_size": false,
"tile_blur_down_sampling_rate": 1,
"ad_inpaint_only_masked_padding": 32,
"lineart_preprocessor_resolution": 512,
"ad_2_ad_use_inpaint_width_height": false,
"ad_3_ad_use_inpaint_width_height": false,
"ad_4_ad_use_inpaint_width_height": false,
"openpose_preprocessor_resolution": 512,
"scribble_preprocessor_resolution": 512,
"ad_2_ad_inpaint_only_masked_padding": 32,
"ad_3_ad_inpaint_only_masked_padding": 32,
"ad_4_ad_inpaint_only_masked_padding": 32
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
No output yet! Press "Submit" to start a prediction.
This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.
This model is cold. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input