Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions open-sse/config/imageRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,20 @@ export const IMAGE_PROVIDERS: Record<string, ImageProviderConfig> = {
models: [{ id: "topaz-enhance", name: "topaz-enhance", inputModalities: ["image"] }],
supportedSizes: ["1024x1024"],
},
nanogpt: {
id: "nanogpt",
baseUrl: "https://nano-gpt.com/api/v1/images/generations",
authType: "apikey",
authHeader: "bearer",
format: "openai",
models: [
{ id: "qwen-image", name: "Qwen Image", inputModalities: ["text", "image"] },
Comment thread
Aculeasis marked this conversation as resolved.
{ id: "z-image-turbo", name: "Z Image Turbo" },
{ id: "chroma", name: "Chroma" },
{ id: "hidream", name: "Hidream I1 Full" },
],
supportedSizes: ["1024x1024", "1024x1280", "1280x1024"],
},
};

/**
Expand Down
1 change: 1 addition & 0 deletions open-sse/handlers/imageGeneration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const OPENAI_IMAGE_TO_IMAGE_MODELS = new Set([
"flux-kontext-max",
"flux-kontext",
"flux-kontext-pro",
"qwen-image",
]);

const BFL_MODEL_ENDPOINTS = {
Expand Down