Image Upscaler Pro
Image Upscaler Pro · GPT 작업
OpenAI Files API
Action to send the image to the upscaler & enhancer API from Replicate.
POST /image_upscalerSends an array of one JSON object that contains the input image.
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "OpenAI Files API",
"description": "Action to send the image to the upscaler & enhancer API from Replicate.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://www.upscalergpt.com",
"description": "Upscaler GPT API"
}
],
"paths": {
"/image_upscaler": {
"post": {
"operationId": "sendImage",
"summary": "Sends an array of one JSON object that contains the input image.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"openaiFileIdRefs": {
"type": "array",
"description": "Array of JSON objects detailing the files to be included.",
"items": {
"type": "object",
"required": [
"name",
"id",
"mime_type",
"download_link"
],
"properties": {
"name": {
"type": "string",
"description": "Auto-generated name of the file when created by DALL-E."
},
"id": {
"type": "string",
"description": "Stable identifier for the file."
},
"mime_type": {
"type": "string",
"description": "Mime type of the file, based on file extension for user uploaded files."
},
"download_link": {
"type": "string",
"description": "URL to fetch the file, valid for five minutes."
}
}
},
"maxItems": 1
}
}
}
}
}
},
"responses": {
"200": {
"description": "Final image successfully received.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"example": "Image created successfully."
}
}
}
}
}
},
"400": {
"description": "Invalid request format or parameters."
},
"500": {
"description": "Internal server error"
}
}
}
}
}
}