Skip to main content
Glama
jaweii
by jaweii

EraseText API

Official docs, OpenAPI spec, Python SDK, and agent tools for EraseText — a specialised AI text remover for photos and graphics. It erases lettering and the glow, stroke, and shadow that came with it, then rebuilds the plate underneath.

This repository is the public developer surface. The product itself lives at erasetext.com. Canonical HTTP docs: erasetext.com/docs/api.

Try it

  • Editor (free to erase; full-res download uses credits): erasetext.com/upload

  • HTTP API: https://api.erasetext.com/v1

  • MCP: https://api.erasetext.com/mcp

  • First API key includes a 50-credit trial, no card.

Create a key under Account → Developer.

curl -X POST \
  -H "X-Api-Key: et_…" \
  -F "image_file=@photo.jpg" \
  "https://api.erasetext.com/v1/erase" \
  -o out.webp

Omit the mask to detect and erase all text. White pixels (channel >127) in a mask mark what to erase.

Related MCP server: Poof Background Removal MCP Server

Python SDK

pip install erasetext
# optional agent extras
pip install 'erasetext[langchain]'
pip install 'erasetext[llamaindex]'
from erasetext import EraseText

client = EraseText()  # reads ERASETEXT_API_KEY
image = client.erase(image_path="photo.jpg")
Path("out.webp").write_bytes(image)

erase() spends 1 credit on success. Failures and account() are free. Do not send size or engine — both are retired and return 400.

MCP

Remote Streamable HTTP. Same key, same billing as the HTTP API.

{
  "mcpServers": {
    "erasetext": {
      "url": "https://api.erasetext.com/mcp",
      "headers": { "X-Api-Key": "et_…" }
    }
  }
}

Tools: erase_text (1 credit on success), get_account (free).

LangChain

from erasetext.langchain import EraseTextToolkit

tools = EraseTextToolkit().get_tools()
# tools: erase_text, get_erasetext_account

Requires pip install 'erasetext[langchain]'.

LlamaIndex

from erasetext.llamaindex import EraseTextToolSpec

tools = EraseTextToolSpec().to_tool_list()

Requires pip install 'erasetext[llamaindex]'.

Specs

File

What

openapi.json

HTTP OpenAPI 3.1

server.json

MCP Registry record (remote Streamable HTTP)

https://erasetext.com/llms.txt

Machine-readable product + API summary

https://erasetext.com/openapi.json

Same spec, hosted next to the product

Operated by Morling, LLC. The SDK and specs in this repository are MIT; the hosted erase service is a commercial product.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Upload, organize, search, and transform images, videos, and files with AI-powered tools.

  • Manage your AceData Cloud account: services, pricing, APIs, docs, balance, usage, keys & orders

  • OCR.space MCP — wraps the OCR.space API (ocr.space) for image/PDF → text OCR.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jaweii/erasetext-api'

If you have feedback or need assistance with the MCP directory API, please join our Discord server