AI 服务/图像生成
异步编辑图像
接口说明:异步生成图像,立即返回 logId,通过查询任务状态接口轮询结果。
POST
异步编辑图像
授权
AiToEarn Open Platform API Key。
请求体
application/json
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
接口说明:异步生成图像,立即返回 logId,通过查询任务状态接口轮询结果。
curl --request POST \
--url https://aitoearn.cn/api/ai/image/edit/async \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"model": "<string>",
"image": "<string>",
"prompt": "<string>"
}
'{
"code": 0,
"message": "请求成功",
"data": {
"logId": "string",
"status": "generating"
}
}AiToEarn Open Platform API Key。
curl --request POST \
--url https://aitoearn.cn/api/ai/image/edit/async \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"model": "<string>",
"image": "<string>",
"prompt": "<string>"
}
'{
"code": 0,
"message": "请求成功",
"data": {
"logId": "string",
"status": "generating"
}
}