changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "acceptedImages": {
+ "type": "integer"
+ },
+ "batchId": {
+ "type": "string"
+ },
+ "complete": {
+ "type": "boolean"
+ },
+ "deliveryMode": {
+ "description": "native returns previews and original links; links returns original links; metadata omits image delivery.",
+ "enum": [
+ "native",
+ "links",
+ "metadata"
+ ],
+ "type": "string"
+ },
+ "failed": {
+ "type": "integer"
+ },
+ "failures": {
+ "items": {
+ "properties": {
+ "error": {
+ "type": "string"
+ },
+ "index": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "index",
+ "error"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "imageProgress": {
+ "properties": {
+ "failed": {
+ "type": "integer"
+ },
+ "pending": {
+ "type": "integer"
+ },
+ "ready": {
+ "type": "integer"
+ },
+ "total": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "total",
+ "ready",
+ "failed",
+ "pending"
+ ],
+ "type": "object"
+ },
+ "nextAction": {
+ "properties": {
+ "arguments": {
+ "properties": {
+ "action": {
+ "type": "string"
+ },
+ "batchId": {
+ "type": "string"
+ },
+ "cursor": {
+ "type": "string"
+ },
+ "deliveryMode": {
+ "enum": [
+ "native",
+ "links",
+ "metadata"
+ ],
+ "type": "string"
+ },
+ "requestId": {
+ "type": "string"
+ },
+ "seenImages": {
+ "additionalProperties": {
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "type": "object"
+ },
+ "taskIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "timeoutSeconds": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "presentReadyFirst": {
+ "type": "boolean"
+ },
+ "silent": {
+ "type": "boolean"
+ },
+ "tool": {
+ "enum": [
+ "wait_images",
+ "batch_generate"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "tool",
+ "arguments",
+ "silent",
+ "presentReadyFirst"
+ ],
+ "type": "object"
+ },
+ "pendingTaskIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "readyImagesRemaining": {
+ "type": "integer"
+ },
+ "requestId": {
+ "type": "string"
+ },
+ "requestedImages": {
+ "type": "integer"
+ },
+ "resultManifest": {
+ "properties": {
+ "inputs": {
+ "items": {
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "index": {
+ "type": "integer"
+ },
+ "status": {
+ "type": "string"
+ },
+ "taskId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "index",
+ "taskId",
+ "count",
+ "status"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "requestedImages": {
+ "type": "integer"
+ },
+ "results": {
+ "items": {
+ "properties": {
+ "imageIndex": {
+ "type": "integer"
+ },
+ "inputIndex": {
+ "type": "integer"
+ },
+ "resultId": {
+ "type": "string"
+ },
+ "saved": {
+ "type": "boolean"
+ },
+ "settlement": {
+ "properties": {
+ "chargedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "estimatedMaxPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "netChargedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "quotedMaxPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "refundedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "resultId",
+ "inputIndex",
+ "imageIndex",
+ "status",
+ "saved"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "requestedImages",
+ "inputs",
+ "results"
+ ],
+ "type": "object"
+ },
+ "settlement": {
+ "properties": {
+ "chargedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "estimatedMaxPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "netChargedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "quotedMaxPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "refundedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "type": "string"
+ },
+ "submissionComplete": {
+ "type": "boolean"
+ },
+ "succeeded": {
+ "type": "integer"
+ },
+ "tasks": {
+ "items": {
+ "properties": {
+ "cancelRequested": {
+ "type": "boolean"
+ },
+ "deliveryStatus": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "failedImages": {
+ "items": {
+ "properties": {
+ "error": {
+ "type": "string"
+ },
+ "failure": {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "nextAction": {
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "retryable",
+ "nextAction"
+ ],
+ "type": "object"
+ },
+ "index": {
+ "type": "integer"
+ },
+ "settlement": {
+ "properties": {
+ "chargedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "estimatedMaxPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "netChargedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "quotedMaxPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "refundedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "index",
+ "error"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "failure": {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "nextAction": {
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "retryable",
+ "nextAction"
+ ],
+ "type": "object"
+ },
+ "generation": {
+ "type": "object"
+ },
+ "imageProgress": {
+ "properties": {
+ "failed": {
+ "type": "integer"
+ },
+ "pending": {
+ "type": "integer"
+ },
+ "ready": {
+ "type": "integer"
+ },
+ "total": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "total",
+ "ready",
+ "failed",
+ "pending"
+ ],
+ "type": "object"
+ },
+ "images": {
+ "items": {
+ "properties": {
+ "deliveryStatus": {
+ "type": "string"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "index": {
+ "type": "integer"
+ },
+ "linkExpiresAt": {
+ "type": "string"
+ },
+ "mimeType": {
+ "type": "string"
+ },
+ "retainedUntil": {
+ "type": "string"
+ },
+ "revisedPrompt": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "index"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "lineage": {
+ "type": "object"
+ },
+ "notice": {
+ "type": "string"
+ },
+ "outputContract": {
+ "type": "object"
+ },
+ "settlement": {
+ "properties": {
+ "chargedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "estimatedMaxPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "netChargedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "quotedMaxPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "refundedPoints": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "description": "Current task state, including running and terminal success, failure or cancellation.",
+ "type": "string"
+ },
+ "taskId": {
+ "description": "Existing owned task ID.",
+ "type": "string"
+ },
+ "timing": {
+ "type": "object"
+ }
+ },
+ "required": [
+ "taskId",
+ "status"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "unsubmittedImages": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "status",
+ "complete",
+ "succeeded",
+ "failed",
+ "submissionComplete",
+ "imageProgress",
+ "tasks"
+ ],
+ "type": "object"
+}