Readme
This model doesn't have a readme.
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 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:0e1dd964803fdb1d3f95276440f7a4951aaf6543a27cf4e9b4576d80926ba437",
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.
No output yet! Press "Submit" to start a prediction.
This model costs approximately $0.0088 to run on Replicate, or 113 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 T4 GPU hardware. Predictions typically complete within 39 seconds.
This model doesn't have a readme.