tensors-ruby 0.1.0

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.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +154 -0
  4. data/lib/tensors-ruby/api/auth_api.rb +387 -0
  5. data/lib/tensors-ruby/api/civit_ai_api.rb +85 -0
  6. data/lib/tensors-ruby/api/comfy_uiapi_api.rb +582 -0
  7. data/lib/tensors-ruby/api/database_api.rb +655 -0
  8. data/lib/tensors-ruby/api/default_api.rb +77 -0
  9. data/lib/tensors-ruby/api/download_api.rb +210 -0
  10. data/lib/tensors-ruby/api/gallery_api.rb +416 -0
  11. data/lib/tensors-ruby/api/search_api.rb +129 -0
  12. data/lib/tensors-ruby/api_client.rb +441 -0
  13. data/lib/tensors-ruby/api_error.rb +58 -0
  14. data/lib/tensors-ruby/api_model_base.rb +88 -0
  15. data/lib/tensors-ruby/configuration.rb +399 -0
  16. data/lib/tensors-ruby/models/cache_request.rb +165 -0
  17. data/lib/tensors-ruby/models/download_request.rb +179 -0
  18. data/lib/tensors-ruby/models/generate_request.rb +444 -0
  19. data/lib/tensors-ruby/models/generate_response.rb +213 -0
  20. data/lib/tensors-ruby/models/http_validation_error.rb +149 -0
  21. data/lib/tensors-ruby/models/location_inner.rb +103 -0
  22. data/lib/tensors-ruby/models/metadata_update.rb +181 -0
  23. data/lib/tensors-ruby/models/models_response.rb +205 -0
  24. data/lib/tensors-ruby/models/provider.rb +41 -0
  25. data/lib/tensors-ruby/models/queue_status_response.rb +161 -0
  26. data/lib/tensors-ruby/models/scan_request.rb +165 -0
  27. data/lib/tensors-ruby/models/sort_order.rb +41 -0
  28. data/lib/tensors-ruby/models/system_stats_response.rb +161 -0
  29. data/lib/tensors-ruby/models/validation_error.rb +237 -0
  30. data/lib/tensors-ruby/models/workflow_request.rb +168 -0
  31. data/lib/tensors-ruby/models/workflow_response.rb +222 -0
  32. data/lib/tensors-ruby/version.rb +15 -0
  33. data/lib/tensors-ruby.rb +64 -0
  34. data/spec/api/auth_api_spec.rb +109 -0
  35. data/spec/api/civit_ai_api_spec.rb +47 -0
  36. data/spec/api/comfy_uiapi_api_spec.rb +141 -0
  37. data/spec/api/database_api_spec.rb +155 -0
  38. data/spec/api/default_api_spec.rb +45 -0
  39. data/spec/api/download_api_spec.rb +70 -0
  40. data/spec/api/gallery_api_spec.rb +109 -0
  41. data/spec/api/search_api_spec.rb +60 -0
  42. data/spec/models/cache_request_spec.rb +36 -0
  43. data/spec/models/download_request_spec.rb +54 -0
  44. data/spec/models/generate_request_spec.rb +108 -0
  45. data/spec/models/generate_response_spec.rb +54 -0
  46. data/spec/models/http_validation_error_spec.rb +36 -0
  47. data/spec/models/location_inner_spec.rb +21 -0
  48. data/spec/models/metadata_update_spec.rb +54 -0
  49. data/spec/models/models_response_spec.rb +66 -0
  50. data/spec/models/provider_spec.rb +30 -0
  51. data/spec/models/queue_status_response_spec.rb +42 -0
  52. data/spec/models/scan_request_spec.rb +36 -0
  53. data/spec/models/sort_order_spec.rb +30 -0
  54. data/spec/models/system_stats_response_spec.rb +42 -0
  55. data/spec/models/validation_error_spec.rb +60 -0
  56. data/spec/models/workflow_request_spec.rb +36 -0
  57. data/spec/models/workflow_response_spec.rb +60 -0
  58. data/spec/spec_helper.rb +111 -0
  59. data/tensors-ruby.gemspec +41 -0
  60. metadata +194 -0
@@ -0,0 +1,222 @@
1
+ =begin
2
+ #tensors
3
+
4
+ #API for CivitAI model management and image gallery
5
+
6
+ The version of the OpenAPI document: 0.1.18
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.21.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module TensorsApi
17
+ # Response from workflow execution.
18
+ class WorkflowResponse < ApiModelBase
19
+ attr_accessor :success
20
+
21
+ attr_accessor :prompt_id
22
+
23
+ attr_accessor :number
24
+
25
+ attr_accessor :error
26
+
27
+ attr_accessor :node_errors
28
+
29
+ # Attribute mapping from ruby-style variable name to JSON key.
30
+ def self.attribute_map
31
+ {
32
+ :'success' => :'success',
33
+ :'prompt_id' => :'prompt_id',
34
+ :'number' => :'number',
35
+ :'error' => :'error',
36
+ :'node_errors' => :'node_errors'
37
+ }
38
+ end
39
+
40
+ # Returns attribute mapping this model knows about
41
+ def self.acceptable_attribute_map
42
+ attribute_map
43
+ end
44
+
45
+ # Returns all the JSON keys this model knows about
46
+ def self.acceptable_attributes
47
+ acceptable_attribute_map.values
48
+ end
49
+
50
+ # Attribute type mapping.
51
+ def self.openapi_types
52
+ {
53
+ :'success' => :'Boolean',
54
+ :'prompt_id' => :'String',
55
+ :'number' => :'Integer',
56
+ :'error' => :'String',
57
+ :'node_errors' => :'Hash<String, Object>'
58
+ }
59
+ end
60
+
61
+ # List of attributes with nullable: true
62
+ def self.openapi_nullable
63
+ Set.new([
64
+ :'number',
65
+ :'error',
66
+ ])
67
+ end
68
+
69
+ # Initializes the object
70
+ # @param [Hash] attributes Model attributes in the form of hash
71
+ def initialize(attributes = {})
72
+ if (!attributes.is_a?(Hash))
73
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TensorsApi::WorkflowResponse` initialize method"
74
+ end
75
+
76
+ # check to see if the attribute exists and convert string to symbol for hash key
77
+ acceptable_attribute_map = self.class.acceptable_attribute_map
78
+ attributes = attributes.each_with_object({}) { |(k, v), h|
79
+ if (!acceptable_attribute_map.key?(k.to_sym))
80
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TensorsApi::WorkflowResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
81
+ end
82
+ h[k.to_sym] = v
83
+ }
84
+
85
+ if attributes.key?(:'success')
86
+ self.success = attributes[:'success']
87
+ else
88
+ self.success = nil
89
+ end
90
+
91
+ if attributes.key?(:'prompt_id')
92
+ self.prompt_id = attributes[:'prompt_id']
93
+ else
94
+ self.prompt_id = nil
95
+ end
96
+
97
+ if attributes.key?(:'number')
98
+ self.number = attributes[:'number']
99
+ end
100
+
101
+ if attributes.key?(:'error')
102
+ self.error = attributes[:'error']
103
+ end
104
+
105
+ if attributes.key?(:'node_errors')
106
+ if (value = attributes[:'node_errors']).is_a?(Hash)
107
+ self.node_errors = value
108
+ end
109
+ end
110
+ end
111
+
112
+ # Show invalid properties with the reasons. Usually used together with valid?
113
+ # @return Array for valid properties with the reasons
114
+ def list_invalid_properties
115
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
116
+ invalid_properties = Array.new
117
+ if @success.nil?
118
+ invalid_properties.push('invalid value for "success", success cannot be nil.')
119
+ end
120
+
121
+ if @prompt_id.nil?
122
+ invalid_properties.push('invalid value for "prompt_id", prompt_id cannot be nil.')
123
+ end
124
+
125
+ invalid_properties
126
+ end
127
+
128
+ # Check to see if the all the properties in the model are valid
129
+ # @return true if the model is valid
130
+ def valid?
131
+ warn '[DEPRECATED] the `valid?` method is obsolete'
132
+ return false if @success.nil?
133
+ return false if @prompt_id.nil?
134
+ true
135
+ end
136
+
137
+ # Custom attribute writer method with validation
138
+ # @param [Object] success Value to be assigned
139
+ def success=(success)
140
+ if success.nil?
141
+ fail ArgumentError, 'success cannot be nil'
142
+ end
143
+
144
+ @success = success
145
+ end
146
+
147
+ # Custom attribute writer method with validation
148
+ # @param [Object] prompt_id Value to be assigned
149
+ def prompt_id=(prompt_id)
150
+ if prompt_id.nil?
151
+ fail ArgumentError, 'prompt_id cannot be nil'
152
+ end
153
+
154
+ @prompt_id = prompt_id
155
+ end
156
+
157
+ # Checks equality by comparing each attribute.
158
+ # @param [Object] Object to be compared
159
+ def ==(o)
160
+ return true if self.equal?(o)
161
+ self.class == o.class &&
162
+ success == o.success &&
163
+ prompt_id == o.prompt_id &&
164
+ number == o.number &&
165
+ error == o.error &&
166
+ node_errors == o.node_errors
167
+ end
168
+
169
+ # @see the `==` method
170
+ # @param [Object] Object to be compared
171
+ def eql?(o)
172
+ self == o
173
+ end
174
+
175
+ # Calculates hash code according to all attributes.
176
+ # @return [Integer] Hash code
177
+ def hash
178
+ [success, prompt_id, number, error, node_errors].hash
179
+ end
180
+
181
+ # Builds the object from hash
182
+ # @param [Hash] attributes Model attributes in the form of hash
183
+ # @return [Object] Returns the model itself
184
+ def self.build_from_hash(attributes)
185
+ return nil unless attributes.is_a?(Hash)
186
+ attributes = attributes.transform_keys(&:to_sym)
187
+ transformed_hash = {}
188
+ openapi_types.each_pair do |key, type|
189
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
190
+ transformed_hash["#{key}"] = nil
191
+ elsif type =~ /\AArray<(.*)>/i
192
+ # check to ensure the input is an array given that the attribute
193
+ # is documented as an array but the input is not
194
+ if attributes[attribute_map[key]].is_a?(Array)
195
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
196
+ end
197
+ elsif !attributes[attribute_map[key]].nil?
198
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
199
+ end
200
+ end
201
+ new(transformed_hash)
202
+ end
203
+
204
+ # Returns the object in the form of hash
205
+ # @return [Hash] Returns the object in the form of hash
206
+ def to_hash
207
+ hash = {}
208
+ self.class.attribute_map.each_pair do |attr, param|
209
+ value = self.send(attr)
210
+ if value.nil?
211
+ is_nullable = self.class.openapi_nullable.include?(attr)
212
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
213
+ end
214
+
215
+ hash[param] = _to_hash(value)
216
+ end
217
+ hash
218
+ end
219
+
220
+ end
221
+
222
+ end
@@ -0,0 +1,15 @@
1
+ =begin
2
+ #tensors
3
+
4
+ #API for CivitAI model management and image gallery
5
+
6
+ The version of the OpenAPI document: 0.1.18
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.21.0
10
+
11
+ =end
12
+
13
+ module TensorsApi
14
+ VERSION = '0.1.0'
15
+ end
@@ -0,0 +1,64 @@
1
+ =begin
2
+ #tensors
3
+
4
+ #API for CivitAI model management and image gallery
5
+
6
+ The version of the OpenAPI document: 0.1.18
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.21.0
10
+
11
+ =end
12
+
13
+ # Common files
14
+ require 'tensors-ruby/api_client'
15
+ require 'tensors-ruby/api_error'
16
+ require 'tensors-ruby/api_model_base'
17
+ require 'tensors-ruby/version'
18
+ require 'tensors-ruby/configuration'
19
+
20
+ # Models
21
+ require 'tensors-ruby/models/cache_request'
22
+ require 'tensors-ruby/models/download_request'
23
+ require 'tensors-ruby/models/generate_request'
24
+ require 'tensors-ruby/models/generate_response'
25
+ require 'tensors-ruby/models/http_validation_error'
26
+ require 'tensors-ruby/models/location_inner'
27
+ require 'tensors-ruby/models/metadata_update'
28
+ require 'tensors-ruby/models/models_response'
29
+ require 'tensors-ruby/models/provider'
30
+ require 'tensors-ruby/models/queue_status_response'
31
+ require 'tensors-ruby/models/scan_request'
32
+ require 'tensors-ruby/models/sort_order'
33
+ require 'tensors-ruby/models/system_stats_response'
34
+ require 'tensors-ruby/models/validation_error'
35
+ require 'tensors-ruby/models/workflow_request'
36
+ require 'tensors-ruby/models/workflow_response'
37
+
38
+ # APIs
39
+ require 'tensors-ruby/api/auth_api'
40
+ require 'tensors-ruby/api/civit_ai_api'
41
+ require 'tensors-ruby/api/comfy_uiapi_api'
42
+ require 'tensors-ruby/api/database_api'
43
+ require 'tensors-ruby/api/default_api'
44
+ require 'tensors-ruby/api/download_api'
45
+ require 'tensors-ruby/api/gallery_api'
46
+ require 'tensors-ruby/api/search_api'
47
+
48
+ module TensorsApi
49
+ class << self
50
+ # Customize default settings for the SDK using block.
51
+ # TensorsApi.configure do |config|
52
+ # config.username = "xxx"
53
+ # config.password = "xxx"
54
+ # end
55
+ # If no block given, return the default Configuration object.
56
+ def configure
57
+ if block_given?
58
+ yield(Configuration.default)
59
+ else
60
+ Configuration.default
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,109 @@
1
+ =begin
2
+ #tensors
3
+
4
+ #API for CivitAI model management and image gallery
5
+
6
+ The version of the OpenAPI document: 0.1.18
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.21.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for TensorsApi::AuthApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AuthApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = TensorsApi::AuthApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AuthApi' do
30
+ it 'should create an instance of AuthApi' do
31
+ expect(@api_instance).to be_instance_of(TensorsApi::AuthApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for auth_success_auth_success_get
36
+ # Auth Success
37
+ # Show success page after login.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Object]
40
+ describe 'auth_success_auth_success_get test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ # unit tests for github_auth_auth_github_get
47
+ # Github Auth
48
+ # Redirect to GitHub OAuth.
49
+ # @param [Hash] opts the optional parameters
50
+ # @option opts [String] :return_url URL to redirect after login
51
+ # @return [Object]
52
+ describe 'github_auth_auth_github_get test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ # unit tests for github_callback_auth_callback_get
59
+ # Github Callback
60
+ # Handle GitHub OAuth callback.
61
+ # @param [Hash] opts the optional parameters
62
+ # @option opts [String] :code
63
+ # @option opts [String] :state
64
+ # @return [Object]
65
+ describe 'github_callback_auth_callback_get test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
+ end
69
+ end
70
+
71
+ # unit tests for login_page_auth_login_get
72
+ # Login Page
73
+ # Show login page.
74
+ # @param [Hash] opts the optional parameters
75
+ # @option opts [String] :return_url URL to redirect after login
76
+ # @option opts [String] :error
77
+ # @return [Object]
78
+ describe 'login_page_auth_login_get test' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ # unit tests for logout_auth_logout_get
85
+ # Logout
86
+ # Clear session and redirect.
87
+ # @param [Hash] opts the optional parameters
88
+ # @option opts [String] :return_url
89
+ # @return [Object]
90
+ describe 'logout_auth_logout_get test' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ # unit tests for verify_token_auth_verify_get
97
+ # Verify Token
98
+ # Verify a session token. Returns user info if valid.
99
+ # @param [Hash] opts the optional parameters
100
+ # @option opts [String] :token
101
+ # @option opts [String] :tensors_session
102
+ # @return [Object]
103
+ describe 'verify_token_auth_verify_get test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
106
+ end
107
+ end
108
+
109
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #tensors
3
+
4
+ #API for CivitAI model management and image gallery
5
+
6
+ The version of the OpenAPI document: 0.1.18
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.21.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for TensorsApi::CivitAIApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'CivitAIApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = TensorsApi::CivitAIApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CivitAIApi' do
30
+ it 'should create an instance of CivitAIApi' do
31
+ expect(@api_instance).to be_instance_of(TensorsApi::CivitAIApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_model_api_civitai_model_model_id_get
36
+ # Get Model
37
+ # Get model details from CivitAI and cache to database.
38
+ # @param model_id
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Object]
41
+ describe 'get_model_api_civitai_model_model_id_get test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,141 @@
1
+ =begin
2
+ #tensors
3
+
4
+ #API for CivitAI model management and image gallery
5
+
6
+ The version of the OpenAPI document: 0.1.18
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.21.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for TensorsApi::ComfyUIAPIApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ComfyUIAPIApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = TensorsApi::ComfyUIAPIApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ComfyUIAPIApi' do
30
+ it 'should create an instance of ComfyUIAPIApi' do
31
+ expect(@api_instance).to be_instance_of(TensorsApi::ComfyUIAPIApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for comfyui_clear_queue_api_comfyui_queue_delete
36
+ # Comfyui Clear Queue
37
+ # Clear the ComfyUI queue.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Hash<String, Object>]
40
+ describe 'comfyui_clear_queue_api_comfyui_queue_delete test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ # unit tests for comfyui_generate_api_comfyui_generate_post
47
+ # Comfyui Generate
48
+ # Generate an image using a simple text-to-image workflow. This uses the built-in SDXL/Flux compatible workflow template. For custom workflows, use the /workflow endpoint instead. Sampler and scheduler are auto-selected based on model family if not specified (when using default values). Family detection uses the model filename and database metadata.
49
+ # @param generate_request
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [GenerateResponse]
52
+ describe 'comfyui_generate_api_comfyui_generate_post test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ # unit tests for comfyui_history_detail_api_comfyui_history_prompt_id_get
59
+ # Comfyui History Detail
60
+ # Get details for a specific history entry.
61
+ # @param prompt_id
62
+ # @param [Hash] opts the optional parameters
63
+ # @return [Hash<String, Object>]
64
+ describe 'comfyui_history_detail_api_comfyui_history_prompt_id_get test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ # unit tests for comfyui_history_list_api_comfyui_history_get
71
+ # Comfyui History List
72
+ # List ComfyUI generation history.
73
+ # @param [Hash] opts the optional parameters
74
+ # @option opts [Integer] :limit Max history items
75
+ # @return [Hash<String, Object>]
76
+ describe 'comfyui_history_list_api_comfyui_history_get test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ # unit tests for comfyui_image_api_comfyui_image_filename_get
83
+ # Comfyui Image
84
+ # Fetch a generated image from ComfyUI. Use this to retrieve images by filename after generation.
85
+ # @param filename
86
+ # @param [Hash] opts the optional parameters
87
+ # @option opts [String] :subfolder Subfolder within output directory
88
+ # @option opts [String] :folder_type Folder type: output, input, temp
89
+ # @return [Object]
90
+ describe 'comfyui_image_api_comfyui_image_filename_get test' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ # unit tests for comfyui_models_api_comfyui_models_get
97
+ # Comfyui Models
98
+ # List available models in ComfyUI.
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [ModelsResponse]
101
+ describe 'comfyui_models_api_comfyui_models_get test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
104
+ end
105
+ end
106
+
107
+ # unit tests for comfyui_queue_api_comfyui_queue_get
108
+ # Comfyui Queue
109
+ # Get ComfyUI queue status.
110
+ # @param [Hash] opts the optional parameters
111
+ # @return [QueueStatusResponse]
112
+ describe 'comfyui_queue_api_comfyui_queue_get test' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
115
+ end
116
+ end
117
+
118
+ # unit tests for comfyui_status_api_comfyui_status_get
119
+ # Comfyui Status
120
+ # Get ComfyUI system stats (GPU, RAM, etc.).
121
+ # @param [Hash] opts the optional parameters
122
+ # @return [SystemStatsResponse]
123
+ describe 'comfyui_status_api_comfyui_status_get test' do
124
+ it 'should work' do
125
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
126
+ end
127
+ end
128
+
129
+ # unit tests for comfyui_workflow_api_comfyui_workflow_post
130
+ # Comfyui Workflow
131
+ # Queue an arbitrary ComfyUI workflow for execution. The workflow should be in ComfyUI API format (exported via \&quot;Save (API Format)\&quot;). This endpoint queues the workflow and returns immediately with the prompt_id. Use /history/{prompt_id} to check the result.
132
+ # @param workflow_request
133
+ # @param [Hash] opts the optional parameters
134
+ # @return [WorkflowResponse]
135
+ describe 'comfyui_workflow_api_comfyui_workflow_post test' do
136
+ it 'should work' do
137
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
138
+ end
139
+ end
140
+
141
+ end