MeUtils 2025.5.29.18.12.8__py3-none-any.whl → 2025.5.30.17.3.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -493,6 +493,22 @@ class ImageProcess(BaseModel):
493
493
  # extra = "allow"
494
494
 
495
495
 
496
+ class ImageEditRequest(BaseModel):
497
+ model: Union[str, Literal["dall-e-2", "dall-e-3", "gpt-image-1"]]
498
+
499
+ prompt: str
500
+ image: Any # 图片
501
+ mask: Optional[Any] = None # 图片
502
+ background: Optional[Literal["transparent", "opaque", "auto"]] = None
503
+
504
+ n: Optional[int] = None
505
+ quality: Optional[Literal["standard", "low", "medium", "high", "auto"]] = None
506
+ size: Optional[Union[str, Literal["256x256", "512x512", "1024x1024", "1536x1024", "1024x1536", "auto"]]] = None
507
+ response_format: Optional[Literal["url", "b64_json"]] = None
508
+
509
+ user: Optional[str] = None
510
+
511
+
496
512
  if __name__ == '__main__':
497
513
  # print(ASPECT_RATIOS.items())
498
514
 
@@ -48,7 +48,7 @@ MODEL_PRICE = {
48
48
  "kling_virtual_try_on": 1,
49
49
  "kling_effects": 1,
50
50
 
51
- "kling_video": 1.2,
51
+ "kling_video": 1,
52
52
  "kling_extend": 1,
53
53
  "kling_lip_sync": 1,
54
54
 
@@ -545,6 +545,8 @@ MODEL_RATIO = {
545
545
  "farui-plus": 10, # 法律大模型
546
546
  'qwen2-math-72b-instruct': 4.13,
547
547
 
548
+ "qwenlong-l1-32b": 0.5,
549
+
548
550
  # 讯飞 https://xinghuo.xfyun.cn/sparkapi?scr=price
549
551
  'spark-lite': 0.05, # 特价
550
552
  'spark-pro': 15 / 5, # 特价
@@ -586,6 +588,7 @@ MODEL_RATIO = {
586
588
  "yi-medium-200k": 6,
587
589
 
588
590
  # minimax https://platform.minimaxi.com/document/price?id=6433f32294878d408fc8293e
591
+ "minimax-text-01": 0.5,
589
592
  "abab6.5-chat": 15 / 7.5,
590
593
  "abab6.5s-chat": 5,
591
594
  "abab6.5t-chat": 2.5,
@@ -617,6 +620,8 @@ MODEL_RATIO = {
617
620
  'deepseek-reasoner-8k': 1,
618
621
  "deepseek-r1-250120": 2,
619
622
  "deepseek-r1-0528": 2,
623
+ "deepseek-r1-250528": 2,
624
+ "deepseek-r1-250528-qwen3-8b": 0.3,
620
625
 
621
626
  "deepseek-search": 1,
622
627
  'deepseek-r1-search': 2,
@@ -825,6 +830,8 @@ MODEL_RATIO = {
825
830
  "gemini-2.5-flash-thinking": 0.075,
826
831
  "gemini-2.5-flash-preview-04-17-thinking": 0.075,
827
832
  "gemini-2.5-flash-preview-05-20-thinking": 0.075,
833
+
834
+ "gemini-2.5-pro-think": 0.625,
828
835
  "gemini-2.5-pro-thinking": 0.625,
829
836
  "gemini-2.5-pro-exp-03-25-thinking": 0.625,
830
837
  "gemini-2.5-pro-preview-03-25-thinking": 0.625,
@@ -949,6 +956,8 @@ MODEL_RATIO = {
949
956
  }
950
957
 
951
958
  COMPLETION_RATIO = {
959
+ "minimax-text-01": 8,
960
+
952
961
  # 智能体
953
962
  "gpt-4-plus": 5,
954
963
  "gpt-4o-plus": 5,
@@ -1102,9 +1111,11 @@ COMPLETION_RATIO = {
1102
1111
  "gemini-2.5-flash-preview-04-17-thinking": 23,
1103
1112
  "gemini-2.5-flash-preview-05-20-thinking": 23,
1104
1113
 
1105
- "gemini-2.5-pro-thinking": 23,
1106
- "gemini-2.5-pro-exp-03-25-thinking": 23,
1107
- "gemini-2.5-pro-preview-03-25-thinking": 23,
1114
+ "gemini-2.5-pro-think": 4,
1115
+
1116
+ "gemini-2.5-pro-thinking": 4,
1117
+ "gemini-2.5-pro-exp-03-25-thinking": 4,
1118
+ "gemini-2.5-pro-preview-03-25-thinking": 4,
1108
1119
 
1109
1120
  "hunyuan-a52b-instruct": 5,
1110
1121
  "qwen2.5-coder-32b-instruct": 3,
@@ -1156,6 +1167,7 @@ COMPLETION_RATIO = {
1156
1167
  "qwen3-32b": 4,
1157
1168
  "qwen3-30b-a3b": 4,
1158
1169
  "qwen3-235b-a22b": 3,
1170
+ "qwenlong-l1-32b": 4,
1159
1171
 
1160
1172
  "deepseek-vl2": 4,
1161
1173
  "deepseek-ai/deepseek-vl2": 4,
@@ -1232,6 +1244,9 @@ COMPLETION_RATIO = {
1232
1244
  "deepseek-reasoner-164k": 8,
1233
1245
  "deepseek-r1-250120": 4,
1234
1246
  "deepseek-r1-0528": 4,
1247
+ "deepseek-r1-250528": 4,
1248
+
1249
+ "deepseek-r1-250528-qwen3-8b": 4,
1235
1250
 
1236
1251
  "deepseek-chat:function": 4,
1237
1252