
Output
image
Aspect ratio
1:1, 16:9, 9:16, 4:3, 3:4, 21:9
Resolution
512, 1024, 2048
Inputs
- Reference image (required)
Example prompt
Upload any image — Smart Resize intelligently adapts it to a new aspect ratio while preserving important content.Try this prompt →
LLM-ready
API & LLM schema
Exact request contract for this model. Agents can fetch it from /api/v1/models?id=fal-ai/smart-resize.
POST
/api/v1/generate14 fields · 2 required| Field | Type | Requirement | Contract |
|---|---|---|---|
model_id | constant | Required | ArtEmotion model identifier. |
extra | object | Optional | Model-specific settings may also be nested here. |
max_credits | number | Optional | Reject before submission if the estimated list price exceeds this cap. · Range: 1–… |
webhook_url | string | Optional | Format: uri |
webhook_secret | string | Optional | Optional model input. |
folder_id | string | Optional | Optional model input. |
prompt | string | Optional | Optional model input. |
seed | integer | Optional | 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. |
safety_tolerance | number | Optional | The safety tolerance level applied to the inner nano-banana-pro /edit calls. Higher numbers loosen safety filtering. · Allowed: 1, 2, 3, 4, 5, 6 · Default: 4 |
num_images_per_size | number | Optional | 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_siz · Default: 1 · Range: 1–4 |
output_format | string | Optional | The output image format. · Allowed: jpeg, png, webp · Default: png |
aspect_ratio | string | Optional | Allowed: 1:1, 16:9, 9:16, 4:3, 3:4, 21:9 |
resolution | string | Optional | Allowed: 512, 1024, 2048 |
reference_image_url | string | Required | Format: uri |
Minimal request example
{
"model_id": "fal-ai/smart-resize",
"reference_image_url": "https://example.com/reference_image"
}Raw JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.artemotion.ai/api/v1/models?id=fal-ai%2Fsmart-resize",
"title": "Smart Resize generation request",
"description": "Request body accepted by POST /api/v1/generate for fal-ai/smart-resize.",
"type": "object",
"properties": {
"model_id": {
"type": "string",
"const": "fal-ai/smart-resize",
"description": "ArtEmotion model identifier."
},
"extra": {
"type": "object",
"additionalProperties": true,
"description": "Model-specific settings may also be nested here."
},
"max_credits": {
"type": "number",
"minimum": 1,
"description": "Reject before submission if the estimated list price exceeds this cap."
},
"webhook_url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"webhook_secret": {
"type": "string",
"maxLength": 512
},
"folder_id": {
"type": "string"
},
"prompt": {
"type": "string"
},
"seed": {
"title": "Seed",
"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.",
"type": "integer"
},
"safety_tolerance": {
"title": "Safety Tolerance",
"description": "The safety tolerance level applied to the inner nano-banana-pro /edit calls. Higher numbers loosen safety filtering.",
"default": "4",
"type": "number",
"enum": [
1,
2,
3,
4,
5,
6
]
},
"num_images_per_size": {
"title": "Num Images Per Size",
"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_siz",
"default": 1,
"type": "number",
"minimum": 1,
"maximum": 4
},
"output_format": {
"title": "Output Format",
"description": "The output image format.",
"default": "png",
"type": "string",
"enum": [
"jpeg",
"png",
"webp"
]
},
"aspect_ratio": {
"type": "string",
"enum": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"21:9"
]
},
"resolution": {
"type": "string",
"enum": [
"512",
"1024",
"2048"
]
},
"reference_image_url": {
"type": "string",
"format": "uri"
}
},
"required": [
"model_id",
"reference_image_url"
],
"additionalProperties": false
}FAQ
How much does Smart Resize cost on ArtEmotion?
Credit-based pricing. You pay in ArtEmotion credits — every plan and top-up converts USD to credits at a fixed rate.
Do I get my credits back if Smart Resize fails?
Yes — failed generations are never charged. The credits are released back to your balance automatically.
Can I call Smart Resize from the API?
Yes. Use POST /api/v1/generate with model_id: "fal-ai/smart-resize". See the API reference for the full schema.
Where are my generations stored?
Every output is saved to your personal Library. You can export or delete everything any time from Privacy & deletion.
Ready to generate with Smart Resize?
Start now →No commitment. New accounts get 50 free credits on signup. See pricing.