runapi-core 0.2.3__tar.gz → 0.2.4__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.
Files changed (28) hide show
  1. {runapi_core-0.2.3 → runapi_core-0.2.4}/PKG-INFO +2 -2
  2. {runapi_core-0.2.3 → runapi_core-0.2.4}/pyproject.toml +1 -1
  3. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/contract_gen.py +75 -3
  4. runapi_core-0.2.4/src/runapi/core/version.py +1 -0
  5. runapi_core-0.2.3/src/runapi/core/version.py +0 -1
  6. {runapi_core-0.2.3 → runapi_core-0.2.4}/README.md +0 -0
  7. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/__init__.py +0 -0
  8. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/auth.py +0 -0
  9. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/config.py +0 -0
  10. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/constants.py +0 -0
  11. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/errors.py +0 -0
  12. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/files.py +0 -0
  13. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/http_client.py +0 -0
  14. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/models.py +0 -0
  15. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/multipart.py +0 -0
  16. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/options.py +0 -0
  17. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/polling.py +0 -0
  18. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/py.typed +0 -0
  19. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/resource.py +0 -0
  20. {runapi_core-0.2.3 → runapi_core-0.2.4}/src/runapi/core/response.py +0 -0
  21. {runapi_core-0.2.3 → runapi_core-0.2.4}/tests/test_auth.py +0 -0
  22. {runapi_core-0.2.3 → runapi_core-0.2.4}/tests/test_config.py +0 -0
  23. {runapi_core-0.2.3 → runapi_core-0.2.4}/tests/test_errors.py +0 -0
  24. {runapi_core-0.2.3 → runapi_core-0.2.4}/tests/test_files.py +0 -0
  25. {runapi_core-0.2.3 → runapi_core-0.2.4}/tests/test_http_client.py +0 -0
  26. {runapi_core-0.2.3 → runapi_core-0.2.4}/tests/test_models.py +0 -0
  27. {runapi_core-0.2.3 → runapi_core-0.2.4}/tests/test_polling.py +0 -0
  28. {runapi_core-0.2.3 → runapi_core-0.2.4}/tests/test_resource.py +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runapi-core
3
- Version: 0.2.3
3
+ Version: 0.2.4
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.2.3
10
+ Project-URL: Release Notes, https://github.com/runapi-ai/core-sdk/releases/tag/python%2Fv0.2.4
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.2.3"
22
+ "Release Notes" = "https://github.com/runapi-ai/core-sdk/releases/tag/python%2Fv0.2.4"
23
23
 
24
24
  [tool.hatch.version]
25
25
  path = "src/runapi/core/version.py"
@@ -632,8 +632,23 @@ CONTRACT = {
632
632
  "kling-v1-avatar-standard": {}
633
633
  }
634
634
  },
635
+ "kling/extend-video": {
636
+ "models": ["kling-v2.5-turbo-image-to-video-pro", "kling-v2.5-turbo-text-to-video-pro"],
637
+ "fields_by_model": {
638
+ "kling-v2.5-turbo-image-to-video-pro": {
639
+ "mode": {
640
+ "enum": ["std", "pro"]
641
+ }
642
+ },
643
+ "kling-v2.5-turbo-text-to-video-pro": {
644
+ "mode": {
645
+ "enum": ["std", "pro"]
646
+ }
647
+ }
648
+ }
649
+ },
635
650
  "kling/image-to-video": {
636
- "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-turbo-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"],
637
652
  "fields_by_model": {
638
653
  "kling-v2.1-master-image-to-video": {
639
654
  "duration_seconds": {
@@ -666,6 +681,17 @@ CONTRACT = {
666
681
  "enum": ["std", "pro"]
667
682
  }
668
683
  },
684
+ "kling-v3-omni": {
685
+ "aspect_ratio": {
686
+ "enum": ["16:9", "9:16", "1:1"]
687
+ },
688
+ "duration_seconds": {
689
+ "enum": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
690
+ },
691
+ "output_resolution": {
692
+ "enum": ["720p", "1080p", "4k"]
693
+ }
694
+ },
669
695
  "kling-v3-turbo-image-to-video": {
670
696
  "duration_seconds": {
671
697
  "enum": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
@@ -693,7 +719,7 @@ CONTRACT = {
693
719
  }
694
720
  },
695
721
  "kling/text-to-video": {
696
- "models": ["kling-3.0", "kling-v2.1-master-text-to-video", "kling-v2.5-turbo-text-to-video-pro", "kling-v2.6", "kling-v3-turbo-text-to-video"],
722
+ "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"],
697
723
  "fields_by_model": {
698
724
  "kling-3.0": {
699
725
  "aspect_ratio": {
@@ -733,6 +759,17 @@ CONTRACT = {
733
759
  "enum": ["std", "pro"]
734
760
  }
735
761
  },
762
+ "kling-v3-omni": {
763
+ "aspect_ratio": {
764
+ "enum": ["16:9", "9:16", "1:1"]
765
+ },
766
+ "duration_seconds": {
767
+ "enum": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
768
+ },
769
+ "output_resolution": {
770
+ "enum": ["720p", "1080p", "4k"]
771
+ }
772
+ },
736
773
  "kling-v3-turbo-text-to-video": {
737
774
  "aspect_ratio": {
738
775
  "enum": ["16:9", "9:16", "1:1"]
@@ -886,12 +923,47 @@ CONTRACT = {
886
923
  }
887
924
  },
888
925
  "producer/text-to-music": {
889
- "models": ["fuzz-2.0"],
926
+ "models": ["fuzz-0.8", "fuzz-1.0", "fuzz-1.0-pro", "fuzz-1.1", "fuzz-1.1-pro", "fuzz-2.0", "fuzz-2.0-pro", "fuzz-2.0-raw"],
890
927
  "fields_by_model": {
928
+ "fuzz-0.8": {
929
+ "vocal_mode": {
930
+ "enum": ["exact_lyrics", "instrumental"]
931
+ }
932
+ },
933
+ "fuzz-1.0": {
934
+ "vocal_mode": {
935
+ "enum": ["exact_lyrics", "instrumental"]
936
+ }
937
+ },
938
+ "fuzz-1.0-pro": {
939
+ "vocal_mode": {
940
+ "enum": ["exact_lyrics", "instrumental"]
941
+ }
942
+ },
943
+ "fuzz-1.1": {
944
+ "vocal_mode": {
945
+ "enum": ["exact_lyrics", "instrumental"]
946
+ }
947
+ },
948
+ "fuzz-1.1-pro": {
949
+ "vocal_mode": {
950
+ "enum": ["exact_lyrics", "instrumental"]
951
+ }
952
+ },
891
953
  "fuzz-2.0": {
892
954
  "vocal_mode": {
893
955
  "enum": ["exact_lyrics", "instrumental"]
894
956
  }
957
+ },
958
+ "fuzz-2.0-pro": {
959
+ "vocal_mode": {
960
+ "enum": ["exact_lyrics", "instrumental"]
961
+ }
962
+ },
963
+ "fuzz-2.0-raw": {
964
+ "vocal_mode": {
965
+ "enum": ["exact_lyrics", "instrumental"]
966
+ }
895
967
  }
896
968
  }
897
969
  },
@@ -0,0 +1 @@
1
+ __version__ = "0.2.4"
@@ -1 +0,0 @@
1
- __version__ = "0.2.3"
File without changes