enable_prompt_expansionboolean · optionalValue supplied for enable prompt expansion.
Black Forest Labs
Edit one or more images from a text instruction with configurable output size and format.
Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use FLUX.2 Flash Edit (tool ID: blackforestlabs.flux-2-flash-edit). Ask me for the details you need, then show me the result.
Provider access is included.
Connect your first agent to receive $1 trial credit.
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.
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
seedinteger · optionalValue 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}