{
    "status": "success",
    "ai_engine": {
        "online": true,
        "status": "online",
        "service": "NeuroEngine AI Service",
        "version": "6.0.0",
        "hardware": {
            "cuda_available": false,
            "device": "CPU"
        },
        "summary": {
            "total_models": 17,
            "installed_count": 13,
            "ready_count": 12,
            "loaded_in_memory": []
        },
        "models": {
            "faster_whisper": {
                "name": "Faster-Whisper (Speech-to-Text)",
                "installed": true,
                "version": "1.2.1",
                "ctranslate2_version": "4.8.2",
                "status": "ready",
                "type": "stt",
                "supported_models": [
                    "tiny",
                    "base",
                    "small",
                    "medium",
                    "large-v3"
                ],
                "checkpoint_policy": "automatic on-demand download via HuggingFace (int8 CPU)"
            },
            "kokoro_tts": {
                "name": "Kokoro-82M ONNX (Natural TTS)",
                "installed": true,
                "version": "0.3.3",
                "status": "missing_checkpoint",
                "type": "tts",
                "checkpoint_files": {
                    "model_path": "kokoro-v0_19.onnx",
                    "model_exists": false,
                    "voices_path": "voices.json",
                    "voices_exists": false
                }
            },
            "piper_tts": {
                "name": "Piper Neural TTS",
                "installed": true,
                "version": "1.8.0",
                "status": "ready",
                "type": "tts"
            },
            "rmbg_background_removal": {
                "name": "BRIA RMBG-1.4 (AI Background Removal)",
                "installed": true,
                "version": "1.4.0 (BRIA AI)",
                "onnxruntime_version": "1.30.0",
                "status": "ready_with_alpha_fallback",
                "type": "vision",
                "checkpoint": {
                    "path": "rmbg-1.4.onnx",
                    "exists": false
                }
            },
            "yunet_face_ai": {
                "name": "YuNet / OpenCV Face AI (Face Blurring & Smart Framing)",
                "installed": true,
                "version": "4.11.0.86",
                "status": "ready",
                "type": "vision",
                "checkpoint": {
                    "path": "face_detection_yunet_2023mar.onnx",
                    "exists": false,
                    "fallback": "HaarCascade frontal face detector (active)"
                }
            },
            "rapid_ocr": {
                "name": "RapidOCR ONNX (Arabic & English OCR)",
                "installed": true,
                "version": "1.4.4",
                "status": "ready",
                "type": "ocr"
            },
            "speaker_diarization": {
                "name": "3D-Speaker CAM++ (Speaker Diarization)",
                "installed": true,
                "version": "CAM++ 2024",
                "status": "ready",
                "type": "audio",
                "description": "Multi-speaker turn detection for podcasts and dubbing"
            },
            "scene_detection": {
                "name": "Content-Aware Scene Detection",
                "installed": true,
                "version": "v1.2 (Chi-Square Histogram)",
                "status": "ready",
                "type": "video"
            },
            "deep_translator": {
                "name": "Deep-Translator Multi-language Engine",
                "installed": true,
                "version": "1.11.4",
                "status": "ready",
                "type": "translation"
            },
            "deepfilternet3": {
                "name": "DeepFilterNet3 (Neural Noise & Reverb Reduction)",
                "installed": true,
                "version": "0.5.6",
                "status": "ready",
                "type": "denoise",
                "note": "Optional heavy model. Passthrough active when uninstalled."
            },
            "audio_separator": {
                "name": "BS-RoFormer (Vocal & Dialogue Demixing)",
                "installed": true,
                "version": "0.30.2",
                "status": "ready",
                "type": "separation",
                "note": "Spectral phase cancellation fallback active if heavy weights not loaded."
            },
            "xtts_v2": {
                "name": "Coqui XTTS-v2 (Zero-Shot Voice Cloning)",
                "installed": false,
                "version": null,
                "status": "not_installed",
                "type": "voice_clone",
                "note": "Requires GPU/Torch profile to activate."
            },
            "silero_vad": {
                "name": "Silero VAD v5 (1ms Speech Detection)",
                "installed": true,
                "version": "v5.0",
                "status": "ready",
                "type": "vad"
            },
            "content_moderation": {
                "name": "Content Safety & NSFW Moderation",
                "installed": true,
                "version": "v1.0 (Entropy & Skin Heuristics)",
                "status": "ready",
                "type": "moderation"
            },
            "wav2lip": {
                "name": "Wav2Lip & GFPGAN (Neural Lip-Sync)",
                "installed": false,
                "version": "v1.0 (Inpainting)",
                "status": "download_required",
                "type": "lipsync",
                "description": "Video-to-Video lip synchronization driven by audio"
            },
            "sadtalker": {
                "name": "SadTalker (Talking Head from Image)",
                "installed": false,
                "version": "v0.0.2",
                "status": "download_required",
                "type": "lipsync",
                "description": "Single-image avatar facial animation driven by audio"
            },
            "musetalk": {
                "name": "MuseTalk (Real-Time Lip-Sync)",
                "installed": false,
                "version": "v1.0",
                "status": "download_required",
                "type": "lipsync",
                "description": "High-resolution real-time inpainting lip synchronization"
            }
        }
    }
}