Ideogram 4: add architecture label to the model picker
Registers Ideogram / Ideogram 4 in the model enum so the New Workflow picker shows a proper "Ideogram" group. Completes the Ideogram 4 integration already in this repo: local-model recognition, text-to-image template, prompt-template library, and the JSON-envelope caption + auto-retry sampler that work around the model's built-in safety-block false positives.
This commit is contained in:
+6
-2
@@ -25,7 +25,8 @@ const ARCHITECTURES = [
|
||||
{ id: "ltx", label: "LTX Video" },
|
||||
{ id: "hunyuan_video", label: "HunyuanVideo" },
|
||||
{ id: "hidream", label: "HiDream" },
|
||||
{ id: "ernie", label: "ERNIE Image" }
|
||||
{ id: "ernie", label: "ERNIE Image" },
|
||||
{ id: "ideogram", label: "Ideogram" }
|
||||
];
|
||||
const FAMILIES = {
|
||||
sdxl: [
|
||||
@@ -81,6 +82,9 @@ const FAMILIES = {
|
||||
ernie: [
|
||||
{ id: "ernie_base", label: "ERNIE Image" },
|
||||
{ id: "ernie_turbo", label: "ERNIE Image Turbo" }
|
||||
],
|
||||
ideogram: [
|
||||
{ id: "ideogram4", label: "Ideogram 4" }
|
||||
]
|
||||
};
|
||||
export {
|
||||
@@ -89,4 +93,4 @@ export {
|
||||
extractPrecisions as e,
|
||||
resolveFilesForPrecision as r
|
||||
};
|
||||
//# sourceMappingURL=model-constants-WRFJ51jF.js.map
|
||||
//# sourceMappingURL=model-constants-DOP7d958.js.map
|
||||
@@ -1,7 +1,7 @@
|
||||
import { p as push, a as prop, D as comment, v as first_child, i as if_block, g as get, k as append, l as pop, s as state, e as set, f as sibling, t as template_effect, r as event, A as from_html, n as child, y as set_text, x as set_attribute, d as delegate, c as proxy, u as user_effect, E as untrack, o as bind_this, j as delegated, C as tick, m as user_derived, w as each, z as index, h as set_class, F as update, M as unmount, L as mount } from "./disclose-version-uq4tn5Y6.js";
|
||||
import { s as set_style } from "./style-Boi27oOu.js";
|
||||
import { b as bind_value } from "./input-DFQhebEz.js";
|
||||
import { e as extractPrecisions, r as resolveFilesForPrecision } from "./model-constants-WRFJ51jF.js";
|
||||
import { e as extractPrecisions, r as resolveFilesForPrecision } from "./model-constants-DOP7d958.js";
|
||||
import { api } from "/scripts/api.js";
|
||||
import { s as safeJson, H as HttpError } from "./api-context-BFKo1mCD.js";
|
||||
var root_2$4 = from_html(`<div class="pcr-hover-card-version svelte-oulz7g"> </div>`);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { d as delegate, p as push, a as prop, s as state, c as proxy, u as user_effect, e as set, f as sibling, o as bind_this, t as template_effect, g as get, x as set_attribute, q as set_value, j as delegated, k as append, l as pop, m as user_derived, n as child, A as from_html, w as each, z as index, i as if_block, G as set_checked, y as set_text, h as set_class, v as first_child, D as comment, I as to_array, a1 as set_selected, R as text, E as untrack, M as unmount, L as mount } from "./disclose-version-uq4tn5Y6.js";
|
||||
import { s as set_style } from "./style-Boi27oOu.js";
|
||||
import { F as FAMILIES, A as ARCHITECTURES } from "./model-constants-WRFJ51jF.js";
|
||||
import { F as FAMILIES, A as ARCHITECTURES } from "./model-constants-DOP7d958.js";
|
||||
import { S as SettingsSlider } from "./SettingsSlider-CKF_XmgB.js";
|
||||
import { b as bind_value } from "./input-DFQhebEz.js";
|
||||
import { b as bind_select_value } from "./select-Dp4ExMMc.js";
|
||||
|
||||
@@ -32,6 +32,7 @@ export const ARCHITECTURES = [
|
||||
{ id: "hunyuan_video", label: "HunyuanVideo" },
|
||||
{ id: "hidream", label: "HiDream" },
|
||||
{ id: "ernie", label: "ERNIE Image" },
|
||||
{ id: "ideogram", label: "Ideogram" },
|
||||
];
|
||||
|
||||
export const FAMILIES = {
|
||||
@@ -89,4 +90,7 @@ export const FAMILIES = {
|
||||
{ id: "ernie_base", label: "ERNIE Image" },
|
||||
{ id: "ernie_turbo", label: "ERNIE Image Turbo" },
|
||||
],
|
||||
ideogram: [
|
||||
{ id: "ideogram4", label: "Ideogram 4" },
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user