txtreel API

txtreel API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-27); not the provider's own document.

GitHub OpenAPI

Operations 5

POST /api/render POST /api/render #
GET /api/renders/{id} Get render status and result. #
GET /api/schema Retrieve JSON schema. #
POST /api/still Generate a PNG screenshot. #
POST /api/validate Validate input without rendering. #

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/txtreel-com:txtreel-com-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

txtreel-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: txtreel API
  version: '2026-11-27'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-27: 5 operation(s) read from 2 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; txtreel has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 4
    pages-with-code: 1
    pages-read: 2
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-27'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://txtreel.com/api
  - https://txtreel.com/api/schema
servers:
- url: https://txtreel.com
paths:
  /api/render:
    post:
      operationId: post_api_render
      tags:
      - Api
      summary: POST /api/render
      x-source: https://txtreel.com/api
      parameters:
      - name: wait
        in: query
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiRenderRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST 'https://txtreel.com/api/render?wait=1'  -H 'content-type: application/json'  -d '{\"platform\":\"whatsapp\",\"\
          theme\":\"dark\",\"contact\":{\"name\":\"Mom\"},\n \"script\":\"Mom: who is Jessica\\nme: what?? why\\n[pause 1.5]\\nMom: she just called\
          \ the house\"}' Copy Reddit threads use the same endpoints with \"platform\": \"reddit\" : curl -X POST 'https://txtreel.com/api/render?wait=1'\
          \  -H 'content-type: app"
  /api/renders/{id}:
    get:
      operationId: get_api_renders_id
      tags:
      - Api
      summary: Get render status and result.
      description: 'GET /api/renders/:id { status: queued | bundling | rendering | done | error, progress, queuePosition, url, durationSeconds,
        error }'
      x-source: https://txtreel.com/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiRendersIdResponse'
      x-evidence:
        kind: documentation
  /api/schema:
    get:
      operationId: get_api_schema
      tags:
      - Api
      summary: Retrieve JSON schema.
      description: GET /api/schema JSON Schema of both formats, plus the script syntax.
      x-source: https://txtreel.com/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/still:
    post:
      operationId: post_api_still
      tags:
      - Api
      summary: Generate a PNG screenshot.
      description: 'POST /api/still { conversation, frame? } → {url} of a 1080×1920 PNG. Default frame: the last one.'
      x-source: https://txtreel.com/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiStillRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiStillResponse'
      x-evidence:
        kind: documentation
  /api/validate:
    post:
      operationId: post_api_validate
      tags:
      - Api
      summary: Validate input without rendering.
      description: 'POST /api/validate Checks the input without rendering: errors, or duration and message count. Not rate-limited.'
      x-source: https://txtreel.com/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiValidateRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiRenderRequest:
      type: object
      properties:
        platform:
          type: string
        theme:
          type: string
        contact:
          type: object
          properties:
            name:
              type: string
        script:
          type: string
    GetApiRendersIdResponse:
      type: object
      properties:
        status:
          type: string
        progress:
          type: number
        queuePosition:
          type: integer
        url:
          type: string
        durationSeconds:
          type: number
        error:
          type: string
    PostApiStillRequest:
      type: object
      properties:
        conversation:
          type: object
        frame:
          type: integer
      required:
      - conversation
    PostApiStillResponse:
      type: object
      properties:
        url:
          type: string
    PostApiValidateRequest:
      type: object
      properties:
        conversation:
          type: object
        script:
          type: string
      required:
      - conversation
tags:
- name: Api