{"x402Version":2,"payTo":"0xdec990f28082da7efc9c50df26adba40b66cc4d6","resources":[{"id":40320,"slug":"40320","resource":"https://baconservices.com/api/agent-commerce/v1/capabilities/web-image-optimizer/execute","description":"Web Image Optimizer: Resizes one image so its longest side is at most max_width pixels (never enlarging it) and encodes it as WebP at the given quality. Transparency is kept. Metadata is not carried over, so a JPEG's EXIF orientation is not applied.","type":"http","serviceName":"Bacon Services","resourceType":"Utilities","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xdec990f28082da7efc9c50df26adba40b66cc4d6","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"10000","amountUsd":0.01,"maxTimeoutSeconds":120}],"outputSchema":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"},"extensions":{"bazaar":{"info":{"input":{"body":{"image_url":"https://baconservices.com/assets/img/demos/background-remover-before.png","max_width":1600,"quality":80},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"artifact":{"height":800,"mime":"image/webp","url":"https://baconservices.com/api/agent-commerce/v1/artifacts/uuid","width":800},"capability":"web-image-optimizer","ok":true,"request_id":"uuid"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"description":"Give exactly one of image_url or image_base64. The same request body must be sent again with the PAYMENT-SIGNATURE header.","properties":{"image_base64":{"contentEncoding":"base64","description":"The image bytes, base64-encoded.","type":"string"},"image_url":{"description":"A public https URL of a PNG, JPEG or WebP image.","format":"uri","type":"string"},"max_width":{"default":1600,"description":"Longest side of the output, in pixels.","maximum":4096,"minimum":64,"type":"integer"},"quality":{"default":80,"description":"WebP quality.","maximum":95,"minimum":40,"type":"integer"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"headers":{"type":"object"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"queryParams":{"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"tags":["bazaar"],"sourceHost":"baconservices.com","lastUpdated":"2026-10-10T07:01:25.806Z","quality":{"calls30d":4,"uniquePayers30d":1,"lastCalledAt":"2026-10-10T07:01:25.341Z"},"metadata":{"serviceName":"Bacon Services","extensions":{"bazaar":{"info":{"input":{"body":{"image_url":"https://baconservices.com/assets/img/demos/background-remover-before.png","max_width":1600,"quality":80},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"artifact":{"height":800,"mime":"image/webp","url":"https://baconservices.com/api/agent-commerce/v1/artifacts/uuid","width":800},"capability":"web-image-optimizer","ok":true,"request_id":"uuid"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"description":"Give exactly one of image_url or image_base64. The same request body must be sent again with the PAYMENT-SIGNATURE header.","properties":{"image_base64":{"contentEncoding":"base64","description":"The image bytes, base64-encoded.","type":"string"},"image_url":{"description":"A public https URL of a PNG, JPEG or WebP image.","format":"uri","type":"string"},"max_width":{"default":1600,"description":"Longest side of the output, in pixels.","maximum":4096,"minimum":64,"type":"integer"},"quality":{"default":80,"description":"WebP quality.","maximum":95,"minimum":40,"type":"integer"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"headers":{"type":"object"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"queryParams":{"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}}},"liveness":{"reliability":null},"verified":false,"featured":false},{"id":40321,"slug":"40321","resource":"https://baconservices.com/api/agent-commerce/v1/capabilities/remove-background/execute","description":"Remove Background: Removes the background from one photo and returns the subject on a transparent background as a PNG, at the photo's own size.","type":"http","serviceName":"Bacon Services","resourceType":"Utilities","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xdec990f28082da7efc9c50df26adba40b66cc4d6","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"200000","amountUsd":0.2,"maxTimeoutSeconds":120}],"outputSchema":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"},"extensions":{"bazaar":{"info":{"input":{"body":{"image_url":"https://baconservices.com/assets/img/demos/background-remover-before.png"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"artifact":{"height":800,"mime":"image/png","url":"https://baconservices.com/api/agent-commerce/v1/artifacts/uuid","width":800},"capability":"remove-background","ok":true,"request_id":"uuid"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"description":"Give exactly one of image_url or image_base64. The same request body must be sent again with the PAYMENT-SIGNATURE header.","properties":{"image_base64":{"contentEncoding":"base64","description":"The image bytes, base64-encoded.","type":"string"},"image_url":{"description":"A public https URL of a PNG, JPEG or WebP image.","format":"uri","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"headers":{"type":"object"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"queryParams":{"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"tags":["bazaar"],"sourceHost":"baconservices.com","lastUpdated":"2026-10-10T07:30:54.167Z","quality":{"calls30d":2,"uniquePayers30d":1,"lastCalledAt":"2026-10-10T07:30:53.763Z"},"metadata":{"serviceName":"Bacon Services","extensions":{"bazaar":{"info":{"input":{"body":{"image_url":"https://baconservices.com/assets/img/demos/background-remover-before.png"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"artifact":{"height":800,"mime":"image/png","url":"https://baconservices.com/api/agent-commerce/v1/artifacts/uuid","width":800},"capability":"remove-background","ok":true,"request_id":"uuid"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"description":"Give exactly one of image_url or image_base64. The same request body must be sent again with the PAYMENT-SIGNATURE header.","properties":{"image_base64":{"contentEncoding":"base64","description":"The image bytes, base64-encoded.","type":"string"},"image_url":{"description":"A public https URL of a PNG, JPEG or WebP image.","format":"uri","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"headers":{"type":"object"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"queryParams":{"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}}},"liveness":{"reliability":null},"verified":false,"featured":false}]}