runapi-core 0.6.0__tar.gz → 0.7.0__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.6.0 → runapi_core-0.7.0}/PKG-INFO +2 -2
- {runapi_core-0.6.0 → runapi_core-0.7.0}/pyproject.toml +1 -1
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/contract_gen.py +55 -5
- runapi_core-0.7.0/src/runapi/core/version.py +1 -0
- runapi_core-0.6.0/src/runapi/core/version.py +0 -1
- {runapi_core-0.6.0 → runapi_core-0.7.0}/README.md +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/__init__.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/account.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/auth.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/config.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/constants.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/errors.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/files.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/http_client.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/models.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/multipart.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/options.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/polling.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/pricing.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/provider_client.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/py.typed +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/resource.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/response.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/src/runapi/core/uploads.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/tests/test_account.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/tests/test_auth.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/tests/test_config.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/tests/test_errors.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/tests/test_files.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/tests/test_http_client.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/tests/test_models.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/tests/test_polling.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/tests/test_pricing.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/tests/test_resource.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.0}/tests/test_uploads.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: runapi-core
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
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/resources/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.
|
|
10
|
+
Project-URL: Release Notes, https://github.com/runapi-ai/core-sdk/releases/tag/python%2Fv0.7.0
|
|
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/resources/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.
|
|
22
|
+
"Release Notes" = "https://github.com/runapi-ai/core-sdk/releases/tag/python%2Fv0.7.0"
|
|
23
23
|
|
|
24
24
|
[tool.hatch.version]
|
|
25
25
|
path = "src/runapi/core/version.py"
|
|
@@ -338,9 +338,10 @@ CONTRACT = {
|
|
|
338
338
|
}
|
|
339
339
|
},
|
|
340
340
|
"grok-imagine/edit-image": {
|
|
341
|
-
"models": ["grok-imagine-edit-image"],
|
|
341
|
+
"models": ["grok-imagine-edit-image", "grok-imagine-image-2-0"],
|
|
342
342
|
"fields_by_model": {
|
|
343
|
-
"grok-imagine-edit-image": {}
|
|
343
|
+
"grok-imagine-edit-image": {},
|
|
344
|
+
"grok-imagine-image-2-0": {}
|
|
344
345
|
}
|
|
345
346
|
},
|
|
346
347
|
"grok-imagine/extend": {
|
|
@@ -385,9 +386,20 @@ CONTRACT = {
|
|
|
385
386
|
}
|
|
386
387
|
}
|
|
387
388
|
},
|
|
389
|
+
"grok-imagine/segment-map": {
|
|
390
|
+
"models": ["grok-imagine-image-2-0"],
|
|
391
|
+
"fields_by_model": {
|
|
392
|
+
"grok-imagine-image-2-0": {}
|
|
393
|
+
}
|
|
394
|
+
},
|
|
388
395
|
"grok-imagine/text-to-image": {
|
|
389
|
-
"models": ["grok-imagine-text-to-image"],
|
|
396
|
+
"models": ["grok-imagine-image-2-0", "grok-imagine-text-to-image"],
|
|
390
397
|
"fields_by_model": {
|
|
398
|
+
"grok-imagine-image-2-0": {
|
|
399
|
+
"aspect_ratio": {
|
|
400
|
+
"enum": ["1:1", "2:3", "3:2", "16:9", "9:16"]
|
|
401
|
+
}
|
|
402
|
+
},
|
|
391
403
|
"grok-imagine-text-to-image": {
|
|
392
404
|
"aspect_ratio": {
|
|
393
405
|
"enum": ["2:3", "3:2", "1:1", "16:9", "9:16"]
|
|
@@ -703,6 +715,33 @@ CONTRACT = {
|
|
|
703
715
|
"kling-v1-avatar-standard": {}
|
|
704
716
|
}
|
|
705
717
|
},
|
|
718
|
+
"kling/edit-video": {
|
|
719
|
+
"models": ["kling-v3-omni-edit", "kling-v3-omni-reference"],
|
|
720
|
+
"fields_by_model": {
|
|
721
|
+
"kling-v3-omni-edit": {
|
|
722
|
+
"aspect_ratio": {
|
|
723
|
+
"enum": ["auto", "16:9", "9:16", "1:1"]
|
|
724
|
+
},
|
|
725
|
+
"duration_seconds": {
|
|
726
|
+
"enum": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
|
|
727
|
+
},
|
|
728
|
+
"output_resolution": {
|
|
729
|
+
"enum": ["720p", "1080p", "4k"]
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
"kling-v3-omni-reference": {
|
|
733
|
+
"aspect_ratio": {
|
|
734
|
+
"enum": ["auto", "16:9", "9:16", "1:1"]
|
|
735
|
+
},
|
|
736
|
+
"duration_seconds": {
|
|
737
|
+
"enum": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
|
|
738
|
+
},
|
|
739
|
+
"output_resolution": {
|
|
740
|
+
"enum": ["720p", "1080p", "4k"]
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
},
|
|
706
745
|
"kling/extend-video": {
|
|
707
746
|
"models": ["kling-v2.5-turbo-image-to-video-pro", "kling-v2.5-turbo-text-to-video-pro"],
|
|
708
747
|
"fields_by_model": {
|
|
@@ -812,7 +851,7 @@ CONTRACT = {
|
|
|
812
851
|
}
|
|
813
852
|
},
|
|
814
853
|
"kling/text-to-video": {
|
|
815
|
-
"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"],
|
|
854
|
+
"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-omni-reference", "kling-v3-turbo-text-to-video"],
|
|
816
855
|
"fields_by_model": {
|
|
817
856
|
"kling-3.0": {
|
|
818
857
|
"aspect_ratio": {
|
|
@@ -877,6 +916,17 @@ CONTRACT = {
|
|
|
877
916
|
"enum": ["720p", "1080p", "4k"]
|
|
878
917
|
}
|
|
879
918
|
},
|
|
919
|
+
"kling-v3-omni-reference": {
|
|
920
|
+
"aspect_ratio": {
|
|
921
|
+
"enum": ["16:9", "9:16", "1:1"]
|
|
922
|
+
},
|
|
923
|
+
"duration_seconds": {
|
|
924
|
+
"enum": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
|
|
925
|
+
},
|
|
926
|
+
"output_resolution": {
|
|
927
|
+
"enum": ["720p", "1080p", "4k"]
|
|
928
|
+
}
|
|
929
|
+
},
|
|
880
930
|
"kling-v3-turbo-text-to-video": {
|
|
881
931
|
"aspect_ratio": {
|
|
882
932
|
"enum": ["16:9", "9:16", "1:1"]
|
|
@@ -1405,7 +1455,7 @@ CONTRACT = {
|
|
|
1405
1455
|
"enum": ["mp4", "mov"]
|
|
1406
1456
|
},
|
|
1407
1457
|
"output_resolution": {
|
|
1408
|
-
"enum": ["480p", "720p"]
|
|
1458
|
+
"enum": ["480p", "720p", "1080p"]
|
|
1409
1459
|
}
|
|
1410
1460
|
},
|
|
1411
1461
|
"seedance-v1-pro": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.7.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.6.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
|
|
File without changes
|
|
File without changes
|