Models
Estimate
Changed onReturn what POST /v3/models/{model} would charge for this input.
Validates input against the model's input schema and returns the price in US dollars. Creates no job, charges nothing, and does not check the wallet balance. The response includes no completion time: a job's estimated_completion_at appears on the submit response, on GET /v3/jobs/{job_id}/status, and on GET /v3/jobs/{job_id}/stream.
post/models/{model}/estimate
Request
- Base URLhttps://api.hedra.com/v3
- Auth
- API key in header Authorization
- or HTTP bearer
Path parameters
modelstring required
The model's public id (GET /v3/models).
Request body
Response
Successful Response
Changes
- info
endpoint added
- info