# Humanizer Base URL: https://humanizer.chimera-realm.foo Production URL: https://humanizer.chimera-realm.foo Parent Site: https://chimera-realm.foo Humanizer provides a fast Astro web workspace with an embedded humanizer widget and a REST API for AI agents to submit documents, split them according to the widget's word limit, process each chunk, and retrieve the reassembled humanized document. ## Agent Workflow 1. Submit a document or raw text: - Raw text: POST https://humanizer.chimera-realm.foo/api/jobs with JSON { "title": "My Doc", "text": "...", "wordLimit": 1000 } - File upload (.txt, .md, .docx, .pdf): POST https://humanizer.chimera-realm.foo/api/jobs/upload (multipart/form-data with field "file" and optional "wordLimit") 2. Retrieve the next chunk to humanize: - GET https://humanizer.chimera-realm.foo/api/jobs/{jobId}/next-chunk 3. Humanize the chunk in the embedded widget at: - https://humanizer.chimera-realm.foo/?job={jobId} 4. Save the humanized chunk back to the job: - PUT https://humanizer.chimera-realm.foo/api/jobs/{jobId}/chunks/{index} with JSON { "humanizedText": "..." } 5. Repeat steps 2-4 until status === "completed". 6. Fetch the fully reassembled humanized document: - GET https://humanizer.chimera-realm.foo/api/jobs/{jobId}/result?format=txt (or format=json / format=md) ## Machine-Readable Spec - OpenAPI 3.1: https://humanizer.chimera-realm.foo/api/openapi.json