mirror of
https://github.com/vibegif/vibegif.lol.git
synced 2026-04-07 02:12:12 +00:00
Feat: Centralized app/model config
This commit is contained in:
39
assets/js/config.js
Normal file
39
assets/js/config.js
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
export const STORAGE_KEYS = {
|
||||||
|
apiKey: "vibegif_openrouter_api_key",
|
||||||
|
};
|
||||||
|
|
||||||
|
export const MASTER_PROMPT =
|
||||||
|
"minimal black and white line doodle, single stroke, white background, kawaii style";
|
||||||
|
|
||||||
|
export const NEXT_FRAME_PROMPT_TEMPLATE = (frameCount) =>
|
||||||
|
`imagine we are trying to create a ${frameCount} frame gif. generate the next meaningful frame`;
|
||||||
|
|
||||||
|
export const MODELS = [
|
||||||
|
{
|
||||||
|
id: "google/gemini-3.1-flash-image-preview",
|
||||||
|
label: "google/gemini-3.1-flash-image-preview",
|
||||||
|
supportsHalfK: true,
|
||||||
|
supportsExtendedAspectRatios: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "bytedance-seed/seedream-4.5",
|
||||||
|
label: "bytedance-seed/seedream-4.5",
|
||||||
|
supportsHalfK: false,
|
||||||
|
supportsExtendedAspectRatios: false,
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
export const BASE_ASPECT_RATIOS = [
|
||||||
|
"1:1",
|
||||||
|
"2:3",
|
||||||
|
"3:2",
|
||||||
|
"3:4",
|
||||||
|
"4:3",
|
||||||
|
"4:5",
|
||||||
|
"5:4",
|
||||||
|
"9:16",
|
||||||
|
"16:9",
|
||||||
|
"21:9",
|
||||||
|
];
|
||||||
|
|
||||||
|
export const GEMINI_EXTRA_ASPECT_RATIOS = ["1:4", "4:1", "1:8", "8:1"];
|
||||||
Reference in New Issue
Block a user