|
44 | 44 | video_to_video, |
45 | 45 | voice_isolation, |
46 | 46 | speech_to_speech, |
| 47 | + realtime_sessions, |
47 | 48 | character_performance, |
48 | 49 | ) |
49 | 50 | from .resources.tasks import TasksResource, AsyncTasksResource |
50 | | - from .resources.uploads import UploadsResource, AsyncUploadsResource |
| 51 | + |
51 | 52 | from .resources.organization import OrganizationResource, AsyncOrganizationResource |
52 | 53 | from .resources.sound_effect import SoundEffectResource, AsyncSoundEffectResource |
53 | 54 | from .resources.text_to_image import TextToImageResource, AsyncTextToImageResource |
|
58 | 59 | from .resources.video_to_video import VideoToVideoResource, AsyncVideoToVideoResource |
59 | 60 | from .resources.voice_isolation import VoiceIsolationResource, AsyncVoiceIsolationResource |
60 | 61 | from .resources.speech_to_speech import SpeechToSpeechResource, AsyncSpeechToSpeechResource |
| 62 | + from .resources.realtime_sessions import RealtimeSessionsResource, AsyncRealtimeSessionsResource |
61 | 63 | from .resources.character_performance import CharacterPerformanceResource, AsyncCharacterPerformanceResource |
62 | 64 |
|
63 | 65 | __all__ = [ |
@@ -222,6 +224,30 @@ def organization(self) -> OrganizationResource: |
222 | 224 |
|
223 | 225 | return OrganizationResource(self) |
224 | 226 |
|
| 227 | + @cached_property |
| 228 | + def avatars(self) -> AvatarsResource: |
| 229 | + from .resources.avatars import AvatarsResource |
| 230 | + |
| 231 | + return AvatarsResource(self) |
| 232 | + |
| 233 | + @cached_property |
| 234 | + def documents(self) -> DocumentsResource: |
| 235 | + from .resources.documents import DocumentsResource |
| 236 | + |
| 237 | + return DocumentsResource(self) |
| 238 | + |
| 239 | + @cached_property |
| 240 | + def realtime_sessions(self) -> RealtimeSessionsResource: |
| 241 | + from .resources.realtime_sessions import RealtimeSessionsResource |
| 242 | + |
| 243 | + return RealtimeSessionsResource(self) |
| 244 | + |
| 245 | + @cached_property |
| 246 | + def voices(self) -> VoicesResource: |
| 247 | + from .resources.voices import VoicesResource |
| 248 | + |
| 249 | + return VoicesResource(self) |
| 250 | + |
225 | 251 | @cached_property |
226 | 252 | def with_raw_response(self) -> RunwayMLWithRawResponse: |
227 | 253 | return RunwayMLWithRawResponse(self) |
@@ -488,6 +514,30 @@ def organization(self) -> AsyncOrganizationResource: |
488 | 514 |
|
489 | 515 | return AsyncOrganizationResource(self) |
490 | 516 |
|
| 517 | + @cached_property |
| 518 | + def avatars(self) -> AsyncAvatarsResource: |
| 519 | + from .resources.avatars import AsyncAvatarsResource |
| 520 | + |
| 521 | + return AsyncAvatarsResource(self) |
| 522 | + |
| 523 | + @cached_property |
| 524 | + def documents(self) -> AsyncDocumentsResource: |
| 525 | + from .resources.documents import AsyncDocumentsResource |
| 526 | + |
| 527 | + return AsyncDocumentsResource(self) |
| 528 | + |
| 529 | + @cached_property |
| 530 | + def realtime_sessions(self) -> AsyncRealtimeSessionsResource: |
| 531 | + from .resources.realtime_sessions import AsyncRealtimeSessionsResource |
| 532 | + |
| 533 | + return AsyncRealtimeSessionsResource(self) |
| 534 | + |
| 535 | + @cached_property |
| 536 | + def voices(self) -> AsyncVoicesResource: |
| 537 | + from .resources.voices import AsyncVoicesResource |
| 538 | + |
| 539 | + return AsyncVoicesResource(self) |
| 540 | + |
491 | 541 | @cached_property |
492 | 542 | def with_raw_response(self) -> AsyncRunwayMLWithRawResponse: |
493 | 543 | return AsyncRunwayMLWithRawResponse(self) |
@@ -699,6 +749,30 @@ def organization(self) -> organization.OrganizationResourceWithRawResponse: |
699 | 749 |
|
700 | 750 | return OrganizationResourceWithRawResponse(self._client.organization) |
701 | 751 |
|
| 752 | + @cached_property |
| 753 | + def avatars(self) -> avatars.AvatarsResourceWithRawResponse: |
| 754 | + from .resources.avatars import AvatarsResourceWithRawResponse |
| 755 | + |
| 756 | + return AvatarsResourceWithRawResponse(self._client.avatars) |
| 757 | + |
| 758 | + @cached_property |
| 759 | + def documents(self) -> documents.DocumentsResourceWithRawResponse: |
| 760 | + from .resources.documents import DocumentsResourceWithRawResponse |
| 761 | + |
| 762 | + return DocumentsResourceWithRawResponse(self._client.documents) |
| 763 | + |
| 764 | + @cached_property |
| 765 | + def realtime_sessions(self) -> realtime_sessions.RealtimeSessionsResourceWithRawResponse: |
| 766 | + from .resources.realtime_sessions import RealtimeSessionsResourceWithRawResponse |
| 767 | + |
| 768 | + return RealtimeSessionsResourceWithRawResponse(self._client.realtime_sessions) |
| 769 | + |
| 770 | + @cached_property |
| 771 | + def voices(self) -> voices.VoicesResourceWithRawResponse: |
| 772 | + from .resources.voices import VoicesResourceWithRawResponse |
| 773 | + |
| 774 | + return VoicesResourceWithRawResponse(self._client.voices) |
| 775 | + |
702 | 776 |
|
703 | 777 | class AsyncRunwayMLWithRawResponse: |
704 | 778 | _client: AsyncRunwayML |
@@ -795,6 +869,30 @@ def organization(self) -> organization.AsyncOrganizationResourceWithRawResponse: |
795 | 869 |
|
796 | 870 | return AsyncOrganizationResourceWithRawResponse(self._client.organization) |
797 | 871 |
|
| 872 | + @cached_property |
| 873 | + def avatars(self) -> avatars.AsyncAvatarsResourceWithRawResponse: |
| 874 | + from .resources.avatars import AsyncAvatarsResourceWithRawResponse |
| 875 | + |
| 876 | + return AsyncAvatarsResourceWithRawResponse(self._client.avatars) |
| 877 | + |
| 878 | + @cached_property |
| 879 | + def documents(self) -> documents.AsyncDocumentsResourceWithRawResponse: |
| 880 | + from .resources.documents import AsyncDocumentsResourceWithRawResponse |
| 881 | + |
| 882 | + return AsyncDocumentsResourceWithRawResponse(self._client.documents) |
| 883 | + |
| 884 | + @cached_property |
| 885 | + def realtime_sessions(self) -> realtime_sessions.AsyncRealtimeSessionsResourceWithRawResponse: |
| 886 | + from .resources.realtime_sessions import AsyncRealtimeSessionsResourceWithRawResponse |
| 887 | + |
| 888 | + return AsyncRealtimeSessionsResourceWithRawResponse(self._client.realtime_sessions) |
| 889 | + |
| 890 | + @cached_property |
| 891 | + def voices(self) -> voices.AsyncVoicesResourceWithRawResponse: |
| 892 | + from .resources.voices import AsyncVoicesResourceWithRawResponse |
| 893 | + |
| 894 | + return AsyncVoicesResourceWithRawResponse(self._client.voices) |
| 895 | + |
798 | 896 |
|
799 | 897 | class RunwayMLWithStreamedResponse: |
800 | 898 | _client: RunwayML |
@@ -891,6 +989,30 @@ def organization(self) -> organization.OrganizationResourceWithStreamingResponse |
891 | 989 |
|
892 | 990 | return OrganizationResourceWithStreamingResponse(self._client.organization) |
893 | 991 |
|
| 992 | + @cached_property |
| 993 | + def avatars(self) -> avatars.AvatarsResourceWithStreamingResponse: |
| 994 | + from .resources.avatars import AvatarsResourceWithStreamingResponse |
| 995 | + |
| 996 | + return AvatarsResourceWithStreamingResponse(self._client.avatars) |
| 997 | + |
| 998 | + @cached_property |
| 999 | + def documents(self) -> documents.DocumentsResourceWithStreamingResponse: |
| 1000 | + from .resources.documents import DocumentsResourceWithStreamingResponse |
| 1001 | + |
| 1002 | + return DocumentsResourceWithStreamingResponse(self._client.documents) |
| 1003 | + |
| 1004 | + @cached_property |
| 1005 | + def realtime_sessions(self) -> realtime_sessions.RealtimeSessionsResourceWithStreamingResponse: |
| 1006 | + from .resources.realtime_sessions import RealtimeSessionsResourceWithStreamingResponse |
| 1007 | + |
| 1008 | + return RealtimeSessionsResourceWithStreamingResponse(self._client.realtime_sessions) |
| 1009 | + |
| 1010 | + @cached_property |
| 1011 | + def voices(self) -> voices.VoicesResourceWithStreamingResponse: |
| 1012 | + from .resources.voices import VoicesResourceWithStreamingResponse |
| 1013 | + |
| 1014 | + return VoicesResourceWithStreamingResponse(self._client.voices) |
| 1015 | + |
894 | 1016 |
|
895 | 1017 | class AsyncRunwayMLWithStreamedResponse: |
896 | 1018 | _client: AsyncRunwayML |
@@ -987,6 +1109,30 @@ def organization(self) -> organization.AsyncOrganizationResourceWithStreamingRes |
987 | 1109 |
|
988 | 1110 | return AsyncOrganizationResourceWithStreamingResponse(self._client.organization) |
989 | 1111 |
|
| 1112 | + @cached_property |
| 1113 | + def avatars(self) -> avatars.AsyncAvatarsResourceWithStreamingResponse: |
| 1114 | + from .resources.avatars import AsyncAvatarsResourceWithStreamingResponse |
| 1115 | + |
| 1116 | + return AsyncAvatarsResourceWithStreamingResponse(self._client.avatars) |
| 1117 | + |
| 1118 | + @cached_property |
| 1119 | + def documents(self) -> documents.AsyncDocumentsResourceWithStreamingResponse: |
| 1120 | + from .resources.documents import AsyncDocumentsResourceWithStreamingResponse |
| 1121 | + |
| 1122 | + return AsyncDocumentsResourceWithStreamingResponse(self._client.documents) |
| 1123 | + |
| 1124 | + @cached_property |
| 1125 | + def realtime_sessions(self) -> realtime_sessions.AsyncRealtimeSessionsResourceWithStreamingResponse: |
| 1126 | + from .resources.realtime_sessions import AsyncRealtimeSessionsResourceWithStreamingResponse |
| 1127 | + |
| 1128 | + return AsyncRealtimeSessionsResourceWithStreamingResponse(self._client.realtime_sessions) |
| 1129 | + |
| 1130 | + @cached_property |
| 1131 | + def voices(self) -> voices.AsyncVoicesResourceWithStreamingResponse: |
| 1132 | + from .resources.voices import AsyncVoicesResourceWithStreamingResponse |
| 1133 | + |
| 1134 | + return AsyncVoicesResourceWithStreamingResponse(self._client.voices) |
| 1135 | + |
990 | 1136 |
|
991 | 1137 | Client = RunwayML |
992 | 1138 |
|
|
0 commit comments