Module: StableDiffusion
- Defined in:
- lib/stable_diffusion/version.rb,
lib/stable_diffusion.rb,
lib/stable_diffusion/api_error.rb,
lib/stable_diffusion/api_client.rb,
lib/stable_diffusion/models/flags.rb,
lib/stable_diffusion/configuration.rb,
lib/stable_diffusion/models/options.rb,
lib/stable_diffusion/api/default_api.rb,
lib/stable_diffusion/models/file_data.rb,
lib/stable_diffusion/models/estimation.rb,
lib/stable_diffusion/models/reset_body.rb,
lib/stable_diffusion/models/script_arg.rb,
lib/stable_diffusion/models/script_info.rb,
lib/stable_diffusion/models/sd_vae_item.rb,
lib/stable_diffusion/models/predict_body.rb,
lib/stable_diffusion/models/sampler_item.rb,
lib/stable_diffusion/models/scripts_list.rb,
lib/stable_diffusion/models/sd_model_item.rb,
lib/stable_diffusion/models/upscaler_item.rb,
lib/stable_diffusion/models/embedding_item.rb,
lib/stable_diffusion/models/extension_item.rb,
lib/stable_diffusion/models/train_response.rb,
lib/stable_diffusion/models/create_response.rb,
lib/stable_diffusion/models/memory_response.rb,
lib/stable_diffusion/models/realesrgan_item.rb,
lib/stable_diffusion/models/png_info_request.rb,
lib/stable_diffusion/models/progress_request.rb,
lib/stable_diffusion/models/validation_error.rb,
lib/stable_diffusion/models/hypernetwork_item.rb,
lib/stable_diffusion/models/png_info_response.rb,
lib/stable_diffusion/models/prompt_style_item.rb,
lib/stable_diffusion/models/face_restorer_item.rb,
lib/stable_diffusion/models/quicksettings_hint.rb,
lib/stable_diffusion/models/embeddings_response.rb,
lib/stable_diffusion/models/interrogate_request.rb,
lib/stable_diffusion/models/body_login_login_post.rb,
lib/stable_diffusion/models/http_validation_error.rb,
lib/stable_diffusion/models/text_to_image_response.rb,
lib/stable_diffusion/models/image_to_image_response.rb,
lib/stable_diffusion/models/latent_upscaler_mode_item.rb,
lib/stable_diffusion/models/any_of_predict_body_request.rb,
lib/stable_diffusion/models/extras_batch_images_request.rb,
lib/stable_diffusion/models/extras_single_image_request.rb,
lib/stable_diffusion/models/body_upload_file_upload_post.rb,
lib/stable_diffusion/models/extras_batch_images_response.rb,
lib/stable_diffusion/models/extras_single_image_response.rb,
lib/stable_diffusion/models/any_of_validation_error_loc_items.rb,
lib/stable_diffusion/models/modules__progress__progress_response.rb,
lib/stable_diffusion/models/stable_diffusion_processing_img2_img.rb,
lib/stable_diffusion/models/stable_diffusion_processing_txt2_img.rb,
lib/stable_diffusion/models/modules__api__models__progress_response.rb
Overview
#FastAPI
#No description provided (generated by Swagger Codegen github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.0.0
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 3.0.60
Defined Under Namespace
Classes: AnyOfPredictBodyRequest, AnyOfValidationErrorLocItems, ApiClient, ApiError, BodyLoginLoginPost, BodyUploadFileUploadPost, Configuration, CreateResponse, DefaultApi, EmbeddingItem, EmbeddingsResponse, Estimation, ExtensionItem, ExtrasBatchImagesRequest, ExtrasBatchImagesResponse, ExtrasSingleImageRequest, ExtrasSingleImageResponse, FaceRestorerItem, FileData, Flags, HTTPValidationError, HypernetworkItem, ImageToImageResponse, InterrogateRequest, LatentUpscalerModeItem, MemoryResponse, ModulesApiModelsProgressResponse, ModulesProgressProgressResponse, Options, PNGInfoRequest, PNGInfoResponse, PredictBody, ProgressRequest, PromptStyleItem, QuicksettingsHint, RealesrganItem, ResetBody, SDModelItem, SDVaeItem, SamplerItem, ScriptArg, ScriptInfo, ScriptsList, StableDiffusionProcessingImg2Img, StableDiffusionProcessingTxt2Img, TextToImageResponse, TrainResponse, UpscalerItem, ValidationError
Constant Summary collapse
- VERSION =
'1.0.0'
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
StableDiffusion.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
76 77 78 79 80 81 82 |
# File 'lib/stable_diffusion.rb', line 76 def configure if block_given? yield(Configuration.default) else Configuration.default end end |