mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
feat(image-gen): add NanoGPT image generation provider (#1899)
Integrated into release/v3.7.9
This commit is contained in:
@@ -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"] },
|
||||
{ id: "z-image-turbo", name: "Z Image Turbo" },
|
||||
{ id: "chroma", name: "Chroma" },
|
||||
{ id: "hidream", name: "Hidream I1 Full" },
|
||||
],
|
||||
supportedSizes: ["1024x1024", "1024x1280", "1280x1024"],
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user