简体中文
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \ --header 'Content-Type: application/json' \ --header 'Authorization: $GEEKAI_API_KEY' \ --data '{ "model":"kling-image-v1-5", "prompt":"修复这张破损的照片", "image":"https://static.geekai.co/storage/2025/04/02/broken-picture.jpg" }'
image
curl --location --request POST 'https://geekai.co/api/v1/images/generations' \ --header 'Content-Type: application/json' \ --header 'Authorization: $GEEKAI_API_KEY' \ --data '{ "model": "gpt-image-1", "prompt": "将第一张图中的面料应用至第二张图的服装上,图片比例按照第二张图的来", "image": [ "https://style3d-render.oss-cn-hangzhou.aliyuncs.com/test/针织.jpg", "https://style3d-render.oss-cn-hangzhou.aliyuncs.com/test/款式图.jpg" ] }'
gpt-image-1
midjourney-imagine
stable-image-ultra
kling-image-v1-5
kling-image-v1