Generate
Upscale
Upscale an image by increasing its resolution.
POST
/
api
/
beta
/
generate
/
upscale
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
multipart/form-data
prompt
string
requiredText prompt(s) to guide upscaled image generation.
image
file
requiredUploaded image to modify with the pipeline.
model_id
string
default: stabilityai/stable-diffusion-x4-upscalerHugging Face model ID used for upscaled image generation.
safety_check
boolean
default: truePerform a safety check to estimate if generated images could be offensive or harmful.
seed
integer
Seed for random number generation.
num_inference_steps
integer
default: 75Number of denoising steps. More steps usually lead to higher quality images but slower inference. Modulated by strength.
Response
200 - application/json
Response model for image generation.
images
object[]
requiredThe generated images.
Was this page helpful?