Files
Genarrative/server-rs/crates/api-server/config/editor-generation-pricing.default.json
T
k88936 9f4a71d2e3 3D 定价段拆成端点并列的两段结构
- Model3dPricingConfig 改为 textToModelPricing / imageToModelPricing 两段并列,各持自己的 versionPrices 与 addOnPrices
- 新增 Model3dEndpointPricing 承接单端点定价,校验与查价按端点委派,溢出检查覆盖两段
- 受控默认 JSON 的 model3d 段同步改为两段结构
- 3D 定价相关用例夹具与断言更新到两段形状
2026-09-23 11:01:20 +08:00

116 lines
2.4 KiB
JSON

{
"models": {
"gemini-3.1-flash-image-preview": {
"unit": "perGeneration",
"prices": {
"0.5K": 8,
"1K": 12,
"2K": 24
}
},
"gpt-image-2": {
"unit": "perGeneration",
"prices": {
"1K": 3,
"2K": 5
}
},
"seedance2.0-fast": {
"unit": "perSecond",
"prices": {
"480p": 10,
"720p": 20,
"1080p": 40
}
},
"seedance2.0": {
"unit": "perSecond",
"prices": {
"480p": 12,
"720p": 24,
"1080p": 48
}
},
"kling3.0": {
"unit": "perSecond",
"prices": {
"480p": 15,
"720p": 30,
"1080p": 60
}
},
"kling3.0-omni": {
"unit": "perSecond",
"prices": {
"480p": 20,
"720p": 40,
"1080p": 80
}
},
"veo3.1": {
"unit": "perSecond",
"prices": {
"480p": 10,
"720p": 20,
"1080p": 40
}
},
"veo3.1-fast": {
"unit": "perSecond",
"prices": {
"480p": 10,
"720p": 20,
"1080p": 40
}
},
"audio1.0": {
"unit": "perGeneration",
"price": 5
},
"eleven_text_to_sound_v2": {
"unit": "perGeneration",
"price": 5
},
"chirp-v5": {
"unit": "perGeneration",
"price": 12
}
},
"model3d": {
"textToModelPricing": {
"versionPrices": {
"v3.1-20260211": { "noTexture": 8, "texture": 16 },
"v3.0-20250812": { "noTexture": 8, "texture": 16 },
"v2.5-20250123": { "noTexture": 8, "texture": 16 },
"P1-20260311": { "noTexture": 24, "texture": 32 },
"P2-20260801": { "noTexture": 80, "texture": 88 }
},
"addOnPrices": {
"hdTexture": 8,
"ultraTexture": 16,
"hdGeometry": 16,
"quadMesh": 4,
"smartLowPoly": 8,
"generateParts": 16
}
},
"imageToModelPricing": {
"versionPrices": {
"v3.1-20260211": { "noTexture": 16, "texture": 24 },
"v3.0-20250812": { "noTexture": 16, "texture": 24 },
"v2.5-20250123": { "noTexture": 16, "texture": 24 },
"P1-20260311": { "noTexture": 32, "texture": 40 },
"P2-20260801": { "noTexture": 80, "texture": 88 }
},
"addOnPrices": {
"hdTexture": 8,
"ultraTexture": 16,
"hdGeometry": 16,
"quadMesh": 4,
"smartLowPoly": 8,
"generateParts": 16
}
}
}
}