runware-sdk 1.3.1__tar.gz → 1.3.2__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 (29) hide show
  1. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/PKG-INFO +6 -4
  2. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/README.md +5 -3
  3. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/pyproject.toml +1 -1
  4. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/LICENSE +0 -0
  5. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/__init__.py +0 -0
  6. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/_docs_cache.py +0 -0
  7. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/_schemas_version.py +0 -0
  8. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/client.py +0 -0
  9. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/config.py +0 -0
  10. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/constants.py +0 -0
  11. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/content.py +0 -0
  12. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/errors.py +0 -0
  13. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/logger.py +0 -0
  14. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/py.typed +0 -0
  15. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/registry.py +0 -0
  16. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/stream.py +0 -0
  17. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/transport/__init__.py +0 -0
  18. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/transport/rest.py +0 -0
  19. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/transport/websocket.py +0 -0
  20. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/types/__init__.py +0 -0
  21. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/types/content.py +0 -0
  22. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/types/sdk.py +0 -0
  23. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/types/stream.py +0 -0
  24. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/types/task_map.py +0 -0
  25. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/types/transport.py +0 -0
  26. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/utils/__init__.py +0 -0
  27. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/utils/file.py +0 -0
  28. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/utils/retry.py +0 -0
  29. {runware_sdk-1.3.1 → runware_sdk-1.3.2}/runware/validate.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runware-sdk
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: Async Python SDK for the Runware platform — image, video, audio, text, and 3D generation, plus upscaling, background removal, and more, over REST or WebSocket with typed parameters and runtime validation.
5
5
  Keywords: runware,ai,sdk,image-generation,video-generation,audio-generation,text-generation,inference,generative-ai,stable-diffusion,flux,websocket,async,asyncio,llm,streaming
6
6
  Author: Runware
@@ -99,6 +99,8 @@ images = await client.run({
99
99
  videos = await client.run({
100
100
  "model": "google:3@3",
101
101
  "positivePrompt": "Ocean waves at sunset",
102
+ "width": 1280,
103
+ "height": 720,
102
104
  "duration": 8,
103
105
  })
104
106
 
@@ -222,7 +224,7 @@ Best when you make multiple requests or want real-time feedback:
222
224
  ```python
223
225
  async with Runware(transport="websocket") as client:
224
226
  images = await client.run({"model": "runware:400@1", "positivePrompt": "..."})
225
- videos = await client.run({"model": "google:3@3", "positivePrompt": "..."})
227
+ videos = await client.run({"model": "google:3@3", "positivePrompt": "...", "width": 1280, "height": 720})
226
228
  ```
227
229
 
228
230
  WebSocket connections are automatically recovered on network interruptions. The SDK re-authenticates with the same session UUID and the server replays pending results.
@@ -332,7 +334,7 @@ def progress(item: dict) -> None:
332
334
  print(f"{item.get('progress')}%")
333
335
 
334
336
  results = await client.run(
335
- {"model": "google:3@3", "positivePrompt": "Ocean waves", "numberResults": 3},
337
+ {"model": "google:3@3", "positivePrompt": "Ocean waves", "width": 1280, "height": 720, "numberResults": 3},
336
338
  RunOptions(on_result=watch, on_progress=progress),
337
339
  )
338
340
  ```
@@ -467,7 +469,7 @@ Or per-call via `RunOptions`:
467
469
 
468
470
  ```python
469
471
  videos = await client.run(
470
- {"model": "google:3@3", "positivePrompt": "Ocean waves"},
472
+ {"model": "google:3@3", "positivePrompt": "Ocean waves", "width": 1280, "height": 720},
471
473
  RunOptions(timeout=600_000),
472
474
  )
473
475
  ```
@@ -62,6 +62,8 @@ images = await client.run({
62
62
  videos = await client.run({
63
63
  "model": "google:3@3",
64
64
  "positivePrompt": "Ocean waves at sunset",
65
+ "width": 1280,
66
+ "height": 720,
65
67
  "duration": 8,
66
68
  })
67
69
 
@@ -185,7 +187,7 @@ Best when you make multiple requests or want real-time feedback:
185
187
  ```python
186
188
  async with Runware(transport="websocket") as client:
187
189
  images = await client.run({"model": "runware:400@1", "positivePrompt": "..."})
188
- videos = await client.run({"model": "google:3@3", "positivePrompt": "..."})
190
+ videos = await client.run({"model": "google:3@3", "positivePrompt": "...", "width": 1280, "height": 720})
189
191
  ```
190
192
 
191
193
  WebSocket connections are automatically recovered on network interruptions. The SDK re-authenticates with the same session UUID and the server replays pending results.
@@ -295,7 +297,7 @@ def progress(item: dict) -> None:
295
297
  print(f"{item.get('progress')}%")
296
298
 
297
299
  results = await client.run(
298
- {"model": "google:3@3", "positivePrompt": "Ocean waves", "numberResults": 3},
300
+ {"model": "google:3@3", "positivePrompt": "Ocean waves", "width": 1280, "height": 720, "numberResults": 3},
299
301
  RunOptions(on_result=watch, on_progress=progress),
300
302
  )
301
303
  ```
@@ -430,7 +432,7 @@ Or per-call via `RunOptions`:
430
432
 
431
433
  ```python
432
434
  videos = await client.run(
433
- {"model": "google:3@3", "positivePrompt": "Ocean waves"},
435
+ {"model": "google:3@3", "positivePrompt": "Ocean waves", "width": 1280, "height": 720},
434
436
  RunOptions(timeout=600_000),
435
437
  )
436
438
  ```
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "runware-sdk"
3
- version = "1.3.1"
3
+ version = "1.3.2"
4
4
  description = "Async Python SDK for the Runware platform — image, video, audio, text, and 3D generation, plus upscaling, background removal, and more, over REST or WebSocket with typed parameters and runtime validation."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
File without changes