falImage to imageComing soon

fal-ai/boogu-image/edit

fal-ai/boogu-image/edit 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.

Priced by usage

Pricing

$0.052 per megapixel. Each image_size preset counts as 1 MP, and a custom width × height rounds up to whole megapixels. Billed on num_images, default 1. The final charge comes from usage.

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 edit instruction describing how to transform the input image. Boogu-Image supports English and Chinese instructions.
image_url requiredURL or file—URL of the input image to edit.
negative_prompttextDescribes what should NOT appear in the edited image. Used for classifier-free guidance; leave empty to disable text negative guidance.
image_sizeJSON—The output size. If omitted, the edited image follows the input image aspect ratio while respecting the model's 2K native limit.
num_inference_stepsnumber (whole)
20 to 50
30The number of denoising steps to perform.
guidance_scalenumber
1 to 8
4Controls how closely the edit follows the text instruction. Higher values stick more closely to the prompt.
image_guidance_scalenumber
1 to 8
1Reference-image guidance strength. A value of 1.0 disables image CFG; higher values preserve the input image more strongly.
cfg_range_startnumber
0 to 1
0Start of the timestep fraction over which CFG is applied.
cfg_range_endnumber
0 to 1
1End of the timestep fraction over which CFG is applied.
num_imagesnumber (whole)
1 to 4
1The number of edited images to generate.
seednumber (whole)—The same seed, prompt, and input image given to the same version of the model will output the same image every time.
output_formatone of
jpeg, png
jpegThe format of the generated image.

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/boogu-image/edit",
    "input": {
      "prompt": "Change the background to a sunny garden while preserving the person.",
      "image_url": "https://storage.googleapis.com/falserverless/example_inputs/flux2_dev_edit_input.png"
    }
  }'