Price a generation without running it: exactly what POST /v1/generations would charge for this body.

post/v1/estimate

Request

  • Base URL: https://api.lumeta.ai
  • URL: https://api.lumeta.ai/v1/estimate
  • Auth: HTTP bearer

Request body

modelstring required

Model id or slug.

inputobject required

The model's inputs; schema at GET /v1/models/{model}/schema. A choice listed in a field's x-lumeta-option-min-plan above your plan answers 403 plan_required and charges nothing.

projectstring

proj_<id> to file the generation in (default: your current project).

Response

OK

creditsinteger
credits_remaininginteger
cap_remaininginteger nullable
enoughboolean

Whether POST /v1/generations would be accepted right now.

Changes

No recorded changes to this operation across all 1 revision of this API.