REST API · Live

Remove Text API

A production Remove Text API that finds watermarks, date stamps, captions and other lettering on a photo and fills the pixels underneath. One HTTP call. $0.005 per image (5 credits). 5,000 free credits (24-hour trial), no credit card.

$0.005 / imageAuto-detect glyphsOptional targeted prompt5,000 free credits (24-hour trial)No credit card
Get an API key (free) Quick start See pricing API docs

Quick start — Remove Text API

Upload the image. You do not have to box the watermark. The Remove Text API detects lettering and reconstructs the pixels underneath. Use optional prompt when only one mark should go.

curl -X POST https://api.pixelapi.dev/v1/image/remove-text \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "image=@photo.jpg" \
  -F "languages=en"

# Optional: clamp to one mark
# -F 'prompt=remove the "ACME" watermark'

curl https://api.pixelapi.dev/v1/image/GENERATION_ID \
  -H "Authorization: Bearer YOUR_API_KEY"
import requests
r = requests.post(
    "https://api.pixelapi.dev/v1/image/remove-text",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    files={"image": open("photo.jpg", "rb")},
    data={"languages": "en", "prompt": 'remove the "ACME" watermark'},
)
job = r.json()
import fs from "fs";
const form = new FormData();
form.append("image", fs.createReadStream("photo.jpg"));
form.append("languages", "en");
const res = await fetch("https://api.pixelapi.dev/v1/image/remove-text", {
  method: "POST",
  headers: { Authorization: "Bearer " + process.env.PIXELAPI_KEY },
  body: form,
});
package main
// POST multipart field "image" to https://api.pixelapi.dev/v1/image/remove-text
// Header: Authorization: Bearer YOUR_API_KEY
// Then GET /v1/image/{id} until status == "completed"

What the Remove Text API is for

Stock sites, screenshot pipelines, and user-upload apps collect frames that already have a date in the corner, a social handle, or a translucent agency watermark. Brushing those out by hand does not scale. This Remove Text API is a dedicated REST route: it finds glyphs, builds a tight mask, and fills the region so the photo can ship.

It is cheaper and stricter than general object removal. Live price is $0.005 per image (5 credits). Do not quote the object-removal rate (12.5 credits) and do not quote retired numbers from old docs. If a client asks to delete a person or a cable, send them to the Remove Object API. If they want a transparent cutout, use Background Removal.

Automatic detection

Required field is image. Default language pack is English. The detector is built for superimposed type — timestamps, watermarks, captions — not for reconstructing a shop sign that is part of the scene you want to keep.

Targeted prompt

Optional prompt names the overlay so only that mark is clamped. Quote the exact string when you know it. Optional languages is a comma-separated OCR code list.

Pricing comparison

VendorWhat you getTypical paid rate
PixelAPI Remove Text APIDetect + fill watermarks and captions, REST$0.005 / image
PixelAPI Remove Object APIPeople, wires, stickers — not specialized for glyphs$0.0125 / image
Consumer “watermark remover” sitesUpload UI, often a watermark of their ownSubscription or $0.02+
Manual inpaint in a desktop editorFull control, no APISeat license

5,000 free credits (24-hour trial), no card. After the trial, prepaid credits. Always read /v1/pricing/live in production so a dashboard copy cannot drift from the meter.

Production notes

Use cases and related pages

Newsrooms strip agency bugs from wires. Marketplaces strip seller timestamps. Photo apps strip the camera-clock overlay grandparents still enable. Screenshot products strip UI chrome text that leaked into a capture.

Related how-tos live under object-removal because many teams start there by mistake: remove text, remove watermark. After the fill, print pipelines often call the Upscale API. Semantic restyle (not glyph erase) is the AI Image Editor API. Hubs: use cases, alternatives, howto, docs.

Frequently asked questions

How do I remove text from an image via API?

POST the photo to https://api.pixelapi.dev/v1/image/remove-text with a Bearer API key. The detector finds captions, stamps, and watermarks and fills them. Poll GET /v1/image/{id} until completed, then download output_url.

What does the Remove Text API cost?

$0.005 per image (5 credits). That is the live meter on /v1/pricing/live — not 37 credits and not the object-removal rate. 5,000 free credits on a 24-hour trial, no card.

Remove Text vs Remove Object — which one?

Remove Text is for lettering: watermarks, date stamps, captions, phone numbers, superimposed titles. Remove Object is for physical things (people, wires, logos as stickers). If the mark is written, start here.

Can I target one watermark and leave other text?

Yes. Optional prompt names the overlay (for example a quoted brand mark). The job then clamps to that mark instead of wiping every glyph on the frame.

Does it support languages other than English?

Pass languages as a comma-separated list of OCR codes. Default is en. Chinese accepts zh / zh-cn for simplified and zh-tw / zh-hk for traditional.

Will it eat product labels I want to keep?

It tries to spare in-scene packaging type when you name the overlay in prompt. If a catalog shot must keep a label, either crop before the call or name the watermark so the mask does not cover the label.

How fast is it?

Most frames finish in a few seconds. Hard multi-script watermarks take longer. Poll; do not assume a fixed wall-clock.

What about rate limits?

20 requests/minute on the free trial, 60 on Starter, 120 on Pro and 300 on Scale, plus 3/10/20/50 parallel jobs. See /docs/parallel-processing.html.