falImage to imageComing soon
krea/v3/edit
krea/v3/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.0325 per megapixel. Each image_size preset counts as 1 MP, and a custom width × height rounds up to whole megapixels. 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 | — | Description of the image to generate. |
image_urls required | URLs or files | — | Reference images to edit or combine (1-8). Order sets the <image-N> tags. |
model | one of berry, jam | berry | Model variant: berry favors quality, jam favors speed. |
image_size | JSON | auto | Output size, rounded up to multiples of 16, at most 4,220,160 total pixels (1680×2512). auto lets the prompt expander pick the aspect ratio at about 2048×2048. |
reasoning_level | one of low, medium, high, ultra | medium | How much effort the harness spends reasoning about the given editing task. Higher reasoning effort means slower generation time. high plans the edit with segmentation, web search and reference photos, keeps unedited areas of a single input image, corrects required text, and bills a flat $0.125 (5 megapixels) more per request. low and medium bill $0.025 per megapixel of the output plus each reference (references larger than the output count as the output size). ultra generates at 2K with Krea's ultra thinking mode, ignores image_size and negative_prompt, and bills a flat price by reference count: $0.27 for 1, $0.30 for 2, $0.32 for 3, $0.35 for 4, plus $0.0275 per reference past 4. |
negative_prompt | text | What to keep out of the image. Used by berry only. | |
seed | number (whole) | — | Latent noise seed. Use a new seed when editing a previous output again. |
output_format | one of png, jpeg | png | Output image format. |
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": "krea/v3/edit",
"input": {
"prompt": "A red fox curled up asleep in fresh snow at dawn, soft pink light on the pine trees behind it",
"image_urls": [
"<image_urls>"
]
}
}'