humanize-ai-text
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesehumanize-ai-text
人性化AI文本
Purpose
用途
This skill humanizes AI-generated text by reducing detectable patterns, enhancing natural phrasing, and adjusting tone to make it indistinguishable from human writing. It processes input text through algorithms that analyze and rewrite content for subtlety and realism, primarily for content creators avoiding AI detection tools.
本技能通过减少可被检测的AI特征、优化自然表述并调整语气,让AI生成的文本与人类撰写的内容难以区分。它借助算法分析并改写内容,提升文本的细腻度与真实感,主要面向需要规避AI检测工具的内容创作者。
When to Use
适用场景
Use this skill when you need to refine AI-produced text for blogs, articles, or social media to evade detection by tools like Originality.ai or GPTZero. Apply it in scenarios involving content marketing, academic writing, or any context where text must appear authentically human, such as rewriting product descriptions or email drafts generated by AI.
当你需要为博客、文章或社交媒体优化AI生成的文本,以避开Originality.ai或GPTZero等检测工具时,可使用本技能。适用于内容营销、学术写作等任何需要文本看起来真实出自人类的场景,比如改写AI生成的产品描述或邮件草稿。
Key Capabilities
核心功能
- Reduces AI-specific patterns like repetitive structures or unnatural vocabulary by applying natural language processing techniques.
- Adjusts tone (e.g., formal to casual) based on user-specified parameters, using predefined models for styles like conversational or professional.
- Handles text lengths up to 10,000 characters, preserving original meaning while enhancing readability and engagement.
- Integrates sentiment analysis to ensure the output aligns with desired emotional tones, such as positive or neutral.
- 运用自然语言处理技术,减少重复结构、非自然词汇等AI特有的文本特征。
- 根据用户指定的参数调整语气(如从正式转为随意),使用对话式、专业式等预定义风格模型。
- 支持处理最长10000字符的文本,在保留原意的同时提升可读性与吸引力。
- 集成情感分析功能,确保输出文本符合期望的情感基调,如积极或中立。
Usage Patterns
使用模式
Always provide input text via file, string, or API payload; specify output format and tone adjustments explicitly. For CLI, pipe input directly; for API, use JSON requests. Process text in batches for efficiency, and review outputs for context-specific tweaks. Avoid using on highly creative or poetic text, as it may alter nuances unintentionally.
始终通过文件、字符串或API请求体提供输入文本;明确指定输出格式与语气调整要求。使用CLI时可直接管道输入;使用API时采用JSON请求。批量处理文本以提升效率,并根据具体场景对输出内容进行微调。避免用于高度创意或诗意的文本,否则可能会无意改变其细微的表达韵味。
Common Commands/API
常用命令/API
Use the OpenClaw CLI for quick operations or the REST API for programmatic access. Authentication requires setting the environment variable before running commands.
$OPENCLAW_API_KEY-
CLI Command Example:
openclaw humanize --input "The quick brown fox jumps over the lazy dog." --tone casual --output output.txt
This rewrites the input with a casual tone and saves to a file. -
API Endpoint Example:
POST towith JSON body:https://api.openclaw.ai/v1/humanize
{ "text": "AI-generated content here.", "tone": "formal" }
Response: JSON object with "humanized_text" key. -
Code Snippet (Python):python
import requests headers = {'Authorization': f'Bearer {os.environ.get("OPENCLAW_API_KEY")}'} response = requests.post('https://api.openclaw.ai/v1/humanize', json={'text': 'Sample AI text.'}, headers=headers) print(response.json()['humanized_text']) -
Config Format:
Use a YAML config file for repeated tasks:input_file: input.txt tone: neutral output_file: output.txtInvoke with:openclaw humanize --config config.yaml
可使用OpenClaw CLI执行快速操作,或通过REST API实现程序化访问。运行命令前需设置环境变量进行身份验证。
$OPENCLAW_API_KEY-
CLI命令示例:
openclaw humanize --input "The quick brown fox jumps over the lazy dog." --tone casual --output output.txt
该命令会以随意语气改写输入文本并保存至文件。 -
API端点示例:
向发送POST请求,JSON请求体如下:https://api.openclaw.ai/v1/humanize
{ "text": "AI-generated content here.", "tone": "formal" }
响应为包含"humanized_text"字段的JSON对象。 -
Python代码片段:python
import requests headers = {'Authorization': f'Bearer {os.environ.get("OPENCLAW_API_KEY")}'} response = requests.post('https://api.openclaw.ai/v1/humanize', json={'text': 'Sample AI text.'}, headers=headers) print(response.json()['humanized_text']) -
配置文件格式:
可使用YAML配置文件处理重复任务:input_file: input.txt tone: neutral output_file: output.txt调用方式:openclaw humanize --config config.yaml
Integration Notes
集成说明
Integrate by setting in your environment or passing it via headers in API calls. For scripts, import the OpenClaw SDK and handle asynchronous requests for large texts. Ensure compatibility with Python 3.8+ or Node.js 14+; add error logging for API responses. If using in a workflow, chain with tools like text generators by piping outputs, e.g., via shell scripts.
$OPENCLAW_API_KEY通过在环境中设置,或在API请求头中传入该密钥完成集成。对于脚本,可导入OpenClaw SDK并针对长文本处理异步请求。确保兼容Python 3.8+或Node.js 14+;为API响应添加错误日志。若在工作流中使用,可通过管道将输出传递给文本生成工具等其他组件,例如通过Shell脚本实现链式调用。
$OPENCLAW_API_KEYError Handling
错误处理
Check for common errors like invalid API keys (HTTP 401) by verifying is set and not expired. Handle input errors (e.g., empty text) with try-except blocks in code, returning user-friendly messages. For CLI, parse flags carefully to avoid "Invalid argument" errors; use for validation. If rate limits are hit (HTTP 429), implement retries with exponential backoff, e.g., in Python:
$OPENCLAW_API_KEY--helppython
import time
time.sleep(5) # Wait before retrying检查常见错误,如无效API密钥(HTTP 401),需确认已设置且未过期。在代码中使用try-except块处理输入错误(如空文本),返回用户友好的提示信息。使用CLI时需仔细解析参数,避免“无效参数”错误;可使用命令验证。若触发速率限制(HTTP 429),可实现指数退避重试机制,例如在Python中:
$OPENCLAW_API_KEY--helppython
import time
time.sleep(5) # 等待后重试Graph Relationships
关联关系
- Related to: "ai-writing" skill in the community cluster via shared tags ["ai", "writing"].
- Connected to: "text-analysis" skill for preprocessing text inputs.
- Linked by: "humanize" tag to "natural-language-tools" cluster for broader NLP capabilities.
- 关联:与社区集群中的“ai-writing”技能通过共享标签["ai", "writing"]建立关联。
- 连接:与“text-analysis”技能相连,用于预处理文本输入。
- 链接:通过“humanize”标签与“natural-language-tools”集群关联,以拓展更广泛的NLP能力。