Build with the Superslice API
Slice 3D models on the real Bambu Studio, Creality Print, ElegooSlicer and PrusaSlicer engines. Get print time, filament use and a price back.
terminal
curl https://api.superslice.co/v1/slices \
-H "Authorization: Bearer $SUPERSLICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": {
"source_url": "https://example.com/bracket.stl"
},
"slicer": "bambu-studio",
"printer": "Bambu Lab A1 0.4 nozzle",
"process": "0.20mm Standard @BBL A1",
"filament": "Bambu PLA Basic @BBL A1"
}'Set up your coding agent
Give this prompt to Claude Code, Cursor, Codex or any coding agent. It reads the docs and builds the first slice with you.
Agent prompt
Add the Superslice API to this project. Read https://docs.superslice.co/llms-full.txt first and follow it.
1. Read the API key from the SUPERSLICE_API_KEY environment variable. Never hardcode it or commit it.
2. Pick the slicer, printer, process and filament from GET /v1/engines and its catalogue endpoints, not from memory.
3. Create a slice with POST /v1/slices. Send an Idempotency-Key so a retry never slices twice.
4. Take the result from the callback_url, or poll GET /v1/slices/{id} until status is succeeded or failed.
5. Handle every error code on https://docs.superslice.co/errors, and on 429 wait for Retry-After before retrying.
6. Show me the first successful result: print_time_s and filament_g.Start building
QuickstartCreate a key and get your first slice back in three steps.SlicesUpload a model or link one, pick the settings, read the result.CatalogueEvery printer, process, filament and plate each engine knows.PresetsSave a set of settings once and slice with it by name.PricingTurn grams and minutes into a price with your own rules.CallbacksGet the result pushed to your server when a slice finishes.
Build something customers use
Quote a customer's uploadA file comes in, a price, print time and filament weight go out.Build a quoting pageAn upload form on your site that shows the price while the customer waits.Keep your key safeScopes, rotation, and checking that a callback came from us.
What's new
Full changelogMore resources
Was this page helpful?