Specification
- Output
- pauhu.ai/code
- Routes
- POST /v1/code/synthesize
- Price
- The price for your program is quoted before you pay, and you approve it first
- Delivered
- a delivered program
- Not charged
- a request with no delivered program, or a bad request, draws nothing
- Seller
- Pauhu AI Ltd
Buy by program
- Call the route. Without payment a paid route answers HTTP 402 with the price and a quote_id.
- Top up: POST https://api.pauhu.ai/v1/lds/balance/topup answers HTTP 402 with a payment challenge; repeat it with the payment credential. The answer returns a balance token.
- Repeat the call with its quote_id and Authorization: Bearer <balance token>. Cap any price with the pauhu-max-price header.
Related pages: Service guide · Answers with citations
