Add multipart image edit support

This commit is contained in:
2026-06-08 01:17:42 +08:00
parent b7500d81d1
commit 679bfeb9c9
9 changed files with 669 additions and 27 deletions
+7 -4
View File
@@ -4455,7 +4455,8 @@
],
"description": "网关任务接口按 model 选择平台模型;除 /api/v1/chat/completions 以外的 /api/v1 任务路径返回任务受理结果,OpenAI-compatible 路径同步返回兼容响应或 SSE 流。",
"consumes": [
"application/json"
"application/json",
"multipart/form-data"
],
"produces": [
"application/json"
@@ -6361,7 +6362,8 @@
],
"description": "网关任务接口按 model 选择平台模型;除 /api/v1/chat/completions 以外的 /api/v1 任务路径返回任务受理结果,OpenAI-compatible 路径同步返回兼容响应或 SSE 流。",
"consumes": [
"application/json"
"application/json",
"multipart/form-data"
],
"produces": [
"application/json"
@@ -7399,7 +7401,8 @@
],
"description": "网关任务接口按 model 选择平台模型;除 /api/v1/chat/completions 以外的 /api/v1 任务路径返回任务受理结果,OpenAI-compatible 路径同步返回兼容响应或 SSE 流。",
"consumes": [
"application/json"
"application/json",
"multipart/form-data"
],
"produces": [
"application/json"
@@ -11557,4 +11560,4 @@
"in": "header"
}
}
}
}