API reference
The API reference is generated from the public TypeScript declarations on every site build.
Methods
Section titled “Methods”Marker.markTextrenders text-only layers.Marker.markImagerenders image-only layers.Marker.markrenders ordered mixed layers.Marker.createRecipecreates reusable batch workflows.Marker.embedInvisiblewrites an authenticated short trace ID into image pixels.Marker.detectInvisiblerecovers and verifies an invisible trace ID.Marker.embedInvisibleManyandMarker.detectInvisibleManyrun ordered, independently reported trace batches.Marker.embedInvisibleWithCredentialsandMarker.verifyContentCredentialscompose the pixel locator with an application-supplied signing adapter.
Core 2 visible render and invisible embed methods resolve to MarkerResult.
Use result.uri for the image and inspect jobId, operation, format,
mimeType, durationMs, and metadata for diagnostics. Single operations
accept MarkerJobOptions as their second argument; failures are
ImageMarkerError instances with a stable code.
Recipe v2 serializes stable layers and nested output. Import old persisted
documents with migrateWatermarkRecipe() before creating the runtime Recipe.
Start with the main option types
Section titled “Start with the main option types”TextMarkOptionsImageMarkOptionsMarkOptionsPositionOptionsEmbedInvisibleWatermarkOptionsDetectInvisibleWatermarkOptionsInvisibleWatermarkDetectionResultMarkerResultMarkerJobOptions
Use the generated API reference group in the sidebar to browse all enums, interfaces, and type aliases.