diff --git a/assets/js/config.js b/assets/js/config.js new file mode 100644 index 0000000..7b71fc3 --- /dev/null +++ b/assets/js/config.js @@ -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"];