{
  "x402Version": 2,
  "id": 26762,
  "slug": "26762",
  "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",
  "serviceName": "AiSpace Venice",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1785852238/bazaar-icons/33013603ae44be93.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA7f3Ad0E69F61864092FAbBa6Cee00AF6e584689",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "15000",
      "amountUsd": 0.015,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5hqrYCkTNe5z9Uc8o29KDNd2Gn9YreE6ZthZ7QY5hrKY",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "15000",
      "amountUsd": 0.015,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "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": {
                  "enhance_prompt": {
                    "description": "Optional. Rewrite the prompt before generation. Extra credits when a rewrite is generated; x-venice-enhanced-prompt header returns the final prompt.",
                    "type": "boolean"
                  },
                  "model": {
                    "description": "Venice image model id. See GET /api/v1/models?type=image (e.g. grok-imagine-image-2-0; grok-imagine-image remains a stable fallback, plus flux-2-pro, venice-sd35).",
                    "example": "grok-imagine-image-2-0",
                    "type": "string"
                  },
                  "prompt": {
                    "description": "Image description. Model-specific character limits apply.",
                    "type": "string"
                  },
                  "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"
                  },
                  "style_preset": {
                    "description": "Optional named style. See GET /api/v1/image/styles (e.g. \"Cinematic\", \"Anime\").",
                    "type": "string"
                  },
                  "style_references": {
                    "description": "Optional array of { image, strength? }. Only models with supportsStyleReferences=true. Raster only (no SVG).",
                    "items": {
                      "properties": {
                        "image": {
                          "description": "Base64, data URI, or http(s) URL (<8MB raster).",
                          "type": "string"
                        },
                        "strength": {
                          "description": "0.1–1 (default 0.5). Ignored when the model reports supportsStyleReferenceStrength=false.",
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "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": [
    "venice",
    "image",
    "text-to-image",
    "generative",
    "aispace",
    "bazaar",
    "chainId",
    "estimateBasis",
    "priceMult",
    "tokenDecimals",
    "upstreamUsd"
  ],
  "sourceHost": "x402.aispace.bot",
  "lastUpdated": "2026-10-13T09:29:28.593Z",
  "quality": {
    "calls30d": 24,
    "uniquePayers30d": 9,
    "lastCalledAt": "2026-10-13T09:30:18.018Z"
  },
  "metadata": {
    "serviceName": "AiSpace Venice",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1785852238/bazaar-icons/33013603ae44be93.png",
    "extensions": {
      "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": {
                    "enhance_prompt": {
                      "description": "Optional. Rewrite the prompt before generation. Extra credits when a rewrite is generated; x-venice-enhanced-prompt header returns the final prompt.",
                      "type": "boolean"
                    },
                    "model": {
                      "description": "Venice image model id. See GET /api/v1/models?type=image (e.g. grok-imagine-image-2-0; grok-imagine-image remains a stable fallback, plus flux-2-pro, venice-sd35).",
                      "example": "grok-imagine-image-2-0",
                      "type": "string"
                    },
                    "prompt": {
                      "description": "Image description. Model-specific character limits apply.",
                      "type": "string"
                    },
                    "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"
                    },
                    "style_preset": {
                      "description": "Optional named style. See GET /api/v1/image/styles (e.g. \"Cinematic\", \"Anime\").",
                      "type": "string"
                    },
                    "style_references": {
                      "description": "Optional array of { image, strength? }. Only models with supportsStyleReferences=true. Raster only (no SVG).",
                      "items": {
                        "properties": {
                          "image": {
                            "description": "Base64, data URI, or http(s) URL (<8MB raster).",
                            "type": "string"
                          },
                          "strength": {
                            "description": "0.1–1 (default 0.5). Ignored when the model reports supportsStyleReferenceStrength=false.",
                            "type": "number"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "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
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "id": "string",
      "images": [
        "string"
      ],
      "request": {
        "data": {
          "embed_exif_metadata": true,
          "format": "string",
          "height": 0,
          "hide_watermark": true,
          "model": "string",
          "prompt": "string",
          "return_binary": true,
          "safe_mode": true,
          "seed": 0,
          "steps": 0,
          "width": 0
        },
        "success": true
      },
      "timing": {
        "inferenceDuration": 0,
        "inferencePreprocessingTime": 0,
        "inferenceQueueTime": 0,
        "total": 0
      }
    },
    "type": "string"
  }
}