enable_prompt_expansionboolean · optionalValue supplied for enable prompt expansion.
Loading tools…
Black Forest Labs
Edit one or more images from a text instruction with configurable output size and format.
Apply a targeted edit with FLUX 2 Flash while preserving the source composition. fal bills each resized input megapixel and each generated output megapixel; all outputs are persisted as private PNG artifacts.
Agents select this operation with tool ID blackforestlabs.flux-2-flash-edit, then check its current inputs and price before a run.
enable_prompt_expansionboolean · optionalValue supplied for enable prompt expansion.
guidance_scalenumber · optionalValue supplied for guidance scale.
minimum: 0 · maximum: 20
image_sizestring · optionalValue supplied for image size.
image_urlsarray · requiredValue supplied for image urls.
minItems: 1 · maxItems: 4
num_imagesinteger · optionalValue supplied for num images.
minimum: 1 · maximum: 4
promptstring · requiredInstruction describing the requested generated output.
minLength: 1 · maxLength: 5000
seedUse verified tools with pay-per-use pricing. Provider access is included. Tools that work in your own apps ask you to connect that account.
Connect your first agent to receive $1 trial credit.
Value supplied for seed.
imagesarrayReturned images value.
notestringReturned note value.
Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.
{
"tool_id": "blackforestlabs.flux-2-flash-edit",
"input": {
"prompt": "change the plain studio background to deep cobalt blue while preserving the burger",
"image_size": "square_hd",
"image_urls": [
"https://storage.googleapis.com/falserverless/example_outputs/flux-2-flash-edit-input.png"
],
"num_images": 1
}
}{
"note": "images returned as artifacts",
"images": [
{
"width": 1024,
"height": 1024,
"content_type": "image/png"
}
]
}invalid_input: image_urls must contain one to four public image URLsexample: {"prompt":"change the bottle cap to deep cobalt blue while preserving the product photograph","image_urls":["https://storage.googleapis.com/falserverless/example_outputs/flux-2-flash-edit-input.png"],"image_size":"square_hd","num_images":1}