SwaggerStableDiffusionWebui 1.0.394ffa7b0a7fff3ec484bcd084e673a8b301ccc8
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +150 -0
- data/Rakefile +10 -0
- data/SwaggerStableDiffusionWebui.gemspec +38 -0
- data/docs/BodyDetectControlnetDetectPost.md +26 -0
- data/docs/DefaultApi.md +3127 -0
- data/docs/Estimation.md +30 -0
- data/docs/HTTPValidationError.md +18 -0
- data/docs/LocationInner.md +15 -0
- data/docs/PredictBody.md +30 -0
- data/docs/ProgressRequest.md +20 -0
- data/docs/ProgressResponse.md +32 -0
- data/docs/QuicksettingsHint.md +20 -0
- data/docs/Request.md +15 -0
- data/docs/ResetBody.md +20 -0
- data/docs/ValidationError.md +22 -0
- data/git_push.sh +57 -0
- data/lib/SwaggerStableDiffusionWebui/api/default_api.rb +3027 -0
- data/lib/SwaggerStableDiffusionWebui/api_client.rb +391 -0
- data/lib/SwaggerStableDiffusionWebui/api_error.rb +58 -0
- data/lib/SwaggerStableDiffusionWebui/configuration.rb +288 -0
- data/lib/SwaggerStableDiffusionWebui/models/body_detect_controlnet_detect_post.rb +265 -0
- data/lib/SwaggerStableDiffusionWebui/models/estimation.rb +285 -0
- data/lib/SwaggerStableDiffusionWebui/models/http_validation_error.rb +221 -0
- data/lib/SwaggerStableDiffusionWebui/models/location_inner.rb +230 -0
- data/lib/SwaggerStableDiffusionWebui/models/predict_body.rb +283 -0
- data/lib/SwaggerStableDiffusionWebui/models/progress_request.rb +232 -0
- data/lib/SwaggerStableDiffusionWebui/models/progress_response.rb +301 -0
- data/lib/SwaggerStableDiffusionWebui/models/quicksettings_hint.rb +238 -0
- data/lib/SwaggerStableDiffusionWebui/models/request.rb +230 -0
- data/lib/SwaggerStableDiffusionWebui/models/reset_body.rb +238 -0
- data/lib/SwaggerStableDiffusionWebui/models/validation_error.rb +254 -0
- data/lib/SwaggerStableDiffusionWebui/version.rb +15 -0
- data/lib/SwaggerStableDiffusionWebui.rb +51 -0
- data/spec/api/default_api_spec.rb +574 -0
- data/spec/api_client_spec.rb +228 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/body_detect_controlnet_detect_post_spec.rb +58 -0
- data/spec/models/estimation_spec.rb +70 -0
- data/spec/models/http_validation_error_spec.rb +34 -0
- data/spec/models/location_inner_spec.rb +28 -0
- data/spec/models/predict_body_spec.rb +70 -0
- data/spec/models/progress_request_spec.rb +40 -0
- data/spec/models/progress_response_spec.rb +76 -0
- data/spec/models/quicksettings_hint_spec.rb +40 -0
- data/spec/models/request_spec.rb +28 -0
- data/spec/models/reset_body_spec.rb +40 -0
- data/spec/models/validation_error_spec.rb +46 -0
- data/spec/spec_helper.rb +111 -0
- metadata +147 -0
data/docs/DefaultApi.md
ADDED
@@ -0,0 +1,3127 @@
|
|
1
|
+
# SwaggerStableDiffusionWebui::DefaultApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**api_info_info_get**](DefaultApi.md#api_info_info_get) | **GET** /info | Api Info |
|
8
|
+
| [**api_info_info_get_0**](DefaultApi.md#api_info_info_get_0) | **GET** /info/ | Api Info |
|
9
|
+
| [**app_id_app_id_get**](DefaultApi.md#app_id_app_id_get) | **GET** /app_id/ | App Id |
|
10
|
+
| [**app_id_app_id_get_0**](DefaultApi.md#app_id_app_id_get_0) | **GET** /app_id | App Id |
|
11
|
+
| [**build_resource_assets_path_get**](DefaultApi.md#build_resource_assets_path_get) | **GET** /assets/{path} | Build Resource |
|
12
|
+
| [**detect_controlnet_detect_post**](DefaultApi.md#detect_controlnet_detect_post) | **POST** /controlnet/detect | Detect |
|
13
|
+
| [**download_sysinfo_internal_sysinfo_get**](DefaultApi.md#download_sysinfo_internal_sysinfo_get) | **GET** /internal/sysinfo | Download Sysinfo |
|
14
|
+
| [**favicon_favicon_ico_get**](DefaultApi.md#favicon_favicon_ico_get) | **GET** /favicon.ico | Favicon |
|
15
|
+
| [**fetch_file_sd_extra_networks_thumb_get**](DefaultApi.md#fetch_file_sd_extra_networks_thumb_get) | **GET** /sd_extra_networks/thumb | Fetch File |
|
16
|
+
| [**file_deprecated_file_path_get**](DefaultApi.md#file_deprecated_file_path_get) | **GET** /file/{path} | File Deprecated |
|
17
|
+
| [**file_file_path_or_url_get**](DefaultApi.md#file_file_path_or_url_get) | **GET** /file={path_or_url} | File |
|
18
|
+
| [**file_file_path_or_url_head**](DefaultApi.md#file_file_path_or_url_head) | **HEAD** /file={path_or_url} | File |
|
19
|
+
| [**get_config_config_get**](DefaultApi.md#get_config_config_get) | **GET** /config | Get Config |
|
20
|
+
| [**get_config_config_get_0**](DefaultApi.md#get_config_config_get_0) | **GET** /config/ | Get Config |
|
21
|
+
| [**get_current_user_user_get**](DefaultApi.md#get_current_user_user_get) | **GET** /user/ | Get Current User |
|
22
|
+
| [**get_current_user_user_get_0**](DefaultApi.md#get_current_user_user_get_0) | **GET** /user | Get Current User |
|
23
|
+
| [**get_loras_sdapi_v1_loras_get**](DefaultApi.md#get_loras_sdapi_v1_loras_get) | **GET** /sdapi/v1/loras | Get Loras |
|
24
|
+
| [**get_metadata_sd_extra_networks_metadata_get**](DefaultApi.md#get_metadata_sd_extra_networks_metadata_get) | **GET** /sd_extra_networks/metadata | Get Metadata |
|
25
|
+
| [**get_queue_status_queue_status_get**](DefaultApi.md#get_queue_status_queue_status_get) | **GET** /queue/status | Get Queue Status |
|
26
|
+
| [**get_token_token_get**](DefaultApi.md#get_token_token_get) | **GET** /token/ | Get Token |
|
27
|
+
| [**get_token_token_get_0**](DefaultApi.md#get_token_token_get_0) | **GET** /token | Get Token |
|
28
|
+
| [**lambda_internal_ping_get**](DefaultApi.md#lambda_internal_ping_get) | **GET** /internal/ping | <Lambda> |
|
29
|
+
| [**lambda_internal_profile_startup_get**](DefaultApi.md#lambda_internal_profile_startup_get) | **GET** /internal/profile-startup | <Lambda> |
|
30
|
+
| [**lambda_internal_sysinfo_download_get**](DefaultApi.md#lambda_internal_sysinfo_download_get) | **GET** /internal/sysinfo-download | <Lambda> |
|
31
|
+
| [**login_check_login_check_get**](DefaultApi.md#login_check_login_check_get) | **GET** /login_check/ | Login Check |
|
32
|
+
| [**login_check_login_check_get_0**](DefaultApi.md#login_check_login_check_get_0) | **GET** /login_check | Login Check |
|
33
|
+
| [**login_login_post**](DefaultApi.md#login_login_post) | **POST** /login/ | Login |
|
34
|
+
| [**login_login_post_0**](DefaultApi.md#login_login_post_0) | **POST** /login | Login |
|
35
|
+
| [**main_get**](DefaultApi.md#main_get) | **GET** / | Main |
|
36
|
+
| [**main_head**](DefaultApi.md#main_head) | **HEAD** / | Main |
|
37
|
+
| [**model_list_controlnet_model_list_get**](DefaultApi.md#model_list_controlnet_model_list_get) | **GET** /controlnet/model_list | Model List |
|
38
|
+
| [**module_list_controlnet_module_list_get**](DefaultApi.md#module_list_controlnet_module_list_get) | **GET** /controlnet/module_list | Module List |
|
39
|
+
| [**predict_api_api_name_post**](DefaultApi.md#predict_api_api_name_post) | **POST** /api/{api_name}/ | Predict |
|
40
|
+
| [**predict_api_api_name_post_0**](DefaultApi.md#predict_api_api_name_post_0) | **POST** /api/{api_name} | Predict |
|
41
|
+
| [**predict_run_api_name_post**](DefaultApi.md#predict_run_api_name_post) | **POST** /run/{api_name}/ | Predict |
|
42
|
+
| [**predict_run_api_name_post_0**](DefaultApi.md#predict_run_api_name_post_0) | **POST** /run/{api_name} | Predict |
|
43
|
+
| [**progressapi_internal_progress_post**](DefaultApi.md#progressapi_internal_progress_post) | **POST** /internal/progress | Progressapi |
|
44
|
+
| [**quicksettings_hint_internal_quicksettings_hint_get**](DefaultApi.md#quicksettings_hint_internal_quicksettings_hint_get) | **GET** /internal/quicksettings-hint | Quicksettings Hint |
|
45
|
+
| [**refresh_loras_sdapi_v1_refresh_loras_post**](DefaultApi.md#refresh_loras_sdapi_v1_refresh_loras_post) | **POST** /sdapi/v1/refresh-loras | Refresh Loras |
|
46
|
+
| [**reset_iterator_reset_post**](DefaultApi.md#reset_iterator_reset_post) | **POST** /reset | Reset Iterator |
|
47
|
+
| [**reset_iterator_reset_post_0**](DefaultApi.md#reset_iterator_reset_post_0) | **POST** /reset/ | Reset Iterator |
|
48
|
+
| [**reverse_proxy_proxy_url_path_get**](DefaultApi.md#reverse_proxy_proxy_url_path_get) | **GET** /proxy={url_path} | Reverse Proxy |
|
49
|
+
| [**reverse_proxy_proxy_url_path_head**](DefaultApi.md#reverse_proxy_proxy_url_path_head) | **HEAD** /proxy={url_path} | Reverse Proxy |
|
50
|
+
| [**robots_txt_robots_txt_get**](DefaultApi.md#robots_txt_robots_txt_get) | **GET** /robots.txt | Robots Txt |
|
51
|
+
| [**settings_controlnet_settings_get**](DefaultApi.md#settings_controlnet_settings_get) | **GET** /controlnet/settings | Settings |
|
52
|
+
| [**startup_events_startup_events_get**](DefaultApi.md#startup_events_startup_events_get) | **GET** /startup-events | Startup Events |
|
53
|
+
| [**static_resource_static_path_get**](DefaultApi.md#static_resource_static_path_get) | **GET** /static/{path} | Static Resource |
|
54
|
+
| [**theme_css_theme_css_get**](DefaultApi.md#theme_css_theme_css_get) | **GET** /theme.css | Theme Css |
|
55
|
+
| [**upload_file_upload_post**](DefaultApi.md#upload_file_upload_post) | **POST** /upload | Upload File |
|
56
|
+
| [**version_controlnet_version_get**](DefaultApi.md#version_controlnet_version_get) | **GET** /controlnet/version | Version |
|
57
|
+
|
58
|
+
|
59
|
+
## api_info_info_get
|
60
|
+
|
61
|
+
> Object api_info_info_get(opts)
|
62
|
+
|
63
|
+
Api Info
|
64
|
+
|
65
|
+
### Examples
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
require 'time'
|
69
|
+
require 'SwaggerStableDiffusionWebui'
|
70
|
+
|
71
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
72
|
+
opts = {
|
73
|
+
serialize: true # Boolean |
|
74
|
+
}
|
75
|
+
|
76
|
+
begin
|
77
|
+
# Api Info
|
78
|
+
result = api_instance.api_info_info_get(opts)
|
79
|
+
p result
|
80
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
81
|
+
puts "Error when calling DefaultApi->api_info_info_get: #{e}"
|
82
|
+
end
|
83
|
+
```
|
84
|
+
|
85
|
+
#### Using the api_info_info_get_with_http_info variant
|
86
|
+
|
87
|
+
This returns an Array which contains the response data, status code and headers.
|
88
|
+
|
89
|
+
> <Array(Object, Integer, Hash)> api_info_info_get_with_http_info(opts)
|
90
|
+
|
91
|
+
```ruby
|
92
|
+
begin
|
93
|
+
# Api Info
|
94
|
+
data, status_code, headers = api_instance.api_info_info_get_with_http_info(opts)
|
95
|
+
p status_code # => 2xx
|
96
|
+
p headers # => { ... }
|
97
|
+
p data # => Object
|
98
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
99
|
+
puts "Error when calling DefaultApi->api_info_info_get_with_http_info: #{e}"
|
100
|
+
end
|
101
|
+
```
|
102
|
+
|
103
|
+
### Parameters
|
104
|
+
|
105
|
+
| Name | Type | Description | Notes |
|
106
|
+
| ---- | ---- | ----------- | ----- |
|
107
|
+
| **serialize** | **Boolean** | | [optional][default to true] |
|
108
|
+
|
109
|
+
### Return type
|
110
|
+
|
111
|
+
**Object**
|
112
|
+
|
113
|
+
### Authorization
|
114
|
+
|
115
|
+
No authorization required
|
116
|
+
|
117
|
+
### HTTP request headers
|
118
|
+
|
119
|
+
- **Content-Type**: Not defined
|
120
|
+
- **Accept**: application/json
|
121
|
+
|
122
|
+
|
123
|
+
## api_info_info_get_0
|
124
|
+
|
125
|
+
> Object api_info_info_get_0(opts)
|
126
|
+
|
127
|
+
Api Info
|
128
|
+
|
129
|
+
### Examples
|
130
|
+
|
131
|
+
```ruby
|
132
|
+
require 'time'
|
133
|
+
require 'SwaggerStableDiffusionWebui'
|
134
|
+
|
135
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
136
|
+
opts = {
|
137
|
+
serialize: true # Boolean |
|
138
|
+
}
|
139
|
+
|
140
|
+
begin
|
141
|
+
# Api Info
|
142
|
+
result = api_instance.api_info_info_get_0(opts)
|
143
|
+
p result
|
144
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
145
|
+
puts "Error when calling DefaultApi->api_info_info_get_0: #{e}"
|
146
|
+
end
|
147
|
+
```
|
148
|
+
|
149
|
+
#### Using the api_info_info_get_0_with_http_info variant
|
150
|
+
|
151
|
+
This returns an Array which contains the response data, status code and headers.
|
152
|
+
|
153
|
+
> <Array(Object, Integer, Hash)> api_info_info_get_0_with_http_info(opts)
|
154
|
+
|
155
|
+
```ruby
|
156
|
+
begin
|
157
|
+
# Api Info
|
158
|
+
data, status_code, headers = api_instance.api_info_info_get_0_with_http_info(opts)
|
159
|
+
p status_code # => 2xx
|
160
|
+
p headers # => { ... }
|
161
|
+
p data # => Object
|
162
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
163
|
+
puts "Error when calling DefaultApi->api_info_info_get_0_with_http_info: #{e}"
|
164
|
+
end
|
165
|
+
```
|
166
|
+
|
167
|
+
### Parameters
|
168
|
+
|
169
|
+
| Name | Type | Description | Notes |
|
170
|
+
| ---- | ---- | ----------- | ----- |
|
171
|
+
| **serialize** | **Boolean** | | [optional][default to true] |
|
172
|
+
|
173
|
+
### Return type
|
174
|
+
|
175
|
+
**Object**
|
176
|
+
|
177
|
+
### Authorization
|
178
|
+
|
179
|
+
No authorization required
|
180
|
+
|
181
|
+
### HTTP request headers
|
182
|
+
|
183
|
+
- **Content-Type**: Not defined
|
184
|
+
- **Accept**: application/json
|
185
|
+
|
186
|
+
|
187
|
+
## app_id_app_id_get
|
188
|
+
|
189
|
+
> Object app_id_app_id_get
|
190
|
+
|
191
|
+
App Id
|
192
|
+
|
193
|
+
### Examples
|
194
|
+
|
195
|
+
```ruby
|
196
|
+
require 'time'
|
197
|
+
require 'SwaggerStableDiffusionWebui'
|
198
|
+
|
199
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
200
|
+
|
201
|
+
begin
|
202
|
+
# App Id
|
203
|
+
result = api_instance.app_id_app_id_get
|
204
|
+
p result
|
205
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
206
|
+
puts "Error when calling DefaultApi->app_id_app_id_get: #{e}"
|
207
|
+
end
|
208
|
+
```
|
209
|
+
|
210
|
+
#### Using the app_id_app_id_get_with_http_info variant
|
211
|
+
|
212
|
+
This returns an Array which contains the response data, status code and headers.
|
213
|
+
|
214
|
+
> <Array(Object, Integer, Hash)> app_id_app_id_get_with_http_info
|
215
|
+
|
216
|
+
```ruby
|
217
|
+
begin
|
218
|
+
# App Id
|
219
|
+
data, status_code, headers = api_instance.app_id_app_id_get_with_http_info
|
220
|
+
p status_code # => 2xx
|
221
|
+
p headers # => { ... }
|
222
|
+
p data # => Object
|
223
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
224
|
+
puts "Error when calling DefaultApi->app_id_app_id_get_with_http_info: #{e}"
|
225
|
+
end
|
226
|
+
```
|
227
|
+
|
228
|
+
### Parameters
|
229
|
+
|
230
|
+
This endpoint does not need any parameter.
|
231
|
+
|
232
|
+
### Return type
|
233
|
+
|
234
|
+
**Object**
|
235
|
+
|
236
|
+
### Authorization
|
237
|
+
|
238
|
+
No authorization required
|
239
|
+
|
240
|
+
### HTTP request headers
|
241
|
+
|
242
|
+
- **Content-Type**: Not defined
|
243
|
+
- **Accept**: application/json
|
244
|
+
|
245
|
+
|
246
|
+
## app_id_app_id_get_0
|
247
|
+
|
248
|
+
> Object app_id_app_id_get_0
|
249
|
+
|
250
|
+
App Id
|
251
|
+
|
252
|
+
### Examples
|
253
|
+
|
254
|
+
```ruby
|
255
|
+
require 'time'
|
256
|
+
require 'SwaggerStableDiffusionWebui'
|
257
|
+
|
258
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
259
|
+
|
260
|
+
begin
|
261
|
+
# App Id
|
262
|
+
result = api_instance.app_id_app_id_get_0
|
263
|
+
p result
|
264
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
265
|
+
puts "Error when calling DefaultApi->app_id_app_id_get_0: #{e}"
|
266
|
+
end
|
267
|
+
```
|
268
|
+
|
269
|
+
#### Using the app_id_app_id_get_0_with_http_info variant
|
270
|
+
|
271
|
+
This returns an Array which contains the response data, status code and headers.
|
272
|
+
|
273
|
+
> <Array(Object, Integer, Hash)> app_id_app_id_get_0_with_http_info
|
274
|
+
|
275
|
+
```ruby
|
276
|
+
begin
|
277
|
+
# App Id
|
278
|
+
data, status_code, headers = api_instance.app_id_app_id_get_0_with_http_info
|
279
|
+
p status_code # => 2xx
|
280
|
+
p headers # => { ... }
|
281
|
+
p data # => Object
|
282
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
283
|
+
puts "Error when calling DefaultApi->app_id_app_id_get_0_with_http_info: #{e}"
|
284
|
+
end
|
285
|
+
```
|
286
|
+
|
287
|
+
### Parameters
|
288
|
+
|
289
|
+
This endpoint does not need any parameter.
|
290
|
+
|
291
|
+
### Return type
|
292
|
+
|
293
|
+
**Object**
|
294
|
+
|
295
|
+
### Authorization
|
296
|
+
|
297
|
+
No authorization required
|
298
|
+
|
299
|
+
### HTTP request headers
|
300
|
+
|
301
|
+
- **Content-Type**: Not defined
|
302
|
+
- **Accept**: application/json
|
303
|
+
|
304
|
+
|
305
|
+
## build_resource_assets_path_get
|
306
|
+
|
307
|
+
> Object build_resource_assets_path_get(path)
|
308
|
+
|
309
|
+
Build Resource
|
310
|
+
|
311
|
+
### Examples
|
312
|
+
|
313
|
+
```ruby
|
314
|
+
require 'time'
|
315
|
+
require 'SwaggerStableDiffusionWebui'
|
316
|
+
|
317
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
318
|
+
path = 'path_example' # String |
|
319
|
+
|
320
|
+
begin
|
321
|
+
# Build Resource
|
322
|
+
result = api_instance.build_resource_assets_path_get(path)
|
323
|
+
p result
|
324
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
325
|
+
puts "Error when calling DefaultApi->build_resource_assets_path_get: #{e}"
|
326
|
+
end
|
327
|
+
```
|
328
|
+
|
329
|
+
#### Using the build_resource_assets_path_get_with_http_info variant
|
330
|
+
|
331
|
+
This returns an Array which contains the response data, status code and headers.
|
332
|
+
|
333
|
+
> <Array(Object, Integer, Hash)> build_resource_assets_path_get_with_http_info(path)
|
334
|
+
|
335
|
+
```ruby
|
336
|
+
begin
|
337
|
+
# Build Resource
|
338
|
+
data, status_code, headers = api_instance.build_resource_assets_path_get_with_http_info(path)
|
339
|
+
p status_code # => 2xx
|
340
|
+
p headers # => { ... }
|
341
|
+
p data # => Object
|
342
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
343
|
+
puts "Error when calling DefaultApi->build_resource_assets_path_get_with_http_info: #{e}"
|
344
|
+
end
|
345
|
+
```
|
346
|
+
|
347
|
+
### Parameters
|
348
|
+
|
349
|
+
| Name | Type | Description | Notes |
|
350
|
+
| ---- | ---- | ----------- | ----- |
|
351
|
+
| **path** | **String** | | |
|
352
|
+
|
353
|
+
### Return type
|
354
|
+
|
355
|
+
**Object**
|
356
|
+
|
357
|
+
### Authorization
|
358
|
+
|
359
|
+
No authorization required
|
360
|
+
|
361
|
+
### HTTP request headers
|
362
|
+
|
363
|
+
- **Content-Type**: Not defined
|
364
|
+
- **Accept**: application/json
|
365
|
+
|
366
|
+
|
367
|
+
## detect_controlnet_detect_post
|
368
|
+
|
369
|
+
> Object detect_controlnet_detect_post(opts)
|
370
|
+
|
371
|
+
Detect
|
372
|
+
|
373
|
+
### Examples
|
374
|
+
|
375
|
+
```ruby
|
376
|
+
require 'time'
|
377
|
+
require 'SwaggerStableDiffusionWebui'
|
378
|
+
|
379
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
380
|
+
opts = {
|
381
|
+
body_detect_controlnet_detect_post: SwaggerStableDiffusionWebui::BodyDetectControlnetDetectPost.new # BodyDetectControlnetDetectPost |
|
382
|
+
}
|
383
|
+
|
384
|
+
begin
|
385
|
+
# Detect
|
386
|
+
result = api_instance.detect_controlnet_detect_post(opts)
|
387
|
+
p result
|
388
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
389
|
+
puts "Error when calling DefaultApi->detect_controlnet_detect_post: #{e}"
|
390
|
+
end
|
391
|
+
```
|
392
|
+
|
393
|
+
#### Using the detect_controlnet_detect_post_with_http_info variant
|
394
|
+
|
395
|
+
This returns an Array which contains the response data, status code and headers.
|
396
|
+
|
397
|
+
> <Array(Object, Integer, Hash)> detect_controlnet_detect_post_with_http_info(opts)
|
398
|
+
|
399
|
+
```ruby
|
400
|
+
begin
|
401
|
+
# Detect
|
402
|
+
data, status_code, headers = api_instance.detect_controlnet_detect_post_with_http_info(opts)
|
403
|
+
p status_code # => 2xx
|
404
|
+
p headers # => { ... }
|
405
|
+
p data # => Object
|
406
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
407
|
+
puts "Error when calling DefaultApi->detect_controlnet_detect_post_with_http_info: #{e}"
|
408
|
+
end
|
409
|
+
```
|
410
|
+
|
411
|
+
### Parameters
|
412
|
+
|
413
|
+
| Name | Type | Description | Notes |
|
414
|
+
| ---- | ---- | ----------- | ----- |
|
415
|
+
| **body_detect_controlnet_detect_post** | [**BodyDetectControlnetDetectPost**](BodyDetectControlnetDetectPost.md) | | [optional] |
|
416
|
+
|
417
|
+
### Return type
|
418
|
+
|
419
|
+
**Object**
|
420
|
+
|
421
|
+
### Authorization
|
422
|
+
|
423
|
+
No authorization required
|
424
|
+
|
425
|
+
### HTTP request headers
|
426
|
+
|
427
|
+
- **Content-Type**: application/json
|
428
|
+
- **Accept**: application/json
|
429
|
+
|
430
|
+
|
431
|
+
## download_sysinfo_internal_sysinfo_get
|
432
|
+
|
433
|
+
> Object download_sysinfo_internal_sysinfo_get(opts)
|
434
|
+
|
435
|
+
Download Sysinfo
|
436
|
+
|
437
|
+
### Examples
|
438
|
+
|
439
|
+
```ruby
|
440
|
+
require 'time'
|
441
|
+
require 'SwaggerStableDiffusionWebui'
|
442
|
+
|
443
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
444
|
+
opts = {
|
445
|
+
attachment: TODO # Object |
|
446
|
+
}
|
447
|
+
|
448
|
+
begin
|
449
|
+
# Download Sysinfo
|
450
|
+
result = api_instance.download_sysinfo_internal_sysinfo_get(opts)
|
451
|
+
p result
|
452
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
453
|
+
puts "Error when calling DefaultApi->download_sysinfo_internal_sysinfo_get: #{e}"
|
454
|
+
end
|
455
|
+
```
|
456
|
+
|
457
|
+
#### Using the download_sysinfo_internal_sysinfo_get_with_http_info variant
|
458
|
+
|
459
|
+
This returns an Array which contains the response data, status code and headers.
|
460
|
+
|
461
|
+
> <Array(Object, Integer, Hash)> download_sysinfo_internal_sysinfo_get_with_http_info(opts)
|
462
|
+
|
463
|
+
```ruby
|
464
|
+
begin
|
465
|
+
# Download Sysinfo
|
466
|
+
data, status_code, headers = api_instance.download_sysinfo_internal_sysinfo_get_with_http_info(opts)
|
467
|
+
p status_code # => 2xx
|
468
|
+
p headers # => { ... }
|
469
|
+
p data # => Object
|
470
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
471
|
+
puts "Error when calling DefaultApi->download_sysinfo_internal_sysinfo_get_with_http_info: #{e}"
|
472
|
+
end
|
473
|
+
```
|
474
|
+
|
475
|
+
### Parameters
|
476
|
+
|
477
|
+
| Name | Type | Description | Notes |
|
478
|
+
| ---- | ---- | ----------- | ----- |
|
479
|
+
| **attachment** | [**Object**](.md) | | [optional] |
|
480
|
+
|
481
|
+
### Return type
|
482
|
+
|
483
|
+
**Object**
|
484
|
+
|
485
|
+
### Authorization
|
486
|
+
|
487
|
+
No authorization required
|
488
|
+
|
489
|
+
### HTTP request headers
|
490
|
+
|
491
|
+
- **Content-Type**: Not defined
|
492
|
+
- **Accept**: application/json
|
493
|
+
|
494
|
+
|
495
|
+
## favicon_favicon_ico_get
|
496
|
+
|
497
|
+
> Object favicon_favicon_ico_get
|
498
|
+
|
499
|
+
Favicon
|
500
|
+
|
501
|
+
### Examples
|
502
|
+
|
503
|
+
```ruby
|
504
|
+
require 'time'
|
505
|
+
require 'SwaggerStableDiffusionWebui'
|
506
|
+
|
507
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
508
|
+
|
509
|
+
begin
|
510
|
+
# Favicon
|
511
|
+
result = api_instance.favicon_favicon_ico_get
|
512
|
+
p result
|
513
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
514
|
+
puts "Error when calling DefaultApi->favicon_favicon_ico_get: #{e}"
|
515
|
+
end
|
516
|
+
```
|
517
|
+
|
518
|
+
#### Using the favicon_favicon_ico_get_with_http_info variant
|
519
|
+
|
520
|
+
This returns an Array which contains the response data, status code and headers.
|
521
|
+
|
522
|
+
> <Array(Object, Integer, Hash)> favicon_favicon_ico_get_with_http_info
|
523
|
+
|
524
|
+
```ruby
|
525
|
+
begin
|
526
|
+
# Favicon
|
527
|
+
data, status_code, headers = api_instance.favicon_favicon_ico_get_with_http_info
|
528
|
+
p status_code # => 2xx
|
529
|
+
p headers # => { ... }
|
530
|
+
p data # => Object
|
531
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
532
|
+
puts "Error when calling DefaultApi->favicon_favicon_ico_get_with_http_info: #{e}"
|
533
|
+
end
|
534
|
+
```
|
535
|
+
|
536
|
+
### Parameters
|
537
|
+
|
538
|
+
This endpoint does not need any parameter.
|
539
|
+
|
540
|
+
### Return type
|
541
|
+
|
542
|
+
**Object**
|
543
|
+
|
544
|
+
### Authorization
|
545
|
+
|
546
|
+
No authorization required
|
547
|
+
|
548
|
+
### HTTP request headers
|
549
|
+
|
550
|
+
- **Content-Type**: Not defined
|
551
|
+
- **Accept**: application/json
|
552
|
+
|
553
|
+
|
554
|
+
## fetch_file_sd_extra_networks_thumb_get
|
555
|
+
|
556
|
+
> Object fetch_file_sd_extra_networks_thumb_get(opts)
|
557
|
+
|
558
|
+
Fetch File
|
559
|
+
|
560
|
+
### Examples
|
561
|
+
|
562
|
+
```ruby
|
563
|
+
require 'time'
|
564
|
+
require 'SwaggerStableDiffusionWebui'
|
565
|
+
|
566
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
567
|
+
opts = {
|
568
|
+
filename: 'filename_example' # String |
|
569
|
+
}
|
570
|
+
|
571
|
+
begin
|
572
|
+
# Fetch File
|
573
|
+
result = api_instance.fetch_file_sd_extra_networks_thumb_get(opts)
|
574
|
+
p result
|
575
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
576
|
+
puts "Error when calling DefaultApi->fetch_file_sd_extra_networks_thumb_get: #{e}"
|
577
|
+
end
|
578
|
+
```
|
579
|
+
|
580
|
+
#### Using the fetch_file_sd_extra_networks_thumb_get_with_http_info variant
|
581
|
+
|
582
|
+
This returns an Array which contains the response data, status code and headers.
|
583
|
+
|
584
|
+
> <Array(Object, Integer, Hash)> fetch_file_sd_extra_networks_thumb_get_with_http_info(opts)
|
585
|
+
|
586
|
+
```ruby
|
587
|
+
begin
|
588
|
+
# Fetch File
|
589
|
+
data, status_code, headers = api_instance.fetch_file_sd_extra_networks_thumb_get_with_http_info(opts)
|
590
|
+
p status_code # => 2xx
|
591
|
+
p headers # => { ... }
|
592
|
+
p data # => Object
|
593
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
594
|
+
puts "Error when calling DefaultApi->fetch_file_sd_extra_networks_thumb_get_with_http_info: #{e}"
|
595
|
+
end
|
596
|
+
```
|
597
|
+
|
598
|
+
### Parameters
|
599
|
+
|
600
|
+
| Name | Type | Description | Notes |
|
601
|
+
| ---- | ---- | ----------- | ----- |
|
602
|
+
| **filename** | **String** | | [optional][default to ''] |
|
603
|
+
|
604
|
+
### Return type
|
605
|
+
|
606
|
+
**Object**
|
607
|
+
|
608
|
+
### Authorization
|
609
|
+
|
610
|
+
No authorization required
|
611
|
+
|
612
|
+
### HTTP request headers
|
613
|
+
|
614
|
+
- **Content-Type**: Not defined
|
615
|
+
- **Accept**: application/json
|
616
|
+
|
617
|
+
|
618
|
+
## file_deprecated_file_path_get
|
619
|
+
|
620
|
+
> Object file_deprecated_file_path_get(path)
|
621
|
+
|
622
|
+
File Deprecated
|
623
|
+
|
624
|
+
### Examples
|
625
|
+
|
626
|
+
```ruby
|
627
|
+
require 'time'
|
628
|
+
require 'SwaggerStableDiffusionWebui'
|
629
|
+
|
630
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
631
|
+
path = 'path_example' # String |
|
632
|
+
|
633
|
+
begin
|
634
|
+
# File Deprecated
|
635
|
+
result = api_instance.file_deprecated_file_path_get(path)
|
636
|
+
p result
|
637
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
638
|
+
puts "Error when calling DefaultApi->file_deprecated_file_path_get: #{e}"
|
639
|
+
end
|
640
|
+
```
|
641
|
+
|
642
|
+
#### Using the file_deprecated_file_path_get_with_http_info variant
|
643
|
+
|
644
|
+
This returns an Array which contains the response data, status code and headers.
|
645
|
+
|
646
|
+
> <Array(Object, Integer, Hash)> file_deprecated_file_path_get_with_http_info(path)
|
647
|
+
|
648
|
+
```ruby
|
649
|
+
begin
|
650
|
+
# File Deprecated
|
651
|
+
data, status_code, headers = api_instance.file_deprecated_file_path_get_with_http_info(path)
|
652
|
+
p status_code # => 2xx
|
653
|
+
p headers # => { ... }
|
654
|
+
p data # => Object
|
655
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
656
|
+
puts "Error when calling DefaultApi->file_deprecated_file_path_get_with_http_info: #{e}"
|
657
|
+
end
|
658
|
+
```
|
659
|
+
|
660
|
+
### Parameters
|
661
|
+
|
662
|
+
| Name | Type | Description | Notes |
|
663
|
+
| ---- | ---- | ----------- | ----- |
|
664
|
+
| **path** | **String** | | |
|
665
|
+
|
666
|
+
### Return type
|
667
|
+
|
668
|
+
**Object**
|
669
|
+
|
670
|
+
### Authorization
|
671
|
+
|
672
|
+
No authorization required
|
673
|
+
|
674
|
+
### HTTP request headers
|
675
|
+
|
676
|
+
- **Content-Type**: Not defined
|
677
|
+
- **Accept**: application/json
|
678
|
+
|
679
|
+
|
680
|
+
## file_file_path_or_url_get
|
681
|
+
|
682
|
+
> Object file_file_path_or_url_get(path_or_url)
|
683
|
+
|
684
|
+
File
|
685
|
+
|
686
|
+
### Examples
|
687
|
+
|
688
|
+
```ruby
|
689
|
+
require 'time'
|
690
|
+
require 'SwaggerStableDiffusionWebui'
|
691
|
+
|
692
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
693
|
+
path_or_url = 'path_or_url_example' # String |
|
694
|
+
|
695
|
+
begin
|
696
|
+
# File
|
697
|
+
result = api_instance.file_file_path_or_url_get(path_or_url)
|
698
|
+
p result
|
699
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
700
|
+
puts "Error when calling DefaultApi->file_file_path_or_url_get: #{e}"
|
701
|
+
end
|
702
|
+
```
|
703
|
+
|
704
|
+
#### Using the file_file_path_or_url_get_with_http_info variant
|
705
|
+
|
706
|
+
This returns an Array which contains the response data, status code and headers.
|
707
|
+
|
708
|
+
> <Array(Object, Integer, Hash)> file_file_path_or_url_get_with_http_info(path_or_url)
|
709
|
+
|
710
|
+
```ruby
|
711
|
+
begin
|
712
|
+
# File
|
713
|
+
data, status_code, headers = api_instance.file_file_path_or_url_get_with_http_info(path_or_url)
|
714
|
+
p status_code # => 2xx
|
715
|
+
p headers # => { ... }
|
716
|
+
p data # => Object
|
717
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
718
|
+
puts "Error when calling DefaultApi->file_file_path_or_url_get_with_http_info: #{e}"
|
719
|
+
end
|
720
|
+
```
|
721
|
+
|
722
|
+
### Parameters
|
723
|
+
|
724
|
+
| Name | Type | Description | Notes |
|
725
|
+
| ---- | ---- | ----------- | ----- |
|
726
|
+
| **path_or_url** | **String** | | |
|
727
|
+
|
728
|
+
### Return type
|
729
|
+
|
730
|
+
**Object**
|
731
|
+
|
732
|
+
### Authorization
|
733
|
+
|
734
|
+
No authorization required
|
735
|
+
|
736
|
+
### HTTP request headers
|
737
|
+
|
738
|
+
- **Content-Type**: Not defined
|
739
|
+
- **Accept**: application/json
|
740
|
+
|
741
|
+
|
742
|
+
## file_file_path_or_url_head
|
743
|
+
|
744
|
+
> Object file_file_path_or_url_head(path_or_url)
|
745
|
+
|
746
|
+
File
|
747
|
+
|
748
|
+
### Examples
|
749
|
+
|
750
|
+
```ruby
|
751
|
+
require 'time'
|
752
|
+
require 'SwaggerStableDiffusionWebui'
|
753
|
+
|
754
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
755
|
+
path_or_url = 'path_or_url_example' # String |
|
756
|
+
|
757
|
+
begin
|
758
|
+
# File
|
759
|
+
result = api_instance.file_file_path_or_url_head(path_or_url)
|
760
|
+
p result
|
761
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
762
|
+
puts "Error when calling DefaultApi->file_file_path_or_url_head: #{e}"
|
763
|
+
end
|
764
|
+
```
|
765
|
+
|
766
|
+
#### Using the file_file_path_or_url_head_with_http_info variant
|
767
|
+
|
768
|
+
This returns an Array which contains the response data, status code and headers.
|
769
|
+
|
770
|
+
> <Array(Object, Integer, Hash)> file_file_path_or_url_head_with_http_info(path_or_url)
|
771
|
+
|
772
|
+
```ruby
|
773
|
+
begin
|
774
|
+
# File
|
775
|
+
data, status_code, headers = api_instance.file_file_path_or_url_head_with_http_info(path_or_url)
|
776
|
+
p status_code # => 2xx
|
777
|
+
p headers # => { ... }
|
778
|
+
p data # => Object
|
779
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
780
|
+
puts "Error when calling DefaultApi->file_file_path_or_url_head_with_http_info: #{e}"
|
781
|
+
end
|
782
|
+
```
|
783
|
+
|
784
|
+
### Parameters
|
785
|
+
|
786
|
+
| Name | Type | Description | Notes |
|
787
|
+
| ---- | ---- | ----------- | ----- |
|
788
|
+
| **path_or_url** | **String** | | |
|
789
|
+
|
790
|
+
### Return type
|
791
|
+
|
792
|
+
**Object**
|
793
|
+
|
794
|
+
### Authorization
|
795
|
+
|
796
|
+
No authorization required
|
797
|
+
|
798
|
+
### HTTP request headers
|
799
|
+
|
800
|
+
- **Content-Type**: Not defined
|
801
|
+
- **Accept**: application/json
|
802
|
+
|
803
|
+
|
804
|
+
## get_config_config_get
|
805
|
+
|
806
|
+
> Object get_config_config_get
|
807
|
+
|
808
|
+
Get Config
|
809
|
+
|
810
|
+
### Examples
|
811
|
+
|
812
|
+
```ruby
|
813
|
+
require 'time'
|
814
|
+
require 'SwaggerStableDiffusionWebui'
|
815
|
+
|
816
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
817
|
+
|
818
|
+
begin
|
819
|
+
# Get Config
|
820
|
+
result = api_instance.get_config_config_get
|
821
|
+
p result
|
822
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
823
|
+
puts "Error when calling DefaultApi->get_config_config_get: #{e}"
|
824
|
+
end
|
825
|
+
```
|
826
|
+
|
827
|
+
#### Using the get_config_config_get_with_http_info variant
|
828
|
+
|
829
|
+
This returns an Array which contains the response data, status code and headers.
|
830
|
+
|
831
|
+
> <Array(Object, Integer, Hash)> get_config_config_get_with_http_info
|
832
|
+
|
833
|
+
```ruby
|
834
|
+
begin
|
835
|
+
# Get Config
|
836
|
+
data, status_code, headers = api_instance.get_config_config_get_with_http_info
|
837
|
+
p status_code # => 2xx
|
838
|
+
p headers # => { ... }
|
839
|
+
p data # => Object
|
840
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
841
|
+
puts "Error when calling DefaultApi->get_config_config_get_with_http_info: #{e}"
|
842
|
+
end
|
843
|
+
```
|
844
|
+
|
845
|
+
### Parameters
|
846
|
+
|
847
|
+
This endpoint does not need any parameter.
|
848
|
+
|
849
|
+
### Return type
|
850
|
+
|
851
|
+
**Object**
|
852
|
+
|
853
|
+
### Authorization
|
854
|
+
|
855
|
+
No authorization required
|
856
|
+
|
857
|
+
### HTTP request headers
|
858
|
+
|
859
|
+
- **Content-Type**: Not defined
|
860
|
+
- **Accept**: application/json
|
861
|
+
|
862
|
+
|
863
|
+
## get_config_config_get_0
|
864
|
+
|
865
|
+
> Object get_config_config_get_0
|
866
|
+
|
867
|
+
Get Config
|
868
|
+
|
869
|
+
### Examples
|
870
|
+
|
871
|
+
```ruby
|
872
|
+
require 'time'
|
873
|
+
require 'SwaggerStableDiffusionWebui'
|
874
|
+
|
875
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
876
|
+
|
877
|
+
begin
|
878
|
+
# Get Config
|
879
|
+
result = api_instance.get_config_config_get_0
|
880
|
+
p result
|
881
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
882
|
+
puts "Error when calling DefaultApi->get_config_config_get_0: #{e}"
|
883
|
+
end
|
884
|
+
```
|
885
|
+
|
886
|
+
#### Using the get_config_config_get_0_with_http_info variant
|
887
|
+
|
888
|
+
This returns an Array which contains the response data, status code and headers.
|
889
|
+
|
890
|
+
> <Array(Object, Integer, Hash)> get_config_config_get_0_with_http_info
|
891
|
+
|
892
|
+
```ruby
|
893
|
+
begin
|
894
|
+
# Get Config
|
895
|
+
data, status_code, headers = api_instance.get_config_config_get_0_with_http_info
|
896
|
+
p status_code # => 2xx
|
897
|
+
p headers # => { ... }
|
898
|
+
p data # => Object
|
899
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
900
|
+
puts "Error when calling DefaultApi->get_config_config_get_0_with_http_info: #{e}"
|
901
|
+
end
|
902
|
+
```
|
903
|
+
|
904
|
+
### Parameters
|
905
|
+
|
906
|
+
This endpoint does not need any parameter.
|
907
|
+
|
908
|
+
### Return type
|
909
|
+
|
910
|
+
**Object**
|
911
|
+
|
912
|
+
### Authorization
|
913
|
+
|
914
|
+
No authorization required
|
915
|
+
|
916
|
+
### HTTP request headers
|
917
|
+
|
918
|
+
- **Content-Type**: Not defined
|
919
|
+
- **Accept**: application/json
|
920
|
+
|
921
|
+
|
922
|
+
## get_current_user_user_get
|
923
|
+
|
924
|
+
> String get_current_user_user_get
|
925
|
+
|
926
|
+
Get Current User
|
927
|
+
|
928
|
+
### Examples
|
929
|
+
|
930
|
+
```ruby
|
931
|
+
require 'time'
|
932
|
+
require 'SwaggerStableDiffusionWebui'
|
933
|
+
|
934
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
935
|
+
|
936
|
+
begin
|
937
|
+
# Get Current User
|
938
|
+
result = api_instance.get_current_user_user_get
|
939
|
+
p result
|
940
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
941
|
+
puts "Error when calling DefaultApi->get_current_user_user_get: #{e}"
|
942
|
+
end
|
943
|
+
```
|
944
|
+
|
945
|
+
#### Using the get_current_user_user_get_with_http_info variant
|
946
|
+
|
947
|
+
This returns an Array which contains the response data, status code and headers.
|
948
|
+
|
949
|
+
> <Array(String, Integer, Hash)> get_current_user_user_get_with_http_info
|
950
|
+
|
951
|
+
```ruby
|
952
|
+
begin
|
953
|
+
# Get Current User
|
954
|
+
data, status_code, headers = api_instance.get_current_user_user_get_with_http_info
|
955
|
+
p status_code # => 2xx
|
956
|
+
p headers # => { ... }
|
957
|
+
p data # => String
|
958
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
959
|
+
puts "Error when calling DefaultApi->get_current_user_user_get_with_http_info: #{e}"
|
960
|
+
end
|
961
|
+
```
|
962
|
+
|
963
|
+
### Parameters
|
964
|
+
|
965
|
+
This endpoint does not need any parameter.
|
966
|
+
|
967
|
+
### Return type
|
968
|
+
|
969
|
+
**String**
|
970
|
+
|
971
|
+
### Authorization
|
972
|
+
|
973
|
+
No authorization required
|
974
|
+
|
975
|
+
### HTTP request headers
|
976
|
+
|
977
|
+
- **Content-Type**: Not defined
|
978
|
+
- **Accept**: application/json
|
979
|
+
|
980
|
+
|
981
|
+
## get_current_user_user_get_0
|
982
|
+
|
983
|
+
> String get_current_user_user_get_0
|
984
|
+
|
985
|
+
Get Current User
|
986
|
+
|
987
|
+
### Examples
|
988
|
+
|
989
|
+
```ruby
|
990
|
+
require 'time'
|
991
|
+
require 'SwaggerStableDiffusionWebui'
|
992
|
+
|
993
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
994
|
+
|
995
|
+
begin
|
996
|
+
# Get Current User
|
997
|
+
result = api_instance.get_current_user_user_get_0
|
998
|
+
p result
|
999
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1000
|
+
puts "Error when calling DefaultApi->get_current_user_user_get_0: #{e}"
|
1001
|
+
end
|
1002
|
+
```
|
1003
|
+
|
1004
|
+
#### Using the get_current_user_user_get_0_with_http_info variant
|
1005
|
+
|
1006
|
+
This returns an Array which contains the response data, status code and headers.
|
1007
|
+
|
1008
|
+
> <Array(String, Integer, Hash)> get_current_user_user_get_0_with_http_info
|
1009
|
+
|
1010
|
+
```ruby
|
1011
|
+
begin
|
1012
|
+
# Get Current User
|
1013
|
+
data, status_code, headers = api_instance.get_current_user_user_get_0_with_http_info
|
1014
|
+
p status_code # => 2xx
|
1015
|
+
p headers # => { ... }
|
1016
|
+
p data # => String
|
1017
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1018
|
+
puts "Error when calling DefaultApi->get_current_user_user_get_0_with_http_info: #{e}"
|
1019
|
+
end
|
1020
|
+
```
|
1021
|
+
|
1022
|
+
### Parameters
|
1023
|
+
|
1024
|
+
This endpoint does not need any parameter.
|
1025
|
+
|
1026
|
+
### Return type
|
1027
|
+
|
1028
|
+
**String**
|
1029
|
+
|
1030
|
+
### Authorization
|
1031
|
+
|
1032
|
+
No authorization required
|
1033
|
+
|
1034
|
+
### HTTP request headers
|
1035
|
+
|
1036
|
+
- **Content-Type**: Not defined
|
1037
|
+
- **Accept**: application/json
|
1038
|
+
|
1039
|
+
|
1040
|
+
## get_loras_sdapi_v1_loras_get
|
1041
|
+
|
1042
|
+
> Object get_loras_sdapi_v1_loras_get
|
1043
|
+
|
1044
|
+
Get Loras
|
1045
|
+
|
1046
|
+
### Examples
|
1047
|
+
|
1048
|
+
```ruby
|
1049
|
+
require 'time'
|
1050
|
+
require 'SwaggerStableDiffusionWebui'
|
1051
|
+
|
1052
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1053
|
+
|
1054
|
+
begin
|
1055
|
+
# Get Loras
|
1056
|
+
result = api_instance.get_loras_sdapi_v1_loras_get
|
1057
|
+
p result
|
1058
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1059
|
+
puts "Error when calling DefaultApi->get_loras_sdapi_v1_loras_get: #{e}"
|
1060
|
+
end
|
1061
|
+
```
|
1062
|
+
|
1063
|
+
#### Using the get_loras_sdapi_v1_loras_get_with_http_info variant
|
1064
|
+
|
1065
|
+
This returns an Array which contains the response data, status code and headers.
|
1066
|
+
|
1067
|
+
> <Array(Object, Integer, Hash)> get_loras_sdapi_v1_loras_get_with_http_info
|
1068
|
+
|
1069
|
+
```ruby
|
1070
|
+
begin
|
1071
|
+
# Get Loras
|
1072
|
+
data, status_code, headers = api_instance.get_loras_sdapi_v1_loras_get_with_http_info
|
1073
|
+
p status_code # => 2xx
|
1074
|
+
p headers # => { ... }
|
1075
|
+
p data # => Object
|
1076
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1077
|
+
puts "Error when calling DefaultApi->get_loras_sdapi_v1_loras_get_with_http_info: #{e}"
|
1078
|
+
end
|
1079
|
+
```
|
1080
|
+
|
1081
|
+
### Parameters
|
1082
|
+
|
1083
|
+
This endpoint does not need any parameter.
|
1084
|
+
|
1085
|
+
### Return type
|
1086
|
+
|
1087
|
+
**Object**
|
1088
|
+
|
1089
|
+
### Authorization
|
1090
|
+
|
1091
|
+
No authorization required
|
1092
|
+
|
1093
|
+
### HTTP request headers
|
1094
|
+
|
1095
|
+
- **Content-Type**: Not defined
|
1096
|
+
- **Accept**: application/json
|
1097
|
+
|
1098
|
+
|
1099
|
+
## get_metadata_sd_extra_networks_metadata_get
|
1100
|
+
|
1101
|
+
> Object get_metadata_sd_extra_networks_metadata_get(opts)
|
1102
|
+
|
1103
|
+
Get Metadata
|
1104
|
+
|
1105
|
+
### Examples
|
1106
|
+
|
1107
|
+
```ruby
|
1108
|
+
require 'time'
|
1109
|
+
require 'SwaggerStableDiffusionWebui'
|
1110
|
+
|
1111
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1112
|
+
opts = {
|
1113
|
+
page: 'page_example', # String |
|
1114
|
+
item: 'item_example' # String |
|
1115
|
+
}
|
1116
|
+
|
1117
|
+
begin
|
1118
|
+
# Get Metadata
|
1119
|
+
result = api_instance.get_metadata_sd_extra_networks_metadata_get(opts)
|
1120
|
+
p result
|
1121
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1122
|
+
puts "Error when calling DefaultApi->get_metadata_sd_extra_networks_metadata_get: #{e}"
|
1123
|
+
end
|
1124
|
+
```
|
1125
|
+
|
1126
|
+
#### Using the get_metadata_sd_extra_networks_metadata_get_with_http_info variant
|
1127
|
+
|
1128
|
+
This returns an Array which contains the response data, status code and headers.
|
1129
|
+
|
1130
|
+
> <Array(Object, Integer, Hash)> get_metadata_sd_extra_networks_metadata_get_with_http_info(opts)
|
1131
|
+
|
1132
|
+
```ruby
|
1133
|
+
begin
|
1134
|
+
# Get Metadata
|
1135
|
+
data, status_code, headers = api_instance.get_metadata_sd_extra_networks_metadata_get_with_http_info(opts)
|
1136
|
+
p status_code # => 2xx
|
1137
|
+
p headers # => { ... }
|
1138
|
+
p data # => Object
|
1139
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1140
|
+
puts "Error when calling DefaultApi->get_metadata_sd_extra_networks_metadata_get_with_http_info: #{e}"
|
1141
|
+
end
|
1142
|
+
```
|
1143
|
+
|
1144
|
+
### Parameters
|
1145
|
+
|
1146
|
+
| Name | Type | Description | Notes |
|
1147
|
+
| ---- | ---- | ----------- | ----- |
|
1148
|
+
| **page** | **String** | | [optional][default to ''] |
|
1149
|
+
| **item** | **String** | | [optional][default to ''] |
|
1150
|
+
|
1151
|
+
### Return type
|
1152
|
+
|
1153
|
+
**Object**
|
1154
|
+
|
1155
|
+
### Authorization
|
1156
|
+
|
1157
|
+
No authorization required
|
1158
|
+
|
1159
|
+
### HTTP request headers
|
1160
|
+
|
1161
|
+
- **Content-Type**: Not defined
|
1162
|
+
- **Accept**: application/json
|
1163
|
+
|
1164
|
+
|
1165
|
+
## get_queue_status_queue_status_get
|
1166
|
+
|
1167
|
+
> <Estimation> get_queue_status_queue_status_get
|
1168
|
+
|
1169
|
+
Get Queue Status
|
1170
|
+
|
1171
|
+
### Examples
|
1172
|
+
|
1173
|
+
```ruby
|
1174
|
+
require 'time'
|
1175
|
+
require 'SwaggerStableDiffusionWebui'
|
1176
|
+
|
1177
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1178
|
+
|
1179
|
+
begin
|
1180
|
+
# Get Queue Status
|
1181
|
+
result = api_instance.get_queue_status_queue_status_get
|
1182
|
+
p result
|
1183
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1184
|
+
puts "Error when calling DefaultApi->get_queue_status_queue_status_get: #{e}"
|
1185
|
+
end
|
1186
|
+
```
|
1187
|
+
|
1188
|
+
#### Using the get_queue_status_queue_status_get_with_http_info variant
|
1189
|
+
|
1190
|
+
This returns an Array which contains the response data, status code and headers.
|
1191
|
+
|
1192
|
+
> <Array(<Estimation>, Integer, Hash)> get_queue_status_queue_status_get_with_http_info
|
1193
|
+
|
1194
|
+
```ruby
|
1195
|
+
begin
|
1196
|
+
# Get Queue Status
|
1197
|
+
data, status_code, headers = api_instance.get_queue_status_queue_status_get_with_http_info
|
1198
|
+
p status_code # => 2xx
|
1199
|
+
p headers # => { ... }
|
1200
|
+
p data # => <Estimation>
|
1201
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1202
|
+
puts "Error when calling DefaultApi->get_queue_status_queue_status_get_with_http_info: #{e}"
|
1203
|
+
end
|
1204
|
+
```
|
1205
|
+
|
1206
|
+
### Parameters
|
1207
|
+
|
1208
|
+
This endpoint does not need any parameter.
|
1209
|
+
|
1210
|
+
### Return type
|
1211
|
+
|
1212
|
+
[**Estimation**](Estimation.md)
|
1213
|
+
|
1214
|
+
### Authorization
|
1215
|
+
|
1216
|
+
No authorization required
|
1217
|
+
|
1218
|
+
### HTTP request headers
|
1219
|
+
|
1220
|
+
- **Content-Type**: Not defined
|
1221
|
+
- **Accept**: application/json
|
1222
|
+
|
1223
|
+
|
1224
|
+
## get_token_token_get
|
1225
|
+
|
1226
|
+
> Object get_token_token_get
|
1227
|
+
|
1228
|
+
Get Token
|
1229
|
+
|
1230
|
+
### Examples
|
1231
|
+
|
1232
|
+
```ruby
|
1233
|
+
require 'time'
|
1234
|
+
require 'SwaggerStableDiffusionWebui'
|
1235
|
+
|
1236
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1237
|
+
|
1238
|
+
begin
|
1239
|
+
# Get Token
|
1240
|
+
result = api_instance.get_token_token_get
|
1241
|
+
p result
|
1242
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1243
|
+
puts "Error when calling DefaultApi->get_token_token_get: #{e}"
|
1244
|
+
end
|
1245
|
+
```
|
1246
|
+
|
1247
|
+
#### Using the get_token_token_get_with_http_info variant
|
1248
|
+
|
1249
|
+
This returns an Array which contains the response data, status code and headers.
|
1250
|
+
|
1251
|
+
> <Array(Object, Integer, Hash)> get_token_token_get_with_http_info
|
1252
|
+
|
1253
|
+
```ruby
|
1254
|
+
begin
|
1255
|
+
# Get Token
|
1256
|
+
data, status_code, headers = api_instance.get_token_token_get_with_http_info
|
1257
|
+
p status_code # => 2xx
|
1258
|
+
p headers # => { ... }
|
1259
|
+
p data # => Object
|
1260
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1261
|
+
puts "Error when calling DefaultApi->get_token_token_get_with_http_info: #{e}"
|
1262
|
+
end
|
1263
|
+
```
|
1264
|
+
|
1265
|
+
### Parameters
|
1266
|
+
|
1267
|
+
This endpoint does not need any parameter.
|
1268
|
+
|
1269
|
+
### Return type
|
1270
|
+
|
1271
|
+
**Object**
|
1272
|
+
|
1273
|
+
### Authorization
|
1274
|
+
|
1275
|
+
No authorization required
|
1276
|
+
|
1277
|
+
### HTTP request headers
|
1278
|
+
|
1279
|
+
- **Content-Type**: Not defined
|
1280
|
+
- **Accept**: application/json
|
1281
|
+
|
1282
|
+
|
1283
|
+
## get_token_token_get_0
|
1284
|
+
|
1285
|
+
> Object get_token_token_get_0
|
1286
|
+
|
1287
|
+
Get Token
|
1288
|
+
|
1289
|
+
### Examples
|
1290
|
+
|
1291
|
+
```ruby
|
1292
|
+
require 'time'
|
1293
|
+
require 'SwaggerStableDiffusionWebui'
|
1294
|
+
|
1295
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1296
|
+
|
1297
|
+
begin
|
1298
|
+
# Get Token
|
1299
|
+
result = api_instance.get_token_token_get_0
|
1300
|
+
p result
|
1301
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1302
|
+
puts "Error when calling DefaultApi->get_token_token_get_0: #{e}"
|
1303
|
+
end
|
1304
|
+
```
|
1305
|
+
|
1306
|
+
#### Using the get_token_token_get_0_with_http_info variant
|
1307
|
+
|
1308
|
+
This returns an Array which contains the response data, status code and headers.
|
1309
|
+
|
1310
|
+
> <Array(Object, Integer, Hash)> get_token_token_get_0_with_http_info
|
1311
|
+
|
1312
|
+
```ruby
|
1313
|
+
begin
|
1314
|
+
# Get Token
|
1315
|
+
data, status_code, headers = api_instance.get_token_token_get_0_with_http_info
|
1316
|
+
p status_code # => 2xx
|
1317
|
+
p headers # => { ... }
|
1318
|
+
p data # => Object
|
1319
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1320
|
+
puts "Error when calling DefaultApi->get_token_token_get_0_with_http_info: #{e}"
|
1321
|
+
end
|
1322
|
+
```
|
1323
|
+
|
1324
|
+
### Parameters
|
1325
|
+
|
1326
|
+
This endpoint does not need any parameter.
|
1327
|
+
|
1328
|
+
### Return type
|
1329
|
+
|
1330
|
+
**Object**
|
1331
|
+
|
1332
|
+
### Authorization
|
1333
|
+
|
1334
|
+
No authorization required
|
1335
|
+
|
1336
|
+
### HTTP request headers
|
1337
|
+
|
1338
|
+
- **Content-Type**: Not defined
|
1339
|
+
- **Accept**: application/json
|
1340
|
+
|
1341
|
+
|
1342
|
+
## lambda_internal_ping_get
|
1343
|
+
|
1344
|
+
> Object lambda_internal_ping_get
|
1345
|
+
|
1346
|
+
<Lambda>
|
1347
|
+
|
1348
|
+
### Examples
|
1349
|
+
|
1350
|
+
```ruby
|
1351
|
+
require 'time'
|
1352
|
+
require 'SwaggerStableDiffusionWebui'
|
1353
|
+
|
1354
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1355
|
+
|
1356
|
+
begin
|
1357
|
+
# <Lambda>
|
1358
|
+
result = api_instance.lambda_internal_ping_get
|
1359
|
+
p result
|
1360
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1361
|
+
puts "Error when calling DefaultApi->lambda_internal_ping_get: #{e}"
|
1362
|
+
end
|
1363
|
+
```
|
1364
|
+
|
1365
|
+
#### Using the lambda_internal_ping_get_with_http_info variant
|
1366
|
+
|
1367
|
+
This returns an Array which contains the response data, status code and headers.
|
1368
|
+
|
1369
|
+
> <Array(Object, Integer, Hash)> lambda_internal_ping_get_with_http_info
|
1370
|
+
|
1371
|
+
```ruby
|
1372
|
+
begin
|
1373
|
+
# <Lambda>
|
1374
|
+
data, status_code, headers = api_instance.lambda_internal_ping_get_with_http_info
|
1375
|
+
p status_code # => 2xx
|
1376
|
+
p headers # => { ... }
|
1377
|
+
p data # => Object
|
1378
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1379
|
+
puts "Error when calling DefaultApi->lambda_internal_ping_get_with_http_info: #{e}"
|
1380
|
+
end
|
1381
|
+
```
|
1382
|
+
|
1383
|
+
### Parameters
|
1384
|
+
|
1385
|
+
This endpoint does not need any parameter.
|
1386
|
+
|
1387
|
+
### Return type
|
1388
|
+
|
1389
|
+
**Object**
|
1390
|
+
|
1391
|
+
### Authorization
|
1392
|
+
|
1393
|
+
No authorization required
|
1394
|
+
|
1395
|
+
### HTTP request headers
|
1396
|
+
|
1397
|
+
- **Content-Type**: Not defined
|
1398
|
+
- **Accept**: application/json
|
1399
|
+
|
1400
|
+
|
1401
|
+
## lambda_internal_profile_startup_get
|
1402
|
+
|
1403
|
+
> Object lambda_internal_profile_startup_get
|
1404
|
+
|
1405
|
+
<Lambda>
|
1406
|
+
|
1407
|
+
### Examples
|
1408
|
+
|
1409
|
+
```ruby
|
1410
|
+
require 'time'
|
1411
|
+
require 'SwaggerStableDiffusionWebui'
|
1412
|
+
|
1413
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1414
|
+
|
1415
|
+
begin
|
1416
|
+
# <Lambda>
|
1417
|
+
result = api_instance.lambda_internal_profile_startup_get
|
1418
|
+
p result
|
1419
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1420
|
+
puts "Error when calling DefaultApi->lambda_internal_profile_startup_get: #{e}"
|
1421
|
+
end
|
1422
|
+
```
|
1423
|
+
|
1424
|
+
#### Using the lambda_internal_profile_startup_get_with_http_info variant
|
1425
|
+
|
1426
|
+
This returns an Array which contains the response data, status code and headers.
|
1427
|
+
|
1428
|
+
> <Array(Object, Integer, Hash)> lambda_internal_profile_startup_get_with_http_info
|
1429
|
+
|
1430
|
+
```ruby
|
1431
|
+
begin
|
1432
|
+
# <Lambda>
|
1433
|
+
data, status_code, headers = api_instance.lambda_internal_profile_startup_get_with_http_info
|
1434
|
+
p status_code # => 2xx
|
1435
|
+
p headers # => { ... }
|
1436
|
+
p data # => Object
|
1437
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1438
|
+
puts "Error when calling DefaultApi->lambda_internal_profile_startup_get_with_http_info: #{e}"
|
1439
|
+
end
|
1440
|
+
```
|
1441
|
+
|
1442
|
+
### Parameters
|
1443
|
+
|
1444
|
+
This endpoint does not need any parameter.
|
1445
|
+
|
1446
|
+
### Return type
|
1447
|
+
|
1448
|
+
**Object**
|
1449
|
+
|
1450
|
+
### Authorization
|
1451
|
+
|
1452
|
+
No authorization required
|
1453
|
+
|
1454
|
+
### HTTP request headers
|
1455
|
+
|
1456
|
+
- **Content-Type**: Not defined
|
1457
|
+
- **Accept**: application/json
|
1458
|
+
|
1459
|
+
|
1460
|
+
## lambda_internal_sysinfo_download_get
|
1461
|
+
|
1462
|
+
> Object lambda_internal_sysinfo_download_get
|
1463
|
+
|
1464
|
+
<Lambda>
|
1465
|
+
|
1466
|
+
### Examples
|
1467
|
+
|
1468
|
+
```ruby
|
1469
|
+
require 'time'
|
1470
|
+
require 'SwaggerStableDiffusionWebui'
|
1471
|
+
|
1472
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1473
|
+
|
1474
|
+
begin
|
1475
|
+
# <Lambda>
|
1476
|
+
result = api_instance.lambda_internal_sysinfo_download_get
|
1477
|
+
p result
|
1478
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1479
|
+
puts "Error when calling DefaultApi->lambda_internal_sysinfo_download_get: #{e}"
|
1480
|
+
end
|
1481
|
+
```
|
1482
|
+
|
1483
|
+
#### Using the lambda_internal_sysinfo_download_get_with_http_info variant
|
1484
|
+
|
1485
|
+
This returns an Array which contains the response data, status code and headers.
|
1486
|
+
|
1487
|
+
> <Array(Object, Integer, Hash)> lambda_internal_sysinfo_download_get_with_http_info
|
1488
|
+
|
1489
|
+
```ruby
|
1490
|
+
begin
|
1491
|
+
# <Lambda>
|
1492
|
+
data, status_code, headers = api_instance.lambda_internal_sysinfo_download_get_with_http_info
|
1493
|
+
p status_code # => 2xx
|
1494
|
+
p headers # => { ... }
|
1495
|
+
p data # => Object
|
1496
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1497
|
+
puts "Error when calling DefaultApi->lambda_internal_sysinfo_download_get_with_http_info: #{e}"
|
1498
|
+
end
|
1499
|
+
```
|
1500
|
+
|
1501
|
+
### Parameters
|
1502
|
+
|
1503
|
+
This endpoint does not need any parameter.
|
1504
|
+
|
1505
|
+
### Return type
|
1506
|
+
|
1507
|
+
**Object**
|
1508
|
+
|
1509
|
+
### Authorization
|
1510
|
+
|
1511
|
+
No authorization required
|
1512
|
+
|
1513
|
+
### HTTP request headers
|
1514
|
+
|
1515
|
+
- **Content-Type**: Not defined
|
1516
|
+
- **Accept**: application/json
|
1517
|
+
|
1518
|
+
|
1519
|
+
## login_check_login_check_get
|
1520
|
+
|
1521
|
+
> Object login_check_login_check_get
|
1522
|
+
|
1523
|
+
Login Check
|
1524
|
+
|
1525
|
+
### Examples
|
1526
|
+
|
1527
|
+
```ruby
|
1528
|
+
require 'time'
|
1529
|
+
require 'SwaggerStableDiffusionWebui'
|
1530
|
+
|
1531
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1532
|
+
|
1533
|
+
begin
|
1534
|
+
# Login Check
|
1535
|
+
result = api_instance.login_check_login_check_get
|
1536
|
+
p result
|
1537
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1538
|
+
puts "Error when calling DefaultApi->login_check_login_check_get: #{e}"
|
1539
|
+
end
|
1540
|
+
```
|
1541
|
+
|
1542
|
+
#### Using the login_check_login_check_get_with_http_info variant
|
1543
|
+
|
1544
|
+
This returns an Array which contains the response data, status code and headers.
|
1545
|
+
|
1546
|
+
> <Array(Object, Integer, Hash)> login_check_login_check_get_with_http_info
|
1547
|
+
|
1548
|
+
```ruby
|
1549
|
+
begin
|
1550
|
+
# Login Check
|
1551
|
+
data, status_code, headers = api_instance.login_check_login_check_get_with_http_info
|
1552
|
+
p status_code # => 2xx
|
1553
|
+
p headers # => { ... }
|
1554
|
+
p data # => Object
|
1555
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1556
|
+
puts "Error when calling DefaultApi->login_check_login_check_get_with_http_info: #{e}"
|
1557
|
+
end
|
1558
|
+
```
|
1559
|
+
|
1560
|
+
### Parameters
|
1561
|
+
|
1562
|
+
This endpoint does not need any parameter.
|
1563
|
+
|
1564
|
+
### Return type
|
1565
|
+
|
1566
|
+
**Object**
|
1567
|
+
|
1568
|
+
### Authorization
|
1569
|
+
|
1570
|
+
No authorization required
|
1571
|
+
|
1572
|
+
### HTTP request headers
|
1573
|
+
|
1574
|
+
- **Content-Type**: Not defined
|
1575
|
+
- **Accept**: application/json
|
1576
|
+
|
1577
|
+
|
1578
|
+
## login_check_login_check_get_0
|
1579
|
+
|
1580
|
+
> Object login_check_login_check_get_0
|
1581
|
+
|
1582
|
+
Login Check
|
1583
|
+
|
1584
|
+
### Examples
|
1585
|
+
|
1586
|
+
```ruby
|
1587
|
+
require 'time'
|
1588
|
+
require 'SwaggerStableDiffusionWebui'
|
1589
|
+
|
1590
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1591
|
+
|
1592
|
+
begin
|
1593
|
+
# Login Check
|
1594
|
+
result = api_instance.login_check_login_check_get_0
|
1595
|
+
p result
|
1596
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1597
|
+
puts "Error when calling DefaultApi->login_check_login_check_get_0: #{e}"
|
1598
|
+
end
|
1599
|
+
```
|
1600
|
+
|
1601
|
+
#### Using the login_check_login_check_get_0_with_http_info variant
|
1602
|
+
|
1603
|
+
This returns an Array which contains the response data, status code and headers.
|
1604
|
+
|
1605
|
+
> <Array(Object, Integer, Hash)> login_check_login_check_get_0_with_http_info
|
1606
|
+
|
1607
|
+
```ruby
|
1608
|
+
begin
|
1609
|
+
# Login Check
|
1610
|
+
data, status_code, headers = api_instance.login_check_login_check_get_0_with_http_info
|
1611
|
+
p status_code # => 2xx
|
1612
|
+
p headers # => { ... }
|
1613
|
+
p data # => Object
|
1614
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1615
|
+
puts "Error when calling DefaultApi->login_check_login_check_get_0_with_http_info: #{e}"
|
1616
|
+
end
|
1617
|
+
```
|
1618
|
+
|
1619
|
+
### Parameters
|
1620
|
+
|
1621
|
+
This endpoint does not need any parameter.
|
1622
|
+
|
1623
|
+
### Return type
|
1624
|
+
|
1625
|
+
**Object**
|
1626
|
+
|
1627
|
+
### Authorization
|
1628
|
+
|
1629
|
+
No authorization required
|
1630
|
+
|
1631
|
+
### HTTP request headers
|
1632
|
+
|
1633
|
+
- **Content-Type**: Not defined
|
1634
|
+
- **Accept**: application/json
|
1635
|
+
|
1636
|
+
|
1637
|
+
## login_login_post
|
1638
|
+
|
1639
|
+
> Object login_login_post(username, password, opts)
|
1640
|
+
|
1641
|
+
Login
|
1642
|
+
|
1643
|
+
### Examples
|
1644
|
+
|
1645
|
+
```ruby
|
1646
|
+
require 'time'
|
1647
|
+
require 'SwaggerStableDiffusionWebui'
|
1648
|
+
|
1649
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1650
|
+
username = 'username_example' # String |
|
1651
|
+
password = 'password_example' # String |
|
1652
|
+
opts = {
|
1653
|
+
grant_type: 'grant_type_example', # String |
|
1654
|
+
scope: 'scope_example', # String |
|
1655
|
+
client_id: 'client_id_example', # String |
|
1656
|
+
client_secret: 'client_secret_example' # String |
|
1657
|
+
}
|
1658
|
+
|
1659
|
+
begin
|
1660
|
+
# Login
|
1661
|
+
result = api_instance.login_login_post(username, password, opts)
|
1662
|
+
p result
|
1663
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1664
|
+
puts "Error when calling DefaultApi->login_login_post: #{e}"
|
1665
|
+
end
|
1666
|
+
```
|
1667
|
+
|
1668
|
+
#### Using the login_login_post_with_http_info variant
|
1669
|
+
|
1670
|
+
This returns an Array which contains the response data, status code and headers.
|
1671
|
+
|
1672
|
+
> <Array(Object, Integer, Hash)> login_login_post_with_http_info(username, password, opts)
|
1673
|
+
|
1674
|
+
```ruby
|
1675
|
+
begin
|
1676
|
+
# Login
|
1677
|
+
data, status_code, headers = api_instance.login_login_post_with_http_info(username, password, opts)
|
1678
|
+
p status_code # => 2xx
|
1679
|
+
p headers # => { ... }
|
1680
|
+
p data # => Object
|
1681
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1682
|
+
puts "Error when calling DefaultApi->login_login_post_with_http_info: #{e}"
|
1683
|
+
end
|
1684
|
+
```
|
1685
|
+
|
1686
|
+
### Parameters
|
1687
|
+
|
1688
|
+
| Name | Type | Description | Notes |
|
1689
|
+
| ---- | ---- | ----------- | ----- |
|
1690
|
+
| **username** | **String** | | |
|
1691
|
+
| **password** | **String** | | |
|
1692
|
+
| **grant_type** | **String** | | [optional] |
|
1693
|
+
| **scope** | **String** | | [optional][default to ''] |
|
1694
|
+
| **client_id** | **String** | | [optional] |
|
1695
|
+
| **client_secret** | **String** | | [optional] |
|
1696
|
+
|
1697
|
+
### Return type
|
1698
|
+
|
1699
|
+
**Object**
|
1700
|
+
|
1701
|
+
### Authorization
|
1702
|
+
|
1703
|
+
No authorization required
|
1704
|
+
|
1705
|
+
### HTTP request headers
|
1706
|
+
|
1707
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
1708
|
+
- **Accept**: application/json
|
1709
|
+
|
1710
|
+
|
1711
|
+
## login_login_post_0
|
1712
|
+
|
1713
|
+
> Object login_login_post_0(username, password, opts)
|
1714
|
+
|
1715
|
+
Login
|
1716
|
+
|
1717
|
+
### Examples
|
1718
|
+
|
1719
|
+
```ruby
|
1720
|
+
require 'time'
|
1721
|
+
require 'SwaggerStableDiffusionWebui'
|
1722
|
+
|
1723
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1724
|
+
username = 'username_example' # String |
|
1725
|
+
password = 'password_example' # String |
|
1726
|
+
opts = {
|
1727
|
+
grant_type: 'grant_type_example', # String |
|
1728
|
+
scope: 'scope_example', # String |
|
1729
|
+
client_id: 'client_id_example', # String |
|
1730
|
+
client_secret: 'client_secret_example' # String |
|
1731
|
+
}
|
1732
|
+
|
1733
|
+
begin
|
1734
|
+
# Login
|
1735
|
+
result = api_instance.login_login_post_0(username, password, opts)
|
1736
|
+
p result
|
1737
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1738
|
+
puts "Error when calling DefaultApi->login_login_post_0: #{e}"
|
1739
|
+
end
|
1740
|
+
```
|
1741
|
+
|
1742
|
+
#### Using the login_login_post_0_with_http_info variant
|
1743
|
+
|
1744
|
+
This returns an Array which contains the response data, status code and headers.
|
1745
|
+
|
1746
|
+
> <Array(Object, Integer, Hash)> login_login_post_0_with_http_info(username, password, opts)
|
1747
|
+
|
1748
|
+
```ruby
|
1749
|
+
begin
|
1750
|
+
# Login
|
1751
|
+
data, status_code, headers = api_instance.login_login_post_0_with_http_info(username, password, opts)
|
1752
|
+
p status_code # => 2xx
|
1753
|
+
p headers # => { ... }
|
1754
|
+
p data # => Object
|
1755
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1756
|
+
puts "Error when calling DefaultApi->login_login_post_0_with_http_info: #{e}"
|
1757
|
+
end
|
1758
|
+
```
|
1759
|
+
|
1760
|
+
### Parameters
|
1761
|
+
|
1762
|
+
| Name | Type | Description | Notes |
|
1763
|
+
| ---- | ---- | ----------- | ----- |
|
1764
|
+
| **username** | **String** | | |
|
1765
|
+
| **password** | **String** | | |
|
1766
|
+
| **grant_type** | **String** | | [optional] |
|
1767
|
+
| **scope** | **String** | | [optional][default to ''] |
|
1768
|
+
| **client_id** | **String** | | [optional] |
|
1769
|
+
| **client_secret** | **String** | | [optional] |
|
1770
|
+
|
1771
|
+
### Return type
|
1772
|
+
|
1773
|
+
**Object**
|
1774
|
+
|
1775
|
+
### Authorization
|
1776
|
+
|
1777
|
+
No authorization required
|
1778
|
+
|
1779
|
+
### HTTP request headers
|
1780
|
+
|
1781
|
+
- **Content-Type**: application/x-www-form-urlencoded
|
1782
|
+
- **Accept**: application/json
|
1783
|
+
|
1784
|
+
|
1785
|
+
## main_get
|
1786
|
+
|
1787
|
+
> String main_get
|
1788
|
+
|
1789
|
+
Main
|
1790
|
+
|
1791
|
+
### Examples
|
1792
|
+
|
1793
|
+
```ruby
|
1794
|
+
require 'time'
|
1795
|
+
require 'SwaggerStableDiffusionWebui'
|
1796
|
+
|
1797
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1798
|
+
|
1799
|
+
begin
|
1800
|
+
# Main
|
1801
|
+
result = api_instance.main_get
|
1802
|
+
p result
|
1803
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1804
|
+
puts "Error when calling DefaultApi->main_get: #{e}"
|
1805
|
+
end
|
1806
|
+
```
|
1807
|
+
|
1808
|
+
#### Using the main_get_with_http_info variant
|
1809
|
+
|
1810
|
+
This returns an Array which contains the response data, status code and headers.
|
1811
|
+
|
1812
|
+
> <Array(String, Integer, Hash)> main_get_with_http_info
|
1813
|
+
|
1814
|
+
```ruby
|
1815
|
+
begin
|
1816
|
+
# Main
|
1817
|
+
data, status_code, headers = api_instance.main_get_with_http_info
|
1818
|
+
p status_code # => 2xx
|
1819
|
+
p headers # => { ... }
|
1820
|
+
p data # => String
|
1821
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1822
|
+
puts "Error when calling DefaultApi->main_get_with_http_info: #{e}"
|
1823
|
+
end
|
1824
|
+
```
|
1825
|
+
|
1826
|
+
### Parameters
|
1827
|
+
|
1828
|
+
This endpoint does not need any parameter.
|
1829
|
+
|
1830
|
+
### Return type
|
1831
|
+
|
1832
|
+
**String**
|
1833
|
+
|
1834
|
+
### Authorization
|
1835
|
+
|
1836
|
+
No authorization required
|
1837
|
+
|
1838
|
+
### HTTP request headers
|
1839
|
+
|
1840
|
+
- **Content-Type**: Not defined
|
1841
|
+
- **Accept**: text/html
|
1842
|
+
|
1843
|
+
|
1844
|
+
## main_head
|
1845
|
+
|
1846
|
+
> String main_head
|
1847
|
+
|
1848
|
+
Main
|
1849
|
+
|
1850
|
+
### Examples
|
1851
|
+
|
1852
|
+
```ruby
|
1853
|
+
require 'time'
|
1854
|
+
require 'SwaggerStableDiffusionWebui'
|
1855
|
+
|
1856
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1857
|
+
|
1858
|
+
begin
|
1859
|
+
# Main
|
1860
|
+
result = api_instance.main_head
|
1861
|
+
p result
|
1862
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1863
|
+
puts "Error when calling DefaultApi->main_head: #{e}"
|
1864
|
+
end
|
1865
|
+
```
|
1866
|
+
|
1867
|
+
#### Using the main_head_with_http_info variant
|
1868
|
+
|
1869
|
+
This returns an Array which contains the response data, status code and headers.
|
1870
|
+
|
1871
|
+
> <Array(String, Integer, Hash)> main_head_with_http_info
|
1872
|
+
|
1873
|
+
```ruby
|
1874
|
+
begin
|
1875
|
+
# Main
|
1876
|
+
data, status_code, headers = api_instance.main_head_with_http_info
|
1877
|
+
p status_code # => 2xx
|
1878
|
+
p headers # => { ... }
|
1879
|
+
p data # => String
|
1880
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1881
|
+
puts "Error when calling DefaultApi->main_head_with_http_info: #{e}"
|
1882
|
+
end
|
1883
|
+
```
|
1884
|
+
|
1885
|
+
### Parameters
|
1886
|
+
|
1887
|
+
This endpoint does not need any parameter.
|
1888
|
+
|
1889
|
+
### Return type
|
1890
|
+
|
1891
|
+
**String**
|
1892
|
+
|
1893
|
+
### Authorization
|
1894
|
+
|
1895
|
+
No authorization required
|
1896
|
+
|
1897
|
+
### HTTP request headers
|
1898
|
+
|
1899
|
+
- **Content-Type**: Not defined
|
1900
|
+
- **Accept**: text/html
|
1901
|
+
|
1902
|
+
|
1903
|
+
## model_list_controlnet_model_list_get
|
1904
|
+
|
1905
|
+
> Object model_list_controlnet_model_list_get
|
1906
|
+
|
1907
|
+
Model List
|
1908
|
+
|
1909
|
+
### Examples
|
1910
|
+
|
1911
|
+
```ruby
|
1912
|
+
require 'time'
|
1913
|
+
require 'SwaggerStableDiffusionWebui'
|
1914
|
+
|
1915
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1916
|
+
|
1917
|
+
begin
|
1918
|
+
# Model List
|
1919
|
+
result = api_instance.model_list_controlnet_model_list_get
|
1920
|
+
p result
|
1921
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1922
|
+
puts "Error when calling DefaultApi->model_list_controlnet_model_list_get: #{e}"
|
1923
|
+
end
|
1924
|
+
```
|
1925
|
+
|
1926
|
+
#### Using the model_list_controlnet_model_list_get_with_http_info variant
|
1927
|
+
|
1928
|
+
This returns an Array which contains the response data, status code and headers.
|
1929
|
+
|
1930
|
+
> <Array(Object, Integer, Hash)> model_list_controlnet_model_list_get_with_http_info
|
1931
|
+
|
1932
|
+
```ruby
|
1933
|
+
begin
|
1934
|
+
# Model List
|
1935
|
+
data, status_code, headers = api_instance.model_list_controlnet_model_list_get_with_http_info
|
1936
|
+
p status_code # => 2xx
|
1937
|
+
p headers # => { ... }
|
1938
|
+
p data # => Object
|
1939
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1940
|
+
puts "Error when calling DefaultApi->model_list_controlnet_model_list_get_with_http_info: #{e}"
|
1941
|
+
end
|
1942
|
+
```
|
1943
|
+
|
1944
|
+
### Parameters
|
1945
|
+
|
1946
|
+
This endpoint does not need any parameter.
|
1947
|
+
|
1948
|
+
### Return type
|
1949
|
+
|
1950
|
+
**Object**
|
1951
|
+
|
1952
|
+
### Authorization
|
1953
|
+
|
1954
|
+
No authorization required
|
1955
|
+
|
1956
|
+
### HTTP request headers
|
1957
|
+
|
1958
|
+
- **Content-Type**: Not defined
|
1959
|
+
- **Accept**: application/json
|
1960
|
+
|
1961
|
+
|
1962
|
+
## module_list_controlnet_module_list_get
|
1963
|
+
|
1964
|
+
> Object module_list_controlnet_module_list_get(opts)
|
1965
|
+
|
1966
|
+
Module List
|
1967
|
+
|
1968
|
+
### Examples
|
1969
|
+
|
1970
|
+
```ruby
|
1971
|
+
require 'time'
|
1972
|
+
require 'SwaggerStableDiffusionWebui'
|
1973
|
+
|
1974
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
1975
|
+
opts = {
|
1976
|
+
alias_names: true # Boolean |
|
1977
|
+
}
|
1978
|
+
|
1979
|
+
begin
|
1980
|
+
# Module List
|
1981
|
+
result = api_instance.module_list_controlnet_module_list_get(opts)
|
1982
|
+
p result
|
1983
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
1984
|
+
puts "Error when calling DefaultApi->module_list_controlnet_module_list_get: #{e}"
|
1985
|
+
end
|
1986
|
+
```
|
1987
|
+
|
1988
|
+
#### Using the module_list_controlnet_module_list_get_with_http_info variant
|
1989
|
+
|
1990
|
+
This returns an Array which contains the response data, status code and headers.
|
1991
|
+
|
1992
|
+
> <Array(Object, Integer, Hash)> module_list_controlnet_module_list_get_with_http_info(opts)
|
1993
|
+
|
1994
|
+
```ruby
|
1995
|
+
begin
|
1996
|
+
# Module List
|
1997
|
+
data, status_code, headers = api_instance.module_list_controlnet_module_list_get_with_http_info(opts)
|
1998
|
+
p status_code # => 2xx
|
1999
|
+
p headers # => { ... }
|
2000
|
+
p data # => Object
|
2001
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2002
|
+
puts "Error when calling DefaultApi->module_list_controlnet_module_list_get_with_http_info: #{e}"
|
2003
|
+
end
|
2004
|
+
```
|
2005
|
+
|
2006
|
+
### Parameters
|
2007
|
+
|
2008
|
+
| Name | Type | Description | Notes |
|
2009
|
+
| ---- | ---- | ----------- | ----- |
|
2010
|
+
| **alias_names** | **Boolean** | | [optional][default to false] |
|
2011
|
+
|
2012
|
+
### Return type
|
2013
|
+
|
2014
|
+
**Object**
|
2015
|
+
|
2016
|
+
### Authorization
|
2017
|
+
|
2018
|
+
No authorization required
|
2019
|
+
|
2020
|
+
### HTTP request headers
|
2021
|
+
|
2022
|
+
- **Content-Type**: Not defined
|
2023
|
+
- **Accept**: application/json
|
2024
|
+
|
2025
|
+
|
2026
|
+
## predict_api_api_name_post
|
2027
|
+
|
2028
|
+
> Object predict_api_api_name_post(api_name, predict_body)
|
2029
|
+
|
2030
|
+
Predict
|
2031
|
+
|
2032
|
+
### Examples
|
2033
|
+
|
2034
|
+
```ruby
|
2035
|
+
require 'time'
|
2036
|
+
require 'SwaggerStableDiffusionWebui'
|
2037
|
+
|
2038
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2039
|
+
api_name = 'api_name_example' # String |
|
2040
|
+
predict_body = SwaggerStableDiffusionWebui::PredictBody.new({data: [3.56]}) # PredictBody |
|
2041
|
+
|
2042
|
+
begin
|
2043
|
+
# Predict
|
2044
|
+
result = api_instance.predict_api_api_name_post(api_name, predict_body)
|
2045
|
+
p result
|
2046
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2047
|
+
puts "Error when calling DefaultApi->predict_api_api_name_post: #{e}"
|
2048
|
+
end
|
2049
|
+
```
|
2050
|
+
|
2051
|
+
#### Using the predict_api_api_name_post_with_http_info variant
|
2052
|
+
|
2053
|
+
This returns an Array which contains the response data, status code and headers.
|
2054
|
+
|
2055
|
+
> <Array(Object, Integer, Hash)> predict_api_api_name_post_with_http_info(api_name, predict_body)
|
2056
|
+
|
2057
|
+
```ruby
|
2058
|
+
begin
|
2059
|
+
# Predict
|
2060
|
+
data, status_code, headers = api_instance.predict_api_api_name_post_with_http_info(api_name, predict_body)
|
2061
|
+
p status_code # => 2xx
|
2062
|
+
p headers # => { ... }
|
2063
|
+
p data # => Object
|
2064
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2065
|
+
puts "Error when calling DefaultApi->predict_api_api_name_post_with_http_info: #{e}"
|
2066
|
+
end
|
2067
|
+
```
|
2068
|
+
|
2069
|
+
### Parameters
|
2070
|
+
|
2071
|
+
| Name | Type | Description | Notes |
|
2072
|
+
| ---- | ---- | ----------- | ----- |
|
2073
|
+
| **api_name** | **String** | | |
|
2074
|
+
| **predict_body** | [**PredictBody**](PredictBody.md) | | |
|
2075
|
+
|
2076
|
+
### Return type
|
2077
|
+
|
2078
|
+
**Object**
|
2079
|
+
|
2080
|
+
### Authorization
|
2081
|
+
|
2082
|
+
No authorization required
|
2083
|
+
|
2084
|
+
### HTTP request headers
|
2085
|
+
|
2086
|
+
- **Content-Type**: application/json
|
2087
|
+
- **Accept**: application/json
|
2088
|
+
|
2089
|
+
|
2090
|
+
## predict_api_api_name_post_0
|
2091
|
+
|
2092
|
+
> Object predict_api_api_name_post_0(api_name, predict_body)
|
2093
|
+
|
2094
|
+
Predict
|
2095
|
+
|
2096
|
+
### Examples
|
2097
|
+
|
2098
|
+
```ruby
|
2099
|
+
require 'time'
|
2100
|
+
require 'SwaggerStableDiffusionWebui'
|
2101
|
+
|
2102
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2103
|
+
api_name = 'api_name_example' # String |
|
2104
|
+
predict_body = SwaggerStableDiffusionWebui::PredictBody.new({data: [3.56]}) # PredictBody |
|
2105
|
+
|
2106
|
+
begin
|
2107
|
+
# Predict
|
2108
|
+
result = api_instance.predict_api_api_name_post_0(api_name, predict_body)
|
2109
|
+
p result
|
2110
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2111
|
+
puts "Error when calling DefaultApi->predict_api_api_name_post_0: #{e}"
|
2112
|
+
end
|
2113
|
+
```
|
2114
|
+
|
2115
|
+
#### Using the predict_api_api_name_post_0_with_http_info variant
|
2116
|
+
|
2117
|
+
This returns an Array which contains the response data, status code and headers.
|
2118
|
+
|
2119
|
+
> <Array(Object, Integer, Hash)> predict_api_api_name_post_0_with_http_info(api_name, predict_body)
|
2120
|
+
|
2121
|
+
```ruby
|
2122
|
+
begin
|
2123
|
+
# Predict
|
2124
|
+
data, status_code, headers = api_instance.predict_api_api_name_post_0_with_http_info(api_name, predict_body)
|
2125
|
+
p status_code # => 2xx
|
2126
|
+
p headers # => { ... }
|
2127
|
+
p data # => Object
|
2128
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2129
|
+
puts "Error when calling DefaultApi->predict_api_api_name_post_0_with_http_info: #{e}"
|
2130
|
+
end
|
2131
|
+
```
|
2132
|
+
|
2133
|
+
### Parameters
|
2134
|
+
|
2135
|
+
| Name | Type | Description | Notes |
|
2136
|
+
| ---- | ---- | ----------- | ----- |
|
2137
|
+
| **api_name** | **String** | | |
|
2138
|
+
| **predict_body** | [**PredictBody**](PredictBody.md) | | |
|
2139
|
+
|
2140
|
+
### Return type
|
2141
|
+
|
2142
|
+
**Object**
|
2143
|
+
|
2144
|
+
### Authorization
|
2145
|
+
|
2146
|
+
No authorization required
|
2147
|
+
|
2148
|
+
### HTTP request headers
|
2149
|
+
|
2150
|
+
- **Content-Type**: application/json
|
2151
|
+
- **Accept**: application/json
|
2152
|
+
|
2153
|
+
|
2154
|
+
## predict_run_api_name_post
|
2155
|
+
|
2156
|
+
> Object predict_run_api_name_post(api_name, predict_body)
|
2157
|
+
|
2158
|
+
Predict
|
2159
|
+
|
2160
|
+
### Examples
|
2161
|
+
|
2162
|
+
```ruby
|
2163
|
+
require 'time'
|
2164
|
+
require 'SwaggerStableDiffusionWebui'
|
2165
|
+
|
2166
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2167
|
+
api_name = 'api_name_example' # String |
|
2168
|
+
predict_body = SwaggerStableDiffusionWebui::PredictBody.new({data: [3.56]}) # PredictBody |
|
2169
|
+
|
2170
|
+
begin
|
2171
|
+
# Predict
|
2172
|
+
result = api_instance.predict_run_api_name_post(api_name, predict_body)
|
2173
|
+
p result
|
2174
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2175
|
+
puts "Error when calling DefaultApi->predict_run_api_name_post: #{e}"
|
2176
|
+
end
|
2177
|
+
```
|
2178
|
+
|
2179
|
+
#### Using the predict_run_api_name_post_with_http_info variant
|
2180
|
+
|
2181
|
+
This returns an Array which contains the response data, status code and headers.
|
2182
|
+
|
2183
|
+
> <Array(Object, Integer, Hash)> predict_run_api_name_post_with_http_info(api_name, predict_body)
|
2184
|
+
|
2185
|
+
```ruby
|
2186
|
+
begin
|
2187
|
+
# Predict
|
2188
|
+
data, status_code, headers = api_instance.predict_run_api_name_post_with_http_info(api_name, predict_body)
|
2189
|
+
p status_code # => 2xx
|
2190
|
+
p headers # => { ... }
|
2191
|
+
p data # => Object
|
2192
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2193
|
+
puts "Error when calling DefaultApi->predict_run_api_name_post_with_http_info: #{e}"
|
2194
|
+
end
|
2195
|
+
```
|
2196
|
+
|
2197
|
+
### Parameters
|
2198
|
+
|
2199
|
+
| Name | Type | Description | Notes |
|
2200
|
+
| ---- | ---- | ----------- | ----- |
|
2201
|
+
| **api_name** | **String** | | |
|
2202
|
+
| **predict_body** | [**PredictBody**](PredictBody.md) | | |
|
2203
|
+
|
2204
|
+
### Return type
|
2205
|
+
|
2206
|
+
**Object**
|
2207
|
+
|
2208
|
+
### Authorization
|
2209
|
+
|
2210
|
+
No authorization required
|
2211
|
+
|
2212
|
+
### HTTP request headers
|
2213
|
+
|
2214
|
+
- **Content-Type**: application/json
|
2215
|
+
- **Accept**: application/json
|
2216
|
+
|
2217
|
+
|
2218
|
+
## predict_run_api_name_post_0
|
2219
|
+
|
2220
|
+
> Object predict_run_api_name_post_0(api_name, predict_body)
|
2221
|
+
|
2222
|
+
Predict
|
2223
|
+
|
2224
|
+
### Examples
|
2225
|
+
|
2226
|
+
```ruby
|
2227
|
+
require 'time'
|
2228
|
+
require 'SwaggerStableDiffusionWebui'
|
2229
|
+
|
2230
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2231
|
+
api_name = 'api_name_example' # String |
|
2232
|
+
predict_body = SwaggerStableDiffusionWebui::PredictBody.new({data: [3.56]}) # PredictBody |
|
2233
|
+
|
2234
|
+
begin
|
2235
|
+
# Predict
|
2236
|
+
result = api_instance.predict_run_api_name_post_0(api_name, predict_body)
|
2237
|
+
p result
|
2238
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2239
|
+
puts "Error when calling DefaultApi->predict_run_api_name_post_0: #{e}"
|
2240
|
+
end
|
2241
|
+
```
|
2242
|
+
|
2243
|
+
#### Using the predict_run_api_name_post_0_with_http_info variant
|
2244
|
+
|
2245
|
+
This returns an Array which contains the response data, status code and headers.
|
2246
|
+
|
2247
|
+
> <Array(Object, Integer, Hash)> predict_run_api_name_post_0_with_http_info(api_name, predict_body)
|
2248
|
+
|
2249
|
+
```ruby
|
2250
|
+
begin
|
2251
|
+
# Predict
|
2252
|
+
data, status_code, headers = api_instance.predict_run_api_name_post_0_with_http_info(api_name, predict_body)
|
2253
|
+
p status_code # => 2xx
|
2254
|
+
p headers # => { ... }
|
2255
|
+
p data # => Object
|
2256
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2257
|
+
puts "Error when calling DefaultApi->predict_run_api_name_post_0_with_http_info: #{e}"
|
2258
|
+
end
|
2259
|
+
```
|
2260
|
+
|
2261
|
+
### Parameters
|
2262
|
+
|
2263
|
+
| Name | Type | Description | Notes |
|
2264
|
+
| ---- | ---- | ----------- | ----- |
|
2265
|
+
| **api_name** | **String** | | |
|
2266
|
+
| **predict_body** | [**PredictBody**](PredictBody.md) | | |
|
2267
|
+
|
2268
|
+
### Return type
|
2269
|
+
|
2270
|
+
**Object**
|
2271
|
+
|
2272
|
+
### Authorization
|
2273
|
+
|
2274
|
+
No authorization required
|
2275
|
+
|
2276
|
+
### HTTP request headers
|
2277
|
+
|
2278
|
+
- **Content-Type**: application/json
|
2279
|
+
- **Accept**: application/json
|
2280
|
+
|
2281
|
+
|
2282
|
+
## progressapi_internal_progress_post
|
2283
|
+
|
2284
|
+
> <ProgressResponse> progressapi_internal_progress_post(progress_request)
|
2285
|
+
|
2286
|
+
Progressapi
|
2287
|
+
|
2288
|
+
### Examples
|
2289
|
+
|
2290
|
+
```ruby
|
2291
|
+
require 'time'
|
2292
|
+
require 'SwaggerStableDiffusionWebui'
|
2293
|
+
|
2294
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2295
|
+
progress_request = SwaggerStableDiffusionWebui::ProgressRequest.new # ProgressRequest |
|
2296
|
+
|
2297
|
+
begin
|
2298
|
+
# Progressapi
|
2299
|
+
result = api_instance.progressapi_internal_progress_post(progress_request)
|
2300
|
+
p result
|
2301
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2302
|
+
puts "Error when calling DefaultApi->progressapi_internal_progress_post: #{e}"
|
2303
|
+
end
|
2304
|
+
```
|
2305
|
+
|
2306
|
+
#### Using the progressapi_internal_progress_post_with_http_info variant
|
2307
|
+
|
2308
|
+
This returns an Array which contains the response data, status code and headers.
|
2309
|
+
|
2310
|
+
> <Array(<ProgressResponse>, Integer, Hash)> progressapi_internal_progress_post_with_http_info(progress_request)
|
2311
|
+
|
2312
|
+
```ruby
|
2313
|
+
begin
|
2314
|
+
# Progressapi
|
2315
|
+
data, status_code, headers = api_instance.progressapi_internal_progress_post_with_http_info(progress_request)
|
2316
|
+
p status_code # => 2xx
|
2317
|
+
p headers # => { ... }
|
2318
|
+
p data # => <ProgressResponse>
|
2319
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2320
|
+
puts "Error when calling DefaultApi->progressapi_internal_progress_post_with_http_info: #{e}"
|
2321
|
+
end
|
2322
|
+
```
|
2323
|
+
|
2324
|
+
### Parameters
|
2325
|
+
|
2326
|
+
| Name | Type | Description | Notes |
|
2327
|
+
| ---- | ---- | ----------- | ----- |
|
2328
|
+
| **progress_request** | [**ProgressRequest**](ProgressRequest.md) | | |
|
2329
|
+
|
2330
|
+
### Return type
|
2331
|
+
|
2332
|
+
[**ProgressResponse**](ProgressResponse.md)
|
2333
|
+
|
2334
|
+
### Authorization
|
2335
|
+
|
2336
|
+
No authorization required
|
2337
|
+
|
2338
|
+
### HTTP request headers
|
2339
|
+
|
2340
|
+
- **Content-Type**: application/json
|
2341
|
+
- **Accept**: application/json
|
2342
|
+
|
2343
|
+
|
2344
|
+
## quicksettings_hint_internal_quicksettings_hint_get
|
2345
|
+
|
2346
|
+
> <Array<QuicksettingsHint>> quicksettings_hint_internal_quicksettings_hint_get
|
2347
|
+
|
2348
|
+
Quicksettings Hint
|
2349
|
+
|
2350
|
+
### Examples
|
2351
|
+
|
2352
|
+
```ruby
|
2353
|
+
require 'time'
|
2354
|
+
require 'SwaggerStableDiffusionWebui'
|
2355
|
+
|
2356
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2357
|
+
|
2358
|
+
begin
|
2359
|
+
# Quicksettings Hint
|
2360
|
+
result = api_instance.quicksettings_hint_internal_quicksettings_hint_get
|
2361
|
+
p result
|
2362
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2363
|
+
puts "Error when calling DefaultApi->quicksettings_hint_internal_quicksettings_hint_get: #{e}"
|
2364
|
+
end
|
2365
|
+
```
|
2366
|
+
|
2367
|
+
#### Using the quicksettings_hint_internal_quicksettings_hint_get_with_http_info variant
|
2368
|
+
|
2369
|
+
This returns an Array which contains the response data, status code and headers.
|
2370
|
+
|
2371
|
+
> <Array(<Array<QuicksettingsHint>>, Integer, Hash)> quicksettings_hint_internal_quicksettings_hint_get_with_http_info
|
2372
|
+
|
2373
|
+
```ruby
|
2374
|
+
begin
|
2375
|
+
# Quicksettings Hint
|
2376
|
+
data, status_code, headers = api_instance.quicksettings_hint_internal_quicksettings_hint_get_with_http_info
|
2377
|
+
p status_code # => 2xx
|
2378
|
+
p headers # => { ... }
|
2379
|
+
p data # => <Array<QuicksettingsHint>>
|
2380
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2381
|
+
puts "Error when calling DefaultApi->quicksettings_hint_internal_quicksettings_hint_get_with_http_info: #{e}"
|
2382
|
+
end
|
2383
|
+
```
|
2384
|
+
|
2385
|
+
### Parameters
|
2386
|
+
|
2387
|
+
This endpoint does not need any parameter.
|
2388
|
+
|
2389
|
+
### Return type
|
2390
|
+
|
2391
|
+
[**Array<QuicksettingsHint>**](QuicksettingsHint.md)
|
2392
|
+
|
2393
|
+
### Authorization
|
2394
|
+
|
2395
|
+
No authorization required
|
2396
|
+
|
2397
|
+
### HTTP request headers
|
2398
|
+
|
2399
|
+
- **Content-Type**: Not defined
|
2400
|
+
- **Accept**: application/json
|
2401
|
+
|
2402
|
+
|
2403
|
+
## refresh_loras_sdapi_v1_refresh_loras_post
|
2404
|
+
|
2405
|
+
> Object refresh_loras_sdapi_v1_refresh_loras_post
|
2406
|
+
|
2407
|
+
Refresh Loras
|
2408
|
+
|
2409
|
+
### Examples
|
2410
|
+
|
2411
|
+
```ruby
|
2412
|
+
require 'time'
|
2413
|
+
require 'SwaggerStableDiffusionWebui'
|
2414
|
+
|
2415
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2416
|
+
|
2417
|
+
begin
|
2418
|
+
# Refresh Loras
|
2419
|
+
result = api_instance.refresh_loras_sdapi_v1_refresh_loras_post
|
2420
|
+
p result
|
2421
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2422
|
+
puts "Error when calling DefaultApi->refresh_loras_sdapi_v1_refresh_loras_post: #{e}"
|
2423
|
+
end
|
2424
|
+
```
|
2425
|
+
|
2426
|
+
#### Using the refresh_loras_sdapi_v1_refresh_loras_post_with_http_info variant
|
2427
|
+
|
2428
|
+
This returns an Array which contains the response data, status code and headers.
|
2429
|
+
|
2430
|
+
> <Array(Object, Integer, Hash)> refresh_loras_sdapi_v1_refresh_loras_post_with_http_info
|
2431
|
+
|
2432
|
+
```ruby
|
2433
|
+
begin
|
2434
|
+
# Refresh Loras
|
2435
|
+
data, status_code, headers = api_instance.refresh_loras_sdapi_v1_refresh_loras_post_with_http_info
|
2436
|
+
p status_code # => 2xx
|
2437
|
+
p headers # => { ... }
|
2438
|
+
p data # => Object
|
2439
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2440
|
+
puts "Error when calling DefaultApi->refresh_loras_sdapi_v1_refresh_loras_post_with_http_info: #{e}"
|
2441
|
+
end
|
2442
|
+
```
|
2443
|
+
|
2444
|
+
### Parameters
|
2445
|
+
|
2446
|
+
This endpoint does not need any parameter.
|
2447
|
+
|
2448
|
+
### Return type
|
2449
|
+
|
2450
|
+
**Object**
|
2451
|
+
|
2452
|
+
### Authorization
|
2453
|
+
|
2454
|
+
No authorization required
|
2455
|
+
|
2456
|
+
### HTTP request headers
|
2457
|
+
|
2458
|
+
- **Content-Type**: Not defined
|
2459
|
+
- **Accept**: application/json
|
2460
|
+
|
2461
|
+
|
2462
|
+
## reset_iterator_reset_post
|
2463
|
+
|
2464
|
+
> Object reset_iterator_reset_post(reset_body)
|
2465
|
+
|
2466
|
+
Reset Iterator
|
2467
|
+
|
2468
|
+
### Examples
|
2469
|
+
|
2470
|
+
```ruby
|
2471
|
+
require 'time'
|
2472
|
+
require 'SwaggerStableDiffusionWebui'
|
2473
|
+
|
2474
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2475
|
+
reset_body = SwaggerStableDiffusionWebui::ResetBody.new({session_hash: 'session_hash_example', fn_index: 37}) # ResetBody |
|
2476
|
+
|
2477
|
+
begin
|
2478
|
+
# Reset Iterator
|
2479
|
+
result = api_instance.reset_iterator_reset_post(reset_body)
|
2480
|
+
p result
|
2481
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2482
|
+
puts "Error when calling DefaultApi->reset_iterator_reset_post: #{e}"
|
2483
|
+
end
|
2484
|
+
```
|
2485
|
+
|
2486
|
+
#### Using the reset_iterator_reset_post_with_http_info variant
|
2487
|
+
|
2488
|
+
This returns an Array which contains the response data, status code and headers.
|
2489
|
+
|
2490
|
+
> <Array(Object, Integer, Hash)> reset_iterator_reset_post_with_http_info(reset_body)
|
2491
|
+
|
2492
|
+
```ruby
|
2493
|
+
begin
|
2494
|
+
# Reset Iterator
|
2495
|
+
data, status_code, headers = api_instance.reset_iterator_reset_post_with_http_info(reset_body)
|
2496
|
+
p status_code # => 2xx
|
2497
|
+
p headers # => { ... }
|
2498
|
+
p data # => Object
|
2499
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2500
|
+
puts "Error when calling DefaultApi->reset_iterator_reset_post_with_http_info: #{e}"
|
2501
|
+
end
|
2502
|
+
```
|
2503
|
+
|
2504
|
+
### Parameters
|
2505
|
+
|
2506
|
+
| Name | Type | Description | Notes |
|
2507
|
+
| ---- | ---- | ----------- | ----- |
|
2508
|
+
| **reset_body** | [**ResetBody**](ResetBody.md) | | |
|
2509
|
+
|
2510
|
+
### Return type
|
2511
|
+
|
2512
|
+
**Object**
|
2513
|
+
|
2514
|
+
### Authorization
|
2515
|
+
|
2516
|
+
No authorization required
|
2517
|
+
|
2518
|
+
### HTTP request headers
|
2519
|
+
|
2520
|
+
- **Content-Type**: application/json
|
2521
|
+
- **Accept**: application/json
|
2522
|
+
|
2523
|
+
|
2524
|
+
## reset_iterator_reset_post_0
|
2525
|
+
|
2526
|
+
> Object reset_iterator_reset_post_0(reset_body)
|
2527
|
+
|
2528
|
+
Reset Iterator
|
2529
|
+
|
2530
|
+
### Examples
|
2531
|
+
|
2532
|
+
```ruby
|
2533
|
+
require 'time'
|
2534
|
+
require 'SwaggerStableDiffusionWebui'
|
2535
|
+
|
2536
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2537
|
+
reset_body = SwaggerStableDiffusionWebui::ResetBody.new({session_hash: 'session_hash_example', fn_index: 37}) # ResetBody |
|
2538
|
+
|
2539
|
+
begin
|
2540
|
+
# Reset Iterator
|
2541
|
+
result = api_instance.reset_iterator_reset_post_0(reset_body)
|
2542
|
+
p result
|
2543
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2544
|
+
puts "Error when calling DefaultApi->reset_iterator_reset_post_0: #{e}"
|
2545
|
+
end
|
2546
|
+
```
|
2547
|
+
|
2548
|
+
#### Using the reset_iterator_reset_post_0_with_http_info variant
|
2549
|
+
|
2550
|
+
This returns an Array which contains the response data, status code and headers.
|
2551
|
+
|
2552
|
+
> <Array(Object, Integer, Hash)> reset_iterator_reset_post_0_with_http_info(reset_body)
|
2553
|
+
|
2554
|
+
```ruby
|
2555
|
+
begin
|
2556
|
+
# Reset Iterator
|
2557
|
+
data, status_code, headers = api_instance.reset_iterator_reset_post_0_with_http_info(reset_body)
|
2558
|
+
p status_code # => 2xx
|
2559
|
+
p headers # => { ... }
|
2560
|
+
p data # => Object
|
2561
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2562
|
+
puts "Error when calling DefaultApi->reset_iterator_reset_post_0_with_http_info: #{e}"
|
2563
|
+
end
|
2564
|
+
```
|
2565
|
+
|
2566
|
+
### Parameters
|
2567
|
+
|
2568
|
+
| Name | Type | Description | Notes |
|
2569
|
+
| ---- | ---- | ----------- | ----- |
|
2570
|
+
| **reset_body** | [**ResetBody**](ResetBody.md) | | |
|
2571
|
+
|
2572
|
+
### Return type
|
2573
|
+
|
2574
|
+
**Object**
|
2575
|
+
|
2576
|
+
### Authorization
|
2577
|
+
|
2578
|
+
No authorization required
|
2579
|
+
|
2580
|
+
### HTTP request headers
|
2581
|
+
|
2582
|
+
- **Content-Type**: application/json
|
2583
|
+
- **Accept**: application/json
|
2584
|
+
|
2585
|
+
|
2586
|
+
## reverse_proxy_proxy_url_path_get
|
2587
|
+
|
2588
|
+
> Object reverse_proxy_proxy_url_path_get(url_path)
|
2589
|
+
|
2590
|
+
Reverse Proxy
|
2591
|
+
|
2592
|
+
### Examples
|
2593
|
+
|
2594
|
+
```ruby
|
2595
|
+
require 'time'
|
2596
|
+
require 'SwaggerStableDiffusionWebui'
|
2597
|
+
|
2598
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2599
|
+
url_path = 'url_path_example' # String |
|
2600
|
+
|
2601
|
+
begin
|
2602
|
+
# Reverse Proxy
|
2603
|
+
result = api_instance.reverse_proxy_proxy_url_path_get(url_path)
|
2604
|
+
p result
|
2605
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2606
|
+
puts "Error when calling DefaultApi->reverse_proxy_proxy_url_path_get: #{e}"
|
2607
|
+
end
|
2608
|
+
```
|
2609
|
+
|
2610
|
+
#### Using the reverse_proxy_proxy_url_path_get_with_http_info variant
|
2611
|
+
|
2612
|
+
This returns an Array which contains the response data, status code and headers.
|
2613
|
+
|
2614
|
+
> <Array(Object, Integer, Hash)> reverse_proxy_proxy_url_path_get_with_http_info(url_path)
|
2615
|
+
|
2616
|
+
```ruby
|
2617
|
+
begin
|
2618
|
+
# Reverse Proxy
|
2619
|
+
data, status_code, headers = api_instance.reverse_proxy_proxy_url_path_get_with_http_info(url_path)
|
2620
|
+
p status_code # => 2xx
|
2621
|
+
p headers # => { ... }
|
2622
|
+
p data # => Object
|
2623
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2624
|
+
puts "Error when calling DefaultApi->reverse_proxy_proxy_url_path_get_with_http_info: #{e}"
|
2625
|
+
end
|
2626
|
+
```
|
2627
|
+
|
2628
|
+
### Parameters
|
2629
|
+
|
2630
|
+
| Name | Type | Description | Notes |
|
2631
|
+
| ---- | ---- | ----------- | ----- |
|
2632
|
+
| **url_path** | **String** | | |
|
2633
|
+
|
2634
|
+
### Return type
|
2635
|
+
|
2636
|
+
**Object**
|
2637
|
+
|
2638
|
+
### Authorization
|
2639
|
+
|
2640
|
+
No authorization required
|
2641
|
+
|
2642
|
+
### HTTP request headers
|
2643
|
+
|
2644
|
+
- **Content-Type**: Not defined
|
2645
|
+
- **Accept**: application/json
|
2646
|
+
|
2647
|
+
|
2648
|
+
## reverse_proxy_proxy_url_path_head
|
2649
|
+
|
2650
|
+
> Object reverse_proxy_proxy_url_path_head(url_path)
|
2651
|
+
|
2652
|
+
Reverse Proxy
|
2653
|
+
|
2654
|
+
### Examples
|
2655
|
+
|
2656
|
+
```ruby
|
2657
|
+
require 'time'
|
2658
|
+
require 'SwaggerStableDiffusionWebui'
|
2659
|
+
|
2660
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2661
|
+
url_path = 'url_path_example' # String |
|
2662
|
+
|
2663
|
+
begin
|
2664
|
+
# Reverse Proxy
|
2665
|
+
result = api_instance.reverse_proxy_proxy_url_path_head(url_path)
|
2666
|
+
p result
|
2667
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2668
|
+
puts "Error when calling DefaultApi->reverse_proxy_proxy_url_path_head: #{e}"
|
2669
|
+
end
|
2670
|
+
```
|
2671
|
+
|
2672
|
+
#### Using the reverse_proxy_proxy_url_path_head_with_http_info variant
|
2673
|
+
|
2674
|
+
This returns an Array which contains the response data, status code and headers.
|
2675
|
+
|
2676
|
+
> <Array(Object, Integer, Hash)> reverse_proxy_proxy_url_path_head_with_http_info(url_path)
|
2677
|
+
|
2678
|
+
```ruby
|
2679
|
+
begin
|
2680
|
+
# Reverse Proxy
|
2681
|
+
data, status_code, headers = api_instance.reverse_proxy_proxy_url_path_head_with_http_info(url_path)
|
2682
|
+
p status_code # => 2xx
|
2683
|
+
p headers # => { ... }
|
2684
|
+
p data # => Object
|
2685
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2686
|
+
puts "Error when calling DefaultApi->reverse_proxy_proxy_url_path_head_with_http_info: #{e}"
|
2687
|
+
end
|
2688
|
+
```
|
2689
|
+
|
2690
|
+
### Parameters
|
2691
|
+
|
2692
|
+
| Name | Type | Description | Notes |
|
2693
|
+
| ---- | ---- | ----------- | ----- |
|
2694
|
+
| **url_path** | **String** | | |
|
2695
|
+
|
2696
|
+
### Return type
|
2697
|
+
|
2698
|
+
**Object**
|
2699
|
+
|
2700
|
+
### Authorization
|
2701
|
+
|
2702
|
+
No authorization required
|
2703
|
+
|
2704
|
+
### HTTP request headers
|
2705
|
+
|
2706
|
+
- **Content-Type**: Not defined
|
2707
|
+
- **Accept**: application/json
|
2708
|
+
|
2709
|
+
|
2710
|
+
## robots_txt_robots_txt_get
|
2711
|
+
|
2712
|
+
> String robots_txt_robots_txt_get
|
2713
|
+
|
2714
|
+
Robots Txt
|
2715
|
+
|
2716
|
+
### Examples
|
2717
|
+
|
2718
|
+
```ruby
|
2719
|
+
require 'time'
|
2720
|
+
require 'SwaggerStableDiffusionWebui'
|
2721
|
+
|
2722
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2723
|
+
|
2724
|
+
begin
|
2725
|
+
# Robots Txt
|
2726
|
+
result = api_instance.robots_txt_robots_txt_get
|
2727
|
+
p result
|
2728
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2729
|
+
puts "Error when calling DefaultApi->robots_txt_robots_txt_get: #{e}"
|
2730
|
+
end
|
2731
|
+
```
|
2732
|
+
|
2733
|
+
#### Using the robots_txt_robots_txt_get_with_http_info variant
|
2734
|
+
|
2735
|
+
This returns an Array which contains the response data, status code and headers.
|
2736
|
+
|
2737
|
+
> <Array(String, Integer, Hash)> robots_txt_robots_txt_get_with_http_info
|
2738
|
+
|
2739
|
+
```ruby
|
2740
|
+
begin
|
2741
|
+
# Robots Txt
|
2742
|
+
data, status_code, headers = api_instance.robots_txt_robots_txt_get_with_http_info
|
2743
|
+
p status_code # => 2xx
|
2744
|
+
p headers # => { ... }
|
2745
|
+
p data # => String
|
2746
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2747
|
+
puts "Error when calling DefaultApi->robots_txt_robots_txt_get_with_http_info: #{e}"
|
2748
|
+
end
|
2749
|
+
```
|
2750
|
+
|
2751
|
+
### Parameters
|
2752
|
+
|
2753
|
+
This endpoint does not need any parameter.
|
2754
|
+
|
2755
|
+
### Return type
|
2756
|
+
|
2757
|
+
**String**
|
2758
|
+
|
2759
|
+
### Authorization
|
2760
|
+
|
2761
|
+
No authorization required
|
2762
|
+
|
2763
|
+
### HTTP request headers
|
2764
|
+
|
2765
|
+
- **Content-Type**: Not defined
|
2766
|
+
- **Accept**: text/plain
|
2767
|
+
|
2768
|
+
|
2769
|
+
## settings_controlnet_settings_get
|
2770
|
+
|
2771
|
+
> Object settings_controlnet_settings_get
|
2772
|
+
|
2773
|
+
Settings
|
2774
|
+
|
2775
|
+
### Examples
|
2776
|
+
|
2777
|
+
```ruby
|
2778
|
+
require 'time'
|
2779
|
+
require 'SwaggerStableDiffusionWebui'
|
2780
|
+
|
2781
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2782
|
+
|
2783
|
+
begin
|
2784
|
+
# Settings
|
2785
|
+
result = api_instance.settings_controlnet_settings_get
|
2786
|
+
p result
|
2787
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2788
|
+
puts "Error when calling DefaultApi->settings_controlnet_settings_get: #{e}"
|
2789
|
+
end
|
2790
|
+
```
|
2791
|
+
|
2792
|
+
#### Using the settings_controlnet_settings_get_with_http_info variant
|
2793
|
+
|
2794
|
+
This returns an Array which contains the response data, status code and headers.
|
2795
|
+
|
2796
|
+
> <Array(Object, Integer, Hash)> settings_controlnet_settings_get_with_http_info
|
2797
|
+
|
2798
|
+
```ruby
|
2799
|
+
begin
|
2800
|
+
# Settings
|
2801
|
+
data, status_code, headers = api_instance.settings_controlnet_settings_get_with_http_info
|
2802
|
+
p status_code # => 2xx
|
2803
|
+
p headers # => { ... }
|
2804
|
+
p data # => Object
|
2805
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2806
|
+
puts "Error when calling DefaultApi->settings_controlnet_settings_get_with_http_info: #{e}"
|
2807
|
+
end
|
2808
|
+
```
|
2809
|
+
|
2810
|
+
### Parameters
|
2811
|
+
|
2812
|
+
This endpoint does not need any parameter.
|
2813
|
+
|
2814
|
+
### Return type
|
2815
|
+
|
2816
|
+
**Object**
|
2817
|
+
|
2818
|
+
### Authorization
|
2819
|
+
|
2820
|
+
No authorization required
|
2821
|
+
|
2822
|
+
### HTTP request headers
|
2823
|
+
|
2824
|
+
- **Content-Type**: Not defined
|
2825
|
+
- **Accept**: application/json
|
2826
|
+
|
2827
|
+
|
2828
|
+
## startup_events_startup_events_get
|
2829
|
+
|
2830
|
+
> Object startup_events_startup_events_get
|
2831
|
+
|
2832
|
+
Startup Events
|
2833
|
+
|
2834
|
+
### Examples
|
2835
|
+
|
2836
|
+
```ruby
|
2837
|
+
require 'time'
|
2838
|
+
require 'SwaggerStableDiffusionWebui'
|
2839
|
+
|
2840
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2841
|
+
|
2842
|
+
begin
|
2843
|
+
# Startup Events
|
2844
|
+
result = api_instance.startup_events_startup_events_get
|
2845
|
+
p result
|
2846
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2847
|
+
puts "Error when calling DefaultApi->startup_events_startup_events_get: #{e}"
|
2848
|
+
end
|
2849
|
+
```
|
2850
|
+
|
2851
|
+
#### Using the startup_events_startup_events_get_with_http_info variant
|
2852
|
+
|
2853
|
+
This returns an Array which contains the response data, status code and headers.
|
2854
|
+
|
2855
|
+
> <Array(Object, Integer, Hash)> startup_events_startup_events_get_with_http_info
|
2856
|
+
|
2857
|
+
```ruby
|
2858
|
+
begin
|
2859
|
+
# Startup Events
|
2860
|
+
data, status_code, headers = api_instance.startup_events_startup_events_get_with_http_info
|
2861
|
+
p status_code # => 2xx
|
2862
|
+
p headers # => { ... }
|
2863
|
+
p data # => Object
|
2864
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2865
|
+
puts "Error when calling DefaultApi->startup_events_startup_events_get_with_http_info: #{e}"
|
2866
|
+
end
|
2867
|
+
```
|
2868
|
+
|
2869
|
+
### Parameters
|
2870
|
+
|
2871
|
+
This endpoint does not need any parameter.
|
2872
|
+
|
2873
|
+
### Return type
|
2874
|
+
|
2875
|
+
**Object**
|
2876
|
+
|
2877
|
+
### Authorization
|
2878
|
+
|
2879
|
+
No authorization required
|
2880
|
+
|
2881
|
+
### HTTP request headers
|
2882
|
+
|
2883
|
+
- **Content-Type**: Not defined
|
2884
|
+
- **Accept**: application/json
|
2885
|
+
|
2886
|
+
|
2887
|
+
## static_resource_static_path_get
|
2888
|
+
|
2889
|
+
> Object static_resource_static_path_get(path)
|
2890
|
+
|
2891
|
+
Static Resource
|
2892
|
+
|
2893
|
+
### Examples
|
2894
|
+
|
2895
|
+
```ruby
|
2896
|
+
require 'time'
|
2897
|
+
require 'SwaggerStableDiffusionWebui'
|
2898
|
+
|
2899
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2900
|
+
path = 'path_example' # String |
|
2901
|
+
|
2902
|
+
begin
|
2903
|
+
# Static Resource
|
2904
|
+
result = api_instance.static_resource_static_path_get(path)
|
2905
|
+
p result
|
2906
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2907
|
+
puts "Error when calling DefaultApi->static_resource_static_path_get: #{e}"
|
2908
|
+
end
|
2909
|
+
```
|
2910
|
+
|
2911
|
+
#### Using the static_resource_static_path_get_with_http_info variant
|
2912
|
+
|
2913
|
+
This returns an Array which contains the response data, status code and headers.
|
2914
|
+
|
2915
|
+
> <Array(Object, Integer, Hash)> static_resource_static_path_get_with_http_info(path)
|
2916
|
+
|
2917
|
+
```ruby
|
2918
|
+
begin
|
2919
|
+
# Static Resource
|
2920
|
+
data, status_code, headers = api_instance.static_resource_static_path_get_with_http_info(path)
|
2921
|
+
p status_code # => 2xx
|
2922
|
+
p headers # => { ... }
|
2923
|
+
p data # => Object
|
2924
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2925
|
+
puts "Error when calling DefaultApi->static_resource_static_path_get_with_http_info: #{e}"
|
2926
|
+
end
|
2927
|
+
```
|
2928
|
+
|
2929
|
+
### Parameters
|
2930
|
+
|
2931
|
+
| Name | Type | Description | Notes |
|
2932
|
+
| ---- | ---- | ----------- | ----- |
|
2933
|
+
| **path** | **String** | | |
|
2934
|
+
|
2935
|
+
### Return type
|
2936
|
+
|
2937
|
+
**Object**
|
2938
|
+
|
2939
|
+
### Authorization
|
2940
|
+
|
2941
|
+
No authorization required
|
2942
|
+
|
2943
|
+
### HTTP request headers
|
2944
|
+
|
2945
|
+
- **Content-Type**: Not defined
|
2946
|
+
- **Accept**: application/json
|
2947
|
+
|
2948
|
+
|
2949
|
+
## theme_css_theme_css_get
|
2950
|
+
|
2951
|
+
> String theme_css_theme_css_get
|
2952
|
+
|
2953
|
+
Theme Css
|
2954
|
+
|
2955
|
+
### Examples
|
2956
|
+
|
2957
|
+
```ruby
|
2958
|
+
require 'time'
|
2959
|
+
require 'SwaggerStableDiffusionWebui'
|
2960
|
+
|
2961
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
2962
|
+
|
2963
|
+
begin
|
2964
|
+
# Theme Css
|
2965
|
+
result = api_instance.theme_css_theme_css_get
|
2966
|
+
p result
|
2967
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2968
|
+
puts "Error when calling DefaultApi->theme_css_theme_css_get: #{e}"
|
2969
|
+
end
|
2970
|
+
```
|
2971
|
+
|
2972
|
+
#### Using the theme_css_theme_css_get_with_http_info variant
|
2973
|
+
|
2974
|
+
This returns an Array which contains the response data, status code and headers.
|
2975
|
+
|
2976
|
+
> <Array(String, Integer, Hash)> theme_css_theme_css_get_with_http_info
|
2977
|
+
|
2978
|
+
```ruby
|
2979
|
+
begin
|
2980
|
+
# Theme Css
|
2981
|
+
data, status_code, headers = api_instance.theme_css_theme_css_get_with_http_info
|
2982
|
+
p status_code # => 2xx
|
2983
|
+
p headers # => { ... }
|
2984
|
+
p data # => String
|
2985
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
2986
|
+
puts "Error when calling DefaultApi->theme_css_theme_css_get_with_http_info: #{e}"
|
2987
|
+
end
|
2988
|
+
```
|
2989
|
+
|
2990
|
+
### Parameters
|
2991
|
+
|
2992
|
+
This endpoint does not need any parameter.
|
2993
|
+
|
2994
|
+
### Return type
|
2995
|
+
|
2996
|
+
**String**
|
2997
|
+
|
2998
|
+
### Authorization
|
2999
|
+
|
3000
|
+
No authorization required
|
3001
|
+
|
3002
|
+
### HTTP request headers
|
3003
|
+
|
3004
|
+
- **Content-Type**: Not defined
|
3005
|
+
- **Accept**: text/plain
|
3006
|
+
|
3007
|
+
|
3008
|
+
## upload_file_upload_post
|
3009
|
+
|
3010
|
+
> Object upload_file_upload_post(files)
|
3011
|
+
|
3012
|
+
Upload File
|
3013
|
+
|
3014
|
+
### Examples
|
3015
|
+
|
3016
|
+
```ruby
|
3017
|
+
require 'time'
|
3018
|
+
require 'SwaggerStableDiffusionWebui'
|
3019
|
+
|
3020
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
3021
|
+
files = [File.new('/path/to/some/file')] # Array<File> |
|
3022
|
+
|
3023
|
+
begin
|
3024
|
+
# Upload File
|
3025
|
+
result = api_instance.upload_file_upload_post(files)
|
3026
|
+
p result
|
3027
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
3028
|
+
puts "Error when calling DefaultApi->upload_file_upload_post: #{e}"
|
3029
|
+
end
|
3030
|
+
```
|
3031
|
+
|
3032
|
+
#### Using the upload_file_upload_post_with_http_info variant
|
3033
|
+
|
3034
|
+
This returns an Array which contains the response data, status code and headers.
|
3035
|
+
|
3036
|
+
> <Array(Object, Integer, Hash)> upload_file_upload_post_with_http_info(files)
|
3037
|
+
|
3038
|
+
```ruby
|
3039
|
+
begin
|
3040
|
+
# Upload File
|
3041
|
+
data, status_code, headers = api_instance.upload_file_upload_post_with_http_info(files)
|
3042
|
+
p status_code # => 2xx
|
3043
|
+
p headers # => { ... }
|
3044
|
+
p data # => Object
|
3045
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
3046
|
+
puts "Error when calling DefaultApi->upload_file_upload_post_with_http_info: #{e}"
|
3047
|
+
end
|
3048
|
+
```
|
3049
|
+
|
3050
|
+
### Parameters
|
3051
|
+
|
3052
|
+
| Name | Type | Description | Notes |
|
3053
|
+
| ---- | ---- | ----------- | ----- |
|
3054
|
+
| **files** | **Array<File>** | | |
|
3055
|
+
|
3056
|
+
### Return type
|
3057
|
+
|
3058
|
+
**Object**
|
3059
|
+
|
3060
|
+
### Authorization
|
3061
|
+
|
3062
|
+
No authorization required
|
3063
|
+
|
3064
|
+
### HTTP request headers
|
3065
|
+
|
3066
|
+
- **Content-Type**: multipart/form-data
|
3067
|
+
- **Accept**: application/json
|
3068
|
+
|
3069
|
+
|
3070
|
+
## version_controlnet_version_get
|
3071
|
+
|
3072
|
+
> Object version_controlnet_version_get
|
3073
|
+
|
3074
|
+
Version
|
3075
|
+
|
3076
|
+
### Examples
|
3077
|
+
|
3078
|
+
```ruby
|
3079
|
+
require 'time'
|
3080
|
+
require 'SwaggerStableDiffusionWebui'
|
3081
|
+
|
3082
|
+
api_instance = SwaggerStableDiffusionWebui::DefaultApi.new
|
3083
|
+
|
3084
|
+
begin
|
3085
|
+
# Version
|
3086
|
+
result = api_instance.version_controlnet_version_get
|
3087
|
+
p result
|
3088
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
3089
|
+
puts "Error when calling DefaultApi->version_controlnet_version_get: #{e}"
|
3090
|
+
end
|
3091
|
+
```
|
3092
|
+
|
3093
|
+
#### Using the version_controlnet_version_get_with_http_info variant
|
3094
|
+
|
3095
|
+
This returns an Array which contains the response data, status code and headers.
|
3096
|
+
|
3097
|
+
> <Array(Object, Integer, Hash)> version_controlnet_version_get_with_http_info
|
3098
|
+
|
3099
|
+
```ruby
|
3100
|
+
begin
|
3101
|
+
# Version
|
3102
|
+
data, status_code, headers = api_instance.version_controlnet_version_get_with_http_info
|
3103
|
+
p status_code # => 2xx
|
3104
|
+
p headers # => { ... }
|
3105
|
+
p data # => Object
|
3106
|
+
rescue SwaggerStableDiffusionWebui::ApiError => e
|
3107
|
+
puts "Error when calling DefaultApi->version_controlnet_version_get_with_http_info: #{e}"
|
3108
|
+
end
|
3109
|
+
```
|
3110
|
+
|
3111
|
+
### Parameters
|
3112
|
+
|
3113
|
+
This endpoint does not need any parameter.
|
3114
|
+
|
3115
|
+
### Return type
|
3116
|
+
|
3117
|
+
**Object**
|
3118
|
+
|
3119
|
+
### Authorization
|
3120
|
+
|
3121
|
+
No authorization required
|
3122
|
+
|
3123
|
+
### HTTP request headers
|
3124
|
+
|
3125
|
+
- **Content-Type**: Not defined
|
3126
|
+
- **Accept**: application/json
|
3127
|
+
|