falImage to imageComing soon

fal-ai/kolors/image-to-image

fal-ai/kolors/image-to-image 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 generate an image from.
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).
guidance_scalenumber
1 to 10
5 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 150
50The number of inference steps to perform.
seednumber (whole)—Seed
num_imagesnumber (whole)
1 to 8
1The number of images to generate.
image_sizeJSON—The size of the generated image.
schedulerone of
EulerDiscreteScheduler, EulerAncestralDiscreteScheduler, DPMSolverMultistepScheduler, DPMSolverMultistepScheduler_SDE_karras, UniPCMultistepScheduler, DEISMultistepScheduler
EulerDiscreteSchedulerThe scheduler to use for the model.
output_formatone of
jpeg, png
pngThe format of the generated image.
image_url requiredURL or file—URL of image to use for image to image
strengthnumber
0.01 to 1
0.85The strength to use for image-to-image. 1.0 is completely remakes the image while 0.0 preserves the original.

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/kolors/image-to-image",
    "input": {
      "prompt": "high quality image of a capybara wearing sunglasses. In the background of the image there are trees, poles, grass and other objects. At the bottom of the object…",
      "image_url": "https://storage.googleapis.com/falserverless/model_tests/image_models/bunny_source.png"
    }
  }'