addedInput schema / properties / approvedCostUsd
Added value: +{
+ "description": "Only needed above the confirmation threshold: the cost in USD the user approved.",
+ "type": "number"
+}
addedInput schema / properties / aspectRatio
Added value: +{
+ "description": "Change the aspect ratio (outpainting). Omit to keep the source ratio.",
+ "type": "string"
+}
addedInput schema / properties / image
Added value: +{
+ "description": "The image to edit: file path, gemini-media:// URI from an earlier result, or data: URI.",
+ "type": "string"
+}
removedInput schema / properties / imagePath
Removed value: -{
- "description": "Path to the image to edit",
- "type": "string"
-}
addedInput schema / properties / imageSize
Added value: +{
+ "description": "Output size: 1K, 2K or 4K (512 only on the deprecated gemini-3.1-flash-image).",
+ "type": "string"
+}
changedInput schema / properties / model / description
Previous value: -"Model tier: nb2 (default) or pro"New value: +"Model ID or alias. Defaults to the model that created the source image, else nb2."
addedInput schema / properties / outputName
Added value: +{
+ "description": "Optional base file name for the saved file. Defaults to the source name plus -edit.",
+ "type": "string"
+}
changedInput schema / properties / prompt / description
Previous value: -"Text description of the edit to apply"New value: +"The change to make, stated specifically, plus what must stay the same (e.g. 'Replace the sky with a sunset; keep the people, framing and lighting on faces unchanged')."
addedInput schema / properties / referenceImages
Added value: +{
+ "description": "Optional extra images to pull elements or style from (e.g. 'put the logo from image 2 on the mug').",
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+}
changedInput schema / required
Previous value: -[
- "prompt",
- "imagePath"
-]New value: +[
+ "image",
+ "prompt"
+]
addedOutput schema / properties / cost
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "How usd was derived: usage_metadata, unit_params, token_estimate or unpriced",
+ "type": "string"
+ },
+ "breakdown": {
+ "type": "string"
+ },
+ "estimatedUsd": {
+ "description": "Estimate computed before the call from the price table",
+ "type": "number"
+ },
+ "pending": {
+ "description": "True while a video job is still running (cost is reserved, not final)",
+ "type": "boolean"
+ },
+ "priceAsOf": {
+ "type": "string"
+ },
+ "usd": {
+ "description": "Best-known cost in USD; reconciled from token usage when the API reports it",
+ "type": "number"
+ }
+ },
+ "required": [
+ "estimatedUsd",
+ "usd",
+ "basis"
+ ],
+ "type": "object"
+}
removedOutput schema / properties / filePath
Removed value: -{
- "type": "string"
-}
addedOutput schema / properties / files
Added value: +{
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "bytes": {
+ "type": "integer"
+ },
+ "durationSeconds": {
+ "type": "number"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "mimeType": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "path": {
+ "description": "Absolute path of the saved file on the server's filesystem",
+ "type": "string"
+ },
+ "uri": {
+ "description": "MCP resource URI; pass it back as an input to other tools or read it with resources/read",
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "path",
+ "uri",
+ "name",
+ "mimeType",
+ "bytes"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+}
addedOutput schema / properties / grounding
Added value: +{
+ "additionalProperties": false,
+ "description": "Google Search queries the model ran and the pages it used (googleSearch only)",
+ "properties": {
+ "queries": {
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "sources": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "uri": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "uri"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ }
+ },
+ "type": [
+ "null",
+ "object"
+ ]
+}
removedOutput schema / properties / mimeType
Removed value: -{
- "type": "string"
-}
addedOutput schema / properties / text
Added value: +{
+ "description": "Commentary the model returned alongside the image(s)",
+ "type": "string"
+}
addedOutput schema / properties / warnings
Added value: +{
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+}
changedOutput schema / required
Previous value: -[
- "filePath",
- "model",
- "mimeType"
-]New value: +[
+ "files",
+ "model",
+ "cost"
+]