SDAI
Toggle table of contents
Main site
Telegram
Discord
common
Target filter
common
Switch theme
Search in API
Skip to content
SDAI
network
/
com.shifthackz.aisdv1.network.request
/
HuggingFaceGenerationRequest
/
Parameters
Parameters
@
Serializable
data
class
Parameters
(
val
width
:
Int
?
=
null
,
val
height
:
Int
?
=
null
,
val
text
:
String
?
=
null
,
val
negativePrompt
:
String
?
=
null
,
val
seed
:
String
?
=
null
,
val
numInferenceSteps
:
Int
?
=
null
,
val
guidanceScale
:
Float
?
=
null
)
(
source
)
Members
Constructors
Parameters
Link copied to clipboard
constructor
(
width
:
Int
?
=
null
,
height
:
Int
?
=
null
,
text
:
String
?
=
null
,
negativePrompt
:
String
?
=
null
,
seed
:
String
?
=
null
,
numInferenceSteps
:
Int
?
=
null
,
guidanceScale
:
Float
?
=
null
)
Properties
guidance
Scale
Link copied to clipboard
@
SerialName
(
value
=
"guidance_scale"
)
val
guidanceScale
:
Float
?
height
Link copied to clipboard
@
SerialName
(
value
=
"height"
)
val
height
:
Int
?
negative
Prompt
Link copied to clipboard
@
SerialName
(
value
=
"negative_prompt"
)
val
negativePrompt
:
String
?
num
Inference
Steps
Link copied to clipboard
@
SerialName
(
value
=
"num_inference_steps"
)
val
numInferenceSteps
:
Int
?
seed
Link copied to clipboard
@
SerialName
(
value
=
"seed"
)
val
seed
:
String
?
text
Link copied to clipboard
@
SerialName
(
value
=
"text"
)
val
text
:
String
?
width
Link copied to clipboard
@
SerialName
(
value
=
"width"
)
val
width
:
Int
?