Package-level declarations

Types

Link copied to clipboard

Implements Android noop behavior for the iOS-only Core ML feature layer.

Implements the iOS entry point for Silicon Diffusion Core ML generation.

Link copied to clipboard
data class SiliconDiffusionCoreMlProgress(val current: Int, val total: Int)

Carries progress updates from the Swift Silicon Diffusion Core ML runtime.

Link copied to clipboard
data class SiliconDiffusionCoreMlRequest(val modelPath: String, val prompt: String, val negativePrompt: String, val samplingSteps: Int, val cfgScale: Float, val width: Int, val height: Int, val seed: String, val batchCount: Int, val allowNsfw: Boolean, val startingImageBase64: String?, val strength: Float)

Carries generation data into the Swift Silicon Diffusion Core ML runtime.

Link copied to clipboard
data class SiliconDiffusionCoreMlResponse(val imageBase64: String?, val errorMessage: String?)

Carries generation output from the Swift Silicon Diffusion Core ML runtime.

Link copied to clipboard

Defines the Swift-side Silicon Diffusion Core ML runtime bridge.

Link copied to clipboard

Stores the Swift runtime bridge used by the iOS Core ML feature implementation.