Skip to content

Upscale(高清放大)

概览

  • 请求方法:POST
  • 路径:/ideogram/upscale
  • 内容类型:multipart/form-data

认证方式

  • Authorization: Bearer sk-xxx(必选)

请求示例

Header示例必填
Content-Typemultipart/form-data
AuthorizationBearer sk-xxxx

表单字段

参数类型必填描述
image_filefile源图像(JPEG/WEBP/PNG)
image_requestobject参考Generate参数,resemblance表示相似度

返回示例(200)

json
{
  "created": "2024-10-30T22:08:25.135544+00:00",
  "data": [
    {
      "is_image_safe": true,
      "prompt": "A serene and picturesque tropical beach scene...",
      "resolution": "1120x732",
      "seed": 12345,
      "style_type": null,
      "url": "https://ideogram.ai/api/images/ephemeral/lRIm5aj3Rx24jvjBrcOlOw.png?exp=1730412562&sig=..."
    }
  ]
}