resemble-ai/textseal

Meta TextSeal - Post-hoc text watermarking and detection via LLM rephrasing

Public
14 runs

Run resemble-ai/textseal with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
text
string
Text to watermark or detect watermark in.
mode
None
watermark
'watermark' to embed a watermark via rephrasing, 'detect' to check for an existing watermark.
watermark_type
None
gumbelmax
Watermark algorithm.
model_name
string
Qwen/Qwen2.5-1.5B-Instruct
HuggingFace model for rephrasing (watermark mode only).
secret_key
integer
42
None
temperature
number
0.9

Min: 0.1

Max: 2

None
top_p
number
0.95

Min: 0.1

Max: 1

None
delta
number
2

Min: 0.5

Max: 10

None
ngram
integer
1

Min: 1

Max: 4

None

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output"
}