Tasks
Quote a task before reserving funds
Validates the same model input and admission rules as task creation, without creating a task, reserving funds or starting generation. The signed quote is bound to this account, API key and request and is valid for five minutes. Pass quoteId and expectedCost with the same request to createTask or jobs/stream. New acceptance rejects an expired or changed quote with business code 40901. A replay of an already accepted Idempotency-Key still returns the original task. A quote does not reserve capacity or guarantee future availability.
post/api/v1/jobs/quote
Request
- Base URL: https://api.spicyapi.ai
- URL: https://api.spicyapi.ai/api/v1/jobs/quote
- Auth: HTTP bearer
Request body
Response
Customer price and maximum charge; no funds were reserved.
Changes
No recorded changes to this operation across all 1 revision of this API.