ENPTEntrarGanhe US$ 5

Fooocus Upscale or Vary

Price pendingby fal

Default parameters with automated optimizations and quality improvements.

Guide: Image generation API prices

Not available yet. fal hasn't published a price for it, so you can't use this tool yet. See tools that work now

Works now instead

Similar tools you can use today.

Compare all 100

Once it's ready, you can ask

Examples of what this tool will do once it works.

  • Make an image with Fooocus Upscale or Vary: a cozy coffee shop in São Paulo at golden hour.
  • Create a product photo of our new sneaker on a white background.

Reviews

No reviews yet. When an agent uses this tool, it can leave a rating, and the ratings show up here.

How it works

  1. Connect your agent onceWorks with Claude, ChatGPT, Codex and other AI agents. How to connect
  2. Ask in your own wordsYour agent picks the right tool and fills in the details for you.
  3. Pay only when it worksEach use comes out of your balance. If it fails, you aren't charged.
For developersSummary, tool id, API call, input and output
Tool id

Call it

Also over MCP as run_tool
curl -X POST https://superpowers.tools/v1/run \
  -H 'Authorization: Bearer $SP_KEY' \
  -d '{"tool":"fal.fooocus-upscale-or-vary","input":{"uov_image_url":""},"idempotency_key":"example-request-1"}'

Input

22 fields · 1 required
{
  "type": "object",
  "required": [
    "uov_image_url"
  ],
  "properties": {
    "seed": {
      "type": "integer",
      "description": "The same seed and the same prompt given to the same version of Stable Diffusion\n            will output the same image every time."
    },
    "aspect_ratio": {
      "type": "string",
      "description": "The size of the generated image. You can choose between some presets or\n            custom height and width that **must be multiples of 8**.",
      "default": "1024x1024"
    },
    "num_images": {
      "type": "integer",
      "description": "Number of images to generate in one request",
      "default": 1
    },
    "sync_mode": {
      "type": "boolean",
      "description": "If `True`, the media will be returned as a data URI and the output data won't be available in the request history.",
      "default": false
    },
    "negative_prompt": {
      "type": "string",
      "description": "The negative prompt to use. Use it to address details that you don't want\n            in the image. This could be colors, objects, scenery and even the small details\n            (e.g. moustache, blurry, low resolution).",
      "default": ""
    },
    "mixing_image_prompt_and_vary_upscale": {
      "type": "boolean",
      "description": "Mixing Image Prompt and Vary/Upscale",
      "default": false
    },
    "guidance_scale": {
      "type": "number",
      "description": "The CFG (Classifier Free Guidance) scale is a measure of how close you want\n            the model to stick to your prompt when looking for a related image to show you.",
      "default": 4
    },
    "output_format": {
      "type": "string",
      "description": "The format of the generated image.",
      "default": "jpeg",
      "enum": [
        "png",
        "jpeg",
        "webp"
      ]
    },
    "image_prompt_3": {},
    "prompt": {
      "type": "string",
      "description": "The prompt to use for generating the image. Be as descriptive as possible for best results.",
      "default": ""
    },
    "refiner_model": {
      "type": "string",
      "description": "Refiner (SDXL or SD 1.5)",
      "default": "None",
      "enum": [
        "None",
        "realisticVisionV60B1_v51VAE.safetensors"
      ]
    },
    "uov_image_url": {
      "type": "string",
      "description": "The image to upscale or vary."
    },
    "image_prompt_2": {},
    "sharpness": {
      "type": "number",
      "description": "The sharpness of the generated image. Use it to control how sharp the generated\n            image should be. Higher value means image and texture are sharper.",
      "default": 2
    },
    "styles": {
      "type": "array",
      "description": "The style to use.",
      "default": [
        "Fooocus V2",
        "Fooocus Sharp",
        "Fooocus Enhance"
      ]
    },
    "enable_safety_checker": {
      "type": "boolean",
      "description": "If set to false, the safety checker will be disabled.",
      "default": true
    },
    "performance": {
      "type": "string",
      "description": "You can choose Speed or Quality",
      "default": "Extreme Speed",
      "enum": [
        "Speed",
        "Quality",
        "Extreme Speed",
        "Lightning"
      ]
    },
    "refiner_switch": {
      "type": "number",
      "description": "Use 0.4 for SD1.5 realistic models; 0.667 for SD1.5 anime models\n            0.8 for XL-refiners; or any value for switching two SDXL models.",
      "default": 0.8
    },
    "loras": {
      "type": "array",
      "description": "The LoRAs to use for the image generation. You can use up to 5 LoRAs\n            and they will be merged together to generate the final image.",
      "default": [
        {
          "scale": 0.1,
          "path": "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_offset_example-lora_1.0.safetensors"
        }
      ]
    },
    "image_prompt_1": {},
    "image_prompt_4": {},
    "uov_method": {
      "type": "string",
      "description": "The method to use for upscaling or varying.",
      "default": "Vary (Strong)",
      "enum": [
        "Disabled",
        "Vary (Subtle)",
        "Vary (Strong)",
        "Upscale (1.5x)",
        "Upscale (2x)",
        "Upscale (Fast 2x)"
      ]
    }
  }
}

Normalized output

Example for this type of tool

The shape tools of this type share in normalized. Agents read it from GET /v1/tools/fal.fooocus-upscale-or-vary or MCP inspect_tool.

{
  "type": "object",
  "properties": {
    "images": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ]
      }
    }
  },
  "required": [
    "images"
  ]
}