Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

53.3 KB
Raw Blame
{
  "settings": [
    {
      "category": "WEB",
      "default": "127.0.0.1",
      "description": "IP address to bind to. Use `0.0.0.0` to serve to your local network.",
      "env_var": "INVOKEAI_HOST",
      "literal_values": [],
      "name": "host",
      "required": false,
      "type": "<class 'str'>",
      "validation": {}
    },
    {
      "category": "WEB",
      "default": 9090,
      "description": "Port to bind to.",
      "env_var": "INVOKEAI_PORT",
      "literal_values": [],
      "name": "port",
      "required": false,
      "type": "<class 'int'>",
      "validation": {}
    },
    {
      "category": "WEB",
      "default": [],
      "description": "Allowed CORS origins.",
      "env_var": "INVOKEAI_ALLOW_ORIGINS",
      "literal_values": [],
      "name": "allow_origins",
      "required": false,
      "type": "list[str]",
      "validation": {}
    },
    {
      "category": "WEB",
      "default": true,
      "description": "Allow CORS credentials.",
      "env_var": "INVOKEAI_ALLOW_CREDENTIALS",
      "literal_values": [],
      "name": "allow_credentials",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "WEB",
      "default": [
        "*"
      ],
      "description": "Methods allowed for CORS.",
      "env_var": "INVOKEAI_ALLOW_METHODS",
      "literal_values": [],
      "name": "allow_methods",
      "required": false,
      "type": "list[str]",
      "validation": {}
    },
    {
      "category": "WEB",
      "default": [
        "*"
      ],
      "description": "Headers allowed for CORS.",
      "env_var": "INVOKEAI_ALLOW_HEADERS",
      "literal_values": [],
      "name": "allow_headers",
      "required": false,
      "type": "list[str]",
      "validation": {}
    },
    {
      "category": "WEB",
      "default": null,
      "description": "SSL certificate file for HTTPS. See https://www.uvicorn.dev/settings/#https.",
      "env_var": "INVOKEAI_SSL_CERTFILE",
      "literal_values": [],
      "name": "ssl_certfile",
      "required": false,
      "type": "typing.Optional[pathlib.Path]",
      "validation": {}
    },
    {
      "category": "WEB",
      "default": null,
      "description": "SSL key file for HTTPS. See https://www.uvicorn.dev/settings/#https.",
      "env_var": "INVOKEAI_SSL_KEYFILE",
      "literal_values": [],
      "name": "ssl_keyfile",
      "required": false,
      "type": "typing.Optional[pathlib.Path]",
      "validation": {}
    },
    {
      "category": "WEB",
      "default": null,
      "description": "Public base path when running behind a reverse proxy under a sub-path, e.g. `/invoke`. Required when the proxy PRESERVES the sub-path (the backend receives `/invoke/api/...`); optional when the proxy strips it (set it anyway so openapi/docs URLs are correct). Leave unset when serving at the domain root. Normalized to a single leading slash with no trailing slash.",
      "env_var": "INVOKEAI_BASE_URL",
      "literal_values": [],
      "name": "base_url",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "WEB",
      "default": "127.0.0.1",
      "description": "Comma-separated list of IPs (or `*`) allowed to set X-Forwarded-* headers. Set to the reverse proxy's IP. Only used when `base_url` is set.",
      "env_var": "INVOKEAI_FORWARDED_ALLOW_IPS",
      "literal_values": [],
      "name": "forwarded_allow_ips",
      "required": false,
      "type": "<class 'str'>",
      "validation": {}
    },
    {
      "category": "WEB",
      "default": 9,
      "description": "Compression level for gzipped HTTP API responses. 0 disables response compression entirely, 1 is fastest, 9 (the default) is smallest. Compression runs on the event loop and blocks the whole server while it works, and level 9 costs about 5.5x the time of level 1 for 0.4 percentage points of extra compression, so lowering this makes the app noticeably more responsive on large libraries. Set to 0 when a reverse proxy already compresses responses.",
      "env_var": "INVOKEAI_HTTP_COMPRESSION_LEVEL",
      "literal_values": [],
      "name": "http_compression_level",
      "required": false,
      "type": "<class 'int'>",
      "validation": {}
    },
    {
      "category": "MISC FEATURES",
      "default": true,
      "description": "Show the Donate to InvokeAI link in the frontend menus.",
      "env_var": "INVOKEAI_SHOW_DONATION_LINK",
      "literal_values": [],
      "name": "show_donation_link",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "MISC FEATURES",
      "default": false,
      "description": "Enable logging of parsed prompt tokens.",
      "env_var": "INVOKEAI_LOG_TOKENIZATION",
      "literal_values": [],
      "name": "log_tokenization",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "MISC FEATURES",
      "default": true,
      "description": "Enable patchmatch inpaint code.",
      "env_var": "INVOKEAI_PATCHMATCH",
      "literal_values": [],
      "name": "patchmatch",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "models",
      "description": "Path to the models directory.",
      "env_var": "INVOKEAI_MODELS_DIR",
      "literal_values": [],
      "name": "models_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "models/.convert_cache",
      "description": "Path to the converted models cache directory (DEPRECATED, but do not delete because it is needed for migration from previous versions).",
      "env_var": "INVOKEAI_CONVERT_CACHE_DIR",
      "literal_values": [],
      "name": "convert_cache_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "models/.download_cache",
      "description": "Path to the directory that contains dynamically downloaded models.",
      "env_var": "INVOKEAI_DOWNLOAD_CACHE_DIR",
      "literal_values": [],
      "name": "download_cache_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "configs",
      "description": "Path to directory of legacy checkpoint config files.",
      "env_var": "INVOKEAI_LEGACY_CONF_DIR",
      "literal_values": [],
      "name": "legacy_conf_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "databases",
      "description": "Path to InvokeAI databases directory.",
      "env_var": "INVOKEAI_DB_DIR",
      "literal_values": [],
      "name": "db_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": null,
      "description": "URL of a MySQL 8.4+ or MariaDB 10.11+ database to use instead of the SQLite database in `db_dir`, e.g. `mariadb+pymysql://invokeai:[email protected]/invokeai`. Needs the `mysql` extra. One InvokeAI process uses a database at a time. Read at startup only.",
      "env_var": "INVOKEAI_DB_URL",
      "literal_values": [],
      "name": "db_url",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "full",
      "description": "SQLite durability setting. `full`, the default and what InvokeAI has always used, flushes every commit to disk. `normal` acknowledges commits without waiting for that flush - measured at roughly 12x shorter commits on an SSD - and cannot corrupt the database under WAL, which is why it is refused, with a warning, when WAL is unavailable for the database file. What `normal` gives up is the most recent transactions on a power loss or OS crash: a just-written image record or queue status, not the image file itself.",
      "env_var": "INVOKEAI_DB_SYNCHRONOUS",
      "literal_values": [
        "full",
        "normal"
      ],
      "name": "db_synchronous",
      "required": false,
      "type": "typing.Literal['full', 'normal']",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "outputs",
      "description": "Path to directory for outputs.",
      "env_var": "INVOKEAI_OUTPUTS_DIR",
      "literal_values": [],
      "name": "outputs_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "fonts",
      "description": "Path to directory for custom fonts.",
      "env_var": "INVOKEAI_FONTS_DIR",
      "literal_values": [],
      "name": "fonts_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "fonts-uploaded",
      "description": "Path to application-managed uploaded fonts.",
      "env_var": "INVOKEAI_FONTS_STORAGE_DIR",
      "literal_values": [],
      "name": "fonts_storage_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": 33554432,
      "description": "Maximum size of one uploaded custom font in bytes.",
      "env_var": "INVOKEAI_MAX_FONT_UPLOAD_BYTES",
      "literal_values": [],
      "name": "max_font_upload_bytes",
      "required": false,
      "type": "<class 'int'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": 1073741824,
      "description": "Maximum total size of uploaded custom fonts in bytes per account or shared library.",
      "env_var": "INVOKEAI_MAX_FONT_LIBRARY_BYTES",
      "literal_values": [],
      "name": "max_font_library_bytes",
      "required": false,
      "type": "<class 'int'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": 52428800,
      "description": "Maximum size in bytes of one managed file upload.",
      "env_var": "INVOKEAI_MAX_FILE_UPLOAD_SIZE_BYTES",
      "literal_values": [],
      "name": "max_file_upload_size_bytes",
      "required": false,
      "type": "<class 'int'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": 5368709120,
      "description": "Maximum total size in bytes of all managed files.",
      "env_var": "INVOKEAI_MAX_FILE_LIBRARY_BYTES",
      "literal_values": [],
      "name": "max_file_library_bytes",
      "required": false,
      "type": "<class 'int'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "flat",
      "description": "Strategy for organizing images into subfolders. 'flat' stores all images in a single folder. 'date' organizes by YYYY/MM/DD. 'type' organizes by image category. 'hash' uses first 2 characters of UUID for filesystem performance.",
      "env_var": "INVOKEAI_IMAGE_SUBFOLDER_STRATEGY",
      "literal_values": [
        "flat",
        "date",
        "type",
        "hash"
      ],
      "name": "image_subfolder_strategy",
      "required": false,
      "type": "typing.Literal['flat', 'date', 'type', 'hash']",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "nodes",
      "description": "Path to directory for custom nodes.",
      "env_var": "INVOKEAI_CUSTOM_NODES_DIR",
      "literal_values": [],
      "name": "custom_nodes_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "style_presets",
      "description": "Path to directory for style presets.",
      "env_var": "INVOKEAI_STYLE_PRESETS_DIR",
      "literal_values": [],
      "name": "style_presets_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "prompt_files",
      "description": "Path to the directory holding prompt list files readable by the Prompts from File node. The node cannot read outside this directory.",
      "env_var": "INVOKEAI_PROMPT_FILES_DIR",
      "literal_values": [],
      "name": "prompt_files_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "PATHS",
      "default": "workflow_thumbnails",
      "description": "Path to directory for workflow thumbnails.",
      "env_var": "INVOKEAI_WORKFLOW_THUMBNAILS_DIR",
      "literal_values": [],
      "name": "workflow_thumbnails_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "LOGGING",
      "default": [
        "console"
      ],
      "description": "Log handler. Valid options are \"console\", \"file=<path>\", \"syslog=path|address:host:port\", \"http=<url>\".",
      "env_var": "INVOKEAI_LOG_HANDLERS",
      "literal_values": [],
      "name": "log_handlers",
      "required": false,
      "type": "list[str]",
      "validation": {}
    },
    {
      "category": "LOGGING",
      "default": "color",
      "description": "Log format. Use \"plain\" for text-only, \"color\" for colorized output, \"legacy\" for 2.3-style logging and \"syslog\" for syslog-style.",
      "env_var": "INVOKEAI_LOG_FORMAT",
      "literal_values": [
        "plain",
        "color",
        "syslog",
        "legacy"
      ],
      "name": "log_format",
      "required": false,
      "type": "typing.Literal['plain', 'color', 'syslog', 'legacy']",
      "validation": {}
    },
    {
      "category": "LOGGING",
      "default": "info",
      "description": "Emit logging messages at this level or higher.",
      "env_var": "INVOKEAI_LOG_LEVEL",
      "literal_values": [
        "debug",
        "info",
        "warning",
        "error",
        "critical"
      ],
      "name": "log_level",
      "required": false,
      "type": "typing.Literal['debug', 'info', 'warning', 'error', 'critical']",
      "validation": {}
    },
    {
      "category": "LOGGING",
      "default": false,
      "description": "Log SQL queries. `log_level` must be `debug` for this to do anything. Extremely verbose.",
      "env_var": "INVOKEAI_LOG_SQL",
      "literal_values": [],
      "name": "log_sql",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "LOGGING",
      "default": "warning",
      "description": "Log level for network-related messages. 'info' and 'debug' are very verbose.",
      "env_var": "INVOKEAI_LOG_LEVEL_NETWORK",
      "literal_values": [
        "debug",
        "info",
        "warning",
        "error",
        "critical"
      ],
      "name": "log_level_network",
      "required": false,
      "type": "typing.Literal['debug', 'info', 'warning', 'error', 'critical']",
      "validation": {}
    },
    {
      "category": "LOGGING",
      "default": false,
      "description": "Use in-memory database. Useful for development.",
      "env_var": "INVOKEAI_USE_MEMORY_DB",
      "literal_values": [],
      "name": "use_memory_db",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "LOGGING",
      "default": false,
      "description": "Automatically reload when Python sources are changed. Does not reload node definitions.",
      "env_var": "INVOKEAI_DEV_RELOAD",
      "literal_values": [],
      "name": "dev_reload",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "LOGGING",
      "default": false,
      "description": "Enable graph profiling using `cProfile`.",
      "env_var": "INVOKEAI_PROFILE_GRAPHS",
      "literal_values": [],
      "name": "profile_graphs",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "LOGGING",
      "default": null,
      "description": "An optional prefix for profile output files.",
      "env_var": "INVOKEAI_PROFILE_PREFIX",
      "literal_values": [],
      "name": "profile_prefix",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "LOGGING",
      "default": "profiles",
      "description": "Path to profiles output directory.",
      "env_var": "INVOKEAI_PROFILES_DIR",
      "literal_values": [],
      "name": "profiles_dir",
      "required": false,
      "type": "<class 'pathlib.Path'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": null,
      "description": "The maximum amount of CPU RAM to use for model caching in GB. If unset, the limit will be configured based on the available RAM. In most cases, it is recommended to leave this unset.",
      "env_var": "INVOKEAI_MAX_CACHE_RAM_GB",
      "literal_values": [],
      "name": "max_cache_ram_gb",
      "required": false,
      "type": "typing.Optional[float]",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": null,
      "description": "The amount of VRAM to use for model caching in GB. If unset, the limit will be configured based on the available VRAM and the device_working_mem_gb. In most cases, it is recommended to leave this unset.",
      "env_var": "INVOKEAI_MAX_CACHE_VRAM_GB",
      "literal_values": [],
      "name": "max_cache_vram_gb",
      "required": false,
      "type": "typing.Optional[float]",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": 0.0,
      "description": "The amount of VRAM (in GB) to subtract from the model cache's available memory budget. Defaults to 0.",
      "env_var": "INVOKEAI_RESERVE_VRAM_GB",
      "literal_values": [],
      "name": "reserve_vram_gb",
      "required": false,
      "type": "<class 'float'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": false,
      "description": "If True, a memory snapshot will be captured before and after every model cache operation, and the result will be logged (at debug level). There is a time cost to capturing the memory snapshots, so it is recommended to only enable this feature if you are actively inspecting the model cache's behaviour.",
      "env_var": "INVOKEAI_LOG_MEMORY_USAGE",
      "literal_values": [],
      "name": "log_memory_usage",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": 0,
      "description": "How long to keep models in cache after last use, in minutes. A value of 0 (the default) means models are kept in cache indefinitely. If no model generations occur within the timeout period, the model cache is cleared using the same logic as the 'Clear Model Cache' button.",
      "env_var": "INVOKEAI_MODEL_CACHE_KEEP_ALIVE_MIN",
      "literal_values": [],
      "name": "model_cache_keep_alive_min",
      "required": false,
      "type": "<class 'float'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": 3,
      "description": "The amount of working memory to keep available on the compute device (in GB). Has no effect if running on CPU. If you are experiencing OOM errors, try increasing this value.",
      "env_var": "INVOKEAI_DEVICE_WORKING_MEM_GB",
      "literal_values": [],
      "name": "device_working_mem_gb",
      "required": false,
      "type": "<class 'float'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": true,
      "description": "Enable partial loading of models. This enables models to run with reduced VRAM requirements (at the cost of slower speed) by streaming the model from RAM to VRAM as its used. In some edge cases, partial loading can cause models to run more slowly if they were previously being fully loaded into VRAM.",
      "env_var": "INVOKEAI_ENABLE_PARTIAL_LOADING",
      "literal_values": [],
      "name": "enable_partial_loading",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": true,
      "description": "Whether to keep a full RAM copy of a model's weights when the model is loaded in VRAM. Keeping a RAM copy increases average RAM usage, but speeds up model switching and LoRA patching (assuming there is sufficient RAM). Set this to False if RAM pressure is consistently high.",
      "env_var": "INVOKEAI_KEEP_RAM_COPY_OF_WEIGHTS",
      "literal_values": [],
      "name": "keep_ram_copy_of_weights",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": true,
      "description": "When a session uses main models of another architecture than the previous one on the same GPU, move every model it does not use from VRAM to RAM before it runs. Models both sessions use stay. Switching back reloads the moved models from RAM, which costs a few seconds per switch when both architectures would have fit in VRAM together; turn this off if you alternate between such models.",
      "env_var": "INVOKEAI_OFFLOAD_ON_ARCHITECTURE_SWITCH",
      "literal_values": [],
      "name": "offload_on_architecture_switch",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": false,
      "description": "After every queue item (each image of a batch), move the models held in VRAM to RAM and return the freed memory to the GPU driver. The models stay cached in RAM; the next item reloads them from there, which costs a few seconds (more with keep_ram_copy_of_weights off). Changes nothing where VRAM is system memory (CPU, MPS, integrated GPUs). Turn this on if a generation that runs fine the first time runs out of memory, or slows down sharply because the GPU spills into shared memory, when it is repeated.",
      "env_var": "INVOKEAI_CLEAR_VRAM_AFTER_SESSION",
      "literal_values": [],
      "name": "clear_vram_after_session",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": false,
      "description": "Keep ComfyUI 'scaled fp8' checkpoints quantized instead of dequantizing them at load, and run their matmuls on the fp8 tensor cores (requires an Ada/SM 8.9 or newer NVIDIA GPU, or a ROCm GPU that passes an fp8 matmul probe; falls back automatically otherwise). Speeds up denoising and keeps the transformer at fp8 size - FP8 Storage alone also keeps it at that size, without the speedup - but quantizes activations as well, so images will differ from previous versions at the same seed. Reproducibility also requires the model to be FULLY resident in VRAM: a layer whose weights are still in RAM falls back to the dequantized path, and since which layers are resident shifts from run to run, the same seed then yields visibly different images. For repeatable output, ensure the model loads at 100% (e.g. enable_partial_loading=false with enough free VRAM).",
      "env_var": "INVOKEAI_FP8_COMPUTE",
      "literal_values": [],
      "name": "fp8_compute",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": true,
      "description": "Honor the per-layer 'full_precision_matrix_mult' flags that some scaled-fp8 checkpoints ship. Those layers then dequantize on every forward instead of using the fp8 tensor cores, which can cost a large part of the fp8_compute speedup - on checkpoints that mark many layers, most of it. Set to false to run every quantized layer on the fp8 tensor cores, ignoring the producer's instruction; faster, but the marked layers were flagged as numerically sensitive, so quality may suffer. Only has an effect when fp8_compute is enabled.",
      "env_var": "INVOKEAI_FP8_COMPUTE_FULL_PRECISION_HINTS",
      "literal_values": [],
      "name": "fp8_compute_full_precision_hints",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": false,
      "description": "Run the matmuls of ComfyUI int8 builds quantized with convrot ('int8_tensorwise' with 'convrot') on the int8 tensor cores instead of dequantizing their weights on every forward (requires an NVIDIA GPU with compute capability 8.0 or newer and Triton; falls back automatically otherwise, including on AMD, Apple and Intel GPUs and the CPU). Speeds up denoising with these builds, but quantizes activations per token as well, so images will differ from the dequantized path at the same seed. The kernels are tuned once per layer shape and token-count bucket: about 35 seconds for the first image after enabling it, about 1-5 seconds for a later size in a new token-count bucket, cached on disk across restarts.",
      "env_var": "INVOKEAI_INT8_COMPUTE",
      "literal_values": [],
      "name": "int8_compute",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": false,
      "description": "When a model is only partially loaded into VRAM, copy the weights it streams from RAM to the GPU asynchronously from page-locked RAM on a separate stream, overlapping with the computation, instead of one blocking copy per layer. Speeds up partially loaded models; images stay identical. Requires an NVIDIA or AMD (ROCm) GPU and keep_ram_copy_of_weights; falls back to the blocking copy automatically otherwise (Apple and Intel GPUs, the CPU, and GGUF or other specially quantized weights, which gain nothing from it). Copies in flight take up to about 384MB of VRAM; the model cache keeps that much free for them, so slightly less of such a model stays in VRAM. The RAM copy of the streamed weights is page-locked and stays locked while the model is in the cache, so models taking turns in VRAM lock it once (not swappable; at most 40% of physical RAM, where the weights of models not running are unlocked first); weights loaded from a file mapping are read into RAM when they are first locked. Has no effect on models that fit fully in VRAM.",
      "env_var": "INVOKEAI_ASYNC_WEIGHT_STREAMING",
      "literal_values": [],
      "name": "async_weight_streaming",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": null,
      "description": "DEPRECATED: This setting is no longer used. It has been replaced by `max_cache_ram_gb`, but most users will not need to use this config since automatic cache size limits should work well in most cases. This config setting will be removed once the new model cache behavior is stable.",
      "env_var": "INVOKEAI_RAM",
      "literal_values": [],
      "name": "ram",
      "required": false,
      "type": "typing.Optional[float]",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": null,
      "description": "DEPRECATED: This setting is no longer used. It has been replaced by `max_cache_vram_gb`, but most users will not need to use this config since automatic cache size limits should work well in most cases. This config setting will be removed once the new model cache behavior is stable.",
      "env_var": "INVOKEAI_VRAM",
      "literal_values": [],
      "name": "vram",
      "required": false,
      "type": "typing.Optional[float]",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": true,
      "description": "DEPRECATED: This setting is no longer used. Lazy-offloading is enabled by default. This config setting will be removed once the new model cache behavior is stable.",
      "env_var": "INVOKEAI_LAZY_OFFLOAD",
      "literal_values": [],
      "name": "lazy_offload",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "CACHE",
      "default": null,
      "description": "Configure the Torch CUDA memory allocator. This will impact peak reserved VRAM usage and performance. Setting to \"backend:cudaMallocAsync\" works well on many systems. The optimal configuration is highly dependent on the system configuration (device type, VRAM, CUDA driver version, etc.), so must be tuned experimentally. Unset on a ROCm build of PyTorch on Windows, \"expandable_segments:True\" is used.",
      "env_var": "INVOKEAI_PYTORCH_CUDA_ALLOC_CONF",
      "literal_values": [],
      "name": "pytorch_cuda_alloc_conf",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "DEVICE",
      "default": "auto",
      "description": "Preferred execution device. `auto` will choose the device depending on the hardware platform and the installed torch capabilities.<br>Valid values: `auto`, `cpu`, `cuda`, `mps`, `xpu`, `cuda:N`, `xpu:N` (where N is a device number)",
      "env_var": "INVOKEAI_DEVICE",
      "literal_values": [],
      "name": "device",
      "required": false,
      "type": "<class 'str'>",
      "validation": {}
    },
    {
      "category": "DEVICE",
      "default": "auto",
      "description": "Devices to use for parallel generation. `auto` (the default) uses every available GPU, except an integrated GPU next to a discrete one, running one generation session per GPU concurrently and distributing jobs fairly across users \u2014 unless the legacy `device` setting is pinned to a specific device, in which case `auto` uses only that device (preserving configs that pinned `device` before multi-GPU support existed). Provide an explicit list (e.g. `[cuda:0, cuda:1]`) to use specific devices regardless of `device`, or a single-device list (e.g. `[cuda:0]`) to run serially. On systems without a GPU, `auto` resolves to the single `cpu`/`mps` device.<br>Valid values: `auto`, or a list whose entries are each `cpu`, `cuda`, `mps`, `xpu`, `cuda:N`, or `xpu:N` (where N is a device number)",
      "env_var": "INVOKEAI_GENERATION_DEVICES",
      "literal_values": [],
      "name": "generation_devices",
      "required": false,
      "type": "typing.Union[typing.Literal['auto'], list[str]]",
      "validation": {}
    },
    {
      "category": "DEVICE",
      "default": true,
      "description": "When running on multiple GPUs, load text encoders onto a currently-idle GPU instead of the one running the denoise pipeline. This avoids churning the denoise model in and out of VRAM to make room for the encoder, and lets a cached encoder be reused across generations. Has no effect unless at least two `generation_devices` are configured and a GPU is idle; under full load encoders run on the session's own GPU as before.",
      "env_var": "INVOKEAI_OFFLOAD_TEXT_ENCODERS_TO_IDLE_GPUS",
      "literal_values": [],
      "name": "offload_text_encoders_to_idle_gpus",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "DEVICE",
      "default": "auto",
      "description": "Floating point precision. `float16` will consume half the memory of `float32` but produce slightly lower-quality images. The `auto` setting will guess the proper precision based on your video card and operating system.",
      "env_var": "INVOKEAI_PRECISION",
      "literal_values": [
        "auto",
        "float16",
        "bfloat16",
        "float32"
      ],
      "name": "precision",
      "required": false,
      "type": "typing.Literal['auto', 'float16', 'bfloat16', 'float32']",
      "validation": {}
    },
    {
      "category": "DEVICE",
      "default": "auto",
      "description": "Use AOTriton's fused (flash and memory-efficient) attention kernels on AMD GPUs that PyTorch marks experimental for them, such as the RX 7600/7700/7800 series, Ryzen AI 300/Max and the RX 9060 series, by setting TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL. Without them, attention on those GPUs runs on the slower math kernel, which also needs far more memory. `auto` turns them on only with a ROCm 10 build of PyTorch, and only when every GPU used for generation is one they were measured correct on (so far gfx1200, the RX 9060 series); `on` and `off` decide for any build and GPU. A TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL value already set in the environment takes precedence. Has no effect on other GPUs.",
      "env_var": "INVOKEAI_ROCM_AOTRITON_EXPERIMENTAL",
      "literal_values": [
        "auto",
        "on",
        "off"
      ],
      "name": "rocm_aotriton_experimental",
      "required": false,
      "type": "typing.Literal['auto', 'on', 'off']",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": false,
      "description": "Whether to calculate guidance in serial instead of in parallel, lowering memory requirements.",
      "env_var": "INVOKEAI_SEQUENTIAL_GUIDANCE",
      "literal_values": [],
      "name": "sequential_guidance",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": "float32",
      "description": "The dtype seeded noise is drawn in for SD1.5/SDXL, SD3, FLUX.1, FLUX.2, CogView4 and the Z-Image seed variance enhancer. `float32` draws the same noise on every platform. `float16` is the half-precision draw of earlier versions: on macOS it keeps the images your seeds gave before this update; on Windows and Linux both values give (nearly) the same images, and images made before the update cannot be reproduced there.",
      "env_var": "INVOKEAI_NOISE_DTYPE",
      "literal_values": [
        "float32",
        "float16"
      ],
      "name": "noise_dtype",
      "required": false,
      "type": "typing.Literal['float32', 'float16']",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": false,
      "description": "Enable experimental Wan memory optimizations at the cost of slower generation.",
      "env_var": "INVOKEAI_WAN_MEMORY_OPTIMIZATION",
      "literal_values": [],
      "name": "wan_memory_optimization",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": false,
      "description": "Enable experimental PiD decode memory optimizations. Roughly halves the peak activation memory of a PiD decode; in exchange the decoded image changes slightly, because neither the chunked pixel pathway nor the float32 sampler intermediates are bit-exact with the default path.",
      "env_var": "INVOKEAI_PID_MEMORY_OPTIMIZATION",
      "literal_values": [],
      "name": "pid_memory_optimization",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": false,
      "description": "Render denoising previews with an installed Tiny AutoEncoder instead of the linear latent projection. Install the matching Tiny AutoEncoder starter model; families without one keep linear previews. A preview costs a few tens of ms and up to about 1.1 GB of transient VRAM on an RTX 4090 (image decoders 0.15-0.65 GB, Wan video windows up to 1.1 GB); a TAE that does not fit in VRAM next to the running model can instead run on the CPU (its `Decode previews on CPU` setting in the model manager): previews are capped at 512 px there and a frame takes about 0.3-0.4 s (TAESDXL, TAEF2), 0.8-1.1 s (TAEW2.1, one frame) or 1.0-1.9 s (Wan two-frame window) on a Ryzen 9 7900 with 8 threads in float32, so previews update less often.",
      "env_var": "INVOKEAI_TINY_AUTOENCODER_PREVIEWS",
      "literal_values": [],
      "name": "tiny_autoencoder_previews",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": "auto",
      "description": "Attention type.",
      "env_var": "INVOKEAI_ATTENTION_TYPE",
      "literal_values": [
        "auto",
        "normal",
        "xformers",
        "sliced",
        "torch-sdp"
      ],
      "name": "attention_type",
      "required": false,
      "type": "typing.Literal['auto', 'normal', 'xformers', 'sliced', 'torch-sdp']",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": "auto",
      "description": "Slice size, valid when attention_type==\"sliced\".",
      "env_var": "INVOKEAI_ATTENTION_SLICE_SIZE",
      "literal_values": [
        "auto",
        "balanced",
        "max",
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8
      ],
      "name": "attention_slice_size",
      "required": false,
      "type": "typing.Literal['auto', 'balanced', 'max', 1, 2, 3, 4, 5, 6, 7, 8]",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": "auto",
      "description": "Attention kernel for the attention inside diffusion models. `auto` uses PyTorch's exact SDPA kernels ranked flash, cuDNN, memory-efficient, math, taking the first one the GPU and build support for each call; it never selects a quantized one. `sage` uses SageAttention 2 for the models listed in the SageAttention docs: faster, most at high resolutions and for video, but quantized, so images differ slightly from `auto` at the same seed. SageAttention is installed separately and needs an NVIDIA GPU with compute capability 8.0 or newer; masked attention, text encoders and VAEs keep PyTorch SDPA. `cudnn`, `flash`, `efficient` and `math` rank that PyTorch kernel first for all attention on CUDA and ROCm GPUs, ahead of the `auto` order. That is never exclusive: a call the kernel cannot serve runs on the next kernel, and the log reports that once per node type and reason (not for the PiD decoder, whose attention is ranked the same but not reported). `math` materializes the full attention score matrix, so it is slow and needs much more memory, which the working-memory estimates of most model families do not reserve, so generations can run out of memory; it is meant for debugging. Images can differ slightly between kernels.",
      "env_var": "INVOKEAI_ATTENTION_BACKEND",
      "literal_values": [
        "auto",
        "sage",
        "cudnn",
        "flash",
        "efficient",
        "math"
      ],
      "name": "attention_backend",
      "required": false,
      "type": "typing.Literal['auto', 'sage', 'cudnn', 'flash', 'efficient', 'math']",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": false,
      "description": "Whether to enable tiled VAE decode (reduces memory consumption with some performance penalty). A tiled decode is not pixel-identical to a single-pass one: a VAE decoder normalises and attends over the whole image, so the difference is spread across it rather than confined to the tile seams. Also tiles the encode. Read by the SD1.5/SDXL, FLUX.1, FLUX.2, Z-Image, Qwen-Image and Qwen-Image-2.1 VAE nodes, the Anima encode, the Z-Image control encode and the Krea-2 style reference; other model families ignore it.",
      "env_var": "INVOKEAI_FORCE_TILED_DECODE",
      "literal_values": [],
      "name": "force_tiled_decode",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": true,
      "description": "Decode large images in tiles when an untiled decode's estimated working memory would take most of the GPU's memory (FLUX.1, FLUX.2, Z-Image, Qwen-Image, Qwen-Image-2.1, Krea-2 and Wan decodes, and Qwen-Image-2.1 encodes). Turn off to decode untiled unless tiling is requested; the FLUX.1, FLUX.2 and Z-Image decodes then still retry tiled after running out of memory. Anima keeps tiling a decode too large for its GPU either way, because tiling is what makes that case fast there.",
      "env_var": "INVOKEAI_AUTO_TILED_DECODE",
      "literal_values": [],
      "name": "auto_tiled_decode",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": 1,
      "description": "The compress_level setting of PIL.Image.save(), used for PNG encoding. All settings are lossless. 0 = no compression, 1 = fastest with slightly larger filesize, 9 = slowest with smallest filesize. 1 is typically the best setting.",
      "env_var": "INVOKEAI_PIL_COMPRESS_LEVEL",
      "literal_values": [],
      "name": "pil_compress_level",
      "required": false,
      "type": "<class 'int'>",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": 10000,
      "description": "Maximum number of items in the session queue.",
      "env_var": "INVOKEAI_MAX_QUEUE_SIZE",
      "literal_values": [],
      "name": "max_queue_size",
      "required": false,
      "type": "<class 'int'>",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": "round_robin",
      "description": "Session queue mode. Use 'FIFO' for strict first-in-first-out, or 'round_robin' to serve each user's jobs in turn. In round-robin mode, priority orders each user's own jobs, but the user rotation takes precedence: one user's high-priority job does not preempt another user's turn. In single-user mode, jobs are served in submission order either way \u2014 except that on multi-GPU systems the default 'round_robin' allows same-priority jobs to be reordered slightly so a freed GPU prefers jobs whose models it already has loaded. Set 'FIFO' to disable that reordering and enforce strict submission order.",
      "env_var": "INVOKEAI_SESSION_QUEUE_MODE",
      "literal_values": [
        "FIFO",
        "round_robin"
      ],
      "name": "session_queue_mode",
      "required": false,
      "type": "typing.Literal['FIFO', 'round_robin']",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": false,
      "description": "Empties session queue on startup. If true, disables `max_queue_history`.",
      "env_var": "INVOKEAI_CLEAR_QUEUE_ON_STARTUP",
      "literal_values": [],
      "name": "clear_queue_on_startup",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "GENERATION",
      "default": null,
      "description": "Keep the last N completed, failed, and canceled queue items. Older items are deleted on startup. Set to 0 to prune all terminal items. Ignored if `clear_queue_on_startup` is true.",
      "env_var": "INVOKEAI_MAX_QUEUE_HISTORY",
      "literal_values": [],
      "name": "max_queue_history",
      "required": false,
      "type": "typing.Optional[int]",
      "validation": {}
    },
    {
      "category": "NODES",
      "default": null,
      "description": "List of nodes to allow. Omit to allow all.",
      "env_var": "INVOKEAI_ALLOW_NODES",
      "literal_values": [],
      "name": "allow_nodes",
      "required": false,
      "type": "typing.Optional[list[str]]",
      "validation": {}
    },
    {
      "category": "NODES",
      "default": null,
      "description": "List of nodes to deny. Omit to deny none.",
      "env_var": "INVOKEAI_DENY_NODES",
      "literal_values": [],
      "name": "deny_nodes",
      "required": false,
      "type": "typing.Optional[list[str]]",
      "validation": {}
    },
    {
      "category": "NODES",
      "default": 512,
      "description": "How many cached nodes to keep in memory.",
      "env_var": "INVOKEAI_NODE_CACHE_SIZE",
      "literal_values": [],
      "name": "node_cache_size",
      "required": false,
      "type": "<class 'int'>",
      "validation": {}
    },
    {
      "category": "MODEL INSTALL",
      "default": "blake3_single",
      "description": "Model hashing algorthim for model installs. 'blake3_multi' is best for SSDs. 'blake3_single' is best for spinning disk HDDs. 'random' disables hashing, instead assigning a UUID to models. Useful when using a memory db to reduce model installation time, or if you don't care about storing stable hashes for models. Alternatively, any other hashlib algorithm is accepted, though these are not nearly as performant as blake3.",
      "env_var": "INVOKEAI_HASHING_ALGORITHM",
      "literal_values": [
        "blake3_multi",
        "blake3_single",
        "random",
        "md5",
        "sha1",
        "sha224",
        "sha256",
        "sha384",
        "sha512",
        "blake2b",
        "blake2s",
        "sha3_224",
        "sha3_256",
        "sha3_384",
        "sha3_512",
        "shake_128",
        "shake_256"
      ],
      "name": "hashing_algorithm",
      "required": false,
      "type": "typing.Literal['blake3_multi', 'blake3_single', 'random', 'md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512', 'blake2b', 'blake2s', 'sha3_224', 'sha3_256', 'sha3_384', 'sha3_512', 'shake_128', 'shake_256']",
      "validation": {}
    },
    {
      "category": "MODEL INSTALL",
      "default": null,
      "description": "List of regular expression and token pairs used when downloading models from URLs. The download URL is tested against the regex, and if it matches, the token is provided in as a Bearer token.",
      "env_var": "INVOKEAI_REMOTE_API_TOKENS",
      "literal_values": [],
      "name": "remote_api_tokens",
      "required": false,
      "type": "typing.Optional[list[invokeai.app.services.config.config_default.URLRegexTokenPair]]",
      "validation": {}
    },
    {
      "category": "MODEL INSTALL",
      "default": false,
      "description": "Scan the models directory on startup, registering orphaned models. This is typically only used in conjunction with `use_memory_db` for testing purposes.",
      "env_var": "INVOKEAI_SCAN_MODELS_ON_STARTUP",
      "literal_values": [],
      "name": "scan_models_on_startup",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "MODEL INSTALL",
      "default": false,
      "description": "Allow the download queue to fetch from loopback, link-local and private-network addresses. Disabled by default so that a download URL cannot be used to reach services that are only reachable from the server. Enable this only if you install models from a mirror on your own network.",
      "env_var": "INVOKEAI_ALLOW_PRIVATE_DOWNLOAD_URLS",
      "literal_values": [],
      "name": "allow_private_download_urls",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "MODEL INSTALL",
      "default": null,
      "description": "Optional HTTP proxy for model downloads. The proxy must enforce the public-address policy because proxy-side DNS cannot be checked by InvokeAI.",
      "env_var": "INVOKEAI_DOWNLOAD_PROXY",
      "literal_values": [],
      "name": "download_proxy",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "MODEL INSTALL",
      "default": false,
      "description": "UNSAFE. Disable the picklescan security check during model installation. Recommended only for development and testing purposes. This will allow arbitrary code execution during model installation, so should never be used in production.",
      "env_var": "INVOKEAI_UNSAFE_DISABLE_PICKLESCAN",
      "literal_values": [],
      "name": "unsafe_disable_picklescan",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "MODEL INSTALL",
      "default": true,
      "description": "Allow installation of models that we are unable to identify. If enabled, models will be marked as `unknown` in the database, and will not have any metadata associated with them. If disabled, unknown models will be rejected during installation.",
      "env_var": "INVOKEAI_ALLOW_UNKNOWN_MODELS",
      "literal_values": [],
      "name": "allow_unknown_models",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "MULTIUSER",
      "default": true,
      "description": "Enable multiuser support (the default). Requires user authentication and authorization; the first visitor creates the administrator account. Set to false for single-user mode, which uses a default system account with administrator privileges and no sign-in: anyone who can reach the server then has full control of it. Single-user mode is deprecated.",
      "env_var": "INVOKEAI_MULTIUSER",
      "literal_values": [],
      "name": "multiuser",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "MULTIUSER",
      "default": false,
      "description": "Enforce strict password requirements. When True, passwords must contain uppercase, lowercase, and numbers. When False (default), any password is accepted but its strength (weak/moderate/strong) is reported to the user.",
      "env_var": "INVOKEAI_STRICT_PASSWORD_CHECKING",
      "literal_values": [],
      "name": "strict_password_checking",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "IMAGE INDEX",
      "default": true,
      "description": "Maintain a semantic embedding index of gallery images and videos, used by the image map and semantic search features.",
      "env_var": "INVOKEAI_IMAGE_INDEX_ENABLED",
      "literal_values": [],
      "name": "image_index_enabled",
      "required": false,
      "type": "<class 'bool'>",
      "validation": {}
    },
    {
      "category": "IMAGE INDEX",
      "default": "DFN2B-CLIP-ViT-L-14-39B",
      "description": "Name of the installed CLIP Vision or SigLIP model used to embed gallery images and video thumbnails. Changing the model discards embeddings computed by the previous model.",
      "env_var": "INVOKEAI_IMAGE_INDEX_MODEL",
      "literal_values": [],
      "name": "image_index_model",
      "required": false,
      "type": "<class 'str'>",
      "validation": {}
    },
    {
      "category": "IMAGE INDEX",
      "default": null,
      "description": "Set to `cpu` to compute image embeddings on the CPU with a service-local copy of the model - avoids VRAM use and lets indexing run during generations. Any other value is ignored: embeddings otherwise run on the model cache's device, pausing while generations are in progress.",
      "env_var": "INVOKEAI_IMAGE_INDEX_DEVICE",
      "literal_values": [],
      "name": "image_index_device",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "IMAGE INDEX",
      "default": 8,
      "description": "Number of gallery items embedded per batch by the image index worker.",
      "env_var": "INVOKEAI_IMAGE_INDEX_BATCH_SIZE",
      "literal_values": [],
      "name": "image_index_batch_size",
      "required": false,
      "type": "<class 'int'>",
      "validation": {}
    },
    {
      "category": "EXTERNAL PROVIDERS",
      "default": null,
      "description": "API key for Alibaba Cloud DashScope image generation.",
      "env_var": "INVOKEAI_EXTERNAL_ALIBABACLOUD_API_KEY",
      "literal_values": [],
      "name": "external_alibabacloud_api_key",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "EXTERNAL PROVIDERS",
      "default": null,
      "description": "Base URL override for Alibaba Cloud DashScope image generation.",
      "env_var": "INVOKEAI_EXTERNAL_ALIBABACLOUD_BASE_URL",
      "literal_values": [],
      "name": "external_alibabacloud_base_url",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "EXTERNAL PROVIDERS",
      "default": null,
      "description": "API key for Atlas Cloud image generation.",
      "env_var": "INVOKEAI_EXTERNAL_ATLASCLOUD_API_KEY",
      "literal_values": [],
      "name": "external_atlascloud_api_key",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "EXTERNAL PROVIDERS",
      "default": null,
      "description": "Base URL override for Atlas Cloud image generation.",
      "env_var": "INVOKEAI_EXTERNAL_ATLASCLOUD_BASE_URL",
      "literal_values": [],
      "name": "external_atlascloud_base_url",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "EXTERNAL PROVIDERS",
      "default": null,
      "description": "API key for Gemini image generation.",
      "env_var": "INVOKEAI_EXTERNAL_GEMINI_API_KEY",
      "literal_values": [],
      "name": "external_gemini_api_key",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "EXTERNAL PROVIDERS",
      "default": null,
      "description": "API key for OpenAI image generation.",
      "env_var": "INVOKEAI_EXTERNAL_OPENAI_API_KEY",
      "literal_values": [],
      "name": "external_openai_api_key",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "EXTERNAL PROVIDERS",
      "default": null,
      "description": "Base URL override for Gemini image generation.",
      "env_var": "INVOKEAI_EXTERNAL_GEMINI_BASE_URL",
      "literal_values": [],
      "name": "external_gemini_base_url",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "EXTERNAL PROVIDERS",
      "default": null,
      "description": "Base URL override for OpenAI image generation.",
      "env_var": "INVOKEAI_EXTERNAL_OPENAI_BASE_URL",
      "literal_values": [],
      "name": "external_openai_base_url",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "EXTERNAL PROVIDERS",
      "default": null,
      "description": "API key for Seedream image generation.",
      "env_var": "INVOKEAI_EXTERNAL_SEEDREAM_API_KEY",
      "literal_values": [],
      "name": "external_seedream_api_key",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    },
    {
      "category": "EXTERNAL PROVIDERS",
      "default": null,
      "description": "Base URL override for Seedream image generation.",
      "env_var": "INVOKEAI_EXTERNAL_SEEDREAM_BASE_URL",
      "literal_values": [],
      "name": "external_seedream_base_url",
      "required": false,
      "type": "typing.Optional[str]",
      "validation": {}
    }
  ]
}