apyhub
FILE MANIPULATION · FILE SECURITY

Extract Invisible Text Watermark from Image API

What it does

Invisible Text Watermark Extractor reads a watermarked PNG image and returns the hidden text it contains. Send the image in the file field and get back the extracted watermark as plain text, along with the number of bytes processed.

Use it when you need to recover embedded ownership marks, provenance tags, or other invisible text from an image asset. It is aimed at workflows where watermark text is encoded in the image itself rather than overlaid visibly, so you can inspect files without manual image analysis.

The request schema is intentionally small: one binary PNG file, up to 20 MB. The response is just the extracted text and a bytes count, which makes it straightforward to plug into automated asset review, content moderation, or internal forensics pipelines.

If you process large image libraries, this endpoint gives you a simple way to batch-check whether an uploaded PNG carries an embedded invisible watermark and capture the decoded result for logging or downstream rules.

POST
Extract an invisible text watermark
https://api.eu.apyhub.com/dosvak/extract-invisible-text-watermark

QUICKSTART

GUIDE

Quickstart

Upload a watermarked PNG image to extract any invisible text watermark.

curl -X POST "https://api.eu.apyhub.com/dosvak/extract-invisible-text-watermark" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/watermarked-image.png"

What you'll get back

Returns a JSON object with optional text and bytes fields. text is the extracted watermark text as a string, and bytes is an integer value related to the result.

{
  "text": "CONFIDENTIAL",
  "bytes": 42
}
TRY ITLIVE · 100 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
Watermarked PNG image

About this endpoint

What it does

Extracts an invisible text watermark from a watermarked PNG image you upload and returns the recovered watermark text along with the number of bytes extracted.

Request Body

ParameterTypeMandatoryDescription
fileStringYesWatermarked PNG image, binary file upload. Max size: 20 MB.

Response

Returns a JSON object with two top-level fields: text as a string and bytes as an integer. text contains the extracted watermark content, and bytes reports how many bytes were extracted.

ParameterTypeMandatoryDescription
textStringNoThe extracted invisible watermark text.
bytesIntegerNoThe number of bytes extracted from the watermark.

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.