14 lines
263 B
Plaintext
14 lines
263 B
Plaintext
# -*- coding:utf-8 -*-
|
|
# GET /api/status - KTV合成服务状态
|
|
|
|
import subprocess
|
|
import json
|
|
|
|
result = {
|
|
'service': 'ktv-video-synthesis',
|
|
'components': ['ffmpeg', 'ass-subtitle', 'video-concat'],
|
|
'gpu_required': False
|
|
}
|
|
|
|
return json.dumps(result)
|