{
  "openapi": "3.1.0",
  "info": {
    "title": "Anyuse API",
    "version": "1.0.0",
    "description": "Public capability and execution API. Runtime pricing is authoritative. Account key management requires an owner credential."
  },
  "servers": [
    {
      "url": "https://api.anyuse.app/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "paths": {
    "/capabilities": {
      "get": {
        "summary": "List enabled capabilities and prices",
        "security": [],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "category": {
                            "type": "string"
                          },
                          "pricing": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "pricing_pending": {
                            "type": "boolean"
                          },
                          "input_schema": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "output_schema": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Conflict or unavailable pricing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Unavailable; preserve execution_id and the original request when provided",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Display language; overrides Accept-Language. Defaults to English.",
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "zh"
              ]
            }
          },
          {
            "name": "Accept-Language",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "listCapabilities"
      }
    },
    "/capabilities/{id}": {
      "get": {
        "summary": "Read an enabled capability",
        "security": [],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "category": {
                      "type": "string"
                    },
                    "pricing": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "pricing_pending": {
                      "type": "boolean"
                    },
                    "input_schema": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "output_schema": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Conflict or unavailable pricing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Unavailable; preserve execution_id and the original request when provided",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Display language; overrides Accept-Language. Defaults to English.",
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "zh"
              ]
            }
          },
          {
            "name": "Accept-Language",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "getCapability"
      }
    },
    "/quotes": {
      "post": {
        "summary": "Create a quote without executing a paid provider",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "201": {
            "description": "Quote created; check requires_budget and price_usd",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "operation": {
                      "type": "string"
                    },
                    "pricing": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "price_usd": {
                      "type": "string"
                    },
                    "requires_budget": {
                      "type": "boolean"
                    },
                    "expires_at": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Conflict or unavailable pricing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Unavailable; preserve execution_id and the original request when provided",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "redbook.note.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string"
                          },
                          "noteType": {
                            "default": "ALL",
                            "description": "All posts, videos or image/text posts",
                            "enum": [
                              "ALL",
                              "VIDEO_NOTE",
                              "NORMAL_NOTE"
                            ],
                            "type": "string"
                          },
                          "page": {
                            "default": 1,
                            "description": "Page number, starting at 1",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "search_id": {
                            "default": "",
                            "description": "Search ID returned by service for pagination",
                            "maxLength": 4096,
                            "type": "string"
                          },
                          "search_session_id": {
                            "default": "",
                            "description": "Session ID returned by service for pagination",
                            "maxLength": 4096,
                            "type": "string"
                          },
                          "sortType": {
                            "default": "general",
                            "description": "Sort by relevance, likes, time, comments or saves",
                            "enum": [
                              "general",
                              "popularity_descending",
                              "time_descending",
                              "comment_descending",
                              "collect_descending"
                            ],
                            "type": "string"
                          },
                          "timeFilter": {
                            "default": "ALL",
                            "description": "All time, one day, one week or six months",
                            "enum": [
                              "ALL",
                              "ONE_DAY",
                              "ONE_WEEK",
                              "HALF_YEAR"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "redbook.note.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "noteId": {
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "noteId"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "redbook.note.comments"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "cursor": {
                            "default": "",
                            "description": "Cursor returned by the previous page",
                            "maxLength": 4096,
                            "type": "string"
                          },
                          "index": {
                            "default": 0,
                            "description": "Comment index",
                            "maximum": 100000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "note_id": {
                            "description": "Note ID",
                            "maxLength": 128,
                            "minLength": 1,
                            "type": "string"
                          },
                          "page_area": {
                            "default": "UNFOLDED",
                            "description": "Comment collapse state",
                            "enum": [
                              "UNFOLDED",
                              "FOLDED"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "note_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "redbook.account.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "user_id": {
                            "description": "Author ID",
                            "maxLength": 128,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "user_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "redbook.account.notes"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "cursor": {
                            "default": "",
                            "description": "Cursor returned by the previous page",
                            "maxLength": 4096,
                            "type": "string"
                          },
                          "user_id": {
                            "description": "Author ID",
                            "maxLength": 128,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "user_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "redbook.note.search_session"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string"
                          },
                          "page": {
                            "default": 1,
                            "description": "Page",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "search_id": {
                            "default": "",
                            "description": "Previous search ID",
                            "maxLength": 4096,
                            "type": "string"
                          },
                          "search_session_id": {
                            "default": "",
                            "description": "Previous search session ID",
                            "maxLength": 4096,
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "redbook.account.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string"
                          },
                          "page": {
                            "default": 1,
                            "description": "Page",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "search_id": {
                            "default": "",
                            "description": "Previous search ID",
                            "maxLength": 4096,
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "douyin.video.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "backtrace": {
                            "default": "",
                            "description": "Previously returned backtrace",
                            "maxLength": 4096,
                            "type": "string"
                          },
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string"
                          },
                          "offset": {
                            "default": 0,
                            "description": "Previously returned offset",
                            "maximum": 100000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "page": {
                            "default": 1,
                            "description": "Page number",
                            "maximum": 200,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "search_id": {
                            "default": "",
                            "description": "Previously returned search_id",
                            "maxLength": 4096,
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "douyin.video.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "video_id": {
                            "description": "Douyin post ID",
                            "maxLength": 128,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "video_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "douyin.video.comments"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "count": {
                            "default": 20,
                            "description": "Results per page",
                            "maximum": 50,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "cursor": {
                            "default": 0,
                            "description": "Cursor returned by the previous page",
                            "maximum": 1000000000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "video_id": {
                            "description": "Douyin post ID",
                            "maxLength": 128,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "video_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "douyin.library.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string"
                          },
                          "offset": {
                            "default": 0,
                            "description": "Offset",
                            "maximum": 100000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "sort": {
                            "default": "relevance",
                            "description": "Sort order",
                            "enum": [
                              "relevance",
                              "newest",
                              "popular"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "douyin.account.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string"
                          },
                          "offset": {
                            "default": 0,
                            "description": "Offset",
                            "maximum": 100000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "sort": {
                            "default": "relevance",
                            "description": "Sort order",
                            "enum": [
                              "relevance",
                              "newest",
                              "popular"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "wechat-official.article.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string"
                          },
                          "offset": {
                            "default": 0,
                            "description": "Offset",
                            "maximum": 100000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "sort": {
                            "default": "relevance",
                            "description": "Sort order",
                            "enum": [
                              "relevance",
                              "newest",
                              "popular"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "wechat-official.account.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string"
                          },
                          "offset": {
                            "default": 0,
                            "description": "Offset",
                            "maximum": 100000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "sort": {
                            "default": "relevance",
                            "description": "Sort order",
                            "enum": [
                              "relevance",
                              "newest",
                              "popular"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "wechat-official.article.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "url": {
                            "description": "Full URL of the official-account article",
                            "format": "uri",
                            "maxLength": 4096,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.serper.web"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "country": {
                            "description": "Country code, e.g. us or cn",
                            "maxLength": 2,
                            "minLength": 1,
                            "type": "string"
                          },
                          "language": {
                            "description": "Language code, e.g. en or zh-cn",
                            "maxLength": 10,
                            "minLength": 1,
                            "type": "string"
                          },
                          "num": {
                            "default": 10,
                            "description": "Results per page",
                            "maximum": 10,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "page": {
                            "default": 1,
                            "description": "Page number",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.serper.news"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "country": {
                            "description": "Country code, e.g. us or cn",
                            "maxLength": 2,
                            "minLength": 1,
                            "type": "string"
                          },
                          "language": {
                            "description": "Language code, e.g. en or zh-cn",
                            "maxLength": 10,
                            "minLength": 1,
                            "type": "string"
                          },
                          "num": {
                            "default": 10,
                            "description": "Results per page",
                            "maximum": 10,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "page": {
                            "default": 1,
                            "description": "Page number",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.serper.images"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "country": {
                            "description": "Country code, e.g. us or cn",
                            "maxLength": 2,
                            "minLength": 1,
                            "type": "string"
                          },
                          "language": {
                            "description": "Language code, e.g. en or zh-cn",
                            "maxLength": 10,
                            "minLength": 1,
                            "type": "string"
                          },
                          "num": {
                            "default": 10,
                            "description": "Results per page",
                            "maximum": 10,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "page": {
                            "default": 1,
                            "description": "Page number",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.serper.videos"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "country": {
                            "description": "Country code, e.g. us or cn",
                            "maxLength": 2,
                            "minLength": 1,
                            "type": "string"
                          },
                          "language": {
                            "description": "Language code, e.g. en or zh-cn",
                            "maxLength": 10,
                            "minLength": 1,
                            "type": "string"
                          },
                          "num": {
                            "default": 10,
                            "description": "Results per page",
                            "maximum": 10,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "page": {
                            "default": 1,
                            "description": "Page number",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.serper.places"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "country": {
                            "description": "Country code, e.g. us or cn",
                            "maxLength": 2,
                            "minLength": 1,
                            "type": "string"
                          },
                          "language": {
                            "description": "Language code, e.g. en or zh-cn",
                            "maxLength": 10,
                            "minLength": 1,
                            "type": "string"
                          },
                          "num": {
                            "default": 10,
                            "description": "Results per page",
                            "maximum": 10,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "page": {
                            "default": 1,
                            "description": "Page number",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.serper.shopping"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "country": {
                            "description": "Country code, e.g. us or cn",
                            "maxLength": 2,
                            "minLength": 1,
                            "type": "string"
                          },
                          "language": {
                            "description": "Language code, e.g. en or zh-cn",
                            "maxLength": 10,
                            "minLength": 1,
                            "type": "string"
                          },
                          "num": {
                            "default": 10,
                            "description": "Results per page",
                            "maximum": 10,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "page": {
                            "default": 1,
                            "description": "Page number",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "speech.volc.transcribe"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "audio_url": {
                            "description": "Publicly accessible upstream HTTPS audio URL",
                            "format": "uri",
                            "maxLength": 4096,
                            "minLength": 1,
                            "type": "string"
                          },
                          "language": {
                            "description": "Language code; auto-detected by the provider if omitted",
                            "maxLength": 20,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "audio_url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "speech.volc.synthesize"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "speaker": {
                            "description": "Voice ID",
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string"
                          },
                          "speech_rate": {
                            "default": 0,
                            "description": "Speech rate: -50 to 100",
                            "maximum": 100,
                            "minimum": -50,
                            "type": "integer"
                          },
                          "text": {
                            "description": "Text to read aloud",
                            "maxLength": 2000,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "text",
                          "speaker"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "speech.volc.synthesize_stream"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "speaker": {
                            "description": "Voice ID",
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string"
                          },
                          "speech_rate": {
                            "default": 0,
                            "description": "Speech rate: -50 to 100",
                            "maximum": 100,
                            "minimum": -50,
                            "type": "integer"
                          },
                          "text": {
                            "description": "Text to read aloud",
                            "maxLength": 2000,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "text",
                          "speaker"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.deepseek.web"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "count": {
                            "default": 10,
                            "description": "Number of results",
                            "maximum": 50,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 128,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.exa.web"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "num": {
                            "default": 5,
                            "description": "Results",
                            "maximum": 10,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.tavily.web"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "num": {
                            "default": 5,
                            "description": "Results",
                            "maximum": 10,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.anysearch.web"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "web.deepseek.read"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "url": {
                            "description": "Public HTTPS URL",
                            "format": "uri",
                            "maxLength": 4096,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "web.exa.read"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "url": {
                            "description": "Public HTTPS URL",
                            "format": "uri",
                            "maxLength": 4096,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "web.tavily.read"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "url": {
                            "description": "Public HTTPS URL",
                            "format": "uri",
                            "maxLength": 4096,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "web.anysearch.read"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "url": {
                            "description": "Public HTTPS URL",
                            "format": "uri",
                            "maxLength": 4096,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "web.firecrawl.read"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "url": {
                            "description": "Public HTTPS URL",
                            "format": "uri",
                            "maxLength": 4096,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "web.jina.read"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "url": {
                            "description": "Public HTTPS URL",
                            "format": "uri",
                            "maxLength": 4096,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.bocha.web"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "num": {
                            "default": 5,
                            "description": "Results",
                            "maximum": 10,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "image.any.generate"
                      },
                      "input": {
                        "oneOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "gpt-image-2.6-flare",
                                "description": "gpt-image-2.6-flare",
                                "enum": [
                                  "gpt-image-2.6-flare"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "png",
                                "description": "png",
                                "enum": [
                                  "png"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 3000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "medium",
                                "description": "medium",
                                "enum": [
                                  "medium"
                                ],
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedream-5.5",
                                "description": "seedream-5.5",
                                "enum": [
                                  "seedream-5.5"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 3000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1.5K",
                                "description": "1.5K",
                                "enum": [
                                  "1.5K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "seedream-5.5",
                                "description": "seedream-5.5",
                                "enum": [
                                  "seedream-5.5"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 3000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1.5K",
                                "description": "1.5K",
                                "enum": [
                                  "1.5K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "image_url",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedream-5.5",
                                "description": "seedream-5.5",
                                "enum": [
                                  "seedream-5.5"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 3000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "2K",
                                "description": "2K",
                                "enum": [
                                  "2K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "resolution",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "seedream-5.5",
                                "description": "seedream-5.5",
                                "enum": [
                                  "seedream-5.5"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 3000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "2K",
                                "description": "2K",
                                "enum": [
                                  "2K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "resolution",
                              "image_url",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "flux-schnell",
                                "description": "flux-schnell",
                                "enum": [
                                  "flux-schnell"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "steps": {
                                "default": 4,
                                "description": "Fixed output specification",
                                "maximum": 4,
                                "minimum": 4,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "flux-2-pro",
                                "description": "flux-2-pro",
                                "enum": [
                                  "flux-2-pro"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1MP",
                                "description": "1MP",
                                "enum": [
                                  "1MP"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "flux-2-flex",
                                "description": "flux-2-flex",
                                "enum": [
                                  "flux-2-flex"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1MP",
                                "description": "1MP",
                                "enum": [
                                  "1MP"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "flux-2-max",
                                "description": "flux-2-max",
                                "enum": [
                                  "flux-2-max"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1MP",
                                "description": "1MP",
                                "enum": [
                                  "1MP"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "flux-3-image-klein",
                                "description": "flux-3-image-klein",
                                "enum": [
                                  "flux-3-image-klein"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "flux-3-image",
                                "description": "flux-3-image",
                                "enum": [
                                  "flux-3-image"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "flux-kontext-pro",
                                "description": "flux-kontext-pro",
                                "enum": [
                                  "flux-kontext-pro"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "flux-kontext-max",
                                "description": "flux-kontext-max",
                                "enum": [
                                  "flux-kontext-max"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-2.5-flash-image-preview",
                                "description": "gemini-2.5-flash-image-preview",
                                "enum": [
                                  "gemini-2.5-flash-image-preview"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-2.5-flash-image-preview-official",
                                "description": "gemini-2.5-flash-image-preview-official",
                                "enum": [
                                  "gemini-2.5-flash-image-preview-official"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-3-pro-image-preview",
                                "description": "gemini-3-pro-image-preview",
                                "enum": [
                                  "gemini-3-pro-image-preview"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-3-pro-image-preview-official",
                                "description": "gemini-3-pro-image-preview-official",
                                "enum": [
                                  "gemini-3-pro-image-preview-official"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-3.1-flash-lite-image",
                                "description": "gemini-3.1-flash-lite-image",
                                "enum": [
                                  "gemini-3.1-flash-lite-image"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-3.1-flash-lite-image-ext",
                                "description": "gemini-3.1-flash-lite-image-ext",
                                "enum": [
                                  "gemini-3.1-flash-lite-image-ext"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-3.1-flash-image-preview",
                                "description": "gemini-3.1-flash-image-preview",
                                "enum": [
                                  "gemini-3.1-flash-image-preview"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-3.1-flash-image-preview-official",
                                "description": "gemini-3.1-flash-image-preview-official",
                                "enum": [
                                  "gemini-3.1-flash-image-preview-official"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-nano-banana-2.1",
                                "description": "gemini-nano-banana-2.1",
                                "enum": [
                                  "gemini-nano-banana-2.1"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-nano-banana-2.1-ext",
                                "description": "gemini-nano-banana-2.1-ext",
                                "enum": [
                                  "gemini-nano-banana-2.1-ext"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gpt-image-1-official",
                                "description": "gpt-image-1-official",
                                "enum": [
                                  "gpt-image-1-official"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "medium",
                                "description": "medium",
                                "enum": [
                                  "medium"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gpt-image-1.5-official",
                                "description": "gpt-image-1.5-official",
                                "enum": [
                                  "gpt-image-1.5-official"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "medium",
                                "description": "medium",
                                "enum": [
                                  "medium"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gpt-image-2.5-ext-flare",
                                "description": "gpt-image-2.5-ext-flare",
                                "enum": [
                                  "gpt-image-2.5-ext-flare"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gpt-image-2.5-ext-sunburst",
                                "description": "gpt-image-2.5-ext-sunburst",
                                "enum": [
                                  "gpt-image-2.5-ext-sunburst"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gpt-image-2.5-flare",
                                "description": "gpt-image-2.5-flare",
                                "enum": [
                                  "gpt-image-2.5-flare"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "medium",
                                "description": "medium",
                                "enum": [
                                  "medium"
                                ],
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gpt-image-2.5-sunburst",
                                "description": "gpt-image-2.5-sunburst",
                                "enum": [
                                  "gpt-image-2.5-sunburst"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "medium",
                                "description": "medium",
                                "enum": [
                                  "medium"
                                ],
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gpt-image-2.6-ext-sunburst",
                                "description": "gpt-image-2.6-ext-sunburst",
                                "enum": [
                                  "gpt-image-2.6-ext-sunburst"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "medium",
                                "description": "medium",
                                "enum": [
                                  "medium"
                                ],
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gpt-image-2.6-flare-official",
                                "description": "gpt-image-2.6-flare-official",
                                "enum": [
                                  "gpt-image-2.6-flare-official"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "medium",
                                "description": "medium",
                                "enum": [
                                  "medium"
                                ],
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gpt-image-2.6-sunburst",
                                "description": "gpt-image-2.6-sunburst",
                                "enum": [
                                  "gpt-image-2.6-sunburst"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "medium",
                                "description": "medium",
                                "enum": [
                                  "medium"
                                ],
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gpt-image-2",
                                "description": "gpt-image-2",
                                "enum": [
                                  "gpt-image-2"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gpt-image-2-official",
                                "description": "gpt-image-2-official",
                                "enum": [
                                  "gpt-image-2-official"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "medium",
                                "description": "medium",
                                "enum": [
                                  "medium"
                                ],
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "grok-imagine-2.0-ext",
                                "description": "grok-imagine-2.0-ext",
                                "enum": [
                                  "grok-imagine-2.0-ext"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "quality",
                                "description": "quality",
                                "enum": [
                                  "quality"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "grok-imagine-image-2.0",
                                "description": "grok-imagine-image-2.0",
                                "enum": [
                                  "grok-imagine-image-2.0"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "low",
                                "description": "low",
                                "enum": [
                                  "low"
                                ],
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "grok-imagine-1.5-ext",
                                "description": "grok-imagine-1.5-ext",
                                "enum": [
                                  "grok-imagine-1.5-ext"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "hy-image-v3.5-preview",
                                "description": "hy-image-v3.5-preview",
                                "enum": [
                                  "hy-image-v3.5-preview"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "kling-v4-image",
                                "description": "kling-v4-image",
                                "enum": [
                                  "kling-v4-image"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "2K",
                                "description": "2K",
                                "enum": [
                                  "2K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "kling-v4-long-image",
                                "description": "kling-v4-long-image",
                                "enum": [
                                  "kling-v4-long-image"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "mai-image-2.6",
                                "description": "mai-image-2.6",
                                "enum": [
                                  "mai-image-2.6"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "mai-image-2.6-flash",
                                "description": "mai-image-2.6-flash",
                                "enum": [
                                  "mai-image-2.6-flash"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "mai-image-2.7",
                                "description": "mai-image-2.7",
                                "enum": [
                                  "mai-image-2.7"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "mai-image-2.7-flash",
                                "description": "mai-image-2.7-flash",
                                "enum": [
                                  "mai-image-2.7-flash"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "minimax-h3-image-highspeed",
                                "description": "minimax-h3-image-highspeed",
                                "enum": [
                                  "minimax-h3-image-highspeed"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "4K",
                                "description": "4K",
                                "enum": [
                                  "4K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "minimax-h3-image",
                                "description": "minimax-h3-image",
                                "enum": [
                                  "minimax-h3-image"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "4K",
                                "description": "4K",
                                "enum": [
                                  "4K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "muse-image-ext",
                                "description": "muse-image-ext",
                                "enum": [
                                  "muse-image-ext"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "qwen-image-3.0",
                                "description": "qwen-image-3.0",
                                "enum": [
                                  "qwen-image-3.0"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "qwen-image-3.0-pro",
                                "description": "qwen-image-3.0-pro",
                                "enum": [
                                  "qwen-image-3.0-pro"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "qwen-image-2.0",
                                "description": "qwen-image-2.0",
                                "enum": [
                                  "qwen-image-2.0"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "qwen-image-2.0-pro",
                                "description": "qwen-image-2.0-pro",
                                "enum": [
                                  "qwen-image-2.0-pro"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedream-4.5",
                                "description": "seedream-4.5",
                                "enum": [
                                  "seedream-4.5"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "2K",
                                "description": "2K",
                                "enum": [
                                  "2K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedream-4.0",
                                "description": "seedream-4.0",
                                "enum": [
                                  "seedream-4.0"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "2K",
                                "description": "2K",
                                "enum": [
                                  "2K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedream-5-0-flash",
                                "description": "seedream-5-0-flash",
                                "enum": [
                                  "seedream-5-0-flash"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedream-5-0-pro",
                                "description": "seedream-5-0-pro",
                                "enum": [
                                  "seedream-5-0-pro"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedream-5-0-lite",
                                "description": "seedream-5-0-lite",
                                "enum": [
                                  "seedream-5-0-lite"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "2K",
                                "description": "2K",
                                "enum": [
                                  "2K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "wan2.7-image-pro",
                                "description": "wan2.7-image-pro",
                                "enum": [
                                  "wan2.7-image-pro"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "2K",
                                "description": "2K",
                                "enum": [
                                  "2K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "wan2.7-image",
                                "description": "wan2.7-image",
                                "enum": [
                                  "wan2.7-image"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "2K",
                                "description": "2K",
                                "enum": [
                                  "2K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "z-image-turbo",
                                "description": "z-image-turbo",
                                "enum": [
                                  "z-image-turbo"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1K",
                                "description": "1K",
                                "enum": [
                                  "1K"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "grok-imagine-1.5-edit-ext",
                                "description": "grok-imagine-1.5-edit-ext",
                                "enum": [
                                  "grok-imagine-1.5-edit-ext"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "image_url",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "grok-imagine-image",
                                "description": "grok-imagine-image",
                                "enum": [
                                  "grok-imagine-image"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "count": {
                                "default": 1,
                                "description": "Fixed output specification",
                                "maximum": 1,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "model": {
                                "default": "grok-imagine-image-quality",
                                "description": "grok-imagine-image-quality",
                                "enum": [
                                  "grok-imagine-image-quality"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1k",
                                "description": "1k",
                                "enum": [
                                  "1k"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "midjourney-v5.1",
                                "description": "midjourney-v5.1",
                                "enum": [
                                  "midjourney-v5.1"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "1",
                                "description": "1",
                                "enum": [
                                  "1"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "midjourney-v5.2",
                                "description": "midjourney-v5.2",
                                "enum": [
                                  "midjourney-v5.2"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "1",
                                "description": "1",
                                "enum": [
                                  "1"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "midjourney-v6.1",
                                "description": "midjourney-v6.1",
                                "enum": [
                                  "midjourney-v6.1"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "1",
                                "description": "1",
                                "enum": [
                                  "1"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "midjourney-v7",
                                "description": "midjourney-v7",
                                "enum": [
                                  "midjourney-v7"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "1",
                                "description": "1",
                                "enum": [
                                  "1"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "midjourney-v8.1",
                                "description": "midjourney-v8.1",
                                "enum": [
                                  "midjourney-v8.1"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "1",
                                "description": "1",
                                "enum": [
                                  "1"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "midjourney-v8.2",
                                "description": "midjourney-v8.2",
                                "enum": [
                                  "midjourney-v8.2"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "1",
                                "description": "1",
                                "enum": [
                                  "1"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "midjourney-niji6",
                                "description": "midjourney-niji6",
                                "enum": [
                                  "midjourney-niji6"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "1",
                                "description": "1",
                                "enum": [
                                  "1"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "1:1",
                                "description": "1:1",
                                "enum": [
                                  "1:1"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "midjourney-niji7",
                                "description": "midjourney-niji7",
                                "enum": [
                                  "midjourney-niji7"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "quality": {
                                "default": "1",
                                "description": "1",
                                "enum": [
                                  "1"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "video.any.generate"
                      },
                      "input": {
                        "oneOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "kling-v4-flash",
                                "description": "kling-v4-flash",
                                "enum": [
                                  "kling-v4-flash"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 3000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "zoe",
                                "description": "zoe",
                                "enum": [
                                  "zoe"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080p",
                                "description": "1080p",
                                "enum": [
                                  "1080p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedance-1-0-pro-fast",
                                "description": "seedance-1-0-pro-fast",
                                "enum": [
                                  "seedance-1-0-pro-fast"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080p",
                                "description": "1080p",
                                "enum": [
                                  "1080p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedance-1-0-pro-quality",
                                "description": "seedance-1-0-pro-quality",
                                "enum": [
                                  "seedance-1-0-pro-quality"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080p",
                                "description": "1080p",
                                "enum": [
                                  "1080p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "flux-3-video",
                                "description": "flux-3-video",
                                "enum": [
                                  "flux-3-video"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "hd",
                                "description": "hd",
                                "enum": [
                                  "hd"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "gemini-omni-1.1-flash",
                                "description": "gemini-omni-1.1-flash",
                                "enum": [
                                  "gemini-omni-1.1-flash"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 10,
                                "description": "Fixed output specification",
                                "maximum": 10,
                                "minimum": 10,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-omni-1.2-flash-ext",
                                "description": "gemini-omni-1.2-flash-ext",
                                "enum": [
                                  "gemini-omni-1.2-flash-ext"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 10,
                                "description": "Fixed output specification",
                                "maximum": 10,
                                "minimum": 10,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-omni-1.2-flash",
                                "description": "gemini-omni-1.2-flash",
                                "enum": [
                                  "gemini-omni-1.2-flash"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "gemini-omni-flash-preview",
                                "description": "gemini-omni-flash-preview",
                                "enum": [
                                  "gemini-omni-flash-preview"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 6,
                                "description": "Fixed output specification",
                                "maximum": 6,
                                "minimum": 6,
                                "type": "integer"
                              },
                              "model": {
                                "default": "grok-imagine-1.5-video-ext",
                                "description": "grok-imagine-1.5-video-ext",
                                "enum": [
                                  "grok-imagine-1.5-video-ext"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "480p",
                                "description": "480p",
                                "enum": [
                                  "480p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 8,
                                "description": "Fixed output specification",
                                "maximum": 8,
                                "minimum": 8,
                                "type": "integer"
                              },
                              "model": {
                                "default": "grok-imagine-video",
                                "description": "grok-imagine-video",
                                "enum": [
                                  "grok-imagine-video"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "480p",
                                "description": "480p",
                                "enum": [
                                  "480p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 8,
                                "description": "Fixed output specification",
                                "maximum": 8,
                                "minimum": 8,
                                "type": "integer"
                              },
                              "model": {
                                "default": "grok-imagine-video-1.5",
                                "description": "grok-imagine-video-1.5",
                                "enum": [
                                  "grok-imagine-video-1.5"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "480p",
                                "description": "480p",
                                "enum": [
                                  "480p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "happyhorse-1.0",
                                "description": "happyhorse-1.0",
                                "enum": [
                                  "happyhorse-1.0"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080P",
                                "description": "1080P",
                                "enum": [
                                  "1080P"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "happyhorse-1.1",
                                "description": "happyhorse-1.1",
                                "enum": [
                                  "happyhorse-1.1"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080P",
                                "description": "1080P",
                                "enum": [
                                  "1080P"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "kling-3.0-turbo",
                                "description": "kling-3.0-turbo",
                                "enum": [
                                  "kling-3.0-turbo"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "mode": {
                                "default": "std",
                                "description": "std",
                                "enum": [
                                  "std"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "kling-v2-6",
                                "description": "kling-v2-6",
                                "enum": [
                                  "kling-v2-6"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "mode": {
                                "default": "std",
                                "description": "std",
                                "enum": [
                                  "std"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "kling-v3-omni",
                                "description": "kling-v3-omni",
                                "enum": [
                                  "kling-v3-omni"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "mode": {
                                "default": "std",
                                "description": "std",
                                "enum": [
                                  "std"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "kling-v3",
                                "description": "kling-v3",
                                "enum": [
                                  "kling-v3"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "kling-v4",
                                "description": "kling-v4",
                                "enum": [
                                  "kling-v4"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "mode": {
                                "default": "std",
                                "description": "std",
                                "enum": [
                                  "std"
                                ],
                                "type": "string"
                              },
                              "model": {
                                "default": "kling-video-o1",
                                "description": "kling-video-o1",
                                "enum": [
                                  "kling-video-o1"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "minimax-h3",
                                "description": "minimax-h3",
                                "enum": [
                                  "minimax-h3"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "768P",
                                "description": "768P",
                                "enum": [
                                  "768P"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "minimax-h3-max",
                                "description": "minimax-h3-max",
                                "enum": [
                                  "minimax-h3-max"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "768P",
                                "description": "768P",
                                "enum": [
                                  "768P"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "duration_seconds": {
                                "default": 6,
                                "description": "Fixed output specification",
                                "maximum": 6,
                                "minimum": 6,
                                "type": "integer"
                              },
                              "model": {
                                "default": "minimax-hailuo-2.3",
                                "description": "minimax-hailuo-2.3",
                                "enum": [
                                  "minimax-hailuo-2.3"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "768p",
                                "description": "768p",
                                "enum": [
                                  "768p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "duration_seconds": {
                                "default": 6,
                                "description": "Fixed output specification",
                                "maximum": 6,
                                "minimum": 6,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "minimax-hailuo-2.3-fast",
                                "description": "minimax-hailuo-2.3-fast",
                                "enum": [
                                  "minimax-hailuo-2.3-fast"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "768p",
                                "description": "768p",
                                "enum": [
                                  "768p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "image_url",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "minimax-hailuo-02",
                                "description": "minimax-hailuo-02",
                                "enum": [
                                  "minimax-hailuo-02"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "768p",
                                "description": "768p",
                                "enum": [
                                  "768p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 10,
                                "description": "Fixed output specification",
                                "maximum": 10,
                                "minimum": 10,
                                "type": "integer"
                              },
                              "model": {
                                "default": "muse-video-ext",
                                "description": "muse-video-ext",
                                "enum": [
                                  "muse-video-ext"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 6,
                                "description": "Fixed output specification",
                                "maximum": 6,
                                "minimum": 6,
                                "type": "integer"
                              },
                              "model": {
                                "default": "gemini-omni-1.1-flash-ext",
                                "description": "gemini-omni-1.1-flash-ext",
                                "enum": [
                                  "gemini-omni-1.1-flash-ext"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "pixverse-v6-max",
                                "description": "pixverse-v6-max",
                                "enum": [
                                  "pixverse-v6-max"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "540p",
                                "description": "540p",
                                "enum": [
                                  "540p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "pixverse-v6",
                                "description": "pixverse-v6",
                                "enum": [
                                  "pixverse-v6"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "540p",
                                "description": "540p",
                                "enum": [
                                  "540p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedance-2.0",
                                "description": "seedance-2.0",
                                "enum": [
                                  "seedance-2.0"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedance-2.0-fast",
                                "description": "seedance-2.0-fast",
                                "enum": [
                                  "seedance-2.0-fast"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedance-2.0-mini",
                                "description": "seedance-2.0-mini",
                                "enum": [
                                  "seedance-2.0-mini"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedance-2-5-flash",
                                "description": "seedance-2-5-flash",
                                "enum": [
                                  "seedance-2-5-flash"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "seedance-2.5",
                                "description": "seedance-2.5",
                                "enum": [
                                  "seedance-2.5"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "skyreels-v4-fast",
                                "description": "skyreels-v4-fast",
                                "enum": [
                                  "skyreels-v4-fast"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 500,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080p",
                                "description": "1080p",
                                "enum": [
                                  "1080p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "skyreels-v4-std",
                                "description": "skyreels-v4-std",
                                "enum": [
                                  "skyreels-v4-std"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 500,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080p",
                                "description": "1080p",
                                "enum": [
                                  "1080p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 8,
                                "description": "Fixed output specification",
                                "maximum": 8,
                                "minimum": 8,
                                "type": "integer"
                              },
                              "model": {
                                "default": "veo3.1-fast-official",
                                "description": "veo3.1-fast-official",
                                "enum": [
                                  "veo3.1-fast-official"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 8,
                                "description": "Fixed output specification",
                                "maximum": 8,
                                "minimum": 8,
                                "type": "integer"
                              },
                              "model": {
                                "default": "veo3.1-quality-official",
                                "description": "veo3.1-quality-official",
                                "enum": [
                                  "veo3.1-quality-official"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 8,
                                "description": "Fixed output specification",
                                "maximum": 8,
                                "minimum": 8,
                                "type": "integer"
                              },
                              "model": {
                                "default": "veo3.1-fast",
                                "description": "veo3.1-fast",
                                "enum": [
                                  "veo3.1-fast"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 8,
                                "description": "Fixed output specification",
                                "maximum": 8,
                                "minimum": 8,
                                "type": "integer"
                              },
                              "model": {
                                "default": "veo3.1-lite",
                                "description": "veo3.1-lite",
                                "enum": [
                                  "veo3.1-lite"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 8,
                                "description": "Fixed output specification",
                                "maximum": 8,
                                "minimum": 8,
                                "type": "integer"
                              },
                              "model": {
                                "default": "veo3.1-quality",
                                "description": "veo3.1-quality",
                                "enum": [
                                  "veo3.1-quality"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "viduq3-pro",
                                "description": "viduq3-pro",
                                "enum": [
                                  "viduq3-pro"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 500,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "viduq3-turbo",
                                "description": "viduq3-turbo",
                                "enum": [
                                  "viduq3-turbo"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 500,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "viduq3",
                                "description": "viduq3",
                                "enum": [
                                  "viduq3"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 500,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "image_url",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "viduq3-mix",
                                "description": "viduq3-mix",
                                "enum": [
                                  "viduq3-mix"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 500,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "image_url",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "viduq4-preview",
                                "description": "viduq4-preview",
                                "enum": [
                                  "viduq4-preview"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "image_url",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "wan2.5-preview",
                                "description": "wan2.5-preview",
                                "enum": [
                                  "wan2.5-preview"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "wan2.6",
                                "description": "wan2.6",
                                "enum": [
                                  "wan2.6"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "wan2.6-i2v-flash",
                                "description": "wan2.6-i2v-flash",
                                "enum": [
                                  "wan2.6-i2v-flash"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080p",
                                "description": "1080p",
                                "enum": [
                                  "1080p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "image_url",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "wan2.7-r2v",
                                "description": "wan2.7-r2v",
                                "enum": [
                                  "wan2.7-r2v"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080P",
                                "description": "1080P",
                                "enum": [
                                  "1080P"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "image_url",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "wan2.7",
                                "description": "wan2.7",
                                "enum": [
                                  "wan2.7"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080P",
                                "description": "1080P",
                                "enum": [
                                  "1080P"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "wan3.0-video",
                                "description": "wan3.0-video",
                                "enum": [
                                  "wan3.0-video"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080P",
                                "description": "1080P",
                                "enum": [
                                  "1080P"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "aspect_ratio": {
                                "default": "16:9",
                                "description": "16:9",
                                "enum": [
                                  "16:9"
                                ],
                                "type": "string"
                              },
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "wan3.0-video-prime",
                                "description": "wan3.0-video-prime",
                                "enum": [
                                  "wan3.0-video-prime"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "1080P",
                                "description": "1080P",
                                "enum": [
                                  "1080P"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "image_url": {
                                "description": "Reference image HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              },
                              "model": {
                                "default": "wan2.6-i2v",
                                "description": "wan2.6-i2v",
                                "enum": [
                                  "wan2.6-i2v"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              },
                              "resolution": {
                                "default": "720p",
                                "description": "720p",
                                "enum": [
                                  "720p"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "image_url",
                              "model"
                            ],
                            "type": "object"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "music.any.generate"
                      },
                      "input": {
                        "oneOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "model": {
                                "default": "suno-v6",
                                "description": "suno-v6",
                                "enum": [
                                  "suno-v6"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "mp3",
                                "description": "mp3",
                                "enum": [
                                  "mp3"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 3000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "duration_seconds": {
                                "default": 15,
                                "description": "Fixed output specification",
                                "maximum": 15,
                                "minimum": 15,
                                "type": "integer"
                              },
                              "model": {
                                "default": "music-v1",
                                "description": "music-v1",
                                "enum": [
                                  "music-v1"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "mp3",
                                "description": "mp3",
                                "enum": [
                                  "mp3"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "sound.any.generate"
                      },
                      "input": {
                        "oneOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "model": {
                                "default": "suno-v6",
                                "description": "suno-v6",
                                "enum": [
                                  "suno-v6"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "mp3",
                                "description": "mp3",
                                "enum": [
                                  "mp3"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 3000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "duration_seconds": {
                                "default": 5,
                                "description": "Fixed output specification",
                                "maximum": 5,
                                "minimum": 5,
                                "type": "integer"
                              },
                              "model": {
                                "default": "text-to-sound-v2",
                                "description": "text-to-sound-v2",
                                "enum": [
                                  "text-to-sound-v2"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "mp3",
                                "description": "mp3",
                                "enum": [
                                  "mp3"
                                ],
                                "type": "string"
                              },
                              "prompt": {
                                "description": "Generation prompt",
                                "maxLength": 2000,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "prompt",
                              "model"
                            ],
                            "type": "object"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "document.any.convert"
                      },
                      "input": {
                        "oneOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "input_format": {
                                "default": "docx",
                                "description": "docx",
                                "enum": [
                                  "docx"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "pdf",
                                "description": "pdf",
                                "enum": [
                                  "pdf"
                                ],
                                "type": "string"
                              },
                              "url": {
                                "description": "Public source file HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "url",
                              "input_format",
                              "output_format"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "input_format": {
                                "default": "pptx",
                                "description": "pptx",
                                "enum": [
                                  "pptx"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "pdf",
                                "description": "pdf",
                                "enum": [
                                  "pdf"
                                ],
                                "type": "string"
                              },
                              "url": {
                                "description": "Public source file HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "url",
                              "input_format",
                              "output_format"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "input_format": {
                                "default": "xlsx",
                                "description": "xlsx",
                                "enum": [
                                  "xlsx"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "pdf",
                                "description": "pdf",
                                "enum": [
                                  "pdf"
                                ],
                                "type": "string"
                              },
                              "url": {
                                "description": "Public source file HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "url",
                              "input_format",
                              "output_format"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "input_format": {
                                "default": "md",
                                "description": "md",
                                "enum": [
                                  "md"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "pdf",
                                "description": "pdf",
                                "enum": [
                                  "pdf"
                                ],
                                "type": "string"
                              },
                              "url": {
                                "description": "Public source file HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "url",
                              "input_format",
                              "output_format"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "input_format": {
                                "default": "xlsx",
                                "description": "xlsx",
                                "enum": [
                                  "xlsx"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "csv",
                                "description": "csv",
                                "enum": [
                                  "csv"
                                ],
                                "type": "string"
                              },
                              "url": {
                                "description": "Public source file HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "url",
                              "input_format",
                              "output_format"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "input_format": {
                                "default": "pdf",
                                "description": "pdf",
                                "enum": [
                                  "pdf"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "txt",
                                "description": "txt",
                                "enum": [
                                  "txt"
                                ],
                                "type": "string"
                              },
                              "url": {
                                "description": "Public source file HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "url",
                              "input_format",
                              "output_format"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "input_format": {
                                "default": "pdf",
                                "description": "pdf",
                                "enum": [
                                  "pdf"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "png",
                                "description": "png",
                                "enum": [
                                  "png"
                                ],
                                "type": "string"
                              },
                              "url": {
                                "description": "Public source file HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "url",
                              "input_format",
                              "output_format"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "input_format": {
                                "default": "pdf",
                                "description": "pdf",
                                "enum": [
                                  "pdf"
                                ],
                                "type": "string"
                              },
                              "output_format": {
                                "default": "docx",
                                "description": "docx",
                                "enum": [
                                  "docx"
                                ],
                                "type": "string"
                              },
                              "url": {
                                "description": "Public source file HTTPS URL",
                                "format": "uri",
                                "maxLength": 4096,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "url",
                              "input_format",
                              "output_format"
                            ],
                            "type": "object"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "seo.dataforseo.organic_results"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "keyword",
                            "maxLength": 512,
                            "minLength": 1,
                            "type": "string"
                          },
                          "language_code": {
                            "default": "en",
                            "description": "language code",
                            "maxLength": 512,
                            "minLength": 1,
                            "type": "string"
                          },
                          "location_code": {
                            "default": 2840,
                            "description": "location_code",
                            "maximum": 100000000,
                            "minimum": 0,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "seo.dataforseo.ranked_keywords"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "language_code": {
                            "default": "en",
                            "description": "language code",
                            "maxLength": 512,
                            "minLength": 1,
                            "type": "string"
                          },
                          "limit": {
                            "default": 10,
                            "description": "Result rows",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "location_code": {
                            "default": 2840,
                            "description": "location_code",
                            "maximum": 100000000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "offset": {
                            "default": 0,
                            "description": "Row offset",
                            "maximum": 10000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "target": {
                            "description": "target",
                            "maxLength": 512,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "target"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "seo.dataforseo.content_gap"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "competitor_domain": {
                            "description": "competitor domain",
                            "maxLength": 512,
                            "minLength": 1,
                            "type": "string"
                          },
                          "language_code": {
                            "default": "en",
                            "description": "language code",
                            "maxLength": 512,
                            "minLength": 1,
                            "type": "string"
                          },
                          "limit": {
                            "default": 10,
                            "description": "Result rows",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "location_code": {
                            "default": 2840,
                            "description": "location_code",
                            "maximum": 100000000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "offset": {
                            "default": 0,
                            "description": "Row offset",
                            "maximum": 10000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "own_domain": {
                            "description": "own domain",
                            "maxLength": 512,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "competitor_domain",
                          "own_domain"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "seo.dataforseo.keyword_volume"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "date_from": {
                            "description": "Date (YYYY-MM-DD)",
                            "format": "date",
                            "maxLength": 10,
                            "minLength": 1,
                            "type": "string"
                          },
                          "date_to": {
                            "description": "Date (YYYY-MM-DD)",
                            "format": "date",
                            "maxLength": 10,
                            "minLength": 1,
                            "type": "string"
                          },
                          "keywords": {
                            "items": {
                              "description": "Text",
                              "maxLength": 80,
                              "minLength": 1,
                              "type": "string"
                            },
                            "maxItems": 1000,
                            "minItems": 1,
                            "type": "array"
                          },
                          "language_code": {
                            "default": "en",
                            "description": "language code",
                            "maxLength": 512,
                            "minLength": 1,
                            "type": "string"
                          },
                          "location_code": {
                            "default": 2840,
                            "description": "location_code",
                            "maximum": 100000000,
                            "minimum": 0,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "keywords"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "seo.dataforseo.backlinks"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "limit": {
                            "default": 100,
                            "description": "Result rows",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "offset": {
                            "default": 0,
                            "description": "Row offset",
                            "maximum": 10000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "target": {
                            "description": "target",
                            "maxLength": 512,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "target"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "document.jina.ocr"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "url": {
                            "description": "Public HTTPS URL",
                            "format": "uri",
                            "maxLength": 4096,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.jina.web"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "text.jina.embed"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "text": {
                            "description": "Text",
                            "maxLength": 8000,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "text"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "text.jina.rerank"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "documents": {
                            "items": {
                              "description": "Text",
                              "maxLength": 1600,
                              "minLength": 1,
                              "type": "string"
                            },
                            "maxItems": 10,
                            "minItems": 1,
                            "type": "array"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query",
                          "documents"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "news.any.trends"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "at": {
                            "description": "Latest capture time, inclusive (RFC 3339)",
                            "format": "date-time",
                            "type": "string"
                          },
                          "language": {
                            "description": "Source edition language; omit for all languages",
                            "enum": [
                              "zh",
                              "en"
                            ],
                            "type": "string"
                          },
                          "limit": {
                            "default": 5,
                            "description": "Maximum number of headlines across all sources",
                            "maximum": 50,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "platform": {
                            "description": "Source ID; omit to include all available sources",
                            "enum": [
                              "36kr",
                              "51cto",
                              "52pojie",
                              "60s",
                              "acfun",
                              "ai-news",
                              "baidu",
                              "baidu-tv",
                              "bilibili",
                              "bilibili-search",
                              "coolapk",
                              "coolapk-topics",
                              "csdn",
                              "dgtle",
                              "dongchedi",
                              "douban-group",
                              "douban-movie",
                              "douban-weekly-movie",
                              "douban-weekly-show-cn",
                              "douban-weekly-show-global",
                              "douban-weekly-tv-cn",
                              "douban-weekly-tv-global",
                              "douyin",
                              "earthquake",
                              "gameres",
                              "geekpark",
                              "genshin",
                              "github",
                              "globalvoices",
                              "globalvoices-zh",
                              "guokr",
                              "hackernews",
                              "hackernews-best",
                              "hellogithub",
                              "history",
                              "honkai",
                              "hostloc",
                              "hupu",
                              "huxiu",
                              "ifanr",
                              "ithome",
                              "ithome-rank",
                              "ithome-xijiayi",
                              "jianshu",
                              "juejin",
                              "kuaishou",
                              "linuxdo",
                              "lol",
                              "miyoushe",
                              "nasa",
                              "netease-news",
                              "newsmth",
                              "ngabbs",
                              "nodeseek",
                              "nytimes",
                              "producthunt",
                              "qq-news",
                              "quark",
                              "rednote",
                              "sina",
                              "sina-news",
                              "smzdm",
                              "sspai",
                              "starrail",
                              "thepaper",
                              "tieba",
                              "toutiao",
                              "v2ex",
                              "weatheralarm",
                              "weibo",
                              "weread",
                              "yystv",
                              "zhihu",
                              "zhihu-daily"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "search.openalex.papers"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "page": {
                            "default": 1,
                            "description": "Page",
                            "maximum": 100,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "query": {
                            "description": "Search query",
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "query"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "weather.qweather.forecast"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "latitude": {
                            "maximum": 90,
                            "minimum": -90,
                            "type": "number"
                          },
                          "longitude": {
                            "maximum": 180,
                            "minimum": -180,
                            "type": "number"
                          }
                        },
                        "required": [
                          "latitude",
                          "longitude"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "market.twelvedata.quote"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "symbol": {
                            "description": "Single symbol, e.g. AAPL",
                            "maxLength": 40,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "symbol"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "web.apify.read"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "url": {
                            "description": "Public HTTPS URL",
                            "format": "uri",
                            "maxLength": 4096,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "x.post.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "cursor": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          },
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          },
                          "search_type": {
                            "default": "Top",
                            "description": "Search order or media filter",
                            "enum": [
                              "Top",
                              "Latest",
                              "Media"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "x.post.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "tweet_id": {
                            "description": "Tweet id",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "tweet_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "x.post.comments"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "cursor": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          },
                          "tweet_id": {
                            "description": "Tweet id",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "tweet_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "x.account.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "screen_name": {
                            "description": "X handle without @",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "screen_name"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "x.account.posts"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "cursor": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          },
                          "screen_name": {
                            "description": "X handle without @",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "screen_name"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "instagram.content.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          },
                          "pagination_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "instagram.reel.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          },
                          "pagination_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "instagram.post.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "code_or_url": {
                            "description": "Instagram post shortcode or URL",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "code_or_url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "instagram.post.comments"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "code_or_url": {
                            "description": "Instagram post shortcode or URL",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          },
                          "pagination_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "code_or_url"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "instagram.comment.replies"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "code_or_url": {
                            "description": "Instagram post shortcode or URL",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          },
                          "comment_id": {
                            "description": "Parent comment ID",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          },
                          "pagination_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "code_or_url",
                          "comment_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "instagram.account.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "instagram.account.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "username": {
                            "description": "Account username",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "username"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "instagram.account.posts"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "pagination_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          },
                          "username": {
                            "description": "Account username",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "username"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "instagram.account.reels"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "pagination_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          },
                          "username": {
                            "description": "Account username",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "username"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "instagram.hashtag.posts"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          },
                          "pagination_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "tiktok.video.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          },
                          "offset": {
                            "default": 0,
                            "description": "Pagination offset from the previous response",
                            "maximum": 2147483647,
                            "minimum": 0,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "tiktok.video.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "video_id": {
                            "description": "Video id",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "video_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "tiktok.video.comments"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "cursor": {
                            "default": 0,
                            "description": "Pagination offset from the previous response",
                            "maximum": 2147483647,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "video_id": {
                            "description": "Video id",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "video_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "tiktok.comment.replies"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "comment_id": {
                            "description": "Parent comment ID",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          },
                          "cursor": {
                            "default": 0,
                            "description": "Pagination offset from the previous response",
                            "maximum": 2147483647,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "video_id": {
                            "description": "Video id",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "video_id",
                          "comment_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "tiktok.account.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          },
                          "offset": {
                            "default": 0,
                            "description": "Pagination offset from the previous response",
                            "maximum": 2147483647,
                            "minimum": 0,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "tiktok.account.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "username": {
                            "description": "Account username",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "username"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "tiktok.account.videos"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "cursor": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          },
                          "sec_uid": {
                            "description": "TikTok sec_uid from an account profile",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "sec_uid"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "youtube.video.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "continuation_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          },
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "youtube.video.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "video_id": {
                            "description": "Video id",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "video_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "youtube.video.comments"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "continuation_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          },
                          "video_id": {
                            "description": "Video id",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "video_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "youtube.comment.replies"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "continuation_token": {
                            "description": "Reply token from a parent comment",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "continuation_token"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "youtube.channel.search"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "continuation_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          },
                          "keyword": {
                            "description": "Search keyword",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "keyword"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "youtube.channel.detail"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "channel_id": {
                            "description": "Channel id",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "channel_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "youtube.channel.videos"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "channel_id": {
                            "description": "Channel id",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          },
                          "continuation_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "channel_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "youtube.channel.shorts"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "channel_id": {
                            "description": "Channel id",
                            "maxLength": 256,
                            "minLength": 1,
                            "type": "string"
                          },
                          "continuation_token": {
                            "description": "Pagination token from the previous response",
                            "maxLength": 16384,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "channel_id"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "gsc.site.list"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {},
                        "required": [],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "gsc.site.get"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "siteUrl": {
                            "description": "Exact Search Console property identifier",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "siteUrl"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "gsc.site.add"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "siteUrl": {
                            "description": "Exact Search Console property identifier",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "siteUrl"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "gsc.site.remove"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "siteUrl": {
                            "description": "Exact Search Console property identifier",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "siteUrl"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "gsc.sitemap.list"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "siteUrl": {
                            "description": "Exact Search Console property identifier",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          },
                          "sitemapIndex": {
                            "description": "Sitemap index URL",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "siteUrl"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "gsc.sitemap.get"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "feedpath": {
                            "description": "Full sitemap URL",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          },
                          "siteUrl": {
                            "description": "Exact Search Console property identifier",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "siteUrl",
                          "feedpath"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "gsc.sitemap.submit"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "feedpath": {
                            "description": "Full sitemap URL",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          },
                          "siteUrl": {
                            "description": "Exact Search Console property identifier",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "siteUrl",
                          "feedpath"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "gsc.sitemap.remove"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "feedpath": {
                            "description": "Full sitemap URL",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          },
                          "siteUrl": {
                            "description": "Exact Search Console property identifier",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "siteUrl",
                          "feedpath"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "gsc.url.inspect"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "inspectionUrl": {
                            "description": "URL within the property",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          },
                          "languageCode": {
                            "description": "BCP-47 language tag",
                            "maxLength": 35,
                            "minLength": 1,
                            "type": "string"
                          },
                          "siteUrl": {
                            "description": "Exact Search Console property identifier",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "siteUrl",
                          "inspectionUrl"
                        ],
                        "type": "object"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "operation",
                      "input"
                    ],
                    "properties": {
                      "operation": {
                        "const": "gsc.performance.query"
                      },
                      "input": {
                        "additionalProperties": false,
                        "properties": {
                          "aggregationType": {
                            "description": "Aggregation type",
                            "maxLength": 40,
                            "minLength": 1,
                            "type": "string"
                          },
                          "dataState": {
                            "description": "final, all or hourly_all",
                            "maxLength": 16,
                            "minLength": 1,
                            "type": "string"
                          },
                          "dimensionFilterGroups": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "filters": {
                                  "items": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "dimension": {
                                        "description": "Filter dimension",
                                        "maxLength": 40,
                                        "minLength": 1,
                                        "type": "string"
                                      },
                                      "expression": {
                                        "description": "Filter expression",
                                        "maxLength": 4096,
                                        "minLength": 1,
                                        "type": "string"
                                      },
                                      "operator": {
                                        "description": "Filter operator",
                                        "maxLength": 40,
                                        "minLength": 1,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "dimension",
                                      "expression"
                                    ],
                                    "type": "object"
                                  },
                                  "maxItems": 64,
                                  "minItems": 1,
                                  "type": "array"
                                },
                                "groupType": {
                                  "description": "Group type",
                                  "maxLength": 8,
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "filters"
                              ],
                              "type": "object"
                            },
                            "maxItems": 32,
                            "minItems": 1,
                            "type": "array"
                          },
                          "dimensions": {
                            "items": {
                              "description": "Text",
                              "maxLength": 40,
                              "minLength": 1,
                              "type": "string"
                            },
                            "maxItems": 8,
                            "minItems": 1,
                            "type": "array"
                          },
                          "endDate": {
                            "format": "date",
                            "type": "string"
                          },
                          "rowLimit": {
                            "maximum": 25000,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "siteUrl": {
                            "description": "Exact Search Console property identifier",
                            "maxLength": 2048,
                            "minLength": 1,
                            "type": "string"
                          },
                          "startDate": {
                            "format": "date",
                            "type": "string"
                          },
                          "startRow": {
                            "maximum": 2147483647,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "type": {
                            "description": "Search type",
                            "maxLength": 40,
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "siteUrl",
                          "startDate",
                          "endDate"
                        ],
                        "type": "object"
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "operationId": "createQuote"
      }
    },
    "/executions": {
      "get": {
        "summary": "List the latest 50 executions",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "operation": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "quoted_price_usd": {
                            "type": "string"
                          },
                          "cost_usd": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "result": {
                            "type": [
                              "object",
                              "null"
                            ]
                          },
                          "error_code": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Conflict or unavailable pricing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Unavailable; preserve execution_id and the original request when provided",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "listExecutions"
      },
      "post": {
        "summary": "Execute a saved quote with an explicit budget and idempotency key",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "operation": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "quoted_price_usd": {
                      "type": "string"
                    },
                    "cost_usd": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "result": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "error_code": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "202": {
            "description": "Execution durably accepted; this is not completion",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "operation": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "quoted_price_usd": {
                      "type": "string"
                    },
                    "cost_usd": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "result": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "error_code": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Conflict or unavailable pricing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Unavailable; preserve execution_id and the original request when provided",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-openai-isConsequential": true,
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          },
          {
            "name": "wait_ms",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 10000,
              "default": 0
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "quote_id"
                ],
                "properties": {
                  "quote_id": {
                    "type": "string"
                  },
                  "max_cost_usd": {
                    "type": "string",
                    "description": "Required unless pricing.usage_hold_usd is present. Jina Search reserves the quoted hold and charges actual tokens. Any supplied maximum must cover the hold."
                  }
                }
              }
            }
          }
        },
        "operationId": "executeQuote"
      }
    },
    "/executions/{id}": {
      "get": {
        "summary": "Get an execution and its result",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "operation": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "quoted_price_usd": {
                      "type": "string"
                    },
                    "cost_usd": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "result": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "error_code": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Conflict or unavailable pricing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Unavailable; preserve execution_id and the original request when provided",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "getExecution"
      }
    },
    "/executions/{id}/cancel": {
      "post": {
        "summary": "Request cancellation when the route supports it",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "202": {
            "description": "Cancellation accepted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "operation": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "quoted_price_usd": {
                      "type": "string"
                    },
                    "cost_usd": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "result": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "error_code": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Cancellation unsupported or invalid state",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Cancellation unconfirmed; retain execution_id",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "cancelExecution"
      }
    },
    "/executions/{id}/files/{index}": {
      "get": {
        "summary": "Download a generated output file; URLs expire, save files promptly",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "File bytes; authenticated access required",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Execution or file not found for this account",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "502": {
            "description": "File unavailable or expired; retry download, never resubmit the paid task",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "index",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        ],
        "operationId": "downloadExecutionFile"
      }
    },
    "/executions/{id}/events": {
      "get": {
        "summary": "Stream execution events",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Server-sent events",
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "streamExecutionEvents"
      }
    },
    "/me": {
      "get": {
        "summary": "Get the authenticated account",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "account_id": {
                      "type": "string"
                    },
                    "user_id": {
                      "type": "string"
                    },
                    "scope": {
                      "type": "string"
                    },
                    "provider_mode": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Conflict or unavailable pricing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Unavailable; preserve execution_id and the original request when provided",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "getAccount"
      }
    },
    "/wallet": {
      "get": {
        "summary": "Get account balance",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "balance_usd": {
                      "type": "string"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "payment_hold": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Conflict or unavailable pricing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Unavailable; preserve execution_id and the original request when provided",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "getWallet"
      }
    },
    "/keys": {
      "get": {
        "summary": "List keys (owner only)",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "prefix": {
                            "type": "string"
                          },
                          "scope": {
                            "type": "string"
                          },
                          "committed_usd": {
                            "type": "string"
                          },
                          "spend_limit_usd": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "revoked_at": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Conflict or unavailable pricing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "503": {
            "description": "Unavailable; preserve execution_id and the original request when provided",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "listKeys"
      },
      "post": {
        "summary": "Create a key (owner only)",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "201": {
            "description": "Key created; secret is returned once",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "secret": {
                      "type": "string"
                    },
                    "key": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "prefix": {
                          "type": "string"
                        },
                        "scope": {
                          "type": "string"
                        },
                        "committed_usd": {
                          "type": "string"
                        },
                        "spend_limit_usd": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "revoked_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  },
                  "spend_limit_usd": {
                    "type": "string",
                    "description": "Lifetime USD limit. Omit for unlimited."
                  }
                }
              }
            }
          }
        },
        "operationId": "createKey"
      }
    },
    "/keys/{id}/limit": {
      "post": {
        "summary": "Update a key’s cumulative limit (owner only)",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "204": {
            "description": "Updated"
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "spend_limit_usd"
                ],
                "properties": {
                  "spend_limit_usd": {
                    "type": "string",
                    "description": "Decimal USD. Empty string clears the limit."
                  }
                }
              }
            }
          }
        },
        "operationId": "updateKeyLimit"
      }
    },
    "/keys/{id}": {
      "delete": {
        "summary": "Revoke a key (owner only)",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "204": {
            "description": "Revoked"
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait",
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "revokeKey"
      }
    }
  }
}
