AI 服务/模型中转
中转图像编辑(OpenAI 规范)
接口说明:兼容 OpenAI /images/edits 规范的图像编辑中转接口。
POST
中转图像编辑(OpenAI 规范)
授权
OpenAI 兼容接口使用,示例:Bearer 。
请求体
application/json
响应
第三方协议原生响应或 SSE 数据。不使用 AiToEarn 通用响应包裹。
第三方协议原生响应,不使用 AiToEarn 通用响应包裹。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
接口说明:兼容 OpenAI /images/edits 规范的图像编辑中转接口。
curl --request POST \
--url https://aitoearn.cn/api/ai/images/edits \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "<string>",
"image": "<string>",
"prompt": "<string>"
}
'{}OpenAI 兼容接口使用,示例:Bearer 。
第三方协议原生响应或 SSE 数据。不使用 AiToEarn 通用响应包裹。
第三方协议原生响应,不使用 AiToEarn 通用响应包裹。
curl --request POST \
--url https://aitoearn.cn/api/ai/images/edits \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "<string>",
"image": "<string>",
"prompt": "<string>"
}
'{}