Update GenerativeManager.swift
The package is a mediator between Apple’s Core ML Stable Diffusion implementation and your app that let you run text-to-image or image-to-image models
let manager = GenerativeManager()
let images: [CGImage?] = try await manager.generate( with: config, by: pipeline )
CoreML stable diffusion image generation
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
CoreML stable diffusion image generation
The package is a mediator between Apple’s Core ML Stable Diffusion implementation and your app that let you run text-to-image or image-to-image models
How to use the package
1. Create GenerativeManager
2. Run async method generate
SwiftUI example
CoreML stable diffusion image generation
Documentation(API)
Used packages