{
  "x402Version": 2,
  "id": 783,
  "slug": "783",
  "resource": "https://x402.aispace.bot/api/v1/image/edit",
  "description": "Prompt-driven single-image edit on Venice models — send an image plus an instruction and get the edited result, paid per request in USDC on Base via x402, no API key. Resolve a model id from GET /api/v1/models?type=inpaint.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA7f3Ad0E69F61864092FAbBa6Cee00AF6e584689",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "25000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5hqrYCkTNe5z9Uc8o29KDNd2Gn9YreE6ZthZ7QY5hrKY",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "25000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "image": "https://example.com/portrait.png",
            "model": "qwen-image-2-edit",
            "prompt": "Add a pair of round glasses and a subtle smile",
            "return_binary": false
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "contentType": "image/png",
            "note": "Default body is raw image bytes, not JSON. Write the body to a file. Send return_binary: false (or Accept: application/json with no */* and no image/*) for JSON { id, images: [base64], format } like generate.",
            "type": "binary"
          },
          "type": "json"
        }
      },
      "related": [
        "/models"
      ],
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "image": {
                    "description": "HTTPS URL or plain base64 (no data: prefix).",
                    "type": "string"
                  },
                  "model": {
                    "description": "Venice inpaint/edit model id. See GET /api/v1/models?type=inpaint.",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Edit instruction describing the desired change.",
                    "type": "string"
                  },
                  "return_binary": {
                    "description": "Gateway-owned. Omit for a raw image file (default). false = JSON { id, images: [base64], format } like generate. true = force the file. Stripped before Venice.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "image",
                  "prompt"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "contentType": {
                    "type": "string"
                  },
                  "note": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "chainId": 8453,
    "estimateBasis": "image_edit",
    "priceMult": 0.5,
    "tokenDecimals": 6,
    "upstreamUsd": 0.05
  },
  "tags": [
    "bazaar",
    "chainId",
    "estimateBasis",
    "priceMult",
    "tokenDecimals",
    "upstreamUsd"
  ],
  "sourceHost": "x402.aispace.bot",
  "lastUpdated": "2026-09-03T11:30:28.069Z",
  "quality": {
    "calls30d": 14,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-03T11:30:27.869Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.aispace.bot",
    "manifest_name": "x402.aispace.bot",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}