How to Use Smart Resize in dots
Smart Resize adapts existing artwork to new dimensions using Nano Banana Pro to recompose the layout. Use it for turning one campaign image into square, portrait, and landscape assets, then review the regenerated details.
Prompts to try with Smart Resize in dots
Copy an example into dots, or ask in your own words.
Every Monday, use Smart Resize on each newly approved campaign image to create 1024x1024 and 1920x1080 outputs. Leave the extra instruction empty and collect the results for review.
Each morning, use Smart Resize to adapt newly approved article images to 1200x630. Present each result beside its source.
Every Friday, use Smart Resize on the approved product promotion image to make a 768x1344 portrait. Request the whole product in frame and flag it for a detail check.
Before each weekly newsletter review, use Smart Resize to adapt the approved campaign image to 1200x400. Request open space on the left for a headline.
Each week, use Smart Resize to make 1024x1024 images from newly approved event graphics. Include the originals in the review so I can check dates and names.
How to set up Smart Resize in dots
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send dots this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create an API key
In the console, open API keys and create a key for your dot. Copy it.
- Send your dot this message
Your dot reads Spiral's skill and asks for your API key.
set up https://spiral.ai/SKILL.md
- Give your dot the key
When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Smart Resize
One request; the result comes back by polling or a webhook.
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": "fal-ai/smart-resize", "input": { "image_url": "https://storage.googleapis.com/falserverless/example_inputs/nano-banana-edit-input.png", "target_sizes": [ "<target_sizes>" ] } }'
Then paste one of the prompts above: dots finds Smart Resize on Spiral, shows the price and runs it.
Smart Resize providers and prices
Spiral runs Smart Resize through fal. Open a card for today's price, with every fee included.
resolution: 1K (default) $0.065 per run plus $0.195 per image, 2K $0.065 per run plus $0.195 per image, 4K $0.13 per run plus $0.39 per image. Billed on num_images_per_size, default 1.
Settings you can ask for
Smart Resize works from your image URL and prompt. Ask dots for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of images per size | 1 to 4 | 1 | The number of nano-banana-pro variants to produce for each target size. The response images list will contain ` |
| Resolution | 1K, 2K, or 4K | 1K | 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 ` |
| Output format | jpeg, png, or webp | png | The output image format. |
| Safety tolerance | 1 to 6 | 4 | The safety tolerance level applied to the inner nano-banana-pro /edit calls. Higher numbers loosen safety filtering. |
| Seed | a whole number | 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. |
Every API field of Smart Resize is on its tool page: open its card above.
What can you do with Smart Resize in dots?
Prepare recurring sets of artwork from newly approved source images. A scheduled agent can create the required dimensions and collect the results for a visual review.
Campaign assets in several shapes
Adapt one existing campaign image into square, portrait, and landscape layouts. Review the subject placement and any embedded copy.
Website hero artwork
Recompose an existing illustration or photo for a wide hero slot, with an instruction to leave room for the page headline.
Product promotion images
Turn existing product artwork into assets for different placements. Compare the regenerated product details with the source before approval.
Article preview images
Adapt an article's existing lead image to a landscape sharing image and a square preview.
Event promotion artwork
Reframe an existing event graphic for horizontal and vertical placements. Check dates, names, and logos against the original.
Email banner artwork
Adapt an existing campaign visual to an exact email banner size, requesting a composition that keeps the main subject visible.
More on Smart Resize and dots
Overview
Smart Resize in other agents
Questions about Smart Resize in dots
Can dots use Smart Resize?
Yes. Add Spiral to dots as an MCP server, and dots can find and run Smart Resize like any built-in tool.
How much does Smart Resize cost in dots?
Up to $0.26 per run at the default inputs. `resolution`: 1K (default) $0.26, 2K $0.26, 4K $0.52. Each item in `target_sizes` adds $0.195. $0.195 per unit of `num_images_per_size`. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your dots plan is separate.
Do I need a fal account to use Smart Resize in dots?
You need no fal account. dots uses one Spiral API key for every tool, and Spiral runs Smart Resize on its own fal account.
How long does it take to set up Smart Resize in dots?
About two minutes: create an API key, then send your dot this message, then give your dot the key.
Does dots wait while Smart Resize runs?
Smart Resize runs in the background. dots starts the run, checks on it and gives you the image when it's ready.
What is Smart Resize good for?
Adapting existing artwork to different shapes and exact pixel sizes. Useful examples include turning a landscape campaign image into square posts, portrait ads, and website banners.
How does Smart Resize change the composition?
It uses Nano Banana Pro to regenerate the image for the new layout, then center-crops the result to the requested dimensions. Review the framing before approving the output.
Will Smart Resize preserve every detail exactly?
Treat the result as regenerated artwork. Because the process recomposes the image, review text, logos, and product details; use a conventional resize or crop when identical source pixels are required.
What should I write in the extra instruction?
Leave it empty when your priority is preserving the original content. When you need a layout change, give a specific direction such as keeping the product centered or leaving space above the subject.
Does the resolution setting determine the finished image size?
No. The requested width and height determine the finished dimensions; the resolution setting guides the internal generation tier.
Start using Smart Resize in dots
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into dots:
set up https://spiral.ai/SKILL.md


