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/fooocus_test using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"vetkastar/fooocus_test:cbeb52e14d9b7f10bada9e1e4811e6b728254912a9e41a5eba9f429899bf16b5",
input={
"prompt": "",
"cn_type1": "ImagePrompt",
"cn_type2": "ImagePrompt",
"cn_type3": "ImagePrompt",
"cn_type4": "ImagePrompt",
"sharpness": 2,
"image_seed": -1,
"uov_method": "Disabled",
"adaptive_cfg": 7,
"image_number": 1,
"sampler_name": "dpmpp_2m_sde_gpu",
"adm_scaler_end": 0.3,
"guidance_scale": 7,
"inpaint_engine": "v2.6",
"overwrite_step": -1,
"refiner_switch": 0.5,
"scheduler_name": "karras",
"negative_prompt": "",
"overwrite_width": -1,
"inpaint_strength": 0.5,
"overwrite_height": -1,
"overwrite_switch": -1,
"style_selections": "Fooocus V2,Fooocus Enhance,Fooocus Sharp",
"loras_custom_urls": "",
"uov_upscale_value": 0,
"use_default_loras": True,
"adm_scaler_negative": 0.8,
"adm_scaler_positive": 1.5,
"canny_low_threshold": 64,
"controlnet_softness": 0.25,
"outpaint_selections": "",
"canny_high_threshold": 128,
"invert_mask_checkbox": False,
"outpaint_distance_top": 0,
"performance_selection": "Speed",
"outpaint_distance_left": 0,
"aspect_ratios_selection": "1152*896",
"inpaint_erode_or_dilate": 0,
"outpaint_distance_right": 0,
"overwrite_vary_strength": -1,
"inpaint_respective_field": 1,
"outpaint_distance_bottom": 0,
"skipping_cn_preprocessor": False,
"debugging_cn_preprocessor": False,
"inpaint_additional_prompt": "",
"overwrite_upscale_strength": -1,
"debugging_inpaint_preprocessor": False,
"inpaint_disable_initial_latent": False,
"mixing_image_prompt_and_inpaint": False,
"mixing_image_prompt_and_vary_upscale": False
}
)
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 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.