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 pendingPricing
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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The prompt to generate an image from. |
negative_prompt | text | 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_scale | number 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_steps | number (whole) 1 to 150 | 50 | The number of inference steps to perform. |
seed | number (whole) | — | Seed |
num_images | number (whole) 1 to 8 | 1 | The number of images to generate. |
image_size | JSON | — | The size of the generated image. |
scheduler | one of EulerDiscreteScheduler, EulerAncestralDiscreteScheduler, DPMSolverMultistepScheduler, DPMSolverMultistepScheduler_SDE_karras, UniPCMultistepScheduler, DEISMultistepScheduler | EulerDiscreteScheduler | The scheduler to use for the model. |
output_format | one of jpeg, png | png | The format of the generated image. |
image_url required | URL or file | — | URL of image to use for image to image |
strength | number 0.01 to 1 | 0.85 | The 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"
}
}'