magiclayers
Choose an access method
If the current AI client supports remote MCP, connect to https://magiclayers.app/mcp using Streamable HTTP. Discover tools through the MCP client. If the agent can run terminal commands, use the magiclayers CLI. Each method supports the complete task workflow. The user pays on the hosted Stripe page. MagicLayers requires no account or API key.
Get the original PNG, JPEG or WebP, up to 30 MiB, and ask whether the user wants editable design layers or automatic spot-color print separations. Offer an email address only for optional delivery notifications. Use the same task for submission, checkout, status and delivery.
Remote MCP workflow
- If requested, preflight the original image with
convertanddry_run: true. Use the client's file input. API integrations may supply the image bytes asimage_base64from client code. - Call
prepare_conversion, keep the returnedtask_idand privatetask_ref, and passtask_reftoconvertwith the same image. Setprint: truefor spot-color separations. Submission freezes the quote without charging. - Call
checkoutwith the task ID and reference. Show the quote and hosted Stripe link so the user can pay. Once they finish, callverify_paymentandstatus. Usepaymentto read the latest verified financial state. - Once the task is ready, call
download. The default kind ispackage. Choosepsdorpreviewfor a single file. The receipt includes a short-lived link, byte count and SHA-256.
After an uncertain submission, check status for the original task before retrying with the same image and options. Keep task references and signed download links private.
CLI workflow
Use the installed magiclayers command. Check --version, discover and doctor. For the commands below, use CLI 2.6.7 or later. Install Node.js 22 or newer and run npm install -g @canvatopsd/magiclayers if needed. The package includes native executables for macOS Apple Silicon and Linux x64/glibc 2.31+.