{"version":"1","model":{"id":"fal-ai/smart-resize","name":"Smart Resize","kind":"image","availability":"available","available":true,"restricted":false,"api_key_only":false,"description":"Smart Resize — AI-aware aspect-ratio resizer that intelligently extends or crops images to new dimensions.","pricing_note":"$0.15 / image + $0.05 vision fee per request","categories":["enhance"],"prompt_required":false,"prompt_supported":true,"supports":{"referenceImage":true},"requires":{"referenceImage":true},"aspect_ratios":["1:1","16:9","9:16","4:3","3:4","21:9"],"resolutions":["512","1024","2048"],"durations":[],"output_formats":["png","jpeg","webp"],"max_images":1,"base_credits":25,"api_gross_margin_percent":20,"added_at":"2026-05-09","popularity_rank":227,"example_prompt":"Upload any image — Smart Resize intelligently adapts it to a new aspect ratio while preserving important content.","preview":{"image":"/images/model-previews/generated/smart-resize-v1.webp"},"schema_url":"/api/v1/models?id=fal-ai%2Fsmart-resize","input_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},"parameters":[{"key":"seed","label":"Seed","type":"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."},{"key":"safety_tolerance","label":"Safety Tolerance","type":"select","default":"4","options":["1","2","3","4","5","6"],"description":"The safety tolerance level applied to the inner nano-banana-pro /edit calls. Higher numbers loosen safety filtering."},{"key":"num_images_per_size","label":"Num Images Per Size","type":"number","default":1,"min":1,"max":4,"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"},{"key":"output_format","label":"Output Format","type":"select","default":"png","options":["jpeg","png","webp"],"description":"The output image format."}]}}