Stability.Ai
  1. user
Stability.Ai
  • Getting Started
  • v1
    • user
      • account
        GET
      • balance
        GET
    • 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
  1. user

balance

https://api.stability.ai
https://api.stability.ai
https://api.stability.ai
https://api.stability.ai
GET
/v1/user/balance
Get the credit balance of the account/organization associated with the API key

Request

Header Params

Responses

🟢200OK response.
application/json
Body

🟠401401
🔴500500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.stability.ai/v1/user/balance'
Response Response Example
200 - Success
{
    "credits": 0.6336833840314097
}
Modified at 2024-03-11 07:12:09
Previous
account
Next
list
Built with