Edit photos by describing the change, on your own GPU. A free, open-source alternative to Nano Banana and ChatGPT image editing: photos stay on your computer, no daily limit. One installer for Windows, Mac and Linux sets up the best open model (Qwen-Image 2.1). MCP server for AI agents.
TypeScript ai-photo-editorcomfyui-alternativegenerative-fillimage-editingimage-generationinpaintinglinuxlocal-aimacosmcpmcp-servernano-banana-alternativeofflinephoto-editorprivacyqwen-imageqwen-image-2-1stable-diffusion-cppvulkanwindows
import XCTest
@testable import KokonEngine
/// The kernels are found from `swift build`'s folder, and the places include Kokon.app's layout.
final class EngineBundleTests: XCTestCase {
func testFindsTheKernels() throws {
let kernels = try XCTUnwrap(EngineBundle.kernels)
XCTAssertTrue(FileManager.default.fileExists(atPath: kernels.appendingPathComponent("dit.metal").path))
}
func testPlacesInsideTheApp() {
let places = EngineBundle.places(executable: URL(fileURLWithPath: "/Applications/Kokon.app/Contents/MacOS/kokon-engine-mac"))
XCTAssertEqual(places.map(\.path), [
"/Applications/Kokon.app/Contents/MacOS/KokonEngineMac_KokonEngine.bundle",
"/Applications/Kokon.app/Contents/MacOS/engine-mac/KokonEngineMac_KokonEngine.bundle",
"/Applications/Kokon.app/Contents/Resources/engine-mac/KokonEngineMac_KokonEngine.bundle",
])
}
}