MeUtils 2025.7.28.19.31.30__py3-none-any.whl → 2025.8.5.10.8.29__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.
- examples/_openaisdk/openai_ffire.py +7 -3
- examples/_openaisdk/openai_modelscope.py +8 -80
- examples/_openaisdk/openai_zhipu.py +3 -3
- examples/vllms/__init__.py +11 -0
- meutils/apis/fal/audio.py +20 -13
- meutils/apis/gitee/image_to_3d.py +63 -10
- meutils/apis/images/generations.py +4 -0
- meutils/apis/models.py +8 -5
- meutils/apis/ppio/__init__.py +0 -1
- meutils/apis/ppio/audio.py +109 -0
- meutils/apis/ppio/videos.py +2 -2
- meutils/apis/proxy/ips.py +3 -3
- meutils/apis/volcengine_apis/videos.py +2 -2
- meutils/data/VERSION +1 -1
- meutils/llm/check_utils.py +1 -1
- meutils/schemas/image_types.py +3 -3
- meutils/schemas/oneapi/common.py +49 -8
- meutils-2025.8.5.10.8.29.dist-info/METADATA +724 -0
- {MeUtils-2025.7.28.19.31.30.dist-info → meutils-2025.8.5.10.8.29.dist-info}/RECORD +23 -21
- {MeUtils-2025.7.28.19.31.30.dist-info → meutils-2025.8.5.10.8.29.dist-info}/WHEEL +1 -1
- MeUtils-2025.7.28.19.31.30.dist-info/METADATA +0 -708
- {MeUtils-2025.7.28.19.31.30.dist-info → meutils-2025.8.5.10.8.29.dist-info}/entry_points.txt +0 -0
- {MeUtils-2025.7.28.19.31.30.dist-info → meutils-2025.8.5.10.8.29.dist-info/licenses}/LICENSE +0 -0
- {MeUtils-2025.7.28.19.31.30.dist-info → meutils-2025.8.5.10.8.29.dist-info}/top_level.txt +0 -0
meutils/schemas/oneapi/common.py
CHANGED
@@ -88,6 +88,15 @@ FAL_MODELS = {
|
|
88
88
|
"fal-ai/bytedance/seedance/v1/pro/text-to-video": 3,
|
89
89
|
"fal-ai/bytedance/seedance/v1/pro/image-to-video": 3,
|
90
90
|
|
91
|
+
"fal-ai/bytedance/seededit/v3/edit-image": 0.1,
|
92
|
+
"fal-ai/bytedance/seedream/v3/text-to-image": 0.1,
|
93
|
+
|
94
|
+
# wan
|
95
|
+
"fal-ai/wan/v2.2-a14b/text-to-video": 0.08 * FAL_,
|
96
|
+
"fal-ai/wan/v2.2-a14b/image-to-video": 0.08 * FAL_,
|
97
|
+
"fal-ai/wan/v2.2-5b/text-to-video": 0.15 * FAL_,
|
98
|
+
"fal-ai/wan/v2.2-5b/image-to-video": 0.15 * FAL_,
|
99
|
+
|
91
100
|
}
|
92
101
|
|
93
102
|
FAL_MODELS = {
|
@@ -221,10 +230,12 @@ MODEL_PRICE = {
|
|
221
230
|
|
222
231
|
"tts-pro": 0.03,
|
223
232
|
|
224
|
-
# 官方
|
233
|
+
# 官方apit todo 免费模型
|
225
234
|
"cogvideox-flash": 0.05,
|
226
235
|
"cogvideox": 0.1,
|
227
236
|
"cogvideox-2": 0.2,
|
237
|
+
"cogvideox-3": 0.5,
|
238
|
+
"cogvideox-3-flash": 0.1,
|
228
239
|
|
229
240
|
"official-api-cogvideox": 0.1,
|
230
241
|
"official-api-kling-video": 0.5,
|
@@ -261,6 +272,8 @@ MODEL_PRICE = {
|
|
261
272
|
"ideogram-ai/ideogram-v2": 0.2,
|
262
273
|
"ideogram-ai/ideogram-v2-turbo": 0.1,
|
263
274
|
|
275
|
+
"imagen3": 0.05 * 3,
|
276
|
+
"imagen3-fast": 0.025 * 3,
|
264
277
|
"imagen4": 0.05 * 3,
|
265
278
|
"imagen4-fast": 0.02 * 3,
|
266
279
|
"imagen4-ultra": 0.075 * 3,
|
@@ -522,8 +535,14 @@ MODEL_RATIO = {
|
|
522
535
|
"fal-luma-dream-machine-ray-2-reframe": 3 * 0.2 * 1000 / 2,
|
523
536
|
"fal-luma-dream-machine-ray-2-flash-reframe": 3 * 0.06 * 1000 / 2,
|
524
537
|
|
525
|
-
"fal-minimax-speech-02-hd": 3 * 0.
|
526
|
-
"fal-minimax-speech-02-turbo": 3 * 0.
|
538
|
+
"fal-minimax-speech-02-hd": 3 * 0.1 * 1000 / 2,
|
539
|
+
"fal-minimax-speech-02-turbo": 3 * 0.06 * 1000 / 2,
|
540
|
+
|
541
|
+
"minimax-speech-02-hd": 125,
|
542
|
+
"minimax-speech-02-turbo": 75,
|
543
|
+
|
544
|
+
"fal-ai/minimax/speech-02-hd": 3 * 0.1 * 1000 / 2,
|
545
|
+
"fal-ai/minimax/speech-02-turbo": 3 * 0.06 * 1000 / 2,
|
527
546
|
|
528
547
|
# 智能体
|
529
548
|
"gpt-4-plus": 2.5,
|
@@ -548,9 +567,11 @@ MODEL_RATIO = {
|
|
548
567
|
"bge-large-en-v1.5": 0.1,
|
549
568
|
"BAAI/bge-large-en-v1.5": 0.1,
|
550
569
|
|
551
|
-
"text-embedding-3-large": 0.
|
552
|
-
"text-embedding-3-small": 0.
|
553
|
-
"text-embedding-ada-002": 0.
|
570
|
+
"text-embedding-3-large": 0.1,
|
571
|
+
"text-embedding-3-small": 0.1,
|
572
|
+
"text-embedding-ada-002": 0.1,
|
573
|
+
"jina-embeddings-v4": 0.1,
|
574
|
+
"jina-reranker-m0": 0.1,
|
554
575
|
|
555
576
|
# 百川
|
556
577
|
'baichuan4-turbo': 7.5,
|
@@ -625,6 +646,12 @@ MODEL_RATIO = {
|
|
625
646
|
"glm-4.1v-thinking-flash": 0.1,
|
626
647
|
"glm-4.1v-thinking-flashx": 1,
|
627
648
|
|
649
|
+
"glm-4.5-flash": 0.1,
|
650
|
+
"glm-4.5-air": 0.2,
|
651
|
+
"glm-4.5-airx": 1,
|
652
|
+
"glm-4.5": 0.5,
|
653
|
+
"glm-4.5-x": 2,
|
654
|
+
|
628
655
|
# 阿里千问 https://dashscope.console.aliyun.com/billing
|
629
656
|
"qwen-long": 0.25,
|
630
657
|
"qwen-turbo": 0.05,
|
@@ -644,8 +671,6 @@ MODEL_RATIO = {
|
|
644
671
|
"qwen2.5-vl-32b-instruct": 0.5,
|
645
672
|
"qwen2.5-vl-72b-instruct": 1.5,
|
646
673
|
|
647
|
-
|
648
|
-
|
649
674
|
"qwen2.5-coder-7b-instruct": 0.05,
|
650
675
|
"qwen2.5-7b-instruct": 0.05,
|
651
676
|
"qwen2.5-14b-instruct": 0.25,
|
@@ -661,10 +686,13 @@ MODEL_RATIO = {
|
|
661
686
|
"qwen3-14b": 0.5,
|
662
687
|
"qwen3-32b": 2,
|
663
688
|
"qwen3-30b-a3b": 0.75,
|
689
|
+
"qwen3-30b-a3b-instruct-2507": 0.75,
|
664
690
|
"qwen3-235b-a22b": 1,
|
665
691
|
"qwen-math-plus": 2,
|
666
692
|
"qwen3-coder-480b-a35b-instruct": 3,
|
667
693
|
"qwen3-235b-a22b-instruct-2507": 1,
|
694
|
+
"qwen3-235b-a22b-thinking-2507": 3,
|
695
|
+
|
668
696
|
"qwen3-coder-plus": 2,
|
669
697
|
"qwen3-coder-plus-2025-07-22": 2,
|
670
698
|
|
@@ -1091,6 +1119,7 @@ MODEL_RATIO = {
|
|
1091
1119
|
"meta-llama/Llama-4-Scout-17B-16E-Instruct": 0.1,
|
1092
1120
|
"meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8": 0.2,
|
1093
1121
|
"meta-llama/Llama-4-Maverick-17B-128E-Instruct-Turbo": 0.2,
|
1122
|
+
"llama-4-maverick": 0.5,
|
1094
1123
|
|
1095
1124
|
# groq https://console.groq.com/docs/models
|
1096
1125
|
"llama3-8b-8192": 0.01,
|
@@ -1246,6 +1275,7 @@ COMPLETION_RATIO = {
|
|
1246
1275
|
"meta-llama/Llama-4-Scout-17B-16E-Instruct": 4,
|
1247
1276
|
"meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8": 4,
|
1248
1277
|
"meta-llama/Llama-4-Maverick-17B-128E-Instruct-Turbo": 4,
|
1278
|
+
"llama-4-maverick": 4,
|
1249
1279
|
|
1250
1280
|
"llama-3.1-8b-instruct": 3,
|
1251
1281
|
"meta-llama/Meta-Llama-3.1-8B-Instruct": 3,
|
@@ -1383,9 +1413,11 @@ COMPLETION_RATIO = {
|
|
1383
1413
|
"qwen3-14b": 4,
|
1384
1414
|
"qwen3-32b": 4,
|
1385
1415
|
"qwen3-30b-a3b": 4,
|
1416
|
+
"qwen3-30b-a3b-instruct-2507": 4,
|
1386
1417
|
"qwen3-235b-a22b": 4,
|
1387
1418
|
"qwenlong-l1-32b": 4,
|
1388
1419
|
"qwen3-235b-a22b-instruct-2507": 4,
|
1420
|
+
"qwen3-235b-a22b-thinking-2507": 4,
|
1389
1421
|
"qwen3-coder-480b-a35b-instruct": 4,
|
1390
1422
|
|
1391
1423
|
"qwen3-coder-plus": 4,
|
@@ -1508,6 +1540,12 @@ COMPLETION_RATIO = {
|
|
1508
1540
|
"glm-4.1v-thinking-flash": 2,
|
1509
1541
|
"glm-4.1v-thinking-flashx": 4,
|
1510
1542
|
|
1543
|
+
"glm-4.5-flash": 3,
|
1544
|
+
"glm-4.5-air": 3,
|
1545
|
+
"glm-4.5-airx": 3,
|
1546
|
+
"glm-4.5": 4,
|
1547
|
+
"glm-4.5-x": 4,
|
1548
|
+
|
1511
1549
|
"step-1-flash": 5,
|
1512
1550
|
"step-1-8k": 5,
|
1513
1551
|
"step-1-32k": 5,
|
@@ -1724,6 +1762,9 @@ if __name__ == '__main__':
|
|
1724
1762
|
|
1725
1763
|
print([k for k in MODEL_RATIO if k.startswith(('deepseek', 'doubao', 'moon'))] | xjoin(","))
|
1726
1764
|
|
1765
|
+
print('\n\n')
|
1766
|
+
print([k for k in MODEL_RATIO if k.startswith(('glm-4.'))] | xjoin(","))
|
1767
|
+
|
1727
1768
|
print([k for k in MODEL_PRICE if k.startswith(('chat-',))] | xjoin(","))
|
1728
1769
|
|
1729
1770
|
print("FAL按次")
|