You're looking at a specific version of this model. Jump to the model overview.
konieshadow /fooocus-api-realistic:4db337e2
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
|
unrealistic, saturated, high contrast, big nose, painting, drawing, sketch, cartoon, anime, manga, render, CG, 3d, watermark, signature, label
|
Negtive prompt for image generation
|
style_selections |
string
|
Fooocus V2,Fooocus Photograph,Fooocus Negative
|
Fooocus styles applied for image generation, seperated by comma
|
performance_selection |
None
|
Speed
|
Performance selection
|
aspect_ratios_selection |
None
|
1152*896
|
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
|
sharpness |
number
|
2
Max: 30 |
None
|
guidance_scale |
number
|
3
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 |
None
|
Disabled
|
None
|
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
|
|
outpaint_selections |
string
|
|
Outpaint expansion selections, literal 'Left', 'Right', 'Top', 'Bottom' seperated 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 |
None
|
ImagePrompt
|
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 |
None
|
ImagePrompt
|
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 |
None
|
ImagePrompt
|
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 |
None
|
ImagePrompt
|
ControlNet type for image prompt
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}