Get User Credit
Retrieves the current user's Stability AI credit balance.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Connection Id - The connection ID from the Connect node (optional if API Key is provided directly).
Options
- API Key - Stability AI API key (optional if using Connection ID). You can provide the API key directly instead of using a Connect node.
Output
- User Credit - Numeric value representing the current credit balance for the account. Credits are consumed when generating images, upscaling, or performing other API operations.
How It Works
The Get User Credit node retrieves the credit balance from Stability AI. When executed, the node:
- Validates the connection or creates a temporary client using provided credentials
- Sends a request to the Stability AI user balance endpoint
- Retrieves the credit balance
- Returns the credit amount as a numeric value