artcraft-native: generate with Midjourney or fal (provider choice) (#2115)

Images can run on Midjourney (own account, via a sign-in window) or fal (own API key), chosen from the model selector's Select Provider submenu. Jobs finish into the library. The Midjourney credential manager and the router prompt helper move into shared crates used by both desktop apps.
This commit is contained in:
BFlat
2026-10-11 20:47:59 +07:00
committed by GitHub
parent 28a39a0de4
commit d4e4ac69bb
39 changed files with 2169 additions and 464 deletions
Generated
+12
View File
@@ -487,8 +487,10 @@ dependencies = [
"arboard",
"artcraft_api_defs",
"artcraft_client",
"artcraft_router",
"chrono",
"cookie",
"cookie_store_wrapper",
"directories",
"eframe",
"egui",
@@ -496,8 +498,10 @@ dependencies = [
"egui_kittest",
"enums",
"env_logger",
"fal_client",
"image",
"log",
"midjourney_client",
"open",
"reqwest 0.12.23",
"resvg",
@@ -505,9 +509,12 @@ dependencies = [
"rodio",
"serde",
"serde_json",
"tempfile",
"tokens",
"tokio",
"url",
"uuid 1.22.0",
"wry",
]
[[package]]
@@ -5009,7 +5016,9 @@ name = "midjourney_client"
version = "0.0.1"
dependencies = [
"anyhow",
"base64 0.22.1",
"browser_emulation",
"chrono",
"ciborium",
"cloudflare_errors",
"cookie_store_wrapper",
@@ -5020,10 +5029,13 @@ dependencies = [
"log",
"serde",
"serde_json",
"tempfile",
"test_data",
"test_utils",
"tokio",
"toml 1.1.8+spec-1.1.0",
"url",
"uuid_utils",
"wreq",
"wreq-util",
]