# Generated by ShowAPI OpenAPI generator
# source: market/3221
# generated-at: 2026-07-26T07:51:31.152Z
openapi: 3.0.3
info:
  title: 文本润色改写
  description: 利用先进的自然语言处理技术，对营销文案进行优化，保留原意的同时提升语言的吸引力和表达的精确度。适用于多种内容场景，增强信息传播效果。
  termsOfService: https://www.showapi.com/helpcenter/view#/4019/2
  version: 1.0.0
servers:
  - url: https://route.showapi.com
paths:
  /3221-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 30
    x-connect-timeout: 30
    post:
      summary: 文字润色改写
      description: 不超过1000个字。不仅保持原文的核心意义，还通过精心的语言打磨，使其更加精炼、有力，同时融入创意元素，提升文案的吸引力和说服力。适用于广告、社交媒体、新闻稿等多种场景，让您的信息传播更加高效。
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          ret_code:
                            type: number
                            description: 是否调用成功，调用成功为0，调用失败为-1
                          dst_text:
                            type: string
                            description: 改写后的文本
                          remark:
                            type: string
                            description: 错误信息
                        description: 业务返回体
      operationId: 3221_1_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                src_text:
                  type: string
                  description: 要改写的文本，最少需30个字符。最多1000个字符
              required:
                - src_text
components:
  securitySchemes:
    AppKeyAuth:
      type: apiKey
      in: query
      name: appKey
      description: 从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp
  schemas:
    ShowapiResEnvelope:
      type: object
      description: ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）
      properties:
        showapi_res_code:
          type: integer
          description: API 返回的状态码
        showapi_res_error:
          type: string
          description: API 返回的错误信息
        showapi_res_id:
          type: string
          description: API 请求的唯一标识
        showapi_fee_num:
          type: integer
          description: API 调用计费次数
security:
  - AppKeyAuth: []
externalDocs:
  url: https://www.showapi.com/apiGateway/view/3221?tab=book
x-apiCode: "3221"
x-is-own: false
x-is-op: false
