You're looking at a specific version of this model. Jump to the model overview.
vetkastar /fooocus_test:cbeb52e1
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
prompt |
string
|
|
Prompt for image generation
|
negative_prompt |
string
|
|
Negative prompt for image generation
|
style_selections |
string
|
Fooocus V2,Fooocus Enhance,Fooocus Sharp
|
Fooocus styles applied for image generation, separated by comma
|
performance_selection |
string
(enum)
|
Speed
Options: Speed, Quality, Extreme Speed, Lightning |
Performance selection
|
aspect_ratios_selection |
string
(enum)
|
1152*896
Options: 704*1408, 704*1344, 768*1344, 768*1280, 832*1216, 832*1152, 896*1152, 896*1088, 960*1088, 960*1024, 1024*1024, 1024*960, 1088*960, 1088*896, 1152*896, 1152*832, 1216*832, 1280*768, 1344*768, 1344*704, 1408*704, 1472*704, 1536*640, 1600*640, 1664*576, 1728*576 |
The generated image's size
|
image_number |
integer
|
1
Min: 1 Max: 8 |
How many image to generate
|
image_seed |
integer
|
-1
|
Seed to generate image, -1 for random
|
use_default_loras |
boolean
|
True
|
Use default LoRAs
|
loras_custom_urls |
string
|
|
Custom LoRAs URLs in the format 'url,weight' provide multiple seperated by ; (example 'url1,0.3;url2,0.1')
|
sharpness |
number
|
2
Max: 30 |
None
|
guidance_scale |
number
|
7
Min: 1 Max: 30 |
None
|
refiner_switch |
number
|
0.5
Min: 0.1 Max: 1 |
None
|
uov_input_image |
string
|
Input image for upscale or variation, keep None for not upscale or variation
|
|
uov_method |
string
(enum)
|
Disabled
Options: Disabled, Vary (Subtle), Vary (Strong), Upscale (1.5x), Upscale (2x), Upscale (Fast 2x), Upscale (Custom) |
An enumeration.
|
uov_upscale_value |
number
|
0
|
Only when Upscale (Custom)
|
inpaint_additional_prompt |
string
|
|
Prompt for image generation
|
inpaint_input_image |
string
|
Input image for inpaint or outpaint, keep None for not inpaint or outpaint. Please noticed, `uov_input_image` has bigger priority is not None.
|
|
inpaint_input_mask |
string
|
Input mask for inpaint
|
|
inpaint_strength |
number
|
0.5
Max: 1 |
Inpaint Denoising Strength
|
outpaint_selections |
string
|
|
Outpaint expansion selections, literal 'Left', 'Right', 'Top', 'Bottom' separated by comma
|
outpaint_distance_left |
integer
|
0
|
Outpaint expansion distance from Left of the image
|
outpaint_distance_top |
integer
|
0
|
Outpaint expansion distance from Top of the image
|
outpaint_distance_right |
integer
|
0
|
Outpaint expansion distance from Right of the image
|
outpaint_distance_bottom |
integer
|
0
|
Outpaint expansion distance from Bottom of the image
|
cn_img1 |
string
|
Input image for image prompt. If all cn_img[n] are None, image prompt will not applied.
|
|
cn_stop1 |
number
|
Max: 1 |
Stop at for image prompt, None for default value
|
cn_weight1 |
number
|
Max: 2 |
Weight for image prompt, None for default value
|
cn_type1 |
string
(enum)
|
ImagePrompt
Options: ImagePrompt, FaceSwap, PyraCanny, CPDS |
ControlNet type for image prompt
|
cn_img2 |
string
|
Input image for image prompt. If all cn_img[n] are None, image prompt will not applied.
|
|
cn_stop2 |
number
|
Max: 1 |
Stop at for image prompt, None for default value
|
cn_weight2 |
number
|
Max: 2 |
Weight for image prompt, None for default value
|
cn_type2 |
string
(enum)
|
ImagePrompt
Options: ImagePrompt, FaceSwap, PyraCanny, CPDS |
ControlNet type for image prompt
|
cn_img3 |
string
|
Input image for image prompt. If all cn_img[n] are None, image prompt will not applied.
|
|
cn_stop3 |
number
|
Max: 1 |
Stop at for image prompt, None for default value
|
cn_weight3 |
number
|
Max: 2 |
Weight for image prompt, None for default value
|
cn_type3 |
string
(enum)
|
ImagePrompt
Options: ImagePrompt, FaceSwap, PyraCanny, CPDS |
ControlNet type for image prompt
|
cn_img4 |
string
|
Input image for image prompt. If all cn_img[n] are None, image prompt will not applied.
|
|
cn_stop4 |
number
|
Max: 1 |
Stop at for image prompt, None for default value
|
cn_weight4 |
number
|
Max: 2 |
Weight for image prompt, None for default value
|
cn_type4 |
string
(enum)
|
ImagePrompt
Options: ImagePrompt, FaceSwap, PyraCanny, CPDS |
ControlNet type for image prompt
|
adm_scaler_positive |
number
|
1.5
Min: 0.1 Max: 3 |
Positive ADM Guidance Scaler. Adjusts the influence of positive prompts in the ADM (Attention-Driven Mechanism) generation process.
|
adm_scaler_negative |
number
|
0.8
Min: 0.1 Max: 3 |
Negative ADM Guidance Scaler. Adjusts the influence of negative prompts in the ADM generation process.
|
adm_scaler_end |
number
|
0.3
Max: 1 |
ADM Guidance End At Step. Determines at which stage of the generation process the ADM scaling stops being applied.
|
adaptive_cfg |
number
|
7
Min: 1 Max: 30 |
Adaptive CFG (Classifier-Free Guidance). Allows dynamically adjusting the strength of guidance during the generation process.
|
sampler_name |
string
|
dpmpp_2m_sde_gpu
|
Sampler. Choose a specific sampler for the diffusion process, affecting the quality and style of generated images.
|
scheduler_name |
string
|
karras
|
Scheduler. Choose a specific scheduler for the diffusion process, affecting the quality and style of generated images.
|
overwrite_step |
integer
|
-1
Min: -1 Max: 200 |
Forced Overwrite of Sampling Step. Override the default number of sampling steps, affecting detail and generation time.
|
overwrite_switch |
number
|
-1
Min: -1 Max: 1 |
Forced Overwrite of Refiner Switch Step. Override the moment of switching between the base model and the refiner model.
|
overwrite_width |
integer
|
-1
Min: -1 Max: 2048 |
Forced Overwrite of Generating Width. Precisely set the desired width of the generated image.
|
overwrite_height |
integer
|
-1
Min: -1 Max: 2048 |
Forced Overwrite of Generating Height. Precisely set the desired height of the generated image.
|
overwrite_vary_strength |
number
|
-1
Min: -1 Max: 1 |
Forced Overwrite of Denoising Strength of "Vary". Precisely control the strength of variation when using the "Vary" function.
|
overwrite_upscale_strength |
number
|
-1
Min: -1 Max: 1 |
Forced Overwrite of Denoising Strength of "Upscale". Precise control of denoising strength when upscaling images.
|
mixing_image_prompt_and_vary_upscale |
boolean
|
False
|
Mixing Image Prompt and Vary/Upscale. Allow mixing the image prompt with vary/upscale functions for more complex effects.
|
mixing_image_prompt_and_inpaint |
boolean
|
False
|
Mixing Image Prompt and Inpaint. Allow mixing the image prompt with inpaint functions for more complex effects.
|
debugging_cn_preprocessor |
boolean
|
False
|
Debug Preprocessors. For debugging ControlNet preprocessing.
|
skipping_cn_preprocessor |
boolean
|
False
|
Skip Preprocessors. Ability to skip ControlNet preprocessing, useful for development and testing.
|
canny_low_threshold |
integer
|
64
Min: 1 Max: 255 |
Canny Low Threshold. For fine-tuning the Canny Edge Detection algorithm used in some ControlNet modes.
|
canny_high_threshold |
integer
|
128
Min: 1 Max: 255 |
Canny High Threshold. For fine-tuning the Canny Edge Detection algorithm used in some ControlNet modes.
|
controlnet_softness |
number
|
0.25
Max: 1 |
Softness of ControlNet. Adjust the 'softness' of ControlNet's influence on the final image.
|
debugging_inpaint_preprocessor |
boolean
|
False
|
Debug Inpaint Preprocessing. For debugging and controlling preprocessing during inpainting.
|
inpaint_disable_initial_latent |
boolean
|
False
|
Disable initial latent in inpaint. For controlling preprocessing during inpainting.
|
inpaint_engine |
string
|
v2.6
|
Inpaint Engine. Select a specific engine for inpainting, affecting the quality and style of results.
|
inpaint_respective_field |
number
|
1
Max: 1 |
Inpaint Respective Field. Control the size of the influence area during inpainting.
|
invert_mask_checkbox |
boolean
|
False
|
Invert Mask. Invert the mask during inpainting, providing additional control over the process.
|
inpaint_erode_or_dilate |
integer
|
0
Min: -64 Max: 64 |
Mask Erode or Dilate. Erode or dilate the inpainting mask for fine-tuning the area of inpainting application.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'description': 'Output model',
'properties': {'paths': {'items': {'format': 'uri', 'type': 'string'},
'title': 'Paths',
'type': 'array'},
'seeds': {'items': {'type': 'string'},
'title': 'Seeds',
'type': 'array'}},
'required': ['seeds', 'paths'],
'title': 'Output',
'type': 'object'}