falImage to imageComing soon

fal-ai/lcm-sd15-i2i

fal-ai/lcm-sd15-i2i is an image to image tool from fal that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
image
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—The prompt to use for generating the image. Be as descriptive as possible for best results.
image_url requiredURL or file—The image to use as a base.
mask_urlURL or file—Mask URL for compatibility with generic LCM processing.
strengthnumber
0 to 1
0.8The strength of the image.
negative_prompttext The negative prompt to use.Use it to address details that you don't want in the image. This could be colors, objects, scenery and even the small details (e.g. moustache, blurry, low resolution).
seednumber (whole)— The same seed and the same prompt given to the same version of Stable Diffusion will output the same image every time.
guidance_scalenumber
0 to 16
1 The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
num_inference_stepsnumber (whole)
1 to 12
4 The number of inference steps to use for generating the image. The more steps the better the image will be but it will also take longer to generate.
num_imagesnumber (whole)
1 to 8
1 The number of images to generate. The function will return a list of images with the same prompt and negative prompt but different seeds.
enable_safety_checkstrue or falsetrue If set to true, the resulting image will be checked whether it includes any potentially unsafe content. If it does, it will be replaced with a black image. Disabling safety checks requires account authorization; unauthorized requests are always checked.
request_idtext An id bound to a request, can be used with response to identify the request itself.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/lcm-sd15-i2i",
    "input": {
      "prompt": "masterpiece, colorful, photo of a beach in hawaii, sun",
      "image_url": "https://storage.googleapis.com/falserverless/model_tests/lcm/beach.png"
    }
  }'