Rewrite AI-generated text into natural Chinese with a real human feel. Specifically treats empty elevation, triple parallelism, official jargon, and templated endings.
Trigger conditions
The user provides a passage of text (pasted or file) and requests:
- "remove the AI flavor" "make it sound like a human wrote it" "too official, make it more natural"
- Polish copy (WeChat public account/Xiaohongshu/e-commerce titles/product descriptions)
Usage steps
1. Have an API Key (recommended, better results)
export LLM_API_KEY="你的key"
export LLM_BASE_URL="https://api.deepseek.com/v1" # 任意 OpenAI 兼容接口
export LLM_MODEL="deepseek-chat"
python3 scripts/deai.py draft.txt -o revised.txt
### 2. 无 API Key(零成本模式)
```bash
python3 scripts/deai.py 稿子.txt --prompt-only
Output the built-in prompt containing complete rewriting rules, and paste it into any AI assistant (ChatGPT/Wenxin/Kimi) to rewrite.
Zero dependencies
Pure Python standard library, no packages need to be installed.