From ab1e0875a2ea520748f04472ab48cdd988a60987 Mon Sep 17 00:00:00 2001 From: Passthem Date: Wed, 8 Apr 2026 14:12:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=BD=E8=B8=AA=20.env.example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- scripts/.env.example | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 scripts/.env.example diff --git a/.gitignore b/.gitignore index ec823da..4e356ed 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ # Environment .env -.env.example +# .env.example is tracked for reference # Python __pycache__/ diff --git a/scripts/.env.example b/scripts/.env.example new file mode 100644 index 0000000..dbb70f8 --- /dev/null +++ b/scripts/.env.example @@ -0,0 +1,8 @@ +# OpenAI-compatible API endpoint +IMG2TYP_API_ENDPOINT=https://api.openai.com/v1/chat/completions + +# API Key for authentication +IMG2TYP_API_KEY=your-api-key-here + +# Model name (default: qwen-vl-plus for DashScope) +IMG2TYP_MODEL=qwen-vl-plus