保持原意的前提下重新表述文本,支持多维度改写,适用于内容去重、文案创作等场景。Rephrase text while preserving original meaning. Multi-dimensional rewrite for content deduplication and copywriting.
快速概览
Quick Overview
AI 改写 API 可在保持原文语义的前提下,按照指定的模式、风格和目标受众对文本进行重新创作。支持同语言改写和跨语言改写,适用于内容去重、SEO 优化、学术降重、社交媒体文案创作等多种场景。可根据实际需求生成 1~5 个不同版本的改写结果。The AI Rewrite API rephrases text while preserving semantic meaning, with customizable mode, tone, and target audience. Supports same-language and cross-language rewriting, ideal for content deduplication, SEO optimization, academic paraphrasing, and social media copywriting. Can generate 1–5 distinct rewritten variations per request.
认证方式
Authentication
所有 API 请求需在 HTTP Header 中携带 Access Token 进行身份认证:All API requests must include an Access Token in the HTTP Header for authentication:
Authorization: Bearer YOUR_ACCESS_TOKEN
请前往 控制台 获取您的 Access Token。Get your Access Token from the Dashboard.
请求头
Request Headers
Header
Header
值
Value
必填
Required
说明
Description
Authorization
Bearer {token}
required
Bearer 认证令牌
Bearer authentication token
Content-Type
application/json
required
请求体格式为 JSON
Request body format is JSON
请求端点
Endpoint
POST/v1/rewrite
改写模式参考
Rewrite Mode Reference
模式
Mode
mode
说明
Description
典型场景
Use Case
同义改写
Paraphrase
paraphrase
保持原意和长度,换用不同表达方式
Keep meaning & length, rephrase with different expressions
SEO 内容去重、学术降重
SEO dedup, academic paraphrasing
简化
Simplify
simplify
降低阅读难度,用简单词汇和短句表达
Lower reading level, use simple words & short sentences
科普文章、儿童读物
Popular science, children's books
扩展
Expand
expand
丰富细节,补充说明和例证
Enrich with details, add explanations and examples
白皮书、教程、产品介绍
Whitepapers, tutorials, product descriptions
摘要
Summarize
summarize
精炼核心信息,去除冗余细节
Distill core message, remove redundant details
摘要生成、标题优化
Abstract generation, title optimization
创意改写
Creative
creative
突破原有结构,以新颖角度重述
Break original structure, retell from a fresh angle
广告文案、社交媒体、故事改写
Ad copy, social media, story rewriting
正式化
Formalize
formalize
转为正式/商务文体风格
Convert to formal/business style
商业报告、官方声明
Business reports, official statements
口语化
Casual
casual
转为轻松随意的口语风格
Convert to relaxed conversational style
聊天对话、短视频脚本
Chat messages, short video scripts
请求参数
Request Parameters
参数
Parameter
类型
Type
必填
Required
说明
Description
text
string
required
待改写文本,最大 50,000 字符
Text to rewrite, max 50,000 characters
mode
string
optional
改写模式,默认 paraphrase
Rewrite mode; default paraphrase
source_lang
string
optional
源语言代码,如 zh/en/ja;不填则自动检测
Source language code, e.g. zh/en/ja; auto-detect if omitted
target_lang
string
optional
目标语言代码,不填则同语改写
Target language code; omit for same-language rewrite
variations
integer
optional
生成变体数量:1~5,默认 1
Number of variations: 1~5; default 1
tone
string
optional
语气风格:neutral / professional / friendly / enthusiastic / urgent
Tone: neutral / professional / friendly / enthusiastic / urgent
target_audience
string
optional
目标受众:general / expert / beginner / teenager
Target audience: general / expert / beginner / teenager