fabtally-com Slice API

The Slice API from fabtally-com — 6 operation(s) for slice.

Operations 6

POST /agent/v1/analyze Analyze — model geometry only, no slice (paid, $0.002 USDC on Base) #
POST /agent/v1/preview Preview — base64 PNG render of the model, no slice (paid, $0.005 USDC on Base) #
POST /agent/v1/slice Slice — print time, filament, layers, geometry (paid, $0.005 USDC on Base) #
POST /agent/v1/slice/preview Slice + preview PNG (paid, $0.01 USDC on Base) #
POST /agent/v1/slice/gcode Slice + sliced g-code gzip+base64 (paid, $0.015 USDC on Base) #
POST /agent/v1/slice/full Slice + preview + g-code (paid, $0.02 USDC on Base) #

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/fabtally-com:fabtally-com-slice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

fabtally-com-slice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FabTally Slice API
  version: 0.2.0
  description: 'Pay-per-call utilities for AI agents: slicer-accurate FDM 3D-printing quotes and signed point-in-time URL attestations. Settlement via x402 (USDC on Base).'
  x-guidance: 'Two paid endpoints, both x402 (USDC on Base). POST /agent/v1/quote takes a multipart body (file=STL/3MF/STEP, plus optional material and quantity) and returns print time, filament grams and a priced quote ($0.005). POST /agent/v1/attest takes JSON {url, check, needle?} and returns an ed25519-signed record of what the URL returned ($0.01). GET /agent/overview and GET /agent/v1/attest/schema are free discovery docs. Each paid call responds 402 with an x402 `accepts` challenge; pay and retry to receive the result. Bring your own pricing: POST /agent/v1/quote accepts optional material_cost_per_kg, machine_rate_per_hour, setup_fee, margin, markup_percent, minimum_price and currency — omit for hobbyist defaults, pass your own for business economics (config is free; call price unchanged). The quote echoes a `pricing_basis` object of default-vs-custom values.'
  contact:
    email: hello@fabtally.com
servers:
- url: https://fabtally.com
tags:
- name: Slice
paths:
  /agent/v1/analyze:
    post:
      operationId: analyze
      summary: Analyze — model geometry only, no slice (paid, $0.002 USDC on Base)
      tags:
      - Slice
      description: Bounding box (mm), volume (cm³), triangle count, watertight flag, fits-on-bed. No slice — fast + cheap.
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.002000'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
            maxAmountRequired: '2000'
            payTo: '0xccB5d25C698FdfdaA7B21d54088774cF512A90e3'
            resource: https://fabtally.com/agent/v1/analyze
            facilitator: https://facilitator.payai.network
            maxTimeoutSeconds: 60
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
                  description: 3D model (STL, 3MF, OBJ, PLY). Max 64 MB.
                printer:
                  type: string
                  description: Printer id for the fits-on-bed check (optional).
      responses:
        '200':
          description: Model geometry
          content:
            application/json:
              schema:
                type: object
        '402':
          description: Payment Required
  /agent/v1/preview:
    post:
      operationId: preview
      summary: Preview — base64 PNG render of the model, no slice (paid, $0.005 USDC on Base)
      tags:
      - Slice
      description: A base64-encoded PNG render of the uploaded model. No slice.
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
            maxAmountRequired: '5000'
            payTo: '0xccB5d25C698FdfdaA7B21d54088774cF512A90e3'
            resource: https://fabtally.com/agent/v1/preview
            facilitator: https://facilitator.payai.network
            maxTimeoutSeconds: 120
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
                  description: 3D model (STL, 3MF, OBJ, PLY). Max 64 MB.
      responses:
        '200':
          description: PNG render
          content:
            application/json:
              schema:
                type: object
        '402':
          description: Payment Required
  /agent/v1/slice:
    post:
      operationId: slice
      summary: Slice — print time, filament, layers, geometry (paid, $0.005 USDC on Base)
      tags:
      - Slice
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.005000'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
            maxAmountRequired: '5000'
            payTo: '0xccB5d25C698FdfdaA7B21d54088774cF512A90e3'
            resource: https://fabtally.com/agent/v1/slice
            facilitator: https://facilitator.payai.network
            maxTimeoutSeconds: 300
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
                  description: 3D model (STL, 3MF, OBJ, STEP). Max 64 MB.
                printer:
                  type: string
                  description: Printer id from GET /agent/overview `fleet`. Default elegoo-neptune4-max.
                material:
                  type: string
                  description: pla, pla-cf, petg, petg-cf, abs, abs-cf, asa, asa-cf, nylon, pc, pet, tpu. Default pla.
                quality:
                  type: string
                  description: draft (0.28mm) | standard (0.20mm) | fine (0.12mm).
                layer_height:
                  type: string
                  description: Explicit layer height mm (0.04–0.6); overrides quality.
                infill_percent:
                  type: string
                  description: Sparse infill density 0–100.
                supports:
                  type: string
                  description: auto | none | tree.
      responses:
        '200':
          description: Result
          content:
            application/json:
              schema:
                type: object
        '402':
          description: Payment Required
  /agent/v1/slice/preview:
    post:
      operationId: slice_preview
      summary: Slice + preview PNG (paid, $0.01 USDC on Base)
      tags:
      - Slice
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.010000'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
            maxAmountRequired: '10000'
            payTo: '0xccB5d25C698FdfdaA7B21d54088774cF512A90e3'
            resource: https://fabtally.com/agent/v1/slice/preview
            facilitator: https://facilitator.payai.network
            maxTimeoutSeconds: 300
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
                  description: 3D model (STL, 3MF, OBJ, STEP). Max 64 MB.
                printer:
                  type: string
                  description: Printer id from GET /agent/overview `fleet`. Default elegoo-neptune4-max.
                material:
                  type: string
                  description: pla, pla-cf, petg, petg-cf, abs, abs-cf, asa, asa-cf, nylon, pc, pet, tpu. Default pla.
                quality:
                  type: string
                  description: draft (0.28mm) | standard (0.20mm) | fine (0.12mm).
                layer_height:
                  type: string
                  description: Explicit layer height mm (0.04–0.6); overrides quality.
                infill_percent:
                  type: string
                  description: Sparse infill density 0–100.
                supports:
                  type: string
                  description: auto | none | tree.
      responses:
        '200':
          description: Result
          content:
            application/json:
              schema:
                type: object
        '402':
          description: Payment Required
  /agent/v1/slice/gcode:
    post:
      operationId: slice_gcode
      summary: Slice + sliced g-code gzip+base64 (paid, $0.015 USDC on Base)
      tags:
      - Slice
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.015000'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
            maxAmountRequired: '15000'
            payTo: '0xccB5d25C698FdfdaA7B21d54088774cF512A90e3'
            resource: https://fabtally.com/agent/v1/slice/gcode
            facilitator: https://facilitator.payai.network
            maxTimeoutSeconds: 300
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
                  description: 3D model (STL, 3MF, OBJ, STEP). Max 64 MB.
                printer:
                  type: string
                  description: Printer id from GET /agent/overview `fleet`. Default elegoo-neptune4-max.
                material:
                  type: string
                  description: pla, pla-cf, petg, petg-cf, abs, abs-cf, asa, asa-cf, nylon, pc, pet, tpu. Default pla.
                quality:
                  type: string
                  description: draft (0.28mm) | standard (0.20mm) | fine (0.12mm).
                layer_height:
                  type: string
                  description: Explicit layer height mm (0.04–0.6); overrides quality.
                infill_percent:
                  type: string
                  description: Sparse infill density 0–100.
                supports:
                  type: string
                  description: auto | none | tree.
      responses:
        '200':
          description: Result
          content:
            application/json:
              schema:
                type: object
        '402':
          description: Payment Required
  /agent/v1/slice/full:
    post:
      operationId: slice_full
      summary: Slice + preview + g-code (paid, $0.02 USDC on Base)
      tags:
      - Slice
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.020000'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
            maxAmountRequired: '20000'
            payTo: '0xccB5d25C698FdfdaA7B21d54088774cF512A90e3'
            resource: https://fabtally.com/agent/v1/slice/full
            facilitator: https://facilitator.payai.network
            maxTimeoutSeconds: 300
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
                  description: 3D model (STL, 3MF, OBJ, STEP). Max 64 MB.
                printer:
                  type: string
                  description: Printer id from GET /agent/overview `fleet`. Default elegoo-neptune4-max.
                material:
                  type: string
                  description: pla, pla-cf, petg, petg-cf, abs, abs-cf, asa, asa-cf, nylon, pc, pet, tpu. Default pla.
                quality:
                  type: string
                  description: draft (0.28mm) | standard (0.20mm) | fine (0.12mm).
                layer_height:
                  type: string
                  description: Explicit layer height mm (0.04–0.6); overrides quality.
                infill_percent:
                  type: string
                  description: Sparse infill density 0–100.
                supports:
                  type: string
                  description: auto | none | tree.
      responses:
        '200':
          description: Result
          content:
            application/json:
              schema:
                type: object
        '402':
          description: Payment Required