Webanto Inference API

The Inference API from Webanto, for inference.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

POST /chat Create a chat completion #
POST /embeddings Create text embeddings #
POST /image-embeddings Create image embeddings #
POST /images Generate images #
POST /images/remove-background Remove an image background #
POST /images/upscale Upscale an image #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/webanto-com:webanto-com-inference-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

webanto-com-inference-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Webanto Inference API
  version: 1.1.0
  description: Public inference and commerce automation API. API keys are organization-scoped and must be kept on a trusted server. Product enrich and publish requests are asynchronous, idempotent workflows.
servers:
- url: https://api.webanto.com/api/v1
  description: Production
security:
- bearerAuth: []
tags:
- name: Inference
paths:
  /chat:
    post:
      tags:
      - Inference
      summary: Create a chat completion
      x-required-scope: chat
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - model
              - messages
              properties:
                model:
                  type: string
                  example: qwen
                messages:
                  type: array
                  items:
                    type: object
                max_tokens:
                  type: integer
                temperature:
                  type: number
                reasoning_effort:
                  type: string
      responses:
        '200':
          description: Completion
        '402':
          $ref: '#/components/responses/QuotaExceeded'
      operationId: postChat
      x-operation-id-source: derived
  /embeddings:
    post:
      tags:
      - Inference
      summary: Create text embeddings
      x-required-scope: embeddings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - model
              - input
              properties:
                model:
                  type: string
                  example: nomic-embed-text
                input:
                  oneOf:
                  - type: string
                  - type: array
                    items:
                      type: string
                    maxItems: 100
      responses:
        '200':
          description: Embedding vectors
      operationId: postEmbeddings
      x-operation-id-source: derived
  /image-embeddings:
    post:
      tags:
      - Inference
      summary: Create image embeddings
      x-required-scope: embeddings
      responses:
        '200':
          description: Image embedding vectors
      operationId: postImageEmbeddings
      x-operation-id-source: derived
  /images:
    post:
      tags:
      - Inference
      summary: Generate images
      x-required-scope: images
      responses:
        '200':
          description: Generated images
      operationId: postImages
      x-operation-id-source: derived
  /images/remove-background:
    post:
      tags:
      - Inference
      summary: Remove an image background
      x-required-scope: images
      parameters:
      - name: output
        in: query
        description: 'white (default): product on #FFFFFF. alpha: the same cutout as a transparent RGBA PNG. Same credits.'
        schema:
          type: string
          enum:
          - white
          - alpha
          default: white
      requestBody:
        required: true
        content:
          image/jpeg: {}
          image/png: {}
          image/webp: {}
      responses:
        '200':
          description: PNG image
          content:
            image/png: {}
      operationId: postImagesRemoveBackground
      x-operation-id-source: derived
  /images/upscale:
    post:
      tags:
      - Inference
      summary: Upscale an image
      description: Real-ESRGAN super-resolution. Input up to 25 MB and 2.2 megapixels (413 above either). Credits are returned in the X-Webanto-Credits header.
      x-required-scope: images
      parameters:
      - name: scale
        in: query
        schema:
          type: integer
          enum:
          - 2
          - 4
          default: 4
      - name: max_edge
        in: query
        description: After super-resolution, Lanczos-downsample so the long edge is at most this. Never enlarges beyond scale.
        schema:
          type: integer
          minimum: 1
          maximum: 16384
      - name: format
        in: query
        schema:
          type: string
          enum:
          - png
          - jpeg
          default: png
      - name: Idempotency-Key
        in: header
        description: Optional. Attributes the call in metering; reuse it only for the exact same request.
        schema:
          type: string
      requestBody:
        required: true
        content:
          image/jpeg: {}
          image/png: {}
          image/webp: {}
      responses:
        '200':
          description: Upscaled image
          content:
            image/png: {}
            image/jpeg: {}
        '413':
          description: Input over 25 MB or 2.2 megapixels
      operationId: postImagesUpscale
      x-operation-id-source: derived
webhooks:
  platformWorkflowTerminal:
    post:
      summary: Workflow completion callback
      description: Sent when an async platform job succeeds or fails. Verify webanto-signature as HMAC-SHA256 over `.` using the request's webhook secret. Reject stale timestamps.
      parameters:
      - name: webanto-event
        in: header
        required: true
        schema:
          type: string
      - name: webanto-delivery
        in: header
        required: true
        schema:
          type: string
      - name: webanto-timestamp
        in: header
        required: true
        schema:
          type: string
      - name: webanto-signature
        in: header
        required: true
        schema:
          type: string
          pattern: ^v1=[a-f0-9]{64}$
      responses:
        '200':
          description: Callback accepted
      tags:
      - Inference
components:
  schemas:
    Error:
      type: object
      required:
      - error
      - code
      properties:
        error:
          type: string
        code:
          type: string
  responses:
    QuotaExceeded:
      description: AI credit quota exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: wba_live_...
    mcpOAuth:
      type: oauth2
      description: 'OAuth 2.1 for the MCP endpoint and every v1 route whose scope is listed below (inference, catalog and usage routes accept API keys only). PKCE S256 is required; clients register dynamically or by Client ID Metadata Document. Discovery: https://webanto.com/.well-known/oauth-authorization-server.'
      flows:
        authorizationCode:
          authorizationUrl: https://webanto.com/account/oauth/authorize
          tokenUrl: https://webanto.com/api/v1/oauth/token
          refreshUrl: https://webanto.com/api/v1/oauth/token
          scopes:
            products:read: Read the store catalog
            products:enrich: Request AI product copy proposals
            jobs:read: Read job status
            seo:read: Read Search Console opportunities
            memory:read: Search organization knowledge
            commerce:read: Read orders and customers
            social:read: Read social posts