API playground
Submit rewrite or detection requests and inspect the JSON response.
Input
Lowest score first. Style and strength controls use the existing GLM Flash repair pass.
Protect text and citations
Detector selection
The five surrogates estimate ZeroGPT, Desklib, SuperAnnotate, Winston and Sapling scores. They run with the main Unslop detector.
Credentials stay in this page and the current request; they are not saved. ZeroGPT and Copyleaks expect a bearer access token.
Response
ReadyNo response
Submit a request to view the result.
Request and response
Run a request to inspect its response.
Saved styles
Create a style from 3–10 original/rewritten pairs. Pass its ID as style_id in a rewrite request.
Create a style
Request history
Requests and results are saved to your account. Reruns keep a link to the previous version.
Unslop API reference
HTTP endpoints for text rewriting, AI detection, saved styles and preservation reports.
Authentication
Send Authorization: Bearer YOUR_KEY. Create a key in Account and enter it in the API key field to use the playground.
All request and response bodies use JSON. Example request:
Endpoints
Rewrite options
| Field | Behavior |
|---|---|
| text | Required source text. Plain-text documents are sent as one production request, up to 30,000 characters. Formatted inputs support up to 200,000 source characters, with at most 30,000 visible characters and 200 rewrite segments across the whole document. |
| input_format | text, html or markdown. Markup and code are retained; editable text leaves are processed together in one document workflow. |
| alternatives | 1–3 complete outputs, ranked by rank_by. Each alternative runs the rewrite pipeline separately. |
| writing_style / strength | Default, academic, plain, formal, casual or concise; light, balanced or strong. Non-default controls are applied inside the existing GLM Flash repair pass. |
| rank_by | Unslop or a surrogate. Final outputs are sorted by ascending score. Generation index stays stable; rerun alternative refer to the stored generation index. |
| sentence_scores | Score each production sentence/clause segment independently. Off by default in the API. Offsets use UTF-16 positions in scored_text. Adds hosted detector requests, shared across all six heads. |
| style_id | Saved example pairs used inside the existing Flash repair pass. |
| protected_text | Exact passages to preserve. A passage must fit inside one text leaf. Frozen spans are excluded from generation. |
| freeze_citations | Protect recognized citation strings, URLs and DOIs. Short editable fragments under 40 characters remain unchanged. |
| detectors | Optional post-rewrite scoring with hosted heads. Use the detection endpoint for direct external provider calls. |
| wait | Wait up to 55 seconds, then return the job. Poll while status is queued or running. |
Errors and job states
Use Idempotency-Key on rewrite and rerun requests. Reusing a key with different options returns 409. Jobs move from queued to running to completed or failed. Partial alternatives remain available after a failure. Server restarts mark unfinished jobs interrupted; they do not silently repeat paid calls.
Detector failures are isolated per provider. A failed score is never returned as zero. The response retains whether a score represents an AI probability or an AI-text fraction.
Preservation reports
Every rewrite includes word counts, length ratio, added and missing numeric occurrences, missing citation strings and protected passages. These are deterministic checks; no semantic judge runs in this endpoint.
MCP integration
Server URL: https://api.unslop.run/mcp
Connect with OAuth using your Unslop account.