# Generated by ShowAPI OpenAPI generator
# source: market/3216
# generated-at: 2026-06-26T00:22:27.153Z
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:
  /3216-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 10
    x-connect-timeout: 5
    post:
      summary: 写文案
      description: 根据给出的主题生成三条相关的文案，每条字数在70-150字之间
      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为成功。其他失败。
                          title:
                            type: string
                            description: 文案主题
                          articleList:
                            type: array
                            items:
                              type: string
                            description: 共返回3个可选文案。
                        description: 业务返回体
      operationId: 3216_1_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                subject:
                  type: string
                  minLength: 3
                  maxLength: 300
                  description: 您朋友圈文案的主题
              required:
                - subject
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/3216?tab=book
x-apiCode: "3216"
x-is-own: true
x-is-op: true
