You're looking at a specific version of this model. Jump to the model overview.
vetkastar /fooocus_test_test:10e4ee61
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 images 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 format 'url,weight' provide multiple separated by ; (example 'url1,0.3;url2,0.1')
|
sharpness |
number
|
2
Max: 30 |
None
|
guidance_scale |
number
|
4
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
|
|
uov_method |
string
(enum)
|
Disabled
Options: Disabled, Vary (Subtle), Vary (Strong), Upscale (1.5x), Upscale (2x), Upscale (Fast 2x), Upscale (Custom) |
An enumeration.
|
inpaint_additional_prompt |
string
|
|
Additional prompt for inpainting
|
inpaint_input_image |
string
|
Input image for inpaint/outpaint
|
|
inpaint_input_mask |
string
|
Input mask for inpaint
|
|
outpaint_selections |
string
|
|
Outpaint selections (Left,Right,Top,Bottom)
|
outpaint_distance_left |
integer
|
0
|
Outpaint distance from Left
|
outpaint_distance_top |
integer
|
0
|
Outpaint distance from Top
|
outpaint_distance_right |
integer
|
0
|
Outpaint distance from Right
|
outpaint_distance_bottom |
integer
|
0
|
Outpaint distance from Bottom
|
cn_img1 |
string
|
ControlNet image 1
|
|
cn_stop1 |
number
|
Max: 1 |
ControlNet stop at 1
|
cn_weight1 |
number
|
Max: 2 |
ControlNet weight 1
|
cn_type1 |
string
(enum)
|
ImagePrompt
Options: ImagePrompt, FaceSwap, PyraCanny, CPDS |
ControlNet type 1
|
cn_img2 |
string
|
None
|
|
cn_stop2 |
number
|
Max: 1 |
None
|
cn_weight2 |
number
|
Max: 2 |
None
|
cn_type2 |
string
(enum)
|
ImagePrompt
Options: ImagePrompt, FaceSwap, PyraCanny, CPDS |
An enumeration.
|
cn_img3 |
string
|
None
|
|
cn_stop3 |
number
|
Max: 1 |
None
|
cn_weight3 |
number
|
Max: 2 |
None
|
cn_type3 |
string
(enum)
|
ImagePrompt
Options: ImagePrompt, FaceSwap, PyraCanny, CPDS |
An enumeration.
|
cn_img4 |
string
|
None
|
|
cn_stop4 |
number
|
Max: 1 |
None
|
cn_weight4 |
number
|
Max: 2 |
None
|
cn_type4 |
string
(enum)
|
ImagePrompt
Options: ImagePrompt, FaceSwap, PyraCanny, CPDS |
An enumeration.
|
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'}