简体中文
cURL
curl --request POST \ --url https://api.kie.ai/api/v1/mj/generateVary \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "taskId": "96a5****67tr", "imageIndex": 1, "waterMark": "my_watermark", "callBackUrl": "https://example.com/callback" }'
{ "code": 200, "msg": "success", "data": { "taskId": "2182668588ae82da0bc553c07c48ca38" } }
基于之前生成的Midjourney图像创建变化任务,用于提升图片清晰度和风格模拟。
所有 API 都需要通过 Bearer Token 进行认证。
获取 API Key:
使用方法: 添加到请求头: Authorization: Bearer YOUR_API_KEY
注意:
请求成功
The response is of type object.
object