New: AI video tools. Cut, clip, caption and dub your videos. See all video tools →
System

Get PyTorch backend

GET
/api/v1/system/backend

Return the configured PyTorch backend name (cuda, mlx, or cpu) from config.

Response Body

Successful Response

application/json
  1. response
backend?|

PyTorch backend name (cuda, mlx, cpu) or null if not configured

Example Request
curl -X GET 'http://127.0.0.1:8100/api/v1/system/backend'
Example Response200
{  "backend": "string"}