Billing & refunds¶
Prices¶
You pay per generated image. The price depends only on the resolution tier:
| Tier | Price per image |
|---|---|
| 1K | $0.025 |
| 2K | $0.035 |
| 4K | $0.045 |
See Size & output pixels for how the tier is chosen, and yexapi.com/pricing for a comparison with official list prices. Prices are in US dollars.
When you are charged¶
- Submission: when a request passes validation and the job is accepted, the price for the requested image is reserved from your balance.
- Completion: when the image is delivered, the charge becomes final.
- Failure: if the job fails, the reserved amount is refunded automatically, in full, usually within a few seconds of the failure.
You are not charged for:
- requests rejected with
400,401,403or429; - requests that fail because the service is temporarily unavailable (
5xx); - tasks that end with
"status": "failed", or synchronous generations that fail (refunded automatically).
The only case where a request returns an error but may still be billed is a
synchronous 504 timeout, because the job can still finish in the
background. See Errors.
Seeing your usage¶
Console → Usage Logs (yexapi.com/usage-logs) shows each charge with its tier and image count, and each automatic refund as a separate entry. Your current balance is shown in the console.
Trial credit¶
New accounts receive $0.10 of trial credit, enough for four 1K images.
Adding credit¶
Online top-up is not available yet. To add credit, contact support@yexapi.com. See also the Refund Policy.