A 3D player model generator that uses AI to convert images of athletes into detailed 3D models.
POST /api/upload
Upload an image file to generate a 3D model
Form Data:
file: Image file (JPEG/PNG)player_name: Name for the model (default: "player")use_keypoints: Whether to use keypoint detection (default: true)use_mask: Whether to use segmentation masks (default: true)POST /api/process
Process a base64-encoded image
JSON Body:
{
"image_data": "base64_encoded_image_data",
"player_name": "player_name",
"options": {
"use_keypoints": true,
"use_mask": true
}
}
POST /api/status
Check the status of a processing job
JSON Body:
{
"job_id": "job_id_from_upload_response"
}
GET /api/jobs
List all processing jobs
GET /api/model/{job_id}
Get the 3D model file for a completed job
Note: This is a demo version using simplified mock processing. For the full version with SAM 3D Body integration, additional setup is required.