EZLINK AI API
  1. Upscale
EZLINK AI API
  • LLMs
    • 介绍
    • 项目说明
    • 导言
    • 身份验证
    • 发出请求
    • 参数详情
    • 音频(Audio)
      • 创建语音
      • 创建转录
      • 创建翻译
    • 聊天(Chat)
      • 聊天完成对象
      • 聊天完成块对象
      • 创建聊天补全
    • 自动补全(Completions)
      • 完成对象
      • 创建完成
    • 嵌入(Embeddings)
      • 嵌入对象
      • 创建嵌入
    • 图像(Images)
      • README
      • 图像对象
      • 创建图像
      • 创建图片编辑
      • 创建图像变体
    • 模型(Models)
      • 模型对象
      • 列出模型
      • 检索模型
    • 审查(Moderations)
      • 调节对象
      • 创建内容审核
  • Stability
    • Image-to-Video
      • Start generation
      • Fetch generation result
    • Upscale
      • Conservative
        POST
      • Start Creative Upscale
        POST
      • Fetch Creative Upscale result
        GET
    • Edit
      • Erase
      • Inpaint
      • Outpaint
      • Search and Replace
      • Remove Background
    • Generate
      • Stable Image Ultra
      • Stable Image Core
      • Stable Diffusion 3
    • Control
      • Sketch
      • Structure
      • Style
  • Midjourney
    • InsightFace任务提交
      • 提交swap_face任务
    • 任务提交
      • 执行动作
      • 提交Blend任务
      • 提交Describe任务
      • 提交Imagine任务
      • 提交Modal
      • 提交Shorten任务
    • 任务查询
      • 指定ID获取任务
      • 获取任务图片的seed(需设置mj或niji的私信ID)
  • File
  • Flux
    • 创建图像 Copy
      POST
  • video
    • 视频生成
    • 生成查询
  1. Upscale

Fetch Creative Upscale result

GET
https://api.ezlinkai.com/v2beta/stable-image/upscale/creative/result/{id}
Upscale
Fetch the result of an upscale generation by ID.
Make sure to use the same API key to fetch the generation result that you used to create the generation,
otherwise you will receive a 404 response.

How to use#

Please invoke this endpoint with a GET request.
The headers of the request must include an API key in the authorization field and the ID
of your generation must be in the path.

How is progress reported?#

Your generation is either in-progress (i.e. status code 202) or it is complete (i.e. status code 200).
We may add more fine-grained progress reporting in the future (e.g. a numerical progress).

How long are results stored?#

Results are stored for 24 hours after generation. After that, the results are deleted.

Request

Path Params
id
string 
required
The id of a generation, typically used for async generations, that can be used to check the status of the generation or retrieve the result.
>= 64 characters<= 64 characters
Example:
a6dc6c6e20acda010fe14d71f180658f2896ed9b4ec25aa99a6ff06c796987c4
Header Params
authorization
string 
required
Your Stability API key, used to authenticate your requests. Although you may have multiple keys in your account, you should use the same key for all requests to this API.
>= 1 characters
accept
enum<string> 
required
Specify image/* to get the image bytes directly. Otherwise specify application/json to receive the image as base64 encoded JSON.
Allowed values:
image/*application/json
Default:
image/*
stability-client-id
string 
optional
The name of your application, used to help us communicate app-specific debugging or moderation issues to you.
<= 256 characters
Example:
my-awesome-app
stability-client-user-id
string 
optional
A unique identifier for your end user. Used to help us communicate user-specific debugging or moderation issues to you. Feel free to obfuscate this value to protect user privacy.
<= 256 characters
Example:
DiscordUser#9999
stability-client-version
string 
optional
The version of your application, used to help us communicate version-specific debugging or moderation issues to you.
<= 256 characters
Example:
1.2.1

Request samples

Python
JavaScript
Shell
Java
Swift
Go
PHP
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Python
JavaScript
Shell
Java
curl --location --request GET 'https://api.ezlinkai.com/v2beta/stable-image/upscale/creative/result/' \
--header 'authorization;' \
--header 'accept;' \
--header 'stability-client-id;' \
--header 'stability-client-user-id;' \
--header 'stability-client-version;'

Responses

🟢200Upscale finished.
application/json
Body
object {0}
Example
{}
🟢202Your upscale generation is still in-progress.
🟠400Invalid parameter(s), see the `errors` field for details.
🟠404id: the generation either does not exist or has expired.
🔴500An internal error occurred. If the problem persists [contact support](https://stabilityplatform.freshdesk.com/support/tickets/new).
Modified at 2024-08-18 02:36:40
Previous
Start Creative Upscale
Next
Erase
Built with