API
Shapiful has a simple HTTP API. The API is free. You do not need an API key.
Make a 3D model
Send a GET request. Put each parameter in the path as a name and a value:
https://www.shapiful.com/3d-model/api/get-file-url/modelName/<model>/textContent/<text>/fileType/<type>
Example:
curl -o label.stl https://www.shapiful.com/3d-model/api/get-file-url/modelName/Keychain_Name_Label/textContent/Anna/fileType/stl
Parameters
modelName- a gallery model, for exampleKeychain_Name_Label,Plant_Label,Cable_LabelorOffice_Name_Plate. The model gives the default values of the other parameters.textContent- the text. Use URL encoding for special characters.fileType-stl,3mf,amf,wrl,off,csg,png,giforscad.
You can also set the other fields of the editor, for example textFont or supportThickness.
Errors
400- the file type is not supported.500- the 3D model could not be made.
Do not send many requests at the same time.
Support
Send your questions to [email protected].