Estimate workflow price
Workflows
Estimate workflow price
Estimate the Creative Units cost of running a workflow with given inputs.
POST
Estimate workflow price
Documentation Index
Fetch the complete documentation index at: https://docs.layer.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Personal Access Token or OAuth2 JWT. Create a PAT at app.layer.ai → Settings → Personal Access Tokens.
Body
application/json
Workflow inputs matching the workflow's input schema.
Response
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.