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 usagePricing
$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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The edit instruction describing how to transform the input image. Boogu-Image supports English and Chinese instructions. |
image_url required | URL or file | — | URL of the input image to edit. |
negative_prompt | text | Describes what should NOT appear in the edited image. Used for classifier-free guidance; leave empty to disable text negative guidance. | |
image_size | JSON | — | The output size. If omitted, the edited image follows the input image aspect ratio while respecting the model's 2K native limit. |
num_inference_steps | number (whole) 20 to 50 | 30 | The number of denoising steps to perform. |
guidance_scale | number 1 to 8 | 4 | Controls how closely the edit follows the text instruction. Higher values stick more closely to the prompt. |
image_guidance_scale | number 1 to 8 | 1 | Reference-image guidance strength. A value of 1.0 disables image CFG; higher values preserve the input image more strongly. |
cfg_range_start | number 0 to 1 | 0 | Start of the timestep fraction over which CFG is applied. |
cfg_range_end | number 0 to 1 | 1 | End of the timestep fraction over which CFG is applied. |
num_images | number (whole) 1 to 4 | 1 | The number of edited images to generate. |
seed | number (whole) | — | The same seed, prompt, and input image given to the same version of the model will output the same image every time. |
output_format | one of jpeg, png | jpeg | The 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"
}
}'