{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-recognize-abc123",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-recognize-abc123"
}
}
}Detects and segments image content into 4 categories — object, head (with hair), face (without hair), and clothing — returning segmentation masks synchronously.
{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-recognize-abc123",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-recognize-abc123"
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.modellix.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
Note: This is a synchronous model that returns recognition results immediately. Returns 4 types of recognition results: object_seg (main subject), head_seg (face with hair), face_seg (face without hair), cloth_seg (clothing). Result images are valid for 30 days only. This model does NOT support: prompt, negative_prompt, n, aspect_ratio, resolution, image_fidelity, image_reference, human_fidelity, or callback_url parameters.
Image to recognize (URL or Base64 encoded, do not include 'data:' prefix for Base64). Supported formats: .jpg, .jpeg, .png. Maximum size: 10MB. Minimum dimensions: 300x300px. Aspect ratio must be between 1:2.5 and 2.5:1
1"https://example.com/portrait.jpg"