返回 imagebed.random-image
PUBLISHED CONTRACT

随机装饰图 v1

按用途标签随机返回一张站内装饰图,一次调用一张;可选按风格筛选。图片字节经平台 artifact 通道投递,调用方不直连对象存储。

不可变发布
imagebed.random-imagev1contract 57589d990e…5135651 pointsPUBLISHED
调用费用1 points
执行适配器vetted.http-json/v1
请求 / 响应上限64.0 KiB / 256.0 KiB
执行来源受审核 Provider
发布证据2026年9月14日 16:55
Service code
imagebed.random-image
Exact version
v1
Contract digest
57589d990e…513565
调用费用
1 points
执行类型
受审核 Provider
请求契约只读
{
  "adapterContractDigest": "57589d990e41e1c48dd21213ec2e42cc67fba465e98d2b63ca6f6f8604513565",
  "adapterRef": "vetted.http-json/v1",
  "artifactContractDigest": "1faac1330be4aab8ae78c83ef37f9f2f5491c450fcc427e5b3fcadcedb277449",
  "artifactContractRef": "vetted.artifact-http/v1",
  "installationConfigSchema": {
    "type": "object",
    "properties": {},
    "additionalProperties": false
  },
  "installationConfigSchemaDigest": "32062bdb9024160d3b9816f12ba2f337808ee107449f8bf08d55b0026944f51e",
  "presentationContractDigest": "01acc783f65154cf64efab36fc19e31ece437ab1b7f93af48863aa1387d7ced0",
  "presentationContractRef": "imagebed-random-image/v1",
  "providerOutcomes": [
    "SUCCEEDED",
    "DEFINED_FAILURE",
    "RETRYABLE_BEFORE_ACCEPT",
    "UNKNOWN_OUTCOME"
  ],
  "requestMaxBytes": 65536,
  "requestSchema": {
    "type": "object",
    "properties": {
      "tag": {
        "type": "string",
        "enum": [
          "banner",
          "sidebar",
          "background",
          "og"
        ]
      },
      "style": {
        "type": "string",
        "enum": [
          "cosplay",
          "anime",
          "illustration",
          "photo"
        ]
      },
      "seed": {
        "type": "string",
        "maxLength": 191
      },
      "daily": {
        "type": "boolean"
      }
    },
    "required": [
      "tag"
    ],
    "additionalProperties": false
  },
  "requestSchemaDigest": "78aa0d8007bd935984d07b106272324bc13777874003625a39f6594620525c3c",
  "requestShape": {
    "additionalProperties": true,
    "type": "object"
  },
  "responseMaxBytes": 262144,
  "resultSchema": {
    "type": "object",
    "properties": {
      "tag": {
        "type": "string",
        "enum": [
          "banner",
          "sidebar",
          "background",
          "og"
        ]
      },
      "style": {
        "type": "string",
        "enum": [
          "cosplay",
          "anime",
          "illustration",
          "photo"
        ]
      },
      "daily": {
        "type": "boolean"
      },
      "image": {
        "type": "object",
        "properties": {
          "artifactId": {
            "type": "string",
            "minLength": 71,
            "maxLength": 71
          },
          "dominantColor": {
            "type": "string",
            "maxLength": 7
          },
          "sourceNote": {
            "type": "string",
            "maxLength": 500
          },
          "licenseNote": {
            "type": "string",
            "maxLength": 500
          }
        },
        "required": [
          "artifactId"
        ],
        "additionalProperties": false
      },
      "artifacts": {
        "type": "array",
        "minItems": 1,
        "maxItems": 1,
        "items": {
          "type": "object",
          "properties": {
            "artifactId": {
              "type": "string",
              "minLength": 71,
              "maxLength": 71
            },
            "sha256": {
              "type": "string",
              "minLength": 64,
              "maxLength": 64
            },
            "contentType": {
              "type": "string",
              "enum": [
                "image/jpeg",
                "image/png"
              ]
            },
            "contentLength": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2097152
            },
            "width": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000
            },
            "height": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000
            }
          },
          "required": [
            "artifactId",
            "sha256",
            "contentType",
            "contentLength",
            "width",
            "height"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "tag",
      "style",
      "daily",
      "image",
      "artifacts"
    ],
    "additionalProperties": false
  },
  "resultSchemaDigest": "44889c963362fad5a65450acaf178a62ddbfafe1d8162173d6a377f1e54bdd5f",
  "serviceCode": "imagebed.random-image",
  "version": "v1"
}
需要兼容 Consumer App Installation

此版本包含私有 artifact companion,不提供 HUMAN 直接调用。管理员应在受信 Consumer App 中选择这一 exact Publication。

imagebed-random-image/v1
正在连接 ZaunEkko Account…