All posts
AI Agents
AI Text Humanizer Agent Skill - AI Pass API
Add AI text humanization to your agent. Transform robotic text into natural writing.
EiliyaMarch 13, 20261 min read
AI Text Humanizer Agent Skill
Add text humanization to your agent. Transform robotic AI text into natural, human-sounding writing.
Usage
humanizer <text> --tone <tone>
Tones: casual, professional, creative, academic
Python Implementation
import os, requests
def humanize_text(text, tone="casual"):
url = "https://aipass.one/apikey/v1/chat/completions"
tones = {
"casual": "relaxed, conversational, uses contractions",
"professional": "clear, confident, business-appropriate",
"creative": "vivid language, personality",
"academic": "scholarly yet readable, precise"
}
prompt = f"Rewrite this text to sound natural and human. {tones[tone]}. Only return rewritten text: {text}"
r = requests.post(url, headers={"Authorization": f"Bearer {os.environ["AIPASS_API_KEY"]}"}, json={
"model": "gpt-5-mini",
"messages": [{"role": "user", "content": prompt}]
})
return r.json()["choices"][0]["message"]["content"]
Get API key: Developer Dashboard
For AI agents
Skill file
---
name: humanizer
description: Humanize AI-generated text
version: 1.0.0
---
# AI Text Humanizer
```
humanizer <text> --tone <tone>
```
## Setup
```bash
export AIPASS_API_KEY="your-key"
```
## Implementation
```python
def humanize(text, tone="casual"):
prompt = f"Rewrite naturally: {text}"
return call_ai_pass(prompt, model="gpt-4.1-mini")
```