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
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
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