早鸟价(12 月 25 日截止),订阅期间一直锁定:Go $10/月(原价 $20),Plus 用 Opus 5.5 只要 $30/月(原价 $50)立即订阅 →

PrunaAI P-Image-Upscale API 和 Playground

使用 PrunaAI P-Image-Upscale 对图像进行放大。

通过 API 调用
模型类型
24小时状态监控成功率: 100%
输入

输入用于放大的图片。

放大模式。'target' 会按固定的百万像素分辨率缩放。'factor' 会将每一边按给定倍数放大。 默认值: "target"

输出图像的格式 默认值: "jpg"

高级选项
4 MP

目标分辨率(以百万像素计)(在 upscale_mode 为 'target' 时使用)。 默认值: 4

2x

应用于图像每一边的缩放因子(在 upscale_mode 为 'factor' 时使用)。输出上限为 128 MP。 默认值: 2

增强细腻纹理和小细节。可能会提高对比度,并引入与原图的轻微偏差。 默认值: false

提升真实感。可能会比原图偏差更大。推荐用于 AI 生成图像。 默认值: false

80

保存输出图像时的质量,范围为 0 到 100。100 为最佳质量,0 为最低质量。不适用于 .png 输出 默认值: 80

输出
PrunaAI P-Image-Upscale 预览
PrunaAI P-Image-Upscale1 个价格
PrunaAI
规格额度价格(USD)
按配置变化0.6 – 14.4每次生成$0.006 – $0.144每次生成

价格跟随模型配置;除模型特别说明外,参考图不计费。

示例

人像细节人像细节

支持的 PrunaAI P-Image-Upscale 控件

控件类型说明
01image_urlimageInput image to upscale.
02upscale_modestringUpscale mode. 'target' scales to a fixed megapixel resolution. 'factor' multiplies each side by the given factor. Default: "target"
03targetintegerTarget resolution in megapixels (used when upscale_mode is 'target'). Default: 4
04factornumberScaling factor applied to each side of the image (used when upscale_mode is 'factor'). Output capped at 128 MP. Default: 2
05enhance_detailsbooleanEnhance fine textures and small details. May increase contrast and introduce minor deviations from the original image. Default: false
06enhance_realismbooleanImprove realism. May deviate more from the original image. Recommended for AI-generated images. Default: false
07output_formatstringFormat of the output images Default: "jpg"
08output_qualityintegerQuality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs Default: 80

通过 AIReiter API 使用 PrunaAI P-Image-Upscale

API ↗
01模型 ID

prunaai_p_image_upscale

02提交任务

向 /api/openapi/submit POST,带上模型、唯一的 out_task_id 和参数。

03查询结果

用同一个 out_task_id 向 /api/openapi/query POST,直到任务完成。

04自行保存结果

请把输出保存到你自己的存储中,不要直接外链。

开始使用

用领先的图像、视频与文本模型开始构建。

一个 API Key一套计费一个用量面板