Documentation Index
Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
Use this file to discover all available pages before exploring further.
图像超分辨率对输入的单张或多张图片进行x2超分,有效提升低分辨率图像的质量,大幅改善图像纹理细节、抑制压缩伪像,全面提高图像清晰度与主观质量。
curl --location --request POST 'https://geekai.co/api/v1/images/clarify' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
"model": "jimeng-image-clarify-v3",
"image": "https://static.geekai.co/image/2025/08/29/9288e4be0f8d97fca9e4ff7ae5fcd078.png"
}'
你还可以通过 quality 参数进一步设置图片质量,quality 参数支持以下选项:
low:低质量
medium:中等质量(默认)
high:高质量
调用示例如下:
curl --location --request POST 'https://geekai.co/api/v1/images/clarify' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
"model": "jimeng-image-clarify-v3",
"image": "https://static.geekai.co/image/2025/08/29/9288e4be0f8d97fca9e4ff7ae5fcd078.png",
"quality": "high"
}'
多张图片通过数组传递即可,此外image支持图片URL和Base64两种格式。更多细节请参考图片超分 API 手册。