chore: rename media provider IDs to 1h-video and 1h-image
This commit is contained in:
1 parent
ffe71f24b4
commit
a08a10c30c
9 files changed
+25
-30
No files matched your search
Vendored
+2
-3
@@ -73,9 +73,8 @@ export function resolveImageSize(params) {
|
||||
}
|
||||
export function buildOpenAIImageGenerationProvider({ isProviderApiKeyConfigured, getPluginConfig, }) {
|
||||
return {
|
||||
id: "openai-image",
|
||||
aliases: ["bifrost-image", "custom-image"],
|
||||
label: "OpenAI Image (Custom / Bifrost)",
|
||||
id: "1h-image",
|
||||
label: "1-h Image",
|
||||
defaultModel: DEFAULT_OPENAI_IMAGE_MODEL,
|
||||
models: [DEFAULT_OPENAI_IMAGE_MODEL, "gpt-image-1.5", "gemini-3.1-flash-image"],
|
||||
isConfigured: (ctx) => {
|
||||
|
||||
Vendored
+2
-3
@@ -131,9 +131,8 @@ export async function fetchOpenAIVideoDownload(params) {
|
||||
}
|
||||
export function buildOpenAIVideoGenerationProvider({ isProviderApiKeyConfigured, getPluginConfig, }) {
|
||||
return {
|
||||
id: "openai-video",
|
||||
aliases: ["openai"],
|
||||
label: "OpenAI",
|
||||
id: "1h-video",
|
||||
label: "1-h Video",
|
||||
defaultModel: DEFAULT_OPENAI_VIDEO_MODEL,
|
||||
models: [DEFAULT_OPENAI_VIDEO_MODEL, "sora-2-pro", "gemini-video"],
|
||||
isConfigured: (ctx) => {
|
||||
|
||||
Reference in new issue
Block a user