modify: aibox_sophon_adapter
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[POST]
|
||||
summary = "分析图片内容"
|
||||
docstring = "发送图片(base64或路径)到豆包视觉模型,返回描述"
|
||||
auth_required = false
|
||||
params = [
|
||||
"image_base64: str",
|
||||
"prompt: str"
|
||||
|
||||
@@ -8,3 +8,6 @@ defaults = { method = "POST", timeout = 30.0, auth_required = false }
|
||||
[worker.registration]
|
||||
router_prefix = "/doubao"
|
||||
tags = ["vision", "ai"]
|
||||
|
||||
# is_aicc = true 时启用 AICC 安全通信(端云互信),使用 AsyncOpenAI + AsyncSecureHttpClient
|
||||
# is_aicc = false 时使用标准 Ark SDK(AsyncArk),默认 false
|
||||
|
||||
Reference in New Issue
Block a user