{
  "x402Version": 2,
  "id": 774,
  "slug": "774",
  "resource": "https://x402.aispace.bot/api/v1/image/generate",
  "description": "Text-to-image generation on Venice models (Flux, SD3.5, GPT-Image, HunyuanImage, and more), paid per request in USDC on Base via x402, no API key. Resolve a model id from GET /api/v1/models?type=image and an optional style from GET /api/v1/image/styles.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA7f3Ad0E69F61864092FAbBa6Cee00AF6e584689",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "15000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5hqrYCkTNe5z9Uc8o29KDNd2Gn9YreE6ZthZ7QY5hrKY",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "15000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "height": 1024,
            "model": "flux-2-pro",
            "prompt": "A neon-lit cyberpunk street at night, cinematic lighting, photorealistic",
            "width": 1024
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "id": "yidY-aAgyVYbeSQfKnu4gaLS2FhTus0k",
            "images": [
              "UklGRkaBAABXRUJQVlA4IDqBAACQZwGdASoAAgACPhkMhEGhBFcvbAQAYSm3i1vP/1fFy8M/nmmzw39XzLNN9Nt+/Ez/o+YH9G/2fQs58/xP/neqj+H/6f1l"
            ],
            "request": {
              "data": {
                "embed_exif_metadata": false,
                "format": "webp",
                "height": 512,
                "hide_watermark": false,
                "model": "venice-sd35",
                "prompt": "a dot",
                "return_binary": false,
                "safe_mode": true,
                "seed": -238869555,
                "steps": 20,
                "width": 512
              },
              "success": true
            },
            "timing": {
              "inferenceDuration": 3377,
              "inferencePreprocessingTime": 3389,
              "inferenceQueueTime": 557,
              "total": 3953
            }
          },
          "type": "json"
        }
      },
      "related": [
        "/models",
        "/image/styles"
      ],
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "model": {
                    "description": "Venice image model id. See GET /api/v1/models?type=image (e.g. flux-2-pro, venice-sd35, gpt-image-2).",
                    "example": "venice-sd35",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Image description. Up to ~2000 chars.",
                    "type": "string"
                  },
                  "style_preset": {
                    "description": "Optional named style. See GET /api/v1/image/styles (e.g. \"Cinematic\", \"Anime\").",
                    "type": "string"
                  }
                },
                "required": [
                  "model",
                  "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": {
                  "id": {
                    "type": "string"
                  },
                  "images": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "request": {
                    "properties": {
                      "data": {
                        "properties": {
                          "embed_exif_metadata": {
                            "type": "boolean"
                          },
                          "format": {
                            "type": "string"
                          },
                          "height": {
                            "type": "number"
                          },
                          "hide_watermark": {
                            "type": "boolean"
                          },
                          "model": {
                            "type": "string"
                          },
                          "prompt": {
                            "type": "string"
                          },
                          "return_binary": {
                            "type": "boolean"
                          },
                          "safe_mode": {
                            "type": "boolean"
                          },
                          "seed": {
                            "type": "number"
                          },
                          "steps": {
                            "type": "number"
                          },
                          "width": {
                            "type": "number"
                          }
                        },
                        "type": "object"
                      },
                      "success": {
                        "type": "boolean"
                      }
                    },
                    "type": "object"
                  },
                  "timing": {
                    "properties": {
                      "inferenceDuration": {
                        "type": "number"
                      },
                      "inferencePreprocessingTime": {
                        "type": "number"
                      },
                      "inferenceQueueTime": {
                        "type": "number"
                      },
                      "total": {
                        "type": "number"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "chainId": 8453,
    "estimateBasis": "image_unit_0.03_n_1",
    "priceMult": 0.5,
    "tokenDecimals": 6,
    "upstreamUsd": 0.03
  },
  "tags": [
    "bazaar",
    "chainId",
    "estimateBasis",
    "priceMult",
    "tokenDecimals",
    "upstreamUsd"
  ],
  "sourceHost": "x402.aispace.bot",
  "lastUpdated": "2026-09-16T17:33:23.689Z",
  "quality": {
    "calls30d": 206,
    "uniquePayers30d": 7,
    "lastCalledAt": "2026-09-16T17:33:23.435Z"
  },
  "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"
  }
}