34 lines
1.4 KiB
YAML
34 lines
1.4 KiB
YAML
# 豆包(火山方舟 Ark)媒体生成模型档案。
|
|
#
|
|
# 价格表 last_updated: 2026-05-20
|
|
# 源: https://www.volcengine.com/docs/82379/1544106
|
|
# 豆包调价时手动更新本文件 + 重启 web。历史 usage_events 自带 snapshot 不受影响
|
|
# (record_image_usage 把 price_cny_per_image 写进 units jsonb 列)。
|
|
#
|
|
# 接入方式:走 ark 原生 HTTP(litellm 不覆盖图像/视频),core/ark_client.py 封装统一调用。
|
|
# image (seedream) 同步返 URL;video (seedance) 异步 task + polling — 本期仅落地 image。
|
|
|
|
ark_api_key_env: ARK_API_KEY
|
|
ark_base_url: https://ark.cn-beijing.volces.com/api/v3
|
|
|
|
image:
|
|
seedream_5:
|
|
model_id: doubao-seedream-5-0-260128
|
|
display_name: 豆包 Seedream 5.0
|
|
# 同步生成,3-5 秒出图。OpenAI Images API 兼容路径 /images/generations。
|
|
endpoint: /images/generations
|
|
price_cny_per_image: 0.22 # 计费单位:成功输出张数;调价改这里 + 重启
|
|
default_size: 2048x2048 # 原生最高 3072x3072;2K 兼顾质量/体积
|
|
default_watermark: false # 默认无水印(申报/PPT 场景反需求)
|
|
default_search: false # web search 额外加价 ~¥0.05/张;默认关
|
|
request_timeout_s: 60 # 出图慢于此判超时
|
|
|
|
# video (seedance) 待 Phase 2:
|
|
# video:
|
|
# seedance_2:
|
|
# model_id: doubao-seedance-2-0-260128
|
|
# ...
|
|
# seedance_2_fast:
|
|
# model_id: doubao-seedance-2-0-fast-260128
|
|
# ...
|