runapi-core 0.3.0__tar.gz → 0.3.2__tar.gz
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.
- {runapi_core-0.3.0 → runapi_core-0.3.2}/PKG-INFO +2 -2
- {runapi_core-0.3.0 → runapi_core-0.3.2}/pyproject.toml +1 -1
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/contract_gen.py +57 -4
- runapi_core-0.3.2/src/runapi/core/version.py +1 -0
- runapi_core-0.3.0/src/runapi/core/version.py +0 -1
- {runapi_core-0.3.0 → runapi_core-0.3.2}/README.md +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/__init__.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/account.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/auth.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/config.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/constants.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/errors.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/files.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/http_client.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/models.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/multipart.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/options.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/polling.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/pricing.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/provider_client.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/py.typed +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/resource.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/src/runapi/core/response.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/tests/test_account.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/tests/test_auth.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/tests/test_config.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/tests/test_errors.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/tests/test_files.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/tests/test_http_client.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/tests/test_models.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/tests/test_polling.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/tests/test_pricing.py +0 -0
- {runapi_core-0.3.0 → runapi_core-0.3.2}/tests/test_resource.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runapi-core
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: RunAPI core SDK for JavaScript, Python, Ruby, Go, Java, and PHP
|
|
5
5
|
Project-URL: Homepage, https://runapi.ai/models
|
|
6
6
|
Project-URL: Documentation, https://runapi.ai/docs#runapi-sdks
|
|
7
7
|
Project-URL: Source, https://github.com/runapi-ai/core-sdk
|
|
8
8
|
Project-URL: Issues, https://github.com/runapi-ai/core-sdk/issues
|
|
9
9
|
Project-URL: Changelog, https://github.com/runapi-ai/core-sdk/blob/main/CHANGELOG.md
|
|
10
|
-
Project-URL: Release Notes, https://github.com/runapi-ai/core-sdk/releases/tag/python%2Fv0.3.
|
|
10
|
+
Project-URL: Release Notes, https://github.com/runapi-ai/core-sdk/releases/tag/python%2Fv0.3.2
|
|
11
11
|
Author-email: RunAPI <contact@runapi.ai>
|
|
12
12
|
License-Expression: Apache-2.0
|
|
13
13
|
Keywords: api,core,golang,gradle,java,maven,pypi,python,ruby,runapi,runapi-ai,sdk,typescript
|
|
@@ -19,7 +19,7 @@ Documentation = "https://runapi.ai/docs#runapi-sdks"
|
|
|
19
19
|
Source = "https://github.com/runapi-ai/core-sdk"
|
|
20
20
|
Issues = "https://github.com/runapi-ai/core-sdk/issues"
|
|
21
21
|
Changelog = "https://github.com/runapi-ai/core-sdk/blob/main/CHANGELOG.md"
|
|
22
|
-
"Release Notes" = "https://github.com/runapi-ai/core-sdk/releases/tag/python%2Fv0.3.
|
|
22
|
+
"Release Notes" = "https://github.com/runapi-ai/core-sdk/releases/tag/python%2Fv0.3.2"
|
|
23
23
|
|
|
24
24
|
[tool.hatch.version]
|
|
25
25
|
path = "src/runapi/core/version.py"
|
|
@@ -46,7 +46,7 @@ CONTRACT = {
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"flux-2/remix-image": {
|
|
49
|
-
"models": ["flux-2-flex-remix-image", "flux-2-pro-remix-image"],
|
|
49
|
+
"models": ["flux-2-flex-remix-image", "flux-2-max-remix-image", "flux-2-pro-remix-image"],
|
|
50
50
|
"fields_by_model": {
|
|
51
51
|
"flux-2-flex-remix-image": {
|
|
52
52
|
"aspect_ratio": {
|
|
@@ -56,6 +56,17 @@ CONTRACT = {
|
|
|
56
56
|
"enum": ["1k", "2k"]
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
|
+
"flux-2-max-remix-image": {
|
|
60
|
+
"aspect_ratio": {
|
|
61
|
+
"enum": ["1:1", "4:3", "3:4", "16:9", "9:16", "3:2", "2:3"]
|
|
62
|
+
},
|
|
63
|
+
"output_count": {
|
|
64
|
+
"enum": [1]
|
|
65
|
+
},
|
|
66
|
+
"output_resolution": {
|
|
67
|
+
"enum": ["1k"]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
59
70
|
"flux-2-pro-remix-image": {
|
|
60
71
|
"aspect_ratio": {
|
|
61
72
|
"enum": ["1:1", "4:3", "3:4", "16:9", "9:16", "3:2", "2:3", "auto"]
|
|
@@ -67,7 +78,7 @@ CONTRACT = {
|
|
|
67
78
|
}
|
|
68
79
|
},
|
|
69
80
|
"flux-2/text-to-image": {
|
|
70
|
-
"models": ["flux-2-flex-text-to-image", "flux-2-pro-text-to-image"],
|
|
81
|
+
"models": ["flux-2-flex-text-to-image", "flux-2-max-text-to-image", "flux-2-pro-text-to-image"],
|
|
71
82
|
"fields_by_model": {
|
|
72
83
|
"flux-2-flex-text-to-image": {
|
|
73
84
|
"aspect_ratio": {
|
|
@@ -77,6 +88,17 @@ CONTRACT = {
|
|
|
77
88
|
"enum": ["1k", "2k"]
|
|
78
89
|
}
|
|
79
90
|
},
|
|
91
|
+
"flux-2-max-text-to-image": {
|
|
92
|
+
"aspect_ratio": {
|
|
93
|
+
"enum": ["1:1", "4:3", "3:4", "16:9", "9:16", "3:2", "2:3"]
|
|
94
|
+
},
|
|
95
|
+
"output_count": {
|
|
96
|
+
"enum": [1]
|
|
97
|
+
},
|
|
98
|
+
"output_resolution": {
|
|
99
|
+
"enum": ["1k"]
|
|
100
|
+
}
|
|
101
|
+
},
|
|
80
102
|
"flux-2-pro-text-to-image": {
|
|
81
103
|
"aspect_ratio": {
|
|
82
104
|
"enum": ["1:1", "4:3", "3:4", "16:9", "9:16", "3:2", "2:3"]
|
|
@@ -648,8 +670,22 @@ CONTRACT = {
|
|
|
648
670
|
}
|
|
649
671
|
},
|
|
650
672
|
"kling/image-to-video": {
|
|
651
|
-
"models": ["kling-v2.1-master-image-to-video", "kling-v2.1-pro", "kling-v2.1-standard", "kling-v2.5-turbo-image-to-video-pro", "kling-v2.6", "kling-v3-omni", "kling-v3-turbo-image-to-video"],
|
|
673
|
+
"models": ["kling-o1", "kling-v2.1-master-image-to-video", "kling-v2.1-pro", "kling-v2.1-standard", "kling-v2.5-turbo-image-to-video-pro", "kling-v2.6", "kling-v3-omni", "kling-v3-turbo-image-to-video"],
|
|
652
674
|
"fields_by_model": {
|
|
675
|
+
"kling-o1": {
|
|
676
|
+
"aspect_ratio": {
|
|
677
|
+
"enum": ["16:9", "9:16", "1:1"]
|
|
678
|
+
},
|
|
679
|
+
"duration_seconds": {
|
|
680
|
+
"enum": [5]
|
|
681
|
+
},
|
|
682
|
+
"mode": {
|
|
683
|
+
"enum": ["std", "pro"]
|
|
684
|
+
},
|
|
685
|
+
"reference_video_type": {
|
|
686
|
+
"enum": ["base", "feature"]
|
|
687
|
+
}
|
|
688
|
+
},
|
|
653
689
|
"kling-v2.1-master-image-to-video": {
|
|
654
690
|
"duration_seconds": {
|
|
655
691
|
"enum": [5, 10]
|
|
@@ -727,7 +763,7 @@ CONTRACT = {
|
|
|
727
763
|
}
|
|
728
764
|
},
|
|
729
765
|
"kling/text-to-video": {
|
|
730
|
-
"models": ["kling-3.0", "kling-v2.1-master-text-to-video", "kling-v2.5-turbo-text-to-video-pro", "kling-v2.6", "kling-v3-omni", "kling-v3-turbo-text-to-video"],
|
|
766
|
+
"models": ["kling-3.0", "kling-o1", "kling-v2.1-master-text-to-video", "kling-v2.5-turbo-text-to-video-pro", "kling-v2.6", "kling-v3-omni", "kling-v3-turbo-text-to-video"],
|
|
731
767
|
"fields_by_model": {
|
|
732
768
|
"kling-3.0": {
|
|
733
769
|
"aspect_ratio": {
|
|
@@ -740,6 +776,20 @@ CONTRACT = {
|
|
|
740
776
|
"enum": ["720p", "1080p", "4k"]
|
|
741
777
|
}
|
|
742
778
|
},
|
|
779
|
+
"kling-o1": {
|
|
780
|
+
"aspect_ratio": {
|
|
781
|
+
"enum": ["16:9", "9:16", "1:1"]
|
|
782
|
+
},
|
|
783
|
+
"duration_seconds": {
|
|
784
|
+
"enum": [5]
|
|
785
|
+
},
|
|
786
|
+
"mode": {
|
|
787
|
+
"enum": ["std", "pro"]
|
|
788
|
+
},
|
|
789
|
+
"reference_video_type": {
|
|
790
|
+
"enum": ["base", "feature"]
|
|
791
|
+
}
|
|
792
|
+
},
|
|
743
793
|
"kling-v2.1-master-text-to-video": {
|
|
744
794
|
"aspect_ratio": {
|
|
745
795
|
"enum": ["16:9", "9:16", "1:1"]
|
|
@@ -1819,6 +1869,9 @@ CONTRACT = {
|
|
|
1819
1869
|
}
|
|
1820
1870
|
},
|
|
1821
1871
|
"wan-2.6-flash-image-to-video": {
|
|
1872
|
+
"duration_seconds": {
|
|
1873
|
+
"enum": [5, 10, 15]
|
|
1874
|
+
},
|
|
1822
1875
|
"output_resolution": {
|
|
1823
1876
|
"enum": ["720p", "1080p"]
|
|
1824
1877
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.3.2"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.3.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|