Estimate the Creative Units cost of running a workflow with given inputs.
Personal Access Token or OAuth2 JWT. Create a PAT at app.layer.ai → Settings → Personal Access Tokens.
Workflow inputs matching the workflow's input schema.
Successful Response
Total estimated Creative Units price for this run.
Expected output count for each workflow output parameter.
Usable Creative Units balance (total balance minus reserved by in-progress generations).
Usable balance after subtracting the estimated price. Can be negative.
Whether the workspace has enough available Creative Units to cover the estimated price.