EasyTranslator / config.json
alienet's picture
v1.1.0
465a2e5
{
"moyu_mode": "0",
"if_save_id_immediately": "1",
"last_edited_id": "100001002",
"target_id": "100001005",
"file_path": "./example_text.json",
"context_half_length": "10",
"name_dict_path": "./example_name_dict.json",
"replace_dict_path": "./example_replace_dict.json",
"output_txt_path": "./output.txt",
"seperator_long": "===============================",
"seperator_short": "---------------------",
"csv_column_name": {
"id": "",
"text": "text",
"name": "name"
},
"selected_model": [
"baidu",
"gpt3"
],
"baidu_api_settings": {
"api_id": "YOUR BAIDU API ID",
"api_key": "YOUR BAIDU API KEY",
"from_lang": "jp",
"to_lang": "zh"
},
"openai_api_settings": {
"openai_api_key": "YOUR OPENAI API KEY",
"prompt_prefix": "将以下文字翻译为中文:",
"prompt_postfix": "",
"time_limit": 15
},
"API_KEYS": {
"OPENAI_API_KEY": "YOUR OPENAI API KEY (https://platform.openai.com/docs/overview)",
"GEMINI_API_KEY": "YOUR GEMINI API KEY (https://ai.google.dev/gemini-api/)",
"DASHSCOPE_API_KEY": "YOUR QWEN API KEY (https://help.aliyun.com/zh/model-studio/)",
"DEEPSEEK_API_KEY": "YOUR DEEPSEEK API KEY (https://api-docs.deepseek.com/)",
"ANTHROPIC_API_KEY": "YOUR CLAUDE API KEY (https://www.anthropic.com/api)",
"ARK_API_KEY": "YOUR DOUBAO API KEY (https://www.volcengine.com/product/doubao)",
"OPENROUTER_API_KEY": "YOUR OPENROUTER API KEY (https://openrouter.ai/)"
}
}