Image Upscale
Image Upscale API(图片生成):$0.00705 / 张。放大输入图片。通过 /v1/images/generations 调用,美元按量付费。
- 价格
- $0.00705
- 单位
- 张
- 类型
- 图片生成
- 接口
- /v1/images/generations
价格
$0.00705 / 张
预计 $0.0282
美元计价,按标价从预付余额扣费。少数特殊套餐的 Key 价格可能不同。 计费规则
能力
放大输入图片
- 模型 ID
- image-upscale
- 模式
- 图片编辑
接口
POST /v1/images/generations
结果直接在响应中返回。先把 BIGMODEL_API_KEY 设为你的 API Key。
cURL
curl https://bigmodel.io/v1/images/generations \
-H "Authorization: Bearer $BIGMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "image-upscale",
"prompt": "A paper lantern floating over a misty lake at dawn",
"n": 1
}'Python、Node.js 示例、全部输入字段和错误处理见指南。 接入指南 →