ENPTEntrarGanhe US$ 5

Stable Diffusion with LoRAs

Price pendingby fal

Run Any Stable Diffusion model with customizable LoRA weights.

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 Stable Diffusion with LoRAs: 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.lora","input":{"prompt":"","model_name":""},"idempotency_key":"example-request-1"}'

Input

37 fields · 2 required
{
  "type": "object",
  "required": [
    "model_name",
    "prompt"
  ],
  "properties": {
    "ic_light_model_url": {
      "type": "string",
      "description": "The URL of the IC Light model to use for the image generation."
    },
    "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": 7.5
    },
    "loras": {
      "type": "array",
      "description": "The LoRAs to use for the image generation. You can use any number of LoRAs\n            and they will be merged together to generate the final image.",
      "default": []
    },
    "image_size": {
      "type": "string",
      "description": "The size of the generated image. You can choose between some presets or custom height and width\n            that **must be multiples of 8**.",
      "default": "square_hd",
      "enum": [
        "square_hd",
        "square",
        "portrait_4_3",
        "portrait_16_9",
        "landscape_4_3",
        "landscape_16_9"
      ]
    },
    "tile_width": {
      "type": "integer",
      "description": "The size of the tiles to be used for the image generation.",
      "default": 4096
    },
    "rescale_betas_snr_zero": {
      "type": "boolean",
      "description": "Whether to set the rescale_betas_snr_zero option or not for the sampler",
      "default": false
    },
    "tile_stride_width": {
      "type": "integer",
      "description": "The stride of the tiles to be used for the image generation.",
      "default": 2048
    },
    "prediction_type": {
      "type": "string",
      "description": "The type of prediction to use for the image generation.\n            The `epsilon` is the default.",
      "default": "epsilon",
      "enum": [
        "v_prediction",
        "epsilon"
      ]
    },
    "ic_light_model_background_image_url": {
      "type": "string",
      "description": "The URL of the IC Light model background image to use for the image generation.\n            Make sure to use a background compatible with the model."
    },
    "enable_safety_checker": {
      "type": "boolean",
      "description": "If set to true, the safety checker will be enabled.",
      "default": false
    },
    "clip_skip": {
      "type": "integer",
      "description": "Skips part of the image generation process, leading to slightly different results.\n            This means the image renders faster, too.",
      "default": 0
    },
    "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."
    },
    "prompt": {
      "type": "string",
      "description": "The prompt to use for generating the image. Be as descriptive as possible for best results."
    },
    "variant": {
      "type": "string",
      "description": "The variant of the model to use for huggingface models, e.g. 'fp16'."
    },
    "eta": {
      "type": "number",
      "description": "The eta value to be used for the image generation.",
      "default": 0
    },
    "controlnet_guess_mode": {
      "type": "boolean",
      "description": "If set to true, the controlnet will be applied to only the conditional predictions.",
      "default": false
    },
    "scheduler": {
      "type": "string",
      "description": "Scheduler / sampler to use for the image denoising process.",
      "enum": [
        "DPM++ 2M",
        "DPM++ 2M Karras",
        "DPM++ 2M SDE",
        "DPM++ 2M SDE Karras",
        "Euler",
        "Euler A",
        "Euler (trailing timesteps)",
        "LCM",
        "LCM (trailing timesteps)",
        "DDIM",
        "TCD"
      ]
    },
    "ic_light_image_url": {
      "type": "string",
      "description": "The URL of the IC Light model image to use for the image generation."
    },
    "prompt_weighting": {
      "type": "boolean",
      "description": "If set to true, the prompt weighting syntax will be used.\n            Additionally, this will lift the 77 token limit by averaging embeddings.",
      "default": false
    },
    "tile_stride_height": {
      "type": "integer",
      "description": "The stride of the tiles to be used for the image generation.",
      "default": 2048
    },
    "num_images": {
      "type": "integer",
      "description": "Number of images to generate in one request. Note that the higher the batch size,\n            the longer it will take to generate the images.",
      "default": 1
    },
    "debug_per_pass_latents": {
      "type": "boolean",
      "description": "If set to true, the latents will be saved for debugging per pass.",
      "default": false
    },
    "image_format": {
      "type": "string",
      "description": "The format of the generated image.",
      "default": "png",
      "enum": [
        "jpeg",
        "png"
      ]
    },
    "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": ""
    },
    "tile_height": {
      "type": "integer",
      "description": "The size of the tiles to be used for the image generation.",
      "default": 4096
    },
    "debug_latents": {
      "type": "boolean",
      "description": "If set to true, the latents will be saved for debugging.",
      "default": false
    },
    "embeddings": {
      "type": "array",
      "description": "The embeddings to use for the image generation. Only a single embedding is supported at the moment.\n            The embeddings will be used to map the tokens in the prompt to the embedding weights.",
      "default": []
    },
    "num_inference_steps": {
      "type": "integer",
      "description": "Increasing the amount of steps tells Stable Diffusion that it should take more steps\n            to generate your final result which can increase the amount of detail in your image.",
      "default": 30
    },
    "sigmas": {
      "description": "Optionally override the sigmas to use for the denoising process. Only works with schedulers which support the `sigmas` argument in their `set_sigmas` method.\n            Defaults to not overriding, in which case the scheduler automatically sets the sigmas based on the `num_inference_steps` parameter",
      "default": {
        "array": [],
        "method": "default"
      }
    },
    "model_name": {
      "type": "string",
      "description": "URL or HuggingFace ID of the base model to generate the image."
    },
    "image_encoder_weight_name": {
      "type": "string",
      "description": "The weight name of the image encoder model to use for the image generation.",
      "default": "pytorch_model.bin"
    },
    "unet_name": {
      "type": "string",
      "description": "URL or HuggingFace ID of the custom U-Net model to use for the image generation."
    },
    "timesteps": {
      "description": "Optionally override the timesteps to use for the denoising process. Only works with schedulers which support the `timesteps` argument in their `set_timesteps` method.\n            Defaults to not overriding, in which case the scheduler automatically sets the timesteps based on the `num_inference_step",
      "default": {
        "array": [],
        "method": "default"
      }
    },
    "image_encoder_subfolder": {
      "type": "string",
      "description": "The subfolder of the image encoder model to use for the image generation."
    },
    "controlnets": {
      "type": "array",
      "description": "The control nets to use for the image generation. You can use any number of control nets\n            and they will be applied to the image at the specified timesteps.",
      "default": []
    },
    "ip_adapter": {
      "type": "array",
      "description": "The IP adapter to use for the image generation.",
      "default": []
    },
    "image_encoder_path": {
      "type": "string",
      "description": "The path to the image encoder model to use for the image generation."
    }
  }
}

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.lora or MCP inspect_tool.

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