|
|
@@ -7,6 +7,10 @@ class PointsTransformer
|
|
|
const TYPE_LABELS = [
|
|
|
'video' => '视频生成',
|
|
|
'video_refund' => '视频生成退款',
|
|
|
+ 'image' => '图片生成',
|
|
|
+ 'image_refund' => '图片生成退款',
|
|
|
+ 'chat' => 'AI对话',
|
|
|
+ 'chat_refund' => 'AI对话退款',
|
|
|
];
|
|
|
|
|
|
/**
|
|
|
@@ -50,6 +54,7 @@ class PointsTransformer
|
|
|
'task_id' => (int)getProp($item, 'task_id'),
|
|
|
'charge_info' => [
|
|
|
'model' => getProp($chargeInfo, 'model'),
|
|
|
+ 'modality' => getProp($chargeInfo, 'modality'),
|
|
|
'video_resolution' => getProp($chargeInfo, 'video_resolution'),
|
|
|
'video_duration' => getProp($chargeInfo, 'video_duration'),
|
|
|
'ratio' => getProp($chargeInfo, 'ratio'),
|