mrhan1993/fooocus-api

A powerful AI model.

Input
Configure the inputs for the AI model.

Prompt for image generation

Input image for image prompt. If all cn_img[n] are None, image prompt will not applied.

Input image for image prompt. If all cn_img[n] are None, image prompt will not applied.

Input image for image prompt. If all cn_img[n] are None, image prompt will not applied.

Input image for image prompt. If all cn_img[n] are None, image prompt will not applied.

0
1

Stop at for image prompt, None for default value

0
1

Stop at for image prompt, None for default value

0
1

Stop at for image prompt, None for default value

0
1

Stop at for image prompt, None for default value

ControlNet type for image prompt

ControlNet type for image prompt

ControlNet type for image prompt

ControlNet type for image prompt

0
30
0
2

Weight for image prompt, None for default value

0
2

Weight for image prompt, None for default value

0
2

Weight for image prompt, None for default value

0
2

Weight for image prompt, None for default value

0
100

Seed to generate image, -1 for random

1
8

How many image to generate

1
30
0.1
1

Negative prompt for image generation

Input image for upscale or variation, keep None for not upscale or variation

Fooocus styles applied for image generation, separated by comma

Custom LoRAs URLs in the format 'url,weight' provide multiple seperated by ; (example 'url1,0.3;url2,0.1')

0
100

Only when Upscale (Custom)

Use default LoRAs

Input mask for inpaint

Input image for inpaint or outpaint, keep None for not inpaint or outpaint. Please noticed, `uov_input_image` has bigger priority is not None.

Outpaint expansion selections, literal 'Left', 'Right', 'Top', 'Bottom' separated by comma

0
100

Outpaint expansion distance from Top of the image

Performance selection

0
100

Outpaint expansion distance from Left of the image

The generated image's size

0
100

Outpaint expansion distance from Right of the image

0
100

Outpaint expansion distance from Bottom of the image

Prompt for image generation

Output
The generated output will appear here.

No output yet

Click "Generate" to create an output.