You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Runware SDK supports OpenAI's DALL-E 2 and DALL-E 3 models for image generation. These models offer high-quality image generation with various configuration options.
435
+
436
+
#### DALL-E 2
437
+
438
+
```python
439
+
from runware import Runware, IImageInference, IOpenAIProviderSettings
440
+
441
+
asyncdefmain() -> None:
442
+
runware = Runware(api_key=RUNWARE_API_KEY)
443
+
await runware.connect()
444
+
445
+
# DALL-E 2 configuration
446
+
provider_settings = IOpenAIProviderSettings(
447
+
quality="high",
448
+
background="transparent"# Optional: for transparent backgrounds
Copy file name to clipboardExpand all lines: setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
setup(
7
7
name="runware",
8
8
license="MIT",
9
-
version="0.4.17",
9
+
version="0.4.18",
10
10
author="Runware Inc.",
11
11
author_email="python.sdk@runware.ai",
12
12
description="The Python Runware SDK is used to run image inference with the Runware API, powered by the Runware inference platform. It can be used to generate images with text-to-image and image-to-image. It also allows the use of an existing gallery of models or selecting any model or LoRA from the CivitAI gallery. The API also supports upscaling, background removal, inpainting and outpainting, and a series of other ControlNet models.",
0 commit comments