跳转到正文

编辑gpt-image-2

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/images/edits:
    post:
      summary: '编辑gpt-image-2 '
      deprecated: false
      description: ''
      tags:
        - 绘画模型/GPT Image 系列
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: false
          example: application/json
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: false
          example: Bearer sk-xxx
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties: {}
            example:
              model: gpt-image-2
              prompt: 把花朵换成黄金样式
              image: >-
                https://s1.aigei.com/src/img/png/ec/ec8be0235cd6478c9f9fc81641803f3a.png?imageMogr2/auto-orient/thumbnail/!234x132r/gravity/Center/crop/234x132/quality/85/%7CimageView2/2/w/234&e=2051020800&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:ANJ7TWk0Y_y84PYpIhG7ABHhObo=
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apifox-name: 成功
      security:
        - bearer: []
      x-apifox-folder: 绘画模型/GPT Image 系列
      x-apifox-status: developing
      x-run-in-apifox: https://app.apifox.com/web/project/7937429/apis/api-449033163-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://new.22codex.xyz
    description: 正式环境
security:
  - bearer: []

文档内容持续更新,请以控制台可用模型与接口为准。