runapi-core 0.6.0__tar.gz → 0.7.1__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.1}/PKG-INFO +2 -2
- {runapi_core-0.6.0 → runapi_core-0.7.1}/pyproject.toml +1 -1
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/contract_gen.py +60 -6
- runapi_core-0.7.1/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.1}/README.md +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/__init__.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/account.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/auth.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/config.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/constants.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/errors.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/files.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/http_client.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/models.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/multipart.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/options.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/polling.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/pricing.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/provider_client.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/py.typed +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/resource.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/response.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/src/runapi/core/uploads.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/tests/test_account.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/tests/test_auth.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/tests/test_config.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/tests/test_errors.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/tests/test_files.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/tests/test_http_client.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/tests/test_models.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/tests/test_polling.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/tests/test_pricing.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/tests/test_resource.py +0 -0
- {runapi_core-0.6.0 → runapi_core-0.7.1}/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.1
|
|
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.1
|
|
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.1"
|
|
23
23
|
|
|
24
24
|
[tool.hatch.version]
|
|
25
25
|
path = "src/runapi/core/version.py"
|
|
@@ -338,9 +338,14 @@ 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": {
|
|
345
|
+
"aspect_ratio": {
|
|
346
|
+
"enum": ["1:1", "2:3", "3:2", "16:9", "9:16", "auto"]
|
|
347
|
+
}
|
|
348
|
+
}
|
|
344
349
|
}
|
|
345
350
|
},
|
|
346
351
|
"grok-imagine/extend": {
|
|
@@ -385,9 +390,20 @@ CONTRACT = {
|
|
|
385
390
|
}
|
|
386
391
|
}
|
|
387
392
|
},
|
|
393
|
+
"grok-imagine/segment-map": {
|
|
394
|
+
"models": ["grok-imagine-image-2-0"],
|
|
395
|
+
"fields_by_model": {
|
|
396
|
+
"grok-imagine-image-2-0": {}
|
|
397
|
+
}
|
|
398
|
+
},
|
|
388
399
|
"grok-imagine/text-to-image": {
|
|
389
|
-
"models": ["grok-imagine-text-to-image"],
|
|
400
|
+
"models": ["grok-imagine-image-2-0", "grok-imagine-text-to-image"],
|
|
390
401
|
"fields_by_model": {
|
|
402
|
+
"grok-imagine-image-2-0": {
|
|
403
|
+
"aspect_ratio": {
|
|
404
|
+
"enum": ["1:1", "2:3", "3:2", "16:9", "9:16"]
|
|
405
|
+
}
|
|
406
|
+
},
|
|
391
407
|
"grok-imagine-text-to-image": {
|
|
392
408
|
"aspect_ratio": {
|
|
393
409
|
"enum": ["2:3", "3:2", "1:1", "16:9", "9:16"]
|
|
@@ -703,6 +719,33 @@ CONTRACT = {
|
|
|
703
719
|
"kling-v1-avatar-standard": {}
|
|
704
720
|
}
|
|
705
721
|
},
|
|
722
|
+
"kling/edit-video": {
|
|
723
|
+
"models": ["kling-v3-omni-edit", "kling-v3-omni-reference"],
|
|
724
|
+
"fields_by_model": {
|
|
725
|
+
"kling-v3-omni-edit": {
|
|
726
|
+
"aspect_ratio": {
|
|
727
|
+
"enum": ["auto", "16:9", "9:16", "1:1"]
|
|
728
|
+
},
|
|
729
|
+
"duration_seconds": {
|
|
730
|
+
"enum": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
|
|
731
|
+
},
|
|
732
|
+
"output_resolution": {
|
|
733
|
+
"enum": ["720p", "1080p", "4k"]
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
"kling-v3-omni-reference": {
|
|
737
|
+
"aspect_ratio": {
|
|
738
|
+
"enum": ["auto", "16:9", "9:16", "1:1"]
|
|
739
|
+
},
|
|
740
|
+
"duration_seconds": {
|
|
741
|
+
"enum": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
|
|
742
|
+
},
|
|
743
|
+
"output_resolution": {
|
|
744
|
+
"enum": ["720p", "1080p", "4k"]
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
},
|
|
706
749
|
"kling/extend-video": {
|
|
707
750
|
"models": ["kling-v2.5-turbo-image-to-video-pro", "kling-v2.5-turbo-text-to-video-pro"],
|
|
708
751
|
"fields_by_model": {
|
|
@@ -812,7 +855,7 @@ CONTRACT = {
|
|
|
812
855
|
}
|
|
813
856
|
},
|
|
814
857
|
"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"],
|
|
858
|
+
"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
859
|
"fields_by_model": {
|
|
817
860
|
"kling-3.0": {
|
|
818
861
|
"aspect_ratio": {
|
|
@@ -877,6 +920,17 @@ CONTRACT = {
|
|
|
877
920
|
"enum": ["720p", "1080p", "4k"]
|
|
878
921
|
}
|
|
879
922
|
},
|
|
923
|
+
"kling-v3-omni-reference": {
|
|
924
|
+
"aspect_ratio": {
|
|
925
|
+
"enum": ["16:9", "9:16", "1:1"]
|
|
926
|
+
},
|
|
927
|
+
"duration_seconds": {
|
|
928
|
+
"enum": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
|
|
929
|
+
},
|
|
930
|
+
"output_resolution": {
|
|
931
|
+
"enum": ["720p", "1080p", "4k"]
|
|
932
|
+
}
|
|
933
|
+
},
|
|
880
934
|
"kling-v3-turbo-text-to-video": {
|
|
881
935
|
"aspect_ratio": {
|
|
882
936
|
"enum": ["16:9", "9:16", "1:1"]
|
|
@@ -1405,7 +1459,7 @@ CONTRACT = {
|
|
|
1405
1459
|
"enum": ["mp4", "mov"]
|
|
1406
1460
|
},
|
|
1407
1461
|
"output_resolution": {
|
|
1408
|
-
"enum": ["480p", "720p"]
|
|
1462
|
+
"enum": ["480p", "720p", "1080p"]
|
|
1409
1463
|
}
|
|
1410
1464
|
},
|
|
1411
1465
|
"seedance-v1-pro": {
|
|
@@ -2022,7 +2076,7 @@ CONTRACT = {
|
|
|
2022
2076
|
"fields_by_model": {
|
|
2023
2077
|
"topaz-upscale-image": {
|
|
2024
2078
|
"upscale_factor": {
|
|
2025
|
-
"enum": [1, 2, 4
|
|
2079
|
+
"enum": [1, 2, 4]
|
|
2026
2080
|
}
|
|
2027
2081
|
}
|
|
2028
2082
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.7.1"
|
|
@@ -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
|