This commit is contained in:
Jack
2026-09-22 11:07:03 +08:00
parent 2598efb5bb
commit 3140cd51d2
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ API_BASE_URL = os.getenv("AGNES_API_BASE_URL", "https://apihub.agnes-ai.com/v1")
OUTPUT_DIR = Path("output")
MAX_RETRIES = 3
RETRYABLE_STATUS_CODES = {408, 429, 500, 502, 503, 504}
DEFAULT_MODEL = "agnes-image-2.1-flash"
DEFAULT_MODEL = "agnes-image-2.5-flash"
VALID_RATIOS = {"1:1", "3:4", "4:3", "16:9", "9:16", "2:3", "3:2", "21:9"}
RATIO_DIMENSIONS = {
"1:1": {"1K": "1024x1024", "2K": "2048x2048", "3K": "3072x3072", "4K": "4096x4096"},