Elegoo-Obico Plate Analysis API
The APIs documented on this page are designed for Elegoo partners to analyze 3D printing plates using Obico's AI-powered plate analysis system. This system uses advanced AI models to analyze 3D models based on isometric images and provide detailed model analysis along with recommended printing strategies.
Authentication
Authentication is performed using user credentials passed as request parameters:
elegoo_user_id: The Elegoo user identifier registered in the systemaccess_token: The access token associated with the user
These credentials can be included either in the POST request body (JSON) or as query parameters.
Use the Elegoo-Obico User Access Token API to manage user credentials before using the plate analysis API.
Language Support
API responses can be returned in different languages using the lang query parameter. See the Elegoo-Obico Language Support documentation for details on supported languages and usage.
Example:
POST /ent/partners/api/elegoo/plate_analysis/?lang=zh-CN
The language body parameter (documented below) is deprecated. Please use the lang query parameter instead.
Endpoint
https://elegoo-app.obico.io/. Production endpoint. Please use this endpoint unless instructed by the Obico team differently.https://elegoo-app-stg.obico.io/. Staging endpoint. Please don't use unless instructed by the Obico team.https://elegoo-cn-app.elegoo.com.cn. Production endpoint within China.https://elegoo-cn-app-stg.elegoo.com.cn. Staging endpoint within China.
POST /ent/partners/api/elegoo/plate_analysis/
Request
This POST request should be sent as application/json format.
Body parameters
elegoo_user_id: The Elegoo user identifier. Required for authentication. Can also be passed as query parameter.access_token: The access token for the user. Required for authentication. Can also be passed as query parameter.language: Deprecated. The language for the response. Optional. Defaults to"English". Use thelangquery parameter instead (see Language Support section above).messages: Array of chat messages. Optional. Used for context tracking.chat_id: Session identifier for the chat. Optional. Used for context tracking.images: Array of base64-encoded image strings. Required. Isometric images of the 3D model to analyze.plates: Array of plate objects. Required. Each plate object should contain:model_objects: Array of model objects on the plate. At least one model object is required.extruder_id: Integer. The extruder ID for the model.id: String. Unique identifier for the model.name: String. Name of the model file.
Example request
{
"elegoo_user_id": "ELEGOO_USER_001",
"access_token": "your_access_token_here",
"chat_id": "chat_session_123",
"messages": [],
"images": [
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ..."
],
"plates": [
{
"model_objects": [
{
"extruder_id": 1,
"id": "52",
"name": "Octopus_Head_v6.stl"
}
]
}
]
}
Response
Status code: 201
API request was processed successfully.
Body
{
"message": {
"role": "assistant",
"content": "This appears to be an **octopus head model** with intricate tentacle details. The design features multiple overhangs that will require support structures. Based on the geometry, I recommend using tree supports for the tentacles. Would you like me to proceed with this printing strategy?",
"suggested_printing_method": "Use tree supports for the tentacle overhangs. Add a brim to improve bed adhesion. Ensure adequate cooling for the fine details."
},
"credit_resp": {
"code": 0,
"data": null,
"msg": "",
"traceId": "00000000000000000000000000000000"
}
}
message: An object containing the assistant's response.role: Always"assistant".content: A conversational analysis of the 3D model (less than 500 characters) that includes:- Model identification and description
- Intended use analysis
- Geometric features and printability considerations
- Uses bold text for key features
- Ends with a question inviting user confirmation
suggested_printing_method: A recommended printing strategy focusing on technical aspects such as support type (normal or tree), brim/raft recommendations, and overall approach. Does not include specific slicer settings or orientation.
credit_resp: Object or null. The response from the Elegoo credits API. Contains the result of the credit deduction operation.code: Integer.0indicates success.data: Object or null. Additional data from the credits API.msg: String. Message from the credits API.traceId: String. Trace identifier for debugging.
Status code: 400
API request was NOT processed successfully due to validation errors or processing failures.
Body
{
"message": {
"role": "assistant",
"content": "Error message"
}
}
Examples of error messages:
"No plates are found in the project. Please contact support.""Oops, you need to add at least one model.""No images found for analysis. Please contact support."
Status code: 401
Authentication failed. This can occur when:
- Missing
elegoo_user_idoraccess_token - Invalid credentials or expired access token