generate

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)