This is a Lambda function behind an Express server that powers the backend of the CodeNgrave project — a laser engraving toolchain built with:
It accepts an image file via a POST request and converts it
into G-code, which can be sent to a laser engraving
machine.
Make a POST request to this endpoint with a form-data field
named image. The response will be plain text G-code.
POST /
Content-Type: multipart/form-data
Field: image (attach image file)
For a complete experience, visit the frontend: codengrave.vercel.app