Upscale Defaults
GET
/v1/image/upscale/defaults
This endpoint is for retrieving the defaults for the upscale operation.
Request Example
Below is an example for retrieving the defaults for the upscale operation.
curl -X GET 'https://api.stablecog.com/v1/image/upscale/defaults'
const API_HOST = 'https://api.stablecog.com';
const API_ENDPOINT = '/v1/image/upscale/defaults';
const API_URL = `${API_HOST}${ENDPOINT}`;
const res = await fetch(API_URL);
const resJSON = await res.json();
console.log(resJSON);
import requests
API_HOST = 'https://api.stablecog.com'
API_ENDPOINT = '/v1/image/upscale/defaults'
API_URL = f'{API_HOST}{API_ENDPOINT}'
response = requests.get(API_URL)
res_json = response.json()
print(json.dumps(res_json, indent=2))
Response
{
"model_id": "14c9c5a4-33a8-4aed-a648-ee8510ae65b2"
}
Response Body
model_id
(enum) TUpscaleModelID
The ID of the upscale model.