diff --git a/apps/mt-photos-ai/1.2.0/.env.sample b/apps/mt-photos-ai/1.2.0/.env.sample new file mode 100644 index 00000000..a29e07d6 --- /dev/null +++ b/apps/mt-photos-ai/1.2.0/.env.sample @@ -0,0 +1,3 @@ +API_AUTH_KEY="mt_photos_ai_extra_secret" +CONTAINER_NAME="mt-photos-ai" +PANEL_APP_PORT_HTTP=40335 diff --git a/apps/mt-photos-ai/1.2.0/data.yml b/apps/mt-photos-ai/1.2.0/data.yml new file mode 100644 index 00000000..c1e30c08 --- /dev/null +++ b/apps/mt-photos-ai/1.2.0/data.yml @@ -0,0 +1,19 @@ +additionalProperties: + formFields: + - default: "40335" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "mt_photos_ai_extra_secret" + edit: true + envKey: API_AUTH_KEY + labelEn: API Auth Key + labelZh: API 授权密钥 + random: true + required: true + rule: paramComplexity + type: password diff --git a/apps/mt-photos-ai/1.2.0/docker-compose.yml b/apps/mt-photos-ai/1.2.0/docker-compose.yml new file mode 100644 index 00000000..3eefd35b --- /dev/null +++ b/apps/mt-photos-ai/1.2.0/docker-compose.yml @@ -0,0 +1,23 @@ +services: + mt-photos-ai: + image: "mtphotos/mt-photos-ai:1.2.0" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8060" + environment: + - API_AUTH_KEY=${API_AUTH_KEY} + runtime: nvidia + deploy: + resources: + reservations: + devices: + - capabilities: [gpu] + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/mt-photos-ai/README.md b/apps/mt-photos-ai/README.md new file mode 100644 index 00000000..fbe6b167 --- /dev/null +++ b/apps/mt-photos-ai/README.md @@ -0,0 +1,4 @@ +# MT Photos AI 识别相关任务独立部署项目 + +- 基于PaddleOCR实现的文本识别(OCR)接口 +- 基于Chinese-CLIP(OpenAI CLIP模型的中文版本)实现的图片、文本提取特征接口 diff --git a/apps/mt-photos-ai/data.yml b/apps/mt-photos-ai/data.yml new file mode 100644 index 00000000..fc973dfa --- /dev/null +++ b/apps/mt-photos-ai/data.yml @@ -0,0 +1,21 @@ +name: MT Photos AI +tags: + - 多媒体 + - AI / 大模型 +title: MT Photos AI 相关的独立服务 +description: MT Photos AI 相关的独立服务 +additionalProperties: + key: mt-photos-ai + name: MT Photos AI + tags: + - Media + - AI + shortDescZh: MT Photos AI 相关的独立服务 + shortDescEn: MT Photos AI-related standalone services + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://mtmt.tech + github: https://github.com/MT-Photos/mt-photos-ai + document: https://mtmt.tech diff --git a/apps/mt-photos-ai/latest-onnx/.env.sample b/apps/mt-photos-ai/latest-onnx/.env.sample new file mode 100644 index 00000000..a29e07d6 --- /dev/null +++ b/apps/mt-photos-ai/latest-onnx/.env.sample @@ -0,0 +1,3 @@ +API_AUTH_KEY="mt_photos_ai_extra_secret" +CONTAINER_NAME="mt-photos-ai" +PANEL_APP_PORT_HTTP=40335 diff --git a/apps/mt-photos-ai/latest-onnx/data.yml b/apps/mt-photos-ai/latest-onnx/data.yml new file mode 100644 index 00000000..c1e30c08 --- /dev/null +++ b/apps/mt-photos-ai/latest-onnx/data.yml @@ -0,0 +1,19 @@ +additionalProperties: + formFields: + - default: "40335" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "mt_photos_ai_extra_secret" + edit: true + envKey: API_AUTH_KEY + labelEn: API Auth Key + labelZh: API 授权密钥 + random: true + required: true + rule: paramComplexity + type: password diff --git a/apps/mt-photos-ai/latest-onnx/docker-compose.yml b/apps/mt-photos-ai/latest-onnx/docker-compose.yml new file mode 100644 index 00000000..b53f5da9 --- /dev/null +++ b/apps/mt-photos-ai/latest-onnx/docker-compose.yml @@ -0,0 +1,22 @@ +services: + mt-photos-ai: + image: "mtphotos/mt-photos-ai:onnx-latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8060" + environment: + - API_AUTH_KEY=${API_AUTH_KEY} + deploy: + resources: + reservations: + devices: + - capabilities: [gpu] + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/mt-photos-ai/latest/.env.sample b/apps/mt-photos-ai/latest/.env.sample new file mode 100644 index 00000000..a29e07d6 --- /dev/null +++ b/apps/mt-photos-ai/latest/.env.sample @@ -0,0 +1,3 @@ +API_AUTH_KEY="mt_photos_ai_extra_secret" +CONTAINER_NAME="mt-photos-ai" +PANEL_APP_PORT_HTTP=40335 diff --git a/apps/mt-photos-ai/latest/data.yml b/apps/mt-photos-ai/latest/data.yml new file mode 100644 index 00000000..c1e30c08 --- /dev/null +++ b/apps/mt-photos-ai/latest/data.yml @@ -0,0 +1,19 @@ +additionalProperties: + formFields: + - default: "40335" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "mt_photos_ai_extra_secret" + edit: true + envKey: API_AUTH_KEY + labelEn: API Auth Key + labelZh: API 授权密钥 + random: true + required: true + rule: paramComplexity + type: password diff --git a/apps/mt-photos-ai/latest/docker-compose.yml b/apps/mt-photos-ai/latest/docker-compose.yml new file mode 100644 index 00000000..18879bf0 --- /dev/null +++ b/apps/mt-photos-ai/latest/docker-compose.yml @@ -0,0 +1,23 @@ +services: + mt-photos-ai: + image: "mtphotos/mt-photos-ai:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8060" + environment: + - API_AUTH_KEY=${API_AUTH_KEY} + runtime: nvidia + deploy: + resources: + reservations: + devices: + - capabilities: [gpu] + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/mt-photos-ai/logo.png b/apps/mt-photos-ai/logo.png new file mode 100644 index 00000000..7f43af2d Binary files /dev/null and b/apps/mt-photos-ai/logo.png differ