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
Stable
Diffusion
Cpp
Native
Bridge
android
internal
object
StableDiffusionCppNativeBridge
(
source
)
Members
Types
Progress
Callback
Link copied to clipboard
android
interface
ProgressCallback
Properties
load
Result
Link copied to clipboard
android
private
val
loadResult
:
Result
<
Unit
>
Functions
ensure
Loaded
Link copied to clipboard
android
fun
ensureLoaded
(
)
generate
Link copied to clipboard
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
interrupt
Link copied to clipboard
android
external
fun
interrupt
(
)