Api Endpoint

AiSpace Venice

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.

Open interactive test console

Offering

Provider
x402.aispace.bot
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.aispace.bot/api/v1/image/edit
MIME type
Not provided
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
venice, image, edit, photo-edit, aispace

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.025 USDC
Atomic price: 25000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.025 USDC
Atomic price: 25000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "25000",
    "payTo": "0xA7f3Ad0E69F61864092FAbBa6Cee00AF6e584689"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "25000",
    "payTo": "5hqrYCkTNe5z9Uc8o29KDNd2Gn9YreE6ZthZ7QY5hrKY"
  }
]

Observed health

Status
Healthy
Latest latency
97 ms
Average latency
155 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "enhance_prompt": {
          "description": "Optional. Vision-aware rewrite of the edit instruction. Extra credits when a rewrite is generated.",
          "type": "boolean"
        },
        "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"
        },
        "safe_mode": {
          "description": "Optional. Defaults true — blur adult-classified images. Off does not require Pro. Response header x-venice-is-blurred reports whether the image was blurred.",
          "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 schema

{
  "properties": {
    "example": {
      "properties": {
        "contentType": {
          "type": "string"
        },
        "note": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}