stability_sdk 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/stability_sdk/client.rb +1 -1
- data/lib/stability_sdk/version.rb +1 -1
- data/stability_sdk.gemspec +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9514ef57fb6cd45f5b02713f17ebed4401c260a883192c722a24c5ba4d0a7b41
|
4
|
+
data.tar.gz: 70f866ca076fcfb3000e880e5a08a127627acf7a611c61efb33dc511b20985e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '090226b360d62ed7f17480fad67a5c1f5bbec11f27c3823056c8b3ad71cb279ba0c7b9394cec003fa4f9821efea8a884a3ede0c6e82bd3331e94dedb48a62f41'
|
7
|
+
data.tar.gz: 2897854946800c939ed67cbb4f3e718e5d8fb94b97e7e06204d35cea3c2ec899962891366a33052e150e5d9dd4a82e18b120491d1b99bafbd4d17aa67b01f692
|
data/README.md
CHANGED
@@ -56,7 +56,7 @@ Options:
|
|
56
56
|
-p, --prefix=VAL output prefixes for artifacts. default `generation`
|
57
57
|
--no-store do not write out artifacts
|
58
58
|
-n, --num_samples=VAL number of samples to generate. default 1
|
59
|
-
-e, --engine=VAL engine to use for inference. default `stable-diffusion-v1-
|
59
|
+
-e, --engine=VAL engine to use for inference. default `stable-diffusion-xl-1024-v1-0`
|
60
60
|
-i, --init_image=VAL path to init image
|
61
61
|
-m, --mask_image=VAL path to mask image
|
62
62
|
--start_schedule=VAL start schedule for init image (must be greater than 0, 1 is full strength text prompt, no trace of image). default 1.0
|
@@ -66,6 +66,7 @@ Options:
|
|
66
66
|
--guidance_strength=VAL Strength of the guidance. We recommend values in range [0.0,1.0]. A good default is 0.25. default nil
|
67
67
|
--guidance_prompt=VAL Prompt to use for guidance, defaults to `YOUR_PROMPT_TEXT` argument (above) if not specified.
|
68
68
|
--guidance_models=VAL Models to use for guidance. default nil
|
69
|
+
-t, --artifact_types=VAL filter artifacts by type (ARTIFACT_IMAGE, ARTIFACT_TEXT, ARTIFACT_CLASSIFICATIONS, etc)
|
69
70
|
-v, --verbose
|
70
71
|
```
|
71
72
|
|
data/lib/stability_sdk/client.rb
CHANGED
@@ -8,7 +8,7 @@ module StabilitySDK
|
|
8
8
|
DEFAULT_IMAGE_WIDTH = 512
|
9
9
|
DEFAULT_IMAGE_HEIGHT = 512
|
10
10
|
DEFAULT_SAMPLE_SIZE = 1
|
11
|
-
DEFAULT_ENGINE_ID = "stable-diffusion-v1-
|
11
|
+
DEFAULT_ENGINE_ID = "stable-diffusion-xl-1024-v1-0"
|
12
12
|
DEFAULT_CFG_SCALE = 7.0
|
13
13
|
DEFAULT_START_SCHEDULE = 1.0
|
14
14
|
DEFAULT_END_SCHEDULE = 0.01
|
data/stability_sdk.gemspec
CHANGED
@@ -15,6 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.metadata["homepage_uri"] = spec.homepage
|
16
16
|
spec.metadata["source_code_uri"] = "https://github.com/cou929/stability-sdk-ruby"
|
17
17
|
spec.metadata["changelog_uri"] = "https://github.com/cou929/stability-sdk-ruby"
|
18
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
18
19
|
|
19
20
|
# Specify which files should be added to the gem when it is released.
|
20
21
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stability_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosei Moriyama
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -125,6 +125,7 @@ metadata:
|
|
125
125
|
homepage_uri: https://github.com/cou929/stability-sdk-ruby
|
126
126
|
source_code_uri: https://github.com/cou929/stability-sdk-ruby
|
127
127
|
changelog_uri: https://github.com/cou929/stability-sdk-ruby
|
128
|
+
rubygems_mfa_required: 'true'
|
128
129
|
post_install_message:
|
129
130
|
rdoc_options: []
|
130
131
|
require_paths:
|
@@ -140,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
141
|
- !ruby/object:Gem::Version
|
141
142
|
version: '0'
|
142
143
|
requirements: []
|
143
|
-
rubygems_version: 3.1.
|
144
|
+
rubygems_version: 3.1.6
|
144
145
|
signing_key:
|
145
146
|
specification_version: 4
|
146
147
|
summary: Ruby client for interacting with stability.ai APIs (e.g. stable diffusion
|