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 mlscade/stable_diffusion_no_ui_control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"mlscade/stable_diffusion_no_ui_control:5a19235a71f72799c94abf0c38a9fcff6e22d08eeecd83199070fdd9f290cef9",
{
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 mlscade/stable_diffusion_no_ui_control using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"mlscade/stable_diffusion_no_ui_control:5a19235a71f72799c94abf0c38a9fcff6e22d08eeecd83199070fdd9f290cef9",
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 mlscade/stable_diffusion_no_ui_control 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": "mlscade/stable_diffusion_no_ui_control:5a19235a71f72799c94abf0c38a9fcff6e22d08eeecd83199070fdd9f290cef9",
"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.
brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/mlscade/stable_diffusion_no_ui_control@sha256:5a19235a71f72799c94abf0c38a9fcff6e22d08eeecd83199070fdd9f290cef9 \
-i 'width=512' \
-i 'height=512' \
-i 'prompt=""' \
-i 'tiling=false' \
-i 'sampler="Euler a"' \
-i 'ad_model="face_yolov8s"' \
-i 'hr_scale=2' \
-i 'ad_prompt=""' \
-i 'cfg_scale=7' \
-i 'ad_enabled=false' \
-i 'ad_sampler="Euler a"' \
-i 'hr_enabled=false' \
-i 'hr_resize_x=0' \
-i 'hr_resize_y=0' \
-i 'hr_upscaler="4x_foolhardy_Remacri"' \
-i 'num_outputs=1' \
-i 'ad_mask_blur=4' \
-i 'ad_2_ad_model="face_yolov8s"' \
-i 'ad_3_ad_model="face_yolov8s"' \
-i 'ad_4_ad_model="face_yolov8s"' \
-i 'ad_confidence=0.3' \
-i 'lineart_model="controlnet11Models_lineart"' \
-i 'sampler_steps=20' \
-i 'ad_2_ad_prompt=""' \
-i 'ad_3_ad_prompt=""' \
-i 'ad_4_ad_prompt=""' \
-i 'ad_use_sampler=true' \
-i 'openpose_model="controlnet11Models_openpose"' \
-i 'scribble_model="controlnet11Models_scribble"' \
-i 'ad_2_ad_enabled=false' \
-i 'ad_2_ad_sampler="Euler a"' \
-i 'ad_3_ad_enabled=false' \
-i 'ad_3_ad_sampler="Euler a"' \
-i 'ad_4_ad_enabled=false' \
-i 'ad_4_ad_sampler="Euler a"' \
-i 'ad_dilate_erode=4' \
-i 'generation_type="txt2img"' \
-i 'lineart_enabled=false' \
-i '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"' \
-i 'tile_blur_model="controlnet11Models_tile"' \
-i 'ad_inpaint_width=512' \
-i 'openpose_enabled=false' \
-i 'scribble_enabled=false' \
-i 'ad_2_ad_mask_blur=4' \
-i 'ad_3_ad_mask_blur=4' \
-i 'ad_4_ad_mask_blur=4' \
-i 'ad_inpaint_height=512' \
-i 'reference_enabled=false' \
-i 'tile_blur_enabled=false' \
-i 'ad_2_ad_confidence=0.3' \
-i 'ad_3_ad_confidence=0.3' \
-i 'ad_4_ad_confidence=0.3' \
-i 'ad_mask_merge_mode="None"' \
-i 'ad_negative_prompt=""' \
-i 'denoising_strength=0.75' \
-i 'instruct_p2p_model="control_v11e_sd15_ip2p_fp16"' \
-i 'sd_upscaler_enable=false' \
-i 'ad_2_ad_use_sampler=true' \
-i 'ad_3_ad_use_sampler=true' \
-i 'ad_4_ad_use_sampler=true' \
-i 'reference_2_enabled=false' \
-i 'ad_2_ad_dilate_erode=4' \
-i 'ad_3_ad_dilate_erode=4' \
-i 'ad_4_ad_dilate_erode=4' \
-i 'hr_second_pass_steps=0' \
-i 'instruct_p2p_enabled=false' \
-i 'lineart_control_mode="Balanced"' \
-i 'lineart_guidance_end=1' \
-i 'lineart_preprocessor="lineart_realistic"' \
-i 'sd_upscaler_upscaler="4x_foolhardy_Remacri"' \
-i 'ad_2_ad_inpaint_width=512' \
-i 'ad_3_ad_inpaint_width=512' \
-i 'ad_4_ad_inpaint_width=512' \
-i 'ad_denoising_strength=0.4' \
-i 'openpose_control_mode="Balanced"' \
-i 'openpose_guidance_end=1' \
-i 'openpose_preprocessor="openpose_full"' \
-i 'scribble_control_mode="Balanced"' \
-i 'scribble_guidance_end=1' \
-i 'scribble_preprocessor="t2ia_sketch_pidi"' \
-i 'ad_2_ad_inpaint_height=512' \
-i 'ad_3_ad_inpaint_height=512' \
-i 'ad_4_ad_inpaint_height=512' \
-i 'ad_inpaint_only_masked=true' \
-i 'lineart_control_weight=1' \
-i 'lineart_guidance_start=0' \
-i 'lineart_use_image_size=false' \
-i 'reference_control_mode="Balanced"' \
-i 'reference_guidance_end=1' \
-i 'reference_preprocessor="reference_only"' \
-i 'tile_blur_control_mode="Balanced"' \
-i 'tile_blur_guidance_end=1' \
-i 'tile_blur_preprocessor="tile_resample"' \
-i 'ad_2_ad_mask_merge_mode="None"' \
-i 'ad_2_ad_negative_prompt=""' \
-i 'ad_3_ad_mask_merge_mode="None"' \
-i 'ad_3_ad_negative_prompt=""' \
-i 'ad_4_ad_mask_merge_mode="None"' \
-i 'ad_4_ad_negative_prompt=""' \
-i 'openpose_control_weight=1' \
-i 'openpose_guidance_start=0' \
-i 'openpose_use_image_size=false' \
-i 'scribble_control_weight=1' \
-i 'scribble_guidance_start=0' \
-i 'scribble_use_image_size=false' \
-i 'scribble_xdog_threshold=32' \
-i 'clip_stop_at_last_layers=2' \
-i 'reference_2_control_mode="Balanced"' \
-i 'reference_2_guidance_end=1' \
-i 'reference_2_preprocessor="reference_only"' \
-i 'reference_control_weight=1' \
-i 'reference_guidance_start=0' \
-i 'reference_style_fidelity=0.5' \
-i 'reference_use_image_size=false' \
-i 'sd_upscaler_scale_factor=2' \
-i 'sd_upscaler_tile_overlap=16' \
-i 'tile_blur_control_weight=1' \
-i 'tile_blur_guidance_start=0' \
-i 'tile_blur_use_image_size=false' \
-i 'instruct_p2p_control_mode="Balanced"' \
-i 'instruct_p2p_guidance_end=1' \
-i 'ad_2_ad_denoising_strength=0.4' \
-i 'ad_3_ad_denoising_strength=0.4' \
-i 'ad_4_ad_denoising_strength=0.4' \
-i 'reference_2_control_weight=1' \
-i 'reference_2_guidance_start=0' \
-i 'reference_2_style_fidelity=0.5' \
-i 'reference_2_use_image_size=false' \
-i 'ad_2_ad_inpaint_only_masked=true' \
-i 'ad_3_ad_inpaint_only_masked=true' \
-i 'ad_4_ad_inpaint_only_masked=true' \
-i 'ad_use_inpaint_width_height=false' \
-i 'instruct_p2p_control_weight=1' \
-i 'instruct_p2p_guidance_start=0' \
-i 'instruct_p2p_use_image_size=false' \
-i 'tile_blur_down_sampling_rate=1' \
-i 'ad_inpaint_only_masked_padding=32' \
-i 'lineart_preprocessor_resolution=512' \
-i 'ad_2_ad_use_inpaint_width_height=false' \
-i 'ad_3_ad_use_inpaint_width_height=false' \
-i 'ad_4_ad_use_inpaint_width_height=false' \
-i 'openpose_preprocessor_resolution=512' \
-i 'scribble_preprocessor_resolution=512' \
-i 'ad_2_ad_inpaint_only_masked_padding=32' \
-i 'ad_3_ad_inpaint_only_masked_padding=32' \
-i 'ad_4_ad_inpaint_only_masked_padding=32'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/mlscade/stable_diffusion_no_ui_control@sha256:5a19235a71f72799c94abf0c38a9fcff6e22d08eeecd83199070fdd9f290cef9
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "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 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Sign in 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 A100 (80GB) 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 runs on A100 (80GB) hardware which costs $0.0014 per second
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