stability_sdk 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -3
- data/lib/stability_sdk/client.rb +0 -1
- data/lib/stability_sdk/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef7bdad79d5b8b0a6be79a50f2a26d66fa3f907a1035be4fe3b26512bb2d5f95
|
4
|
+
data.tar.gz: 618fa88c26a36f52b5e6a4f75bd46b7060b09e2e85e49dc13a802c3139ed8277
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cff3f2786098d254d5c24f263895bcfeac39e1e07e1d50a041cae5cdf95d8b80e07a1294f1d43211fc304a05fc15f890b2542d5a0f1c0198626053c76a5f9f07
|
7
|
+
data.tar.gz: a15e2e10665fd4fed95f5417633a53c6f6c5f55caeeb5d40f8eb7239c66d3b922d99880685d9debb376895989478a46bd4f6ad0c1eccf8d5446a072e3f0e1566
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -19,8 +19,7 @@ Or install it yourself as:
|
|
19
19
|
$ gem install stability_sdk
|
20
20
|
|
21
21
|
## Usage
|
22
|
-
|
23
|
-
First you need to create a [DreamStudio](https://beta.dreamstudio.ai/home)'s account and get an API Key of it.
|
22
|
+
First, you need to create a [DreamStudio](https://beta.dreamstudio.ai/home)'s account and get an API Key of it.
|
24
23
|
|
25
24
|
- Access [DreamStudio](https://beta.dreamstudio.ai/dream) and create an account if you have not had it
|
26
25
|
- Go to the [membership page](https://beta.dreamstudio.ai/membership)
|
@@ -72,7 +71,7 @@ This sample code saves a generated image as `result.png`.
|
|
72
71
|
```ruby
|
73
72
|
require "stability_sdk"
|
74
73
|
|
75
|
-
client = StabilitySDK::Client.new(api_key: "YOUR_API_KEY")
|
74
|
+
client = StabilitySDK::Client.new(api_key: "YOUR_API_KEY", timeout: 600)
|
76
75
|
|
77
76
|
prompt = "your prompot here"
|
78
77
|
options = {}
|
data/lib/stability_sdk/client.rb
CHANGED