Class TextToImageRequestGenerateParamsHiResFixInfo
java.lang.Object
cloud.liblibai.openapi.client.model.TextToImageRequestGenerateParamsHiResFixInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-05T15:10:08.947334966+08:00[Asia/Shanghai]",
comments="Generator version: 7.10.0")
public class TextToImageRequestGenerateParamsHiResFixInfo
extends Object
TextToImageRequestGenerateParamsHiResFixInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of TextToImageRequestGenerateParamsHiResFixInfo given an JSON string高分辨率修复的重绘幅度高分辨率修复的重绘步数放大后的高度放大后的宽度放大算法模型枚举inthashCode()hiresDenoisingStrength(Float hiresDenoisingStrength) hiresSteps(Integer hiresSteps) resizedHeight(Integer resizedHeight) resizedWidth(Integer resizedWidth) voidsetHiresDenoisingStrength(Float hiresDenoisingStrength) voidsetHiresSteps(Integer hiresSteps) voidsetResizedHeight(Integer resizedHeight) voidsetResizedWidth(Integer resizedWidth) voidsetUpscaler(Integer upscaler) toJson()Convert an instance of TextToImageRequestGenerateParamsHiResFixInfo to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_HIRES_STEPS
- See Also:
-
SERIALIZED_NAME_HIRES_DENOISING_STRENGTH
- See Also:
-
SERIALIZED_NAME_UPSCALER
- See Also:
-
SERIALIZED_NAME_RESIZED_WIDTH
- See Also:
-
SERIALIZED_NAME_RESIZED_HEIGHT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TextToImageRequestGenerateParamsHiResFixInfo
public TextToImageRequestGenerateParamsHiResFixInfo()
-
-
Method Details
-
hiresSteps
-
getHiresSteps
-
setHiresSteps
-
hiresDenoisingStrength
public TextToImageRequestGenerateParamsHiResFixInfo hiresDenoisingStrength(@Nullable Float hiresDenoisingStrength) -
getHiresDenoisingStrength
-
setHiresDenoisingStrength
-
upscaler
-
getUpscaler
-
setUpscaler
-
resizedWidth
-
getResizedWidth
-
setResizedWidth
-
resizedHeight
-
getResizedHeight
-
setResizedHeight
-
equals
-
hashCode
-
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to TextToImageRequestGenerateParamsHiResFixInfo
-
fromJson
public static TextToImageRequestGenerateParamsHiResFixInfo fromJson(String jsonString) throws IOException Create an instance of TextToImageRequestGenerateParamsHiResFixInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TextToImageRequestGenerateParamsHiResFixInfo
- Throws:
IOException- if the JSON string is invalid with respect to TextToImageRequestGenerateParamsHiResFixInfo
-
toJson
Convert an instance of TextToImageRequestGenerateParamsHiResFixInfo to an JSON string- Returns:
- JSON string
-