We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7199587 commit cd6776eCopy full SHA for cd6776e
README.md
@@ -89,14 +89,15 @@ pip install runwayml[aiohttp]
89
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
90
91
```python
92
+import os
93
import asyncio
94
from runwayml import DefaultAioHttpClient
95
from runwayml import AsyncRunwayML
96
97
98
async def main() -> None:
99
async with AsyncRunwayML(
- api_key="My API Key",
100
+ api_key=os.environ.get("RUNWAYML_API_SECRET"), # This is the default and can be omitted
101
http_client=DefaultAioHttpClient(),
102
) as client:
103
image_to_video = await client.image_to_video.create(
0 commit comments