主题切换
Openai格式作图
OpenAPI Specification
yaml
openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/v1/chat/completions:
post:
summary: Openai格式作图
deprecated: false
description: ''
tags:
- 绘画模型/Image2作图
parameters:
- name: Authorization
in: header
description: ''
required: false
example: Bearer sk-xxx
schema:
type: string
- name: Content-Type
in: header
description: ''
required: false
example: application/json
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
example:
model: gpt-image-1
messages:
- role: user
content: 画个小猫
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
headers: {}
x-apifox-name: 成功
security:
- bearer: []
x-apifox-folder: 绘画模型/Image2作图
x-apifox-status: developing
x-run-in-apifox: https://app.apifox.com/web/project/7937429/apis/api-427881644-run
components:
schemas: {}
securitySchemes:
bearer:
type: http
scheme: bearer
servers:
- url: https://new.22codex.xyz
description: 正式环境
security:
- bearer: []