{"model":{"id":"google/nano-banana-2","name":"Nano Banana 2","creator":"Google","authorProviderIds":["google"],"familyId":"nano-banana","modality":"image","aliases":["gemini-3.1-flash-image"],"openness":"closed","license":"Provider service terms; no open-weight grant established","source":{"url":"https://aistudio.google.com/docs/image-generation","checkedAt":"2026-11-02"},"description":"Gemini 3.1 Flash Image generation and editing across 0.5K–4K.","generationProfiles":[{"modality":"image","operations":["text-to-image","image-edit"],"commonArguments":["prompt","references","resolution","size","aspectRatio","count","outputFormat","seed"],"modelSpecificArguments":["thinkingLevel","systemPrompt","grounding"],"defaults":{"resolution":"1K"},"capabilities":{"resolutions":["0.5K","1K","2K","4K"],"aspectRatios":["auto","source","21:9","16:9","4:3","1:1","3:4","9:16","3:2","2:3","4:5","5:4","2:1","1:2","5:2","19.5:9","9:19.5","20:9","9:20","4:1","1:4","8:1","1:8"],"references":{"types":["image","video","document"],"maximum":{"image":14}},"frames":{"first":false,"last":false,"lastOnly":false,"keyframesMaximum":0,"timed":false},"frameReferenceMix":false,"audio":"unsupported","countMaximum":4},"promptRequired":true,"promptMaximum":50000,"verification":"documented","sources":[{"url":"https://aistudio.google.com/docs/image-generation","checkedAt":"2026-11-03"},{"url":"https://fal.ai/models/fal-ai/nano-banana-2/edit/api","checkedAt":"2026-11-03"}],"notices":["Gemini 3.1 Flash Image (Nano Banana 2) supports 0.5K–4K generation and editing with minimal or high thinkingLevel."],"modelId":"google/nano-banana-2","operation":"image-edit","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prompt":{"type":"string","maxLength":100000,"minLength":1,"pattern":"\\S"},"references":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"type":{"enum":["image","video","document"]},"asset":{"anyOf":[{"type":"object","properties":{"assetKey":{"type":"string","minLength":1,"maxLength":300}},"required":["assetKey"],"additionalProperties":false},{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"],"additionalProperties":false}]}},"required":["type","asset"],"additionalProperties":false},"allOf":[{"contains":{"required":["type"],"properties":{"type":{"const":"image"}}},"minContains":0,"maxContains":14}],"minItems":1},"resolution":{"type":"string","minLength":1,"maxLength":30,"default":"1K"},"size":{"type":"object","properties":{"width":{"type":"integer","exclusiveMinimum":0,"maximum":16384},"height":{"type":"integer","exclusiveMinimum":0,"maximum":16384}},"required":["width","height"],"additionalProperties":false},"aspectRatio":{"type":"string","pattern":"^(source|auto|\\d+(\\.\\d+)?:\\d+(\\.\\d+)?)$"},"count":{"type":"integer","minimum":1,"maximum":15},"outputFormat":{"type":"string","enum":["png","jpeg","webp"]},"seed":{"type":"integer","minimum":-1,"maximum":9007199254740991},"thinkingLevel":{"type":"string","enum":["minimal","high"]},"systemPrompt":{"type":"string","maxLength":50000},"grounding":{"type":"boolean"}},"additionalProperties":false,"allOf":[{"not":{"required":["size","resolution"]}},{"not":{"required":["size","aspectRatio"]}}],"required":["prompt","references"],"x-opengen":{"modelId":"google/nano-banana-2","operation":"image-edit","capabilities":{"resolutions":["0.5K","1K","2K","4K"],"aspectRatios":["auto","source","21:9","16:9","4:3","1:1","3:4","9:16","3:2","2:3","4:5","5:4","2:1","1:2","5:2","19.5:9","9:19.5","20:9","9:20","4:1","1:4","8:1","1:8"],"references":{"types":["image","video","document"],"maximum":{"image":14}},"frames":{"first":false,"last":false,"lastOnly":false,"keyframesMaximum":0,"timed":false},"frameReferenceMix":false,"audio":"unsupported","countMaximum":4},"notices":["Gemini 3.1 Flash Image (Nano Banana 2) supports 0.5K–4K generation and editing with minimal or high thinkingLevel.","aspectRatio source requires source media or an owned top-level previousJobId. An arguments-only schema cannot validate that outer request context.","Runtime validation also checks model-specific combinations, media contents and regional route restrictions."],"sources":[{"url":"https://aistudio.google.com/docs/image-generation","checkedAt":"2026-11-03"},{"url":"https://fal.ai/models/fal-ai/nano-banana-2/edit/api","checkedAt":"2026-11-03"}]}},"examples":{"request":{"modelId":"google/nano-banana-2","operation":"image-edit","input":{"resolution":"1K","prompt":"Describe the desired result.","references":[{"type":"image","asset":{"assetKey":"REPLACE_WITH_OWNED_ASSET_KEY"}}]},"billing":"managed"},"generate":{"operationId":"media.generate","input":{"modelId":"google/nano-banana-2","operation":"image-edit","input":{"resolution":"1K","prompt":"Describe the desired result.","references":[{"type":"image","asset":{"assetKey":"REPLACE_WITH_OWNED_ASSET_KEY"}}]},"billing":"managed"},"idempotencyKey":"REPLACE_WITH_SAVED_IDEMPOTENCY_KEY"},"cli":"opengen generate --input request.json --idempotency-key \"$OPENGEN_IDEMPOTENCY_KEY\"","placeholders":["input.references.0.asset.assetKey"],"notices":["Template only. Replace owned asset placeholders after upload prepare/PUT/complete; edit the prompt before submitting.","Inspect published route pricing, regional restrictions and budget before authorizing a separate billable submission. Persist a unique idempotency key with the request before submitting.","Managed billing is explicit in this example. Select BYOK only when the user chooses their provider account as payer; unknown direct charges cannot be capped by OpenGen."]}}]},"series":{"id":"google/nano-banana-2","providerId":"google","companyId":"google","name":"Nano Banana 2","description":"Google’s Gemini 3.1 Flash Image 0.5K–4K generation and editing release across Google AI Studio and fal.","modelIds":["google/nano-banana-2"]},"routes":[{"id":"google-undisclosed/google-nano-banana-2","modelId":"google/nano-banana-2","deploymentId":"google-undisclosed","upstreamModelId":"gemini-3.1-flash-image","operations":["text-to-image","image-edit"],"resolutions":["0.5K","1K","2K","4K"],"durations":[],"fidelity":"unknown","adapter":"google","status":"documented","rates":[],"pricingSource":{"url":"https://aistudio.google.com/docs/image-generation","checkedAt":"2026-11-02","note":"No request-price formula has been qualified for this route. A catalog listing is not a live verification."},"source":{"url":"https://aistudio.google.com/docs/image-generation","checkedAt":"2026-11-02"},"publishedPricing":{"summary":"Per 1M tokens: $0.50 input; $3.00 text/thinking output; $60.00 image output.","source":{"url":"https://aistudio.google.com/docs/pricing#gemini-3.1-flash-image","checkedAt":"2026-11-14"},"conditions":["Standard image-output components: 747 tokens ($0.0448) at 0.5K, 1,120 ($0.0672) at 1K, 1,680 ($0.1008) at 2K and 2,520 ($0.1512) at 4K. Single-output text-to-image managed quotes reserve a conservative max-token bound.","Search grounding and reference/edit operations carry separate charges and remain unpriced.","No region-specific tariff or inference/storage residency was verified."],"outputRates":[{"resolution":"0.5K","unit":"image","usdMicros":44800,"note":"Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.","approximate":true},{"resolution":"1K","unit":"image","usdMicros":67200,"note":"Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.","approximate":true},{"resolution":"2K","unit":"image","usdMicros":100800,"note":"Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.","approximate":true},{"resolution":"4K","unit":"image","usdMicros":151200,"note":"Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.","approximate":true}]},"privacyDisclosure":{"providerId":"google","deploymentId":"google-undisclosed","endpointRegion":{"value":null,"evidence":null},"inferenceScope":{"value":null,"evidence":null},"processingRegions":{"value":null,"evidence":null},"storageRegions":{"value":null,"evidence":null},"payloadHistory":{"value":null,"evidence":null},"deploymentLogs":{"value":null,"evidence":null},"maxDataRetentionSeconds":{"value":null,"evidence":null},"zeroDataRetention":{"value":null,"evidence":null},"controls":{"payloadHistoryOptOut":{"value":null,"evidence":null},"outputExpiryControl":{"value":null,"evidence":null},"privateOutputAcl":{"value":null,"evidence":null}},"notes":["Processing/storage residency, payload history, deployment logs, comprehensive retention, and Zero Data Retention (ZDR) are unestablished at the public catalog level and remain null."]}},{"id":"fal-undisclosed/google-nano-banana-2","modelId":"google/nano-banana-2","deploymentId":"fal-undisclosed","upstreamModelId":"fal-ai/nano-banana-2","upstreamEndpoints":{"text-to-image":"fal-ai/nano-banana-2","image-edit":"fal-ai/nano-banana-2/edit"},"operations":["text-to-image","image-edit"],"resolutions":["0.5K","1K","2K","4K"],"durations":[],"operationCapabilities":{"image-edit":{"pricingSource":{"url":"https://fal.ai/models/fal-ai/nano-banana-2/edit","checkedAt":"2026-11-02","note":"No request-price formula has been qualified for this route. A catalog listing is not a live verification."},"source":{"url":"https://fal.ai/models/fal-ai/nano-banana-2/edit/api","checkedAt":"2026-11-02","note":"Explicit fal Nano Banana queue endpoint schema checked; not live-verified."}}},"fidelity":"unknown","adapter":"fal","status":"documented","rates":[{"resolution":"1K","unit":"image","usdMicros":80000,"note":"Published fal 1K base output-image list estimate without search grounding.","operation":"text-to-image"}],"publishedPricing":{"summary":"Output image: $0.06 at 0.5K; $0.08 at 1K; $0.12 at 2K; $0.16 at 4K (+$0.015 web search; +$0.002 high thinking).","source":{"url":"https://fal.ai/models/fal-ai/nano-banana-2","checkedAt":"2026-11-14"},"conditions":["0.5K, 2K and 4K bill at 0.75×, 1.5× and 2× the $0.08 1K base rate; single-output 1K text-to-image without grounding uses the $0.08 list estimate while other tiers, grounding, high thinking and edits remain unpriced for managed quotes.","No region-specific tariff or inference/storage residency was verified."],"outputRates":[{"resolution":"0.5K","unit":"image","usdMicros":60000,"note":"Base output-image rate without web search (+$0.015) or high thinking (+$0.002)."},{"resolution":"1K","unit":"image","usdMicros":80000,"note":"Base output-image rate without web search (+$0.015) or high thinking (+$0.002)."},{"resolution":"2K","unit":"image","usdMicros":120000,"note":"Base output-image rate without web search (+$0.015) or high thinking (+$0.002)."},{"resolution":"4K","unit":"image","usdMicros":160000,"note":"Base output-image rate without web search (+$0.015) or high thinking (+$0.002)."}]},"pricingSource":{"url":"https://fal.ai/models/fal-ai/nano-banana-2","checkedAt":"2026-11-14","note":"Exact fal 1K text-to-image list tariff ($0.08 per image without search grounding); other resolution tiers and edits remain unpriced."},"source":{"url":"https://fal.ai/models/fal-ai/nano-banana-2/api","checkedAt":"2026-11-02","note":"Explicit fal Nano Banana queue endpoint schema checked; not live-verified."},"privacyDisclosure":{"providerId":"fal","deploymentId":"fal-undisclosed","endpointRegion":{"value":null,"evidence":null},"inferenceScope":{"value":null,"evidence":null},"processingRegions":{"value":null,"evidence":null},"storageRegions":{"value":null,"evidence":null},"payloadHistory":{"value":null,"evidence":null},"deploymentLogs":{"value":null,"evidence":null},"maxDataRetentionSeconds":{"value":null,"evidence":null},"zeroDataRetention":{"value":null,"evidence":null},"controls":{"payloadHistoryOptOut":{"value":true,"evidence":{"source":"https://fal.ai/docs/documentation/model-apis/common-parameters","checkedAt":"2026-12-01","status":"documented"}},"outputExpiryControl":{"value":true,"evidence":{"source":"https://fal.ai/docs/documentation/model-apis/media-expiration","checkedAt":"2026-12-01","status":"documented"}},"privateOutputAcl":{"value":true,"evidence":{"source":"https://fal.ai/docs/documentation/model-apis/file-access-controls","checkedAt":"2026-12-01","status":"documented"}}},"notes":["fal documents optional per-request X-Fal-Store-IO: 0 (payload history opt-out) and X-Fal-Object-Lifecycle-Preference (CDN expiry and output ACL). Neither header disables deployment logs or establishes Zero Data Retention (ZDR) or regional residency."]}}],"pricing":[{"routeId":"google-undisclosed/google-nano-banana-2","modelId":"google/nano-banana-2","modelName":"Nano Banana 2","modality":"image","deploymentId":"google-undisclosed","providerId":"google","providerName":"Google","official":true,"endpointRegion":"undisclosed","processingScope":"undisclosed","processingRegions":null,"status":"documented","operations":["image-edit"],"resolutions":["0.5K","1K","2K","4K"],"durations":[],"currency":"USD","rates":[],"publishedPricing":{"summary":"Per 1M tokens: $0.50 input; $3.00 text/thinking output; $60.00 image output.","source":{"url":"https://aistudio.google.com/docs/pricing#gemini-3.1-flash-image","checkedAt":"2026-11-14"},"conditions":["Standard image-output components: 747 tokens ($0.0448) at 0.5K, 1,120 ($0.0672) at 1K, 1,680 ($0.1008) at 2K and 2,520 ($0.1512) at 4K. Single-output text-to-image managed quotes reserve a conservative max-token bound.","Search grounding and reference/edit operations carry separate charges and remain unpriced.","No region-specific tariff or inference/storage residency was verified."],"outputRates":[{"resolution":"0.5K","unit":"image","usdMicros":44800,"note":"Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.","approximate":true},{"resolution":"1K","unit":"image","usdMicros":67200,"note":"Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.","approximate":true},{"resolution":"2K","unit":"image","usdMicros":100800,"note":"Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.","approximate":true},{"resolution":"4K","unit":"image","usdMicros":151200,"note":"Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.","approximate":true}]},"pricingSource":{"url":"https://aistudio.google.com/docs/image-generation","checkedAt":"2026-11-02","note":"No request-price formula has been qualified for this route. A catalog listing is not a live verification."}},{"routeId":"fal-undisclosed/google-nano-banana-2","modelId":"google/nano-banana-2","modelName":"Nano Banana 2","modality":"image","deploymentId":"fal-undisclosed","providerId":"fal","providerName":"fal","official":false,"endpointRegion":"undisclosed","processingScope":"undisclosed","processingRegions":null,"status":"documented","operations":["image-edit"],"resolutions":["0.5K","1K","2K","4K"],"durations":[],"currency":"USD","rates":[],"publishedPricing":{"summary":"Output image: $0.06 at 0.5K; $0.08 at 1K; $0.12 at 2K; $0.16 at 4K (+$0.015 web search; +$0.002 high thinking).","source":{"url":"https://fal.ai/models/fal-ai/nano-banana-2","checkedAt":"2026-11-14"},"conditions":["0.5K, 2K and 4K bill at 0.75×, 1.5× and 2× the $0.08 1K base rate; single-output 1K text-to-image without grounding uses the $0.08 list estimate while other tiers, grounding, high thinking and edits remain unpriced for managed quotes.","No region-specific tariff or inference/storage residency was verified."],"outputRates":[{"resolution":"0.5K","unit":"image","usdMicros":60000,"note":"Base output-image rate without web search (+$0.015) or high thinking (+$0.002)."},{"resolution":"1K","unit":"image","usdMicros":80000,"note":"Base output-image rate without web search (+$0.015) or high thinking (+$0.002)."},{"resolution":"2K","unit":"image","usdMicros":120000,"note":"Base output-image rate without web search (+$0.015) or high thinking (+$0.002)."},{"resolution":"4K","unit":"image","usdMicros":160000,"note":"Base output-image rate without web search (+$0.015) or high thinking (+$0.002)."}]},"pricingSource":{"url":"https://fal.ai/models/fal-ai/nano-banana-2/edit","checkedAt":"2026-11-02","note":"No request-price formula has been qualified for this route. A catalog listing is not a live verification."}}],"deployments":[{"id":"fal-undisclosed","providerId":"fal","name":"fal · Region undisclosed","endpointRegion":"undisclosed","scope":"undisclosed","processingRegions":null,"storageRegions":null,"endpointTemplate":"https://queue.fal.run","credentialEnv":"FAL_KEY","source":{"url":"https://fal.ai/","checkedAt":"2026-11-02","note":"Regional coverage has not yet been qualified for this integration. This row must not be interpreted as a residency commitment."}},{"id":"google-undisclosed","providerId":"google","name":"Google · Region undisclosed","endpointRegion":"undisclosed","scope":"undisclosed","processingRegions":null,"storageRegions":null,"endpointTemplate":"https://generativelanguage.googleapis.com/v1beta","credentialEnv":"GEMINI_API_KEY","source":{"url":"https://ai.google.dev/","checkedAt":"2026-11-02","note":"Regional coverage has not yet been qualified for this integration. This row must not be interpreted as a residency commitment."}}]}