SDAI
Toggle table of contents
Main site
Telegram
Discord
android
Target filter
android
Switch theme
Search in API
Skip to content
SDAI
feature/sdxl
/
com.shifthackz.aisdv1.feature.sdxl
/
StableDiffusionCppNativeBridge
/
generate
generate
android
external
fun
generate
(
modelPath
:
String
,
prompt
:
String
,
negativePrompt
:
String
,
width
:
Int
,
height
:
Int
,
samplingSteps
:
Int
,
cfgScale
:
Float
,
seed
:
Long
,
batchCount
:
Int
,
backend
:
Int
,
sampler
:
Int
,
shape
:
IntArray
,
callback
:
StableDiffusionCppNativeBridge.ProgressCallback
)
:
ByteArray
(
source
)