feat: 完成图片模型单独扣费

This commit is contained in:
chenchun
2026-01-04 12:32:31 +08:00
parent 9ec9ace8e2
commit bd30a40a6f
4 changed files with 68 additions and 11 deletions

View File

@@ -64,6 +64,13 @@ public class ImageGenerationJob : AsyncBackgroundJob<ImageGenerationJobArgs>, IT
{
contents = new[]
{
new
{
role = "user", parts = new List<object>
{
new { text = "我只要图片,直接生成图片,不要询问我" }
}
},
new { role = "user", parts }
}
};