46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"providers": {
|
|
"tiantoken-vision": {
|
|
"protocol": "responses",
|
|
"base_url_env": "TIANTOKEN_BASE_URL",
|
|
"api_key_env": "TIANTOKEN_API_KEY",
|
|
"timeout_ms": 180000,
|
|
"max_retries": 2
|
|
},
|
|
"tiantoken-image-edit": {
|
|
"protocol": "images-edits",
|
|
"base_url_env": "TIANTOKEN_BASE_URL",
|
|
"api_key_env": "TIANTOKEN_API_KEY",
|
|
"timeout_ms": 1200000,
|
|
"max_retries": 2,
|
|
"capabilities": {"multiple_images": false, "mask": false},
|
|
"image_field": "image",
|
|
"mask_editable": "transparent"
|
|
}
|
|
},
|
|
"stages": {
|
|
"understanding": {
|
|
"provider": "tiantoken-vision",
|
|
"model_env": "TIANTOKEN_UNDERSTANDING_MODEL",
|
|
"default_model": "gpt-6-astra",
|
|
"prompt": "../prompts/understand-v1.txt",
|
|
"output_mode": "text-json",
|
|
"stream": true,
|
|
"params": {"store": false}
|
|
},
|
|
"completion": {
|
|
"provider": "tiantoken-image-edit",
|
|
"model_env": "TIANTOKEN_COMPLETION_MODEL",
|
|
"default_model": "gpt-image-2",
|
|
"prompt": "../prompts/complete-v1.txt",
|
|
"params": {"n": 1}
|
|
},
|
|
"segmentation": {
|
|
"provider": "sam-local",
|
|
"model_dir_env": "SAM_MODEL_DIR",
|
|
"default_model_dir": "F:/Study/SAM3"
|
|
}
|
|
}
|
|
}
|