Need exactly 600×600 under 2 MB? Upload anything — get the required file back.
{}
POST returns HTTP 402 Payment Required until paid.
curl -s -X POST https://gate402.app/v1/image-fit \
-H 'content-type: application/json' \
-d '{…}'
# → 402, then retry with PAYMENT-SIGNATURE / X-PAYMENT