跳到主要内容

Flux(Dalle3 Edits(图生图&文生图))

OpenAPI Specification

openapi: 3.0.1
info:
title: ''
description: ''
version: 1.0.0
paths:
/v1/images/edits:
post:
summary: Flux(Dalle3 Edits(图生图&文生图))
deprecated: false
description: 仅支持 flux-kontext pro、max ,支持多图参考
tags:
- 模型接口/FLUX
parameters:
- name: Accept
in: header
description: ''
required: true
example: application/json
schema:
type: string
default: application/json
- name: Authorization
in: header
description: ''
required: true
example: sk-
schema:
type: string
default: sk-
- name: Content-Type
in: header
description: ''
required: true
example: application/json
schema:
type: string
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
prompt:
example: 带上眼镜
type: string
model:
example: flux-kontext-pro
type: string
size:
description: 最终会转换成比例,建议直接使用 aspect_ratio
example: 1024x1024
type: string
aspect_ratio:
description: 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21
example: '1:1'
type: string
image:
format: binary
type: string
description: |
参考图片,支持多个
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
headers: {}
x-apifox-name: 成功
security: []
x-apifox-folder: ''
x-apifox-status: released
x-run-in-apifox: https://app.apifox.com/web/project/5503894/apis/api-367961304-run
components:
schemas: {}
securitySchemes: {}
servers:
- url: '{{base_url}}'
description: 测试环境
- url: https://newapi.eronmind.com
description: 正式环境
security: []