changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "assets": {
- "additionalProperties": false,
- "properties": {
- "audioUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "materialUrls": {
- "items": {
- "format": "uri",
- "type": "string"
- },
- "type": "array"
- },
- "subtitleUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "audioUrl",
- "subtitleUrl",
- "materialUrls"
- ],
- "type": "object"
- },
- "billing": {
- "additionalProperties": false,
- "properties": {
- "priceUsd": {
- "exclusiveMinimum": 0,
- "type": "number"
- }
- },
- "required": [
- "priceUsd"
- ],
- "type": "object"
- },
- "capability": {
- "type": "string"
- },
- "content": {
- "additionalProperties": false,
- "properties": {
- "language": {
- "type": "string"
- },
- "script": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "script",
- "language"
- ],
- "type": "object"
- },
- "engine": {
- "additionalProperties": false,
- "properties": {
- "provider": {
- "const": "MoneyPrinterTurbo",
- "type": "string"
- },
- "upstreamTaskId": {
- "type": "string"
- }
- },
- "required": [
- "provider",
- "upstreamTaskId"
- ],
- "type": "object"
- },
- "generatedAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
- "type": "string"
- },
- "metadata": {
- "additionalProperties": false,
- "properties": {
- "sourceUrls": {
- "items": {
- "format": "uri",
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "sourceUrls"
- ],
- "type": "object"
- },
- "success": {
- "const": true,
- "type": "boolean"
- },
- "task": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "status": {
- "enum": [
- "processing",
- "completed"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "status"
- ],
- "type": "object"
- },
- "video": {
- "additionalProperties": false,
- "properties": {
- "aspectRatio": {
- "enum": [
- "9:16",
- "16:9",
- "1:1"
- ],
- "type": "string"
- },
- "durationSeconds": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "resolution": {
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "url",
- "durationSeconds",
- "aspectRatio",
- "resolution"
- ],
- "type": "object"
- }
- },
- "required": [
- "success",
- "capability",
- "task",
- "video",
- "content",
- "assets",
- "engine",
- "billing",
- "generatedAt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "nextAction": {
- "additionalProperties": false,
- "properties": {
- "instruction": {
- "type": "string"
- },
- "target": {
- "const": "x402_endpoint",
- "type": "string"
- },
- "type": {
- "const": "pay_and_retry",
- "type": "string"
- }
- },
- "required": [
- "type",
- "target",
- "instruction"
- ],
- "type": "object"
- },
- "payment": {
- "additionalProperties": false,
- "properties": {
- "endpoint": {
- "type": "string"
- },
- "method": {
- "const": "POST",
- "type": "string"
- },
- "retrySameBody": {
- "const": true,
- "type": "boolean"
- }
- },
- "required": [
- "endpoint",
- "method",
- "retrySameBody"
- ],
- "type": "object"
- },
- "preview": {
- "additionalProperties": false,
- "properties": {
- "fullResultAvailable": {
- "const": true,
- "type": "boolean"
- },
- "inputAccepted": {
- "const": true,
- "type": "boolean"
- },
- "summary": {
- "type": "string"
- },
- "useCases": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "inputAccepted",
- "fullResultAvailable",
- "summary",
- "useCases"
- ],
- "type": "object"
- },
- "price": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "minimum": 0,
- "type": "number"
- },
- "currency": {
- "type": "string"
- },
- "protocol": {
- "const": "x402",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency",
- "protocol"
- ],
- "type": "object"
- },
- "requestId": {
- "type": "string"
- },
- "status": {
- "const": "payment_required",
- "type": "string"
- },
- "tool": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "tool",
- "requestId",
- "price",
- "preview",
- "payment",
- "nextAction"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assets": {
+ "additionalProperties": false,
+ "properties": {
+ "audioUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "materialUrls": {
+ "items": {
+ "format": "uri",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "subtitleUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "audioUrl",
+ "subtitleUrl",
+ "materialUrls"
+ ],
+ "type": "object"
+ },
+ "billing": {
+ "additionalProperties": false,
+ "properties": {
+ "priceUsd": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "priceUsd"
+ ],
+ "type": "object"
+ },
+ "capability": {
+ "type": "string"
+ },
+ "content": {
+ "additionalProperties": false,
+ "properties": {
+ "language": {
+ "type": "string"
+ },
+ "script": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "script",
+ "language"
+ ],
+ "type": "object"
+ },
+ "engine": {
+ "additionalProperties": false,
+ "properties": {
+ "provider": {
+ "const": "MoneyPrinterTurbo",
+ "type": "string"
+ },
+ "upstreamTaskId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "provider",
+ "upstreamTaskId"
+ ],
+ "type": "object"
+ },
+ "generatedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "metadata": {
+ "additionalProperties": false,
+ "properties": {
+ "sourceUrls": {
+ "items": {
+ "format": "uri",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "sourceUrls"
+ ],
+ "type": "object"
+ },
+ "success": {
+ "const": true,
+ "type": "boolean"
+ },
+ "task": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "processing",
+ "completed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "status"
+ ],
+ "type": "object"
+ },
+ "video": {
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "9:16",
+ "16:9",
+ "1:1"
+ ],
+ "type": "string"
+ },
+ "durationSeconds": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resolution": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "durationSeconds",
+ "aspectRatio",
+ "resolution"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "success",
+ "capability",
+ "task",
+ "video",
+ "content",
+ "assets",
+ "engine",
+ "billing",
+ "generatedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nextAction": {
+ "additionalProperties": false,
+ "properties": {
+ "instruction": {
+ "type": "string"
+ },
+ "target": {
+ "enum": [
+ "x402_endpoint",
+ "mcp_credits_endpoint",
+ "payment_endpoint",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "pay_and_retry",
+ "authorize_and_use_mcp_credits",
+ "payment_unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "target",
+ "instruction"
+ ],
+ "type": "object"
+ },
+ "payment": {
+ "additionalProperties": false,
+ "properties": {
+ "endpoint": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "method": {
+ "const": "POST",
+ "type": "string"
+ },
+ "retrySameBody": {
+ "const": true,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "endpoint",
+ "method",
+ "retrySameBody"
+ ],
+ "type": "object"
+ },
+ "paymentGuidance": {},
+ "preview": {
+ "additionalProperties": false,
+ "properties": {
+ "fullResultAvailable": {
+ "const": true,
+ "type": "boolean"
+ },
+ "inputAccepted": {
+ "const": true,
+ "type": "boolean"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "useCases": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "inputAccepted",
+ "fullResultAvailable",
+ "summary",
+ "useCases"
+ ],
+ "type": "object"
+ },
+ "price": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "protocol": {
+ "enum": [
+ "x402",
+ "api_credits",
+ "subscription",
+ "l402",
+ "mpp",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "protocol"
+ ],
+ "type": "object"
+ },
+ "requestId": {
+ "type": "string"
+ },
+ "status": {
+ "const": "payment_required",
+ "type": "string"
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "tool",
+ "requestId",
+ "price",
+ "preview",
+ "payment",
+ "nextAction"
+ ],
+ "type": "object"
+ }
+]