
Smart Resize
Edits a photo you give it
Liveby fal
Smart image resize to arbitrary dimensions, powered by Nano Banana Pro with vision-LLM-guided prompting for composition-aware recomposition.
Crop, cropping, resize ads.
Ask your agent
Say it in your own words. Your agent picks this tool, fills in the details and brings back the answer.
Use Smart Resize to remove the background from this product photo.
Make this photo look like a watercolor painting.
Reviews
No reviews yet. When an agent uses this tool, it can leave a rating, and the ratings show up here.
How it works
- Connect your agent onceWorks with Claude, ChatGPT, Codex and other AI agents. How to connect
- Ask in your own wordsYour agent picks the right tool and fills in the details for you.
- Pay only when it worksEach use comes out of your balance. If it fails, you aren't charged.
For developersSummary, tool id, API call and input schema
Image API by fal, callable through Superpowers. It costs $0.162 per image, charged only when the call succeeds. Call it with one API key: POST /v1/run with "tool": "fal.smart-resize", or over MCP with run_tool.
- Tool id
- Price per call
- $0.162 / image
Call it
Also over MCP asrun_toolcurl -X POST https://superpowers.tools/v1/run \
-H 'Authorization: Bearer $SP_KEY' \
-d '{"tool":"fal.smart-resize","input":{"image_url":"","target_sizes":["marketing digital"]},"idempotency_key":"example-request-1"}'Input
9 fields · 2 required{
"type": "object",
"required": [
"image_url",
"target_sizes"
],
"properties": {
"output_format": {
"type": "string",
"description": "The output image format.",
"default": "png",
"enum": [
"jpeg",
"png",
"webp"
]
},
"prompt": {
"type": "string",
"description": "Optional extra instruction that is forwarded to nano-banana-pro alongside the auto-generated resize prompt. Leave empty to let the model preserve the original image content as closely as possible.",
"default": ""
},
"seed": {
"type": "integer",
"description": "Optional random seed forwarded to the inner nano-banana-pro /edit calls for reproducibility. The same seed is used for every target size when set."
},
"resolution": {
"type": "string",
"description": "Hint for the minimum resolution tier to use internally. The smart-resize algorithm may pick a higher tier automatically when the requested target size is too large for this tier. This field does not affect the final output dimensions — those come from ``target_sizes``.",
"default": "1K",
"enum": [
"1K",
"2K",
"4K"
]
},
"image_url": {
"type": "string",
"description": "The URL of the source image to resize."
},
"num_images_per_size": {
"type": "integer",
"description": "The number of nano-banana-pro variants to produce for each target size. The response images list will contain ``len(target_sizes) * num_images_per_size`` images in total.",
"default": 1
},
"sync_mode": {
"type": "boolean",
"description": "When True, the response contains data URIs in place of CDN URLs so the client can decode the images without an extra HTTP request. Adds latency for large outputs.",
"default": false
},
"target_sizes": {
"type": "array",
"description": "The list of target dimensions to generate, each written as ``<width>x<height>`` (e.g. ``\"1920x1080\"``). One output image is produced per target size (multiplied by ``num_images_per_size``). The endpoint internally picks the smallest nano-banana-pro preset that fully covers each target so the final i"
},
"safety_tolerance": {
"type": "string",
"description": "The safety tolerance level applied to the inner nano-banana-pro /edit calls. Higher numbers loosen safety filtering.",
"default": "4",
"enum": [
"1",
"2",
"3",
"4",
"5",
"6"
]
}
}
}