# Generated by ShowAPI OpenAPI generator
# source: market/3223
# generated-at: 2026-07-26T05:01:24.721Z
openapi: 3.0.3
info:
  title: 看图写现代诗
  description: 本功能允许用户上传图片，AI将根据图片中的色彩、场景、情感等信息，巧妙地编织出与之相呼应的现代诗句。在这里，每一张图片都是一场心灵的对话，每一次生成都是一次情感的抒发。通过AI的智慧，您的视觉体验将被转化为诗意的表达，让现代诗的魅力在图片与文字的交织中绽放。
  termsOfService: https://www.showapi.com/helpcenter/view#/4019/2
  version: 1.0.0
servers:
  - url: https://route.showapi.com
paths:
  /3223-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 60
    x-connect-timeout: 60
    post:
      summary: 看图写现代诗
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          content:
                            type: string
                          ret_code:
                            type: number
                          title:
                            type: string
                        description: 业务返回体
      operationId: 3223_1_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                img_url:
                  type: string
                  description: 图片的URL，和img_data参数二选一入参，如果都传，以img_data为准。建议图片大小不要超过4M，尺寸限制在5000x5000内。目前只支持jpg和png格式的图片
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/3223?tab=book
x-apiCode: "3223"
x-is-own: false
x-is-op: false
