SparkForge API

SparkForge API as documented publicly: 29 operations. Contract generated from the documentation by API Evangelist (2026-11-25); not the provider's own document.

GitHub OpenAPI

Operations 29

GET /api/convert GET /api/convert #
POST /api/convert POST /api/convert #
GET /api/cron GET /api/cron #
POST /api/cron POST /api/cron #
GET /api/diff GET /api/diff #
POST /api/diff POST /api/diff #
GET /api/extract GET /api/extract #
POST /api/extract POST /api/extract #
GET /api/generate GET /api/generate #
POST /api/generate POST /api/generate #
GET /api/meme GET /api/meme #
POST /api/meme POST /api/meme #
GET /api/models GET /api/models #
GET /api/notify GET /api/notify #
POST /api/notify POST /api/notify #
GET /api/ocr GET /api/ocr #
POST /api/ocr POST /api/ocr #
GET /api/qrcode GET /api/qrcode #
POST /api/qrcode POST /api/qrcode #
GET /api/scrape GET /api/scrape #
POST /api/scrape POST /api/scrape #
POST /api/search POST /api/search #
GET /api/store GET /api/store #
POST /api/store POST /api/store #
GET /api/tts GET /api/tts #
POST /api/tts POST /api/tts #
GET /api/video GET /api/video #
POST /api/video POST /api/video #

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/sparkforge-sh:sparkforge-sh-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

sparkforge-sh-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: SparkForge API
  version: '2026-11-25'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-25: 29 operation(s) read from 15 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; SparkForge has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 29
    documentation: 0
    pages-with-code: 15
    pages-read: 15
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-25'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://sparkforge.sh/docs/ocr
  - https://sparkforge.sh/docs/tts
  - https://sparkforge.sh/docs/cron
  - https://sparkforge.sh/docs/diff
  - https://sparkforge.sh/docs/meme
  - https://sparkforge.sh/docs/store
  - https://sparkforge.sh/docs/video
  - https://sparkforge.sh/docs/models
  - https://sparkforge.sh/docs/notify
  - https://sparkforge.sh/docs/qrcode
  - https://sparkforge.sh/docs/scrape
  - https://sparkforge.sh/docs/search
  - https://sparkforge.sh/docs/convert
  - https://sparkforge.sh/docs/extract
  - https://sparkforge.sh/docs/generate
paths:
  /api/convert:
    get:
      operationId: get_api_convert
      tags:
      - Api
      summary: GET /api/convert
      x-source: https://sparkforge.sh/docs/convert
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/convert?demo=true
    post:
      operationId: post_api_convert
      tags:
      - Api
      summary: POST /api/convert
      x-source: https://sparkforge.sh/docs/convert
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiConvertRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiConvertResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://sparkforge.sh/api/convert  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"\
          \  -d '{\n \"input\": \"bmFtZSxhZ2UKQWxpY2UsMzAKQm9iLDI1\",\n \"from\": \"csv\",\n \"to\": \"json\"\n }'"
  /api/cron:
    get:
      operationId: get_api_cron
      tags:
      - Api
      summary: GET /api/cron
      x-source: https://sparkforge.sh/docs/cron
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/cron?demo=true
    post:
      operationId: post_api_cron
      tags:
      - Api
      summary: POST /api/cron
      x-source: https://sparkforge.sh/docs/cron
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiCronRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiCronResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://sparkforge.sh/api/cron  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\" \
          \ -d '{\n \"action\": \"register\",\n \"webhook\": \"https://myagent.example.com/tick\",\n \"schedule\": \"*/5 * * * *\",\n \"payload\"\
          : { \"task\": \"check-prices\" }\n }'"
  /api/diff:
    get:
      operationId: get_api_diff
      tags:
      - Api
      summary: GET /api/diff
      x-source: https://sparkforge.sh/docs/diff
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/diff?demo=true
    post:
      operationId: post_api_diff
      tags:
      - Api
      summary: POST /api/diff
      x-source: https://sparkforge.sh/docs/diff
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiDiffRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiDiffResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl bash curl -X POST https://sparkforge.sh/api/diff  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"\
          \  -d '{\n \"text1\": \"Hello World\\nThis is the original text.\",\n \"text2\": \"Hello SparkForge\\nThis is the modified text.\"\n\
          \ }' Python python import requests\nresponse = requests.post(\n \"https://sparkforge.sh/api/diff\",\n headers={\"Content-Type\": \"\
          application/json\", \"X-PAYMENT\": "
  /api/extract:
    get:
      operationId: get_api_extract
      tags:
      - Api
      summary: GET /api/extract
      x-source: https://sparkforge.sh/docs/extract
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/extract?demo=true
    post:
      operationId: post_api_extract
      tags:
      - Api
      summary: POST /api/extract
      x-source: https://sparkforge.sh/docs/extract
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiExtractRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiExtractResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl bash curl -X POST https://sparkforge.sh/api/extract  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"\
          \  -d '{\n \"url\": \"https://example.com/product/widget-pro\",\n \"schema\": {\n \"name\": \"string\",\n \"price\": \"number\",\n \"\
          description\": \"string\",\n \"in_stock\": \"boolean\"\n },\n \"instructions\": \"Extract main product information from the page\"\n\
          \ }' Python python import requests\nrespon"
  /api/generate:
    get:
      operationId: get_api_generate
      tags:
      - Api
      summary: GET /api/generate
      x-source: https://sparkforge.sh/docs/generate
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/generate?demo=true
    post:
      operationId: post_api_generate
      tags:
      - Api
      summary: POST /api/generate
      x-source: https://sparkforge.sh/docs/generate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiGenerateRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiGenerateResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl bash curl -X POST https://sparkforge.sh/api/generate  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"\
          \  -d '{\n \"prompt\": \"A neon-lit cyberpunk city at night, rain reflections\",\n \"model\": \"flux-schnell\",\n \"width\": 1024,\n\
          \ \"height\": 1024\n }' Python python import requests\nresponse = requests.post(\n \"https://sparkforge.sh/api/generate\",\n headers={\n\
          \ \"Content-Type\": \"applica"
  /api/meme:
    get:
      operationId: get_api_meme
      tags:
      - Api
      summary: GET /api/meme
      x-source: https://sparkforge.sh/docs/meme
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/meme?demo=true
    post:
      operationId: post_api_meme
      tags:
      - Api
      summary: POST /api/meme
      x-source: https://sparkforge.sh/docs/meme
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiMemeRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiMemeResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl bash curl -X POST https://sparkforge.sh/api/meme  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"\
          \  -d '{\n \"topText\": \"When you deploy on Friday\",\n \"bottomText\": \"And it works\",\n \"template\": \"drake\"\n }' Python python\
          \ import requests\nresponse = requests.post(\n \"https://sparkforge.sh/api/meme\",\n headers={\"Content-Type\": \"application/json\"\
          , \"X-PAYMENT\": \"<token>\"},\n json"
  /api/models:
    get:
      operationId: get_api_models
      tags:
      - Api
      summary: GET /api/models
      x-source: https://sparkforge.sh/docs/models
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiModelsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://sparkforge.sh/api/models Python python import requests\nr = requests.get(\"https://sparkforge.sh/api/models\")\n\
          data = r.json()\nfor svc in data[\"services\"]:\n print(f\"{svc['name']}: {svc['price']} — {svc['endpoint']}\") TypeScript / Node.js\
          \ typescript //No x402 needed — this is a free GET endpoint\nconst res = await fetch(\"https://sparkforge.sh/api/models\");\nconst {\
          \ services, payment } = awa"
  /api/notify:
    get:
      operationId: get_api_notify
      tags:
      - Api
      summary: GET /api/notify
      x-source: https://sparkforge.sh/docs/notify
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/notify?demo=true
    post:
      operationId: post_api_notify
      tags:
      - Api
      summary: POST /api/notify
      x-source: https://sparkforge.sh/docs/notify
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiNotifyRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiNotifyResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://sparkforge.sh/api/notify  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"\
          \  -d '{\n \"action\": \"send\",\n \"to\": \"0xRecipientWalletAddress\",\n \"message\": \"Task complete. Results ready.\",\n \"channel\"\
          : \"results\"\n }'"
  /api/ocr:
    get:
      operationId: get_api_ocr
      tags:
      - Api
      summary: GET /api/ocr
      x-source: https://sparkforge.sh/docs/ocr
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/ocr?demo=true
    post:
      operationId: post_api_ocr
      tags:
      - Api
      summary: POST /api/ocr
      x-source: https://sparkforge.sh/docs/ocr
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiOcrRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiOcrResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://sparkforge.sh/api/ocr  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"  -d\
          \ '{\n \"image\": \"https://example.com/invoice.jpg\",\n \"language\": \"en\"\n }'"
  /api/qrcode:
    get:
      operationId: get_api_qrcode
      tags:
      - Api
      summary: GET /api/qrcode
      x-source: https://sparkforge.sh/docs/qrcode
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/qrcode?demo=true
    post:
      operationId: post_api_qrcode
      tags:
      - Api
      summary: POST /api/qrcode
      x-source: https://sparkforge.sh/docs/qrcode
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiQrcodeRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiQrcodeResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl bash curl -X POST https://sparkforge.sh/api/qrcode  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"\
          \  -d '{\"data\": \"https://sparkforge.sh\"}' Python python import requests, base64\nresponse = requests.post(\n \"https://sparkforge.sh/api/qrcode\"\
          ,\n headers={\"Content-Type\": \"application/json\", \"X-PAYMENT\": \"<token>\"},\n json={\"data\": \"https://sparkforge.sh\"}\n)\n\
          data = response"
  /api/scrape:
    get:
      operationId: get_api_scrape
      tags:
      - Api
      summary: GET /api/scrape
      x-source: https://sparkforge.sh/docs/scrape
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/scrape?demo=true
    post:
      operationId: post_api_scrape
      tags:
      - Api
      summary: POST /api/scrape
      x-source: https://sparkforge.sh/docs/scrape
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiScrapeRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiScrapeResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl bash curl -X POST https://sparkforge.sh/api/scrape  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"\
          \  -d '{\n \"url\": \"https://news.ycombinator.com\",\n \"selector\": \".titleline\",\n \"format\": \"text\"\n }' Python python import\
          \ requests\nresponse = requests.post(\n \"https://sparkforge.sh/api/scrape\",\n headers={\"Content-Type\": \"application/json\", \"\
          X-PAYMENT\": \"<token>\"},\n json={\"u"
  /api/search:
    get:
      operationId: get_api_search
      tags:
      - Api
      summary: GET /api/search
      x-source: https://sparkforge.sh/docs/search
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/search?demo=true
    post:
      operationId: post_api_search
      tags:
      - Api
      summary: POST /api/search
      x-source: https://sparkforge.sh/docs/search
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiSearchRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiSearchResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl bash curl -X POST https://sparkforge.sh/api/search  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"\
          \  -d '{\n \"query\": \"Bitcoin ETF inflows 2026\",\n \"count\": 5,\n \"freshness\": \"pw\"\n }' Python python import requests\nresponse\
          \ = requests.post(\n \"https://sparkforge.sh/api/search\",\n headers={\n \"Content-Type\": \"application/json\",\n \"X-PAYMENT\": \"\
          <x402-payment-token>\"\n },\n json="
  /api/store:
    get:
      operationId: get_api_store
      tags:
      - Api
      summary: GET /api/store
      x-source: https://sparkforge.sh/docs/store
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/store?demo=true
    post:
      operationId: post_api_store
      tags:
      - Api
      summary: POST /api/store
      x-source: https://sparkforge.sh/docs/store
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiStoreRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiStoreResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST https://sparkforge.sh/api/store  -H "Content-Type: application/json"  -H "X-PAYMENT: <x402-payment-token>"  -d
          ''{"action":"set","key":"my-agent-state","value":{"step":3,"done":false},"ttl":3600}'''
  /api/tts:
    get:
      operationId: get_api_tts
      tags:
      - Api
      summary: GET /api/tts
      x-source: https://sparkforge.sh/docs/tts
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/tts?demo=true
    post:
      operationId: post_api_tts
      tags:
      - Api
      summary: POST /api/tts
      x-source: https://sparkforge.sh/docs/tts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiTtsRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiTtsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl bash curl -X POST https://sparkforge.sh/api/tts  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"\
          \  -d '{\n \"text\": \"Hello! Welcome to SparkForge, the API network for AI agents.\",\n \"voice\": \"Rachel\"\n }' Python python import\
          \ requests\nresponse = requests.post(\n \"https://sparkforge.sh/api/tts\",\n headers={\"Content-Type\": \"application/json\", \"X-PAYMENT\"\
          : \"<token>\"},\n json={\""
  /api/video:
    get:
      operationId: get_api_video
      tags:
      - Api
      summary: GET /api/video
      x-source: https://sparkforge.sh/docs/video
      parameters:
      - name: demo
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://sparkforge.sh/api/video?demo=true
    post:
      operationId: post_api_video
      tags:
      - Api
      summary: POST /api/video
      x-source: https://sparkforge.sh/docs/video
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiVideoRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiVideoResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl bash curl -X POST https://sparkforge.sh/api/video  -H \"Content-Type: application/json\"  -H \"X-PAYMENT: <x402-payment-token>\"\
          \  -d '{\n \"prompt\": \"A golden sunset over ocean waves, cinematic\",\n \"duration\": 4\n }' Python python import requests\nresponse\
          \ = requests.post(\n \"https://sparkforge.sh/api/video\",\n headers={\"Content-Type\": \"application/json\", \"X-PAYMENT\": \"<token>\"\
          },\n json={\"prompt\": \"A gol"
components:
  schemas:
    PostApiConvertRequest:
      type: object
      properties:
        input:
          type: string
        from:
          type: string
        to:
          type: string
    PostApiConvertResponse:
      type: object
      properties:
        Content-Type:
          type: string
        X-PAYMENT:
          type: string
    PostApiCronRequest:
      type: object
      properties:
        action:
          type: string
        webhook:
          type: string
        schedule:
          type: string
        payload:
          type: object
          properties:
            task:
              type: string
    PostApiCronResponse:
      type: object
      properties:
        action:
          type: string
        cronId:
          type: string
        schedule:
          type: string
        webhook:
          type: string
        message:
          type: string
        success:
          type: boolean
    PostApiDiffRequest:
      type: object
      properties:
        text1:
          type: string
        text2:
          type: string
    PostApiDiffResponse:
      type: object
      properties:
        Content-Type:
          type: string
        X-PAYMENT:
          type: string
    PostApiExtractRequest:
      type: object
      properties:
        url:
          type: string
        schema:
          type: object
          properties:
            name:
              type: string
            price:
              type: string
            description:
              type: string
            in_stock:
              type: string
        instructions:
          type: string
    PostApiExtractResponse:
      type: object
      properties:
        Content-Type:
          type: string
        X-PAYMENT:
          type: string
    PostApiGenerateRequest:
      type: object
      properties:
        prompt:
          type: string
        model:
          type: string
        width:
          type: integer
        height:
          type: integer
    PostApiGenerateResponse:
      type: object
      properties:
        Content-Type:
          type: string
        X-PAYMENT:
          type: string
    PostApiMemeRequest:
      type: object
      properties:
        topText:
          type: string
        bottomText:
          type: string
        template:
          type: string
    PostApiMemeResponse:
      type: object
      properties:
        Content-Type:
          type: string
        X-PAYMENT:
          type: string
    GetApiModelsResponse:
      type: object
      properties:
        services:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              category:
                type: string
              endpoint:
                type: string
              name:
                type: string
              price:
                type: string
              priceRaw:
                type: string
              description:
                type: string
              parameters:
                type: object
                properties:
                  timeframe:
                    type: string
              avgTimeSeconds:
                type: integer
              demo:
                type: string
        payment:
          type: object
          properties:
            network:
              type: string
            token:
              type: string
            protocol:
              type: string
            receiver:
              type: string
    PostApiNotifyRequest:
      type: object
      properties:
        action:
          type: string
        to:
          type: string
        message:
          type: string
        channel:
          type: string
    PostApiNotifyResponse:
      type: object
      properties:
        action:
          type: string
        wallet:
          type: string
        messages:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              from:
                type: string
              to:
                type: string
              message:
                type: string
              channel:
                type: string
              timestamp:
                type: integer
              read:
                type: boolean
        total:
          type: integer
        unread:
          type: integer
        success:
          type: boolean
    PostApiOcrRequest:
      type: object
      properties:
        image:
          type: string
        language:
          type: string
    PostApiOcrResponse:
      type: object
      properties:
        Content-Type:
          type: string
        X-PAYMENT:
          type: string
    PostApiQrcodeRequest:
      type: object
      properties:
        data:
          type: string
    PostApiQrcodeResponse:
      type: object
      properties:
        Content-Type:
          type: string
        X-PAYMENT:
          type: string
    PostApiScrapeRequest:
      type: object
      properties:
        url:
          type: string
        selector:
          type: string
        format:
          type: string
    PostApiScrapeResponse:
      type: object
      properties:
        Content-Type:
          type: string
        X-PAYMENT:
          type: string
    PostApiSearchRequest:
      type: object
      properties:
        query:
          type: string
        count:
          type: integer
        freshness:
          type: string
    PostApiSearchResponse:
      type: object
      properties:
        Content-Type:
          type: string
        X-PAYMENT:
          type: string
    PostApiStoreRequest:
      type: object
      properties:
        action:
          type: string
        key:
          type: string
        value:
          type: object
          properties:
            step:
              type: integer
            done:
              type: boolean
        ttl:
          type: integer
    PostApiStoreResponse:
      type: object
      properties:
        action:
          type: string
        key:
          type: string
        value:
          type: object
          properties:
            step:
              type: integer
            done:
              type: boolean
        ttl:
          type: integer
        found:
          type: boolean
        success:
          type: boolean
    PostApiTtsRequest:
      type: object
      properties:
        text:
          type: string
        voice:
          type: string
    PostApiTtsResponse:
      type: object
      properties:
        Content-Type:
          type: string
        X-PAYMENT:
          type: string
    PostApiVideoRequest:
      type: object
      properties:
        prompt:
          type: string
        duration:
          type: integer
    PostApiVideoResponse:
      type: object
      properties:
        Content-Type:
          type: string
        X-PAYMENT:
          type: string
  securitySchemes:
    X-PAYMENT:
      type: apiKey
      in: header
      name: X-PAYMENT
      x-source: https://sparkforge.sh/docs/token-research
tags:
- name: Api
security:
- X-PAYMENT: []