runapi-midjourney 0.3.0 → 0.3.2
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 +4 -4
- data/README.md +2 -2
- data/lib/runapi/midjourney/types.rb +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77a8e2fb557ea2d45b0f32d27579d3f794490c961f3f855cac78bbb14d69185b
|
|
4
|
+
data.tar.gz: e3aebc3ede878a496e61bf80f3865dd8467b819a7a240d4e62e5042864c179c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50b78de8807d0ba7788c892c86035e06a47d4a69cab78418840b2849aed096e5c3b5d4a4e5e4293b42db648be51f3c2b48c3bcb14cc2f920e4b57ade3b29bda3
|
|
7
|
+
data.tar.gz: 6cc287d45341f7ff08819bc4008868a57d47033121b6ba5f16f99e11484c11b89f9577f383df956939736c615ea2425d9ce152e0d9d427f9a16105937822505e
|
data/README.md
CHANGED
|
@@ -26,8 +26,8 @@ Use `create`, `get`, and `run` for `text_to_image`, `edit_image`, `image_to_vide
|
|
|
26
26
|
## Links
|
|
27
27
|
|
|
28
28
|
- Model page: https://runapi.ai/models/midjourney
|
|
29
|
-
- Product docs: https://runapi.ai/docs
|
|
30
|
-
- SDK docs: https://runapi.ai/docs
|
|
29
|
+
- Product docs: https://runapi.ai/docs/api/midjourney/text-to-image
|
|
30
|
+
- SDK docs: https://runapi.ai/docs/resources/sdks
|
|
31
31
|
- V8.1 details: https://runapi.ai/models/midjourney/v8.1
|
|
32
32
|
- Image editing details: https://runapi.ai/models/midjourney/edit-image
|
|
33
33
|
- Image-to-video details: https://runapi.ai/models/midjourney/image-to-video
|
|
@@ -43,18 +43,21 @@ module RunApi
|
|
|
43
43
|
class ImageToPromptResponse < RunApi::Core::BaseModel
|
|
44
44
|
required :prompts, [String]
|
|
45
45
|
optional :error, String
|
|
46
|
+
optional :billing, RunApi::Core::TaskBillingFacts
|
|
46
47
|
end
|
|
47
48
|
|
|
48
49
|
# Concise suggestions derived from a prompt.
|
|
49
50
|
class ShortenPromptResponse < RunApi::Core::BaseModel
|
|
50
51
|
required :prompts, [String]
|
|
51
52
|
optional :error, String
|
|
53
|
+
optional :billing, RunApi::Core::TaskBillingFacts
|
|
52
54
|
end
|
|
53
55
|
|
|
54
56
|
# Seed associated with a generated image.
|
|
55
57
|
class GetSeedResponse < RunApi::Core::BaseModel
|
|
56
58
|
optional :seed, Integer
|
|
57
59
|
optional :error, String
|
|
60
|
+
optional :billing, RunApi::Core::TaskBillingFacts
|
|
58
61
|
end
|
|
59
62
|
end
|
|
60
63
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: runapi-midjourney
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- RunAPI
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.4.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.4.0
|
|
26
26
|
description: Use `runapi-midjourney` for Midjourney image generation, editing, image-to-video,
|
|
27
27
|
first-video extension, image-to-prompt, prompt shortening, and seed lookup in Ruby
|
|
28
28
|
applications and workers.
|