Skip to content
Explore models

Image

Fooocus

Generate styled images, edit a masked region or upscale and vary an existing image with Fooocus.

  • Text to image
Create with Fooocus
Preview for Fooocus

Catalog preview for Fooocus. Review your own result before publishing.

A starting point.

Try a visual treatment from a prompt, or start with an image when you need a local edit or a larger version. Choose the operation that matches the change you want.

Before you publish.

Inspect lettering, edges and fine detail. For inpainting, compare the masked boundary with the original; for upscaling, check that new details remain plausible.

Review the quote before running. A failed generation releases its reserved credits. Download the results you want to keep; stored media is retained for 30 days.

How credits work · Use the API · Content guidelines

Inputs and settings

Choose generation, inpainting or upscale/variation. Inpainting needs inpaint_image_url; upscale/variation needs uov_image_url. Use a mask for a specific region when the selected operation exposes it.

Choose styles, performance and num_images within the current form. Record the seed when comparing changes, and choose output_format for delivery.

The quote reserves a maximum of 300 compute seconds per run. The provider-recorded runtime determines the final charge; unused reserved credits return to your balance. This ceiling does not guarantee a completion time.

Supported inputs

These fields come from the current studio form for fooocus. Other modes may require different inputs.

Input types, requirements and limits for fooocus
InputTypeRequirementOptions and limits
aspect_ratioTextOptional—
control_image_stop_atNumberOptional≥ 0 · ≤ 1
control_image_urlTextOptional—
control_image_weightNumberOptional≥ 0 · ≤ 2
control_typeTextOptional—
enable_safety_checkerOn/offOptional—
guidance_scaleNumberOptional≥ 1 · ≤ 30
inpaint_image_urlTextOptional—
lorasListOptional—
mask_image_urlTextOptional—
mixing_image_prompt_and_inpaintOn/offOptional—
negative_promptTextOptional—
num_imagesWhole numberOptional≥ 1 · ≤ 4
output_formatTextOptionalpng, jpeg, webp
performanceTextOptional—
promptTextOptional—
refiner_modelTextOptional—
refiner_switchNumberOptional≥ 0 · ≤ 1
seedWhole numberOptional—
sharpnessNumberOptional≥ 0 · ≤ 30

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Other modes and their inputs

Open the operation you need and check its inputs. Settings from one mode do not automatically apply to another.

text-to-image (inpaint)fooocus/inpaint

Supported inputs

These fields come from the current studio form for fooocus/inpaint. Other modes may require different inputs.

Input types, requirements and limits for fooocus/inpaint
InputTypeRequirementOptions and limits
inpaint_image_urlTextRequired—
aspect_ratioTextOptional—
enable_safety_checkerOn/offOptional—
guidance_scaleNumberOptional≥ 1 · ≤ 30
image_prompt_1ObjectOptional—
image_prompt_2ObjectOptional—
image_prompt_3ObjectOptional—
image_prompt_4ObjectOptional—
inpaint_additional_promptTextOptional—
inpaint_disable_initial_latentOn/offOptional—
inpaint_engineTextOptional—
inpaint_erode_or_dilateNumberOptional≥ -64 · ≤ 64
inpaint_modeTextOptional—
inpaint_respective_fieldNumberOptional≥ 0 · ≤ 1
inpaint_strengthNumberOptional≤ 1 · > 0
invert_maskOn/offOptional—
lorasListOptional—
mask_image_urlTextOptional—
mixing_image_prompt_and_inpaintOn/offOptional—
negative_promptTextOptional—
num_imagesWhole numberOptional≥ 1 · ≤ 4
outpaint_selectionsListOptional—
output_formatTextOptionalpng, jpeg, webp
override_inpaint_optionsOn/offOptional—
performanceTextOptional—
promptTextOptional—
refiner_modelTextOptional—
refiner_switchNumberOptional≥ 0 · ≤ 1
seedWhole numberOptional—
sharpnessNumberOptional≥ 0 · ≤ 30

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Open this operation in the studio

text-to-image (upscale-or-vary)fooocus/upscale-or-vary

Supported inputs

These fields come from the current studio form for fooocus/upscale-or-vary. Other modes may require different inputs.

Input types, requirements and limits for fooocus/upscale-or-vary
InputTypeRequirementOptions and limits
uov_image_urlTextRequired—
aspect_ratioTextOptional—
enable_safety_checkerOn/offOptional—
guidance_scaleNumberOptional≥ 1 · ≤ 30
image_prompt_1ObjectOptional—
image_prompt_2ObjectOptional—
image_prompt_3ObjectOptional—
image_prompt_4ObjectOptional—
lorasListOptional—
mixing_image_prompt_and_vary_upscaleOn/offOptional—
negative_promptTextOptional—
num_imagesWhole numberOptional≥ 1 · ≤ 4
output_formatTextOptionalpng, jpeg, webp
performanceTextOptional—
promptTextOptional—
refiner_modelTextOptional—
refiner_switchNumberOptional≥ 0 · ≤ 1
seedWhole numberOptional—
sharpnessNumberOptional≥ 0 · ≤ 30
uov_methodTextOptional—

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Open this operation in the studio

Use Fooocus through the API.

Start with this model ID for the endpoint featured on this page:

fooocus

Input requirements belong to this model ID. Check a different mode’s schema separately when switching modes.

Available modes

Check the current model schema for supported inputs and options. Other tasks may use different model IDs.

From quote to result.

Request a credit quote for your input and settings before submitting a generation. A sample output or the price of another model is not a quote for your request.

Follow the generation workflow, then poll the job for its status and result. The API and studio use the same balance.