生成图像
以图生图
生成图像
以图生图
对于支持以图生图的模型,你可以通过传入图片链接进行以图生图,具体的使用方法如下:
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_url":"https://static.geekai.co/storage/2025/04/02/broken-picture.jpg"
}'