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.
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 inspect its current executable contract 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
seedinteger · optionalValue supplied for seed.
imagesarrayReturned images value.
notestringReturned note value.
This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.
{
"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}Scrollport identifies and validates the best-in-class API tools and provides them on a pay-as-you-go basis so you don't need to maintain a separate provider account, subscription or credits.
Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.
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 inspect its current executable contract 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
seedinteger · optionalValue supplied for seed.
imagesarrayReturned images value.
notestringReturned note value.
This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.
{
"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}Scrollport identifies and validates the best-in-class API tools and provides them on a pay-as-you-go basis so you don't need to maintain a separate provider account, subscription or credits.
Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.
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 inspect its current executable contract 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
seedinteger · optionalValue supplied for seed.
imagesarrayReturned images value.
notestringReturned note value.
This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.
{
"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}Scrollport identifies and validates the best-in-class API tools and provides them on a pay-as-you-go basis so you don't need to maintain a separate provider account, subscription or credits.
Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.