Stability.Ai
Schemas
Copy Page
Stability.Ai
Getting Started
v1
user
account
balance
engines
list
generation
text-to-image
image-to-image
image-to-image/upscale
image-to-image/masking
v2alpha
generation
image-to-video
image-to-video/result
stable-image/upscale
stable-image/upscale/result
stable-image/inpaint
Schemas
Schemas
Engine
Error
CfgScale
ClipGuidancePreset
UpscaleImageHeight
UpscaleImageWidth
DiffuseImageHeight
DiffuseImageWidth
Sampler
Samples
Seed
Steps
Extras
StylePreset
TextPrompt
TextPrompts
TextPrompts
InputImage
InitImage
InitImageStrength
InitImageMode
StepScheduleStart
StepScheduleEnd
MaskImage
MaskSource
GenerationRequestOptionalParams
RealESRGANUpscaleRequestBody
LatentUpscalerUpscaleRequestBody
ImageToImageRequestBody
ImageToImageUsingImageStrengthRequestBody
ImageToImageUsingStepScheduleRequestBody
MaskingRequestBody
MaskingUsingMaskImageRequestBody
MaskingUsingInitImageAlphaRequestBody
TextToImageRequestBody
AccountResponseBody
BalanceResponseBody
ListEnginesResponseBody
FinishReason
Image
OrganizationMembership
GenerationID
ImageToVideoRequest
ContentModerationResponse
InpaintingSearchModeRequestBody
InpaintingMaskingModeRequestBody
Response
401
403
404
500
GenerationResponse
400FromGeneration
400FromUpscale
Schemas
Copy Page
DiffuseImageHeight
Height of the image to generate, in pixels, in an increment divible by 64.
Engine-specific dimension validation:
SDXL Beta: must be between 128x128 and 512x896 (or 896x512); only one dimension can be greater than 512.
SDXL v0.9: must be one of 1024x1024, 1152x896, 1216x832, 1344x768, 1536x640, 640x1536, 768x1344, 832x1216, or 896x1152
SDXL v1.0: same as SDXL v0.9
SD v1.6: must be between 320x320 and 1536x1536
512