Skip to main content

llamadart_stable_diffusion_flutter 0.0.2 copy "llamadart_stable_diffusion_flutter: ^0.0.2" to clipboard
llamadart_stable_diffusion_flutter: ^0.0.2 copied to clipboard

Flutter Apple SwiftPM runtime companion package for llamadart stable-diffusion.cpp image generation.

llamadart_stable_diffusion_flutter #

Flutter Apple Swift Package Manager companion package for llamadart image generation with stable-diffusion.cpp.

Add this package to a Flutter iOS/macOS app that uses ImageGenerationEngine to link the prebuilt stable-diffusion.cpp Apple XCFramework through SwiftPM. Adding it opts iOS and macOS builds into that runtime, about 37 MB per Apple target. Without it, the core package bundles the runtime through its native-assets hook, whose iOS framework App Store Connect rejects: Flutter writes MinimumOSVersion 13.0 into it, while the library requires iOS 16.4. The hook reports this as an Xcode build warning, which Xcode and xcodebuild show but plain flutter build and flutter run output does not.

Pair companion 0.0.2 with core 0.11.0, and 0.0.1 with core 0.10.0; older cores, including 0.9.x, ignore it.

dependencies:
  llamadart: ^0.11.0
  llamadart_stable_diffusion_flutter: ^0.0.2

Adding the package selects the stable_diffusion runtime for Flutter iOS and macOS builds; llamadart_native_runtimes still decides the other platforms.

This package has no runtime Dart API of its own. Import package:llamadart normally from the core package and use ImageGenerationEngine there.

The Apple SwiftPM manifest pins leehack/stable-diffusion-native@v0.2.0-1.

Apps bound for the App Store should use this package: an Apple privacy manifest for the stable-diffusion.cpp runtime ships inside this XCFramework, never in the dylibs the core package's native-assets hook bundles. The v0.2.0-1 XCFramework declares NSPrivacyAccessedAPICategoryFileTimestamp with reasons C617.1 and 3B52.1; release 0.0.1 of this package links v0.2.0, which has no manifest. If the embedded stable_diffusion.framework in the built app has no PrivacyInfo.xcprivacy, or the app uses the hook path, declare that category and those reasons in the app's own PrivacyInfo.xcprivacy.

Source for this package lives in packages/llamadart_stable_diffusion_flutter in the llamadart repository.

1
likes
0
points
711
downloads

Publisher

verified publisherleehack.com

Weekly Downloads

Flutter Apple SwiftPM runtime companion package for llamadart stable-diffusion.cpp image generation.

Homepage
Repository (GitHub)
View/report issues

Topics

#stable-diffusion #image-generation #flutter

License

unknown (license)

Dependencies

flutter

More

Packages that depend on llamadart_stable_diffusion_flutter

Packages that implement llamadart_stable_diffusion_flutter