stability_sdk 0.3.3 → 0.3.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bb93f79d9c09847cc8ee382f92cdf019137dbaa8b4c762bd1e24de392551a0f
4
- data.tar.gz: a06818c77b6d490dec40047cf08b6b17e5ca72e09d8319499781dab3ef77a820
3
+ metadata.gz: 9514ef57fb6cd45f5b02713f17ebed4401c260a883192c722a24c5ba4d0a7b41
4
+ data.tar.gz: 70f866ca076fcfb3000e880e5a08a127627acf7a611c61efb33dc511b20985e4
5
5
  SHA512:
6
- metadata.gz: 7ce00a0dcd937cdf0dbeb83b54d1437b5d26912b7139a99d125171f1364d3a03a377bef54698a9371b7b5dd44d6ad432bccfd01de9b02c3b7def1b01fec726f5
7
- data.tar.gz: 84aa5aa534045145c9a4d6160b42e5cc2cdc5b41559e0c7122739f4720a00b36d757da57bab9cbef1b7936250e1a427b91014fa05b316ea45a33ade836c70261
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-5`
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
 
@@ -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-5"
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
@@ -1,3 +1,3 @@
1
1
  module StabilitySDK
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
@@ -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.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-02-10 00:00:00.000000000 Z
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.4
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