MeUtils 2025.4.23.16.8.28__py3-none-any.whl → 2025.4.25.20.47.56__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.
- {MeUtils-2025.4.23.16.8.28.dist-info → MeUtils-2025.4.25.20.47.56.dist-info}/METADATA +262 -262
- {MeUtils-2025.4.23.16.8.28.dist-info → MeUtils-2025.4.25.20.47.56.dist-info}/RECORD +22 -21
- examples/_openaisdk/openai_google.py +17 -4
- examples/_openaisdk/openai_images.py +3 -1
- meutils/apis/google/chat.py +24 -13
- meutils/apis/images/recraft.py +21 -10
- meutils/apis/jimeng/__init__.py +0 -1
- meutils/apis/oneapi/channel.py +79 -1
- meutils/apis/oneapi/demo.py +75 -0
- meutils/apis/oneapi/log.py +3 -1
- meutils/apis/oneapi/user.py +1 -1
- meutils/apis/search/metaso.py +3 -1
- meutils/apis/siliconflow/images.py +3 -0
- meutils/config_utils/lark_utils/common.py +3 -0
- meutils/data/VERSION +1 -1
- meutils/io/files_utils.py +3 -0
- meutils/llm/completions/qwenllm.py +2 -2
- meutils/schemas/oneapi/common.py +50 -18
- {MeUtils-2025.4.23.16.8.28.dist-info → MeUtils-2025.4.25.20.47.56.dist-info}/LICENSE +0 -0
- {MeUtils-2025.4.23.16.8.28.dist-info → MeUtils-2025.4.25.20.47.56.dist-info}/WHEEL +0 -0
- {MeUtils-2025.4.23.16.8.28.dist-info → MeUtils-2025.4.25.20.47.56.dist-info}/entry_points.txt +0 -0
- {MeUtils-2025.4.23.16.8.28.dist-info → MeUtils-2025.4.25.20.47.56.dist-info}/top_level.txt +0 -0
meutils/schemas/oneapi/common.py
CHANGED
@@ -12,9 +12,13 @@ from meutils.pipe import *
|
|
12
12
|
from meutils.data.oneapi import NOTICE, FOOTER
|
13
13
|
|
14
14
|
BASE_URL = "https://api.chatfire.cn"
|
15
|
+
# BASE_URL = "https://api.ffire.cn"
|
16
|
+
|
15
17
|
# BASE_URL = "https://api-dev.chatfire.cn"
|
16
18
|
FREE = 0.001
|
17
19
|
MJ_RELAX = 1
|
20
|
+
MJ_FAST = 1.5
|
21
|
+
|
18
22
|
STEP = 2
|
19
23
|
MINIMAX_VIDEO = 3
|
20
24
|
|
@@ -26,9 +30,17 @@ MODEL_PRICE = {
|
|
26
30
|
"black-forest-labs/FLUX.1-dev": 0.0001,
|
27
31
|
"black-forest-labs/FLUX.1-pro": 0.0001,
|
28
32
|
|
33
|
+
"gpt-search": 0.02,
|
34
|
+
|
29
35
|
"gemini-2.0-flash-search": 0.01,
|
30
36
|
"gemini-2.0-flash-exp-image-generation": 0.03,
|
31
37
|
|
38
|
+
"gemini-2.5-flash-audio": 0.025,
|
39
|
+
"gemini-2.5-pro-audio": 0.05,
|
40
|
+
|
41
|
+
"gemini-2.5-flash-video": 0.05,
|
42
|
+
"gemini-2.5-pro-video": 0.1,
|
43
|
+
|
32
44
|
"images": FREE,
|
33
45
|
# rix
|
34
46
|
"kling_image": 0.05,
|
@@ -263,6 +275,7 @@ MODEL_PRICE = {
|
|
263
275
|
"gpt-4o-all": 0.1,
|
264
276
|
"gpt-4o-image": 0.05,
|
265
277
|
"sora-image": 0.1,
|
278
|
+
"gpt-image-1": 0.1,
|
266
279
|
|
267
280
|
"gpt-4-gizmo-*": 0.1,
|
268
281
|
"advanced-voice": 1,
|
@@ -275,6 +288,7 @@ MODEL_PRICE = {
|
|
275
288
|
"net-gpt-4": 0.1,
|
276
289
|
"perplexity": 0.01,
|
277
290
|
"net-claude": 0.015,
|
291
|
+
"meta-search": 0.02,
|
278
292
|
|
279
293
|
# 逆向
|
280
294
|
"cogview-3": 0.01,
|
@@ -302,33 +316,35 @@ MODEL_PRICE = {
|
|
302
316
|
"ai-search-pro": 0.1,
|
303
317
|
"ai-search-pro:scholar": 0.1,
|
304
318
|
|
319
|
+
"deepseek-search": 0.01,
|
305
320
|
'deepseek-r1-search': 0.01,
|
306
321
|
"deepseek-r1-search-pro": 0.02,
|
307
322
|
"deepseek-r1-search-pro-thinking": 0.02,
|
323
|
+
'deepseek-reasoner-search': 0.01,
|
308
324
|
|
309
325
|
# MJ
|
310
326
|
"mj-chat": 0.3,
|
311
327
|
|
312
|
-
"mj_fast_blend": 0.1,
|
328
|
+
"mj_fast_blend": 0.1 * MJ_FAST,
|
313
329
|
"mj_fast_custom_oom": 0,
|
314
|
-
"mj_fast_describe": 0.05,
|
315
|
-
"mj_fast_high_variation": 0.1,
|
316
|
-
"mj_fast_imagine": 0.1,
|
330
|
+
"mj_fast_describe": 0.05 * MJ_FAST,
|
331
|
+
"mj_fast_high_variation": 0.1 * MJ_FAST,
|
332
|
+
"mj_fast_imagine": 0.1 * MJ_FAST,
|
317
333
|
"mj_fast_inpaint": 0,
|
318
|
-
"mj_fast_low_variation": 0.1,
|
319
|
-
"mj_fast_modal": 0.1,
|
320
|
-
"mj_fast_pan": 0.1,
|
334
|
+
"mj_fast_low_variation": 0.1 * MJ_FAST,
|
335
|
+
"mj_fast_modal": 0.1 * MJ_FAST,
|
336
|
+
"mj_fast_pan": 0.1 * MJ_FAST,
|
321
337
|
"mj_fast_pic_reader": 0,
|
322
338
|
"mj_fast_prompt_analyzer": 0,
|
323
339
|
"mj_fast_prompt_analyzer_extended": 0,
|
324
|
-
"mj_fast_reroll": 0.1,
|
325
|
-
"mj_fast_shorten": 0.1,
|
326
|
-
"mj_fast_upload": 0.1,
|
327
|
-
"mj_fast_upscale": 0.05,
|
328
|
-
"mj_fast_upscale_creative": 0.1,
|
329
|
-
"mj_fast_upscale_subtle": 0.1,
|
330
|
-
"mj_fast_variation": 0.1,
|
331
|
-
"mj_fast_zoom": 0.1,
|
340
|
+
"mj_fast_reroll": 0.1 * MJ_FAST,
|
341
|
+
"mj_fast_shorten": 0.1 * MJ_FAST,
|
342
|
+
"mj_fast_upload": 0.1 * MJ_FAST,
|
343
|
+
"mj_fast_upscale": 0.05 * MJ_FAST,
|
344
|
+
"mj_fast_upscale_creative": 0.1 * MJ_FAST,
|
345
|
+
"mj_fast_upscale_subtle": 0.1 * MJ_FAST,
|
346
|
+
"mj_fast_variation": 0.1 * MJ_FAST,
|
347
|
+
"mj_fast_zoom": 0.1 * MJ_FAST,
|
332
348
|
|
333
349
|
"mj_relax_imagine": 0.05 * MJ_RELAX,
|
334
350
|
|
@@ -435,7 +451,7 @@ MODEL_RATIO = {
|
|
435
451
|
"glm-z1-airx": 2.5, # "glm-z1-airx": "glm-z1-airx==THUDM/GLM-Z1-Rumination-32B-0414"
|
436
452
|
|
437
453
|
# 月之暗面 https://platform.moonshot.cn/docs/price/chat#%E4%BA%A7%E5%93%81%E5%AE%9A%E4%BB%B7
|
438
|
-
"kimi-latest-8k
|
454
|
+
"kimi-latest-8k": 1,
|
439
455
|
"kimi-latest-32k": 2.5,
|
440
456
|
"kimi-latest-128k": 5,
|
441
457
|
|
@@ -748,6 +764,12 @@ MODEL_RATIO = {
|
|
748
764
|
"gemini-pro-vision": 1,
|
749
765
|
"gemini-ultra": 1,
|
750
766
|
|
767
|
+
"gemini-2.5-flash-thinking": 0.15 * 2,
|
768
|
+
"gemini-2.5-flash-preview-04-17-thinking": 0.15 * 2,
|
769
|
+
"gemini-2.5-pro-thinking": 0.625 * 2,
|
770
|
+
"gemini-2.5-pro-exp-03-25-thinking": 0.625 * 2,
|
771
|
+
"gemini-2.5-pro-preview-03-25-thinking": 0.625 * 2,
|
772
|
+
|
751
773
|
"gpt-3.5-turbo": 0.75,
|
752
774
|
"gpt-3.5-turbo-0125": 0.25,
|
753
775
|
"gpt-3.5-turbo-0613": 0.75,
|
@@ -776,7 +798,6 @@ MODEL_RATIO = {
|
|
776
798
|
|
777
799
|
"gpt-4o-audio-preview": 2.5 / 2,
|
778
800
|
"gpt-4o-audio-preview-2024-12-17": 2.5 / 2,
|
779
|
-
"gemini-2.0-flash-audio": 0.15 / 2,
|
780
801
|
|
781
802
|
"gpt-4o": 1.25,
|
782
803
|
"gpt-4o-all": 2.5, # 逆向
|
@@ -804,6 +825,7 @@ MODEL_RATIO = {
|
|
804
825
|
"o1-preview-2024-09-12": 7.5,
|
805
826
|
"o3-mini": 0.55,
|
806
827
|
"o4-mini": 0.55,
|
828
|
+
"gpt-image-1": 5,
|
807
829
|
|
808
830
|
# 硅基
|
809
831
|
"llama-3.1-8b-instruct": 0.01,
|
@@ -928,7 +950,7 @@ COMPLETION_RATIO = {
|
|
928
950
|
"gpt-4.1-mini-2025-04-14": 4,
|
929
951
|
"gpt-4.1-nano-2025-04-14": 4,
|
930
952
|
|
931
|
-
"
|
953
|
+
"gpt-image-1": 8,
|
932
954
|
|
933
955
|
# claude
|
934
956
|
"claude-3-opus-20240229": 5,
|
@@ -1000,6 +1022,12 @@ COMPLETION_RATIO = {
|
|
1000
1022
|
"gemma2-9b-it": 4,
|
1001
1023
|
"gemma2-27b-it": 4,
|
1002
1024
|
"google/gemma-3-27b-it": 4,
|
1025
|
+
# thinking
|
1026
|
+
"gemini-2.5-flash-thinking": 8,
|
1027
|
+
"gemini-2.5-flash-preview-04-17-thinking": 8,
|
1028
|
+
"gemini-2.5-pro-thinking": 8,
|
1029
|
+
"gemini-2.5-pro-exp-03-25-thinking": 8,
|
1030
|
+
"gemini-2.5-pro-preview-03-25-thinking": 8,
|
1003
1031
|
|
1004
1032
|
"hunyuan-a52b-instruct": 5,
|
1005
1033
|
"qwen2.5-coder-32b-instruct": 3,
|
@@ -1061,6 +1089,9 @@ COMPLETION_RATIO = {
|
|
1061
1089
|
"doubao-1.5-pro-256k": 3,
|
1062
1090
|
|
1063
1091
|
"doubao-1.5-vision-pro-32k": 3,
|
1092
|
+
"doubao-1-5-vision-pro-32k": 3,
|
1093
|
+
"doubao-1-5-vision-pro-32k-250115": 3,
|
1094
|
+
|
1064
1095
|
"doubao-vision-lite-32k": 3,
|
1065
1096
|
"doubao-vision-pro-32k": 3,
|
1066
1097
|
|
@@ -1069,6 +1100,7 @@ COMPLETION_RATIO = {
|
|
1069
1100
|
"doubao-1-5-pro-256k": 1.8,
|
1070
1101
|
"doubao-1-5-pro-256k-250115": 1.8,
|
1071
1102
|
|
1103
|
+
|
1072
1104
|
"doubao-1-5-thinking-pro": 4,
|
1073
1105
|
"doubao-1-5-thinking-pro-250415": 4,
|
1074
1106
|
"doubao-1-5-thinking-pro-vision": 4,
|
File without changes
|
File without changes
|
{MeUtils-2025.4.23.16.8.28.dist-info → MeUtils-2025.4.25.20.47.56.dist-info}/entry_points.txt
RENAMED
File without changes
|
File without changes
|