Download config.json from nst1/image2: direct link, hf CLI and curl.
- Browser
- Download file 2.66 kB
-
https://huggingface.co/spaces/nst1/image2/resolve/main/config.json
- Command line
-
hf download hf://spaces/nst1/image2/config.json
-
curl -L -o config.json https://huggingface.co/spaces/nst1/image2/resolve/main/config.json
2.66 kB
| { | |
| "auth-key": "chatgpt2api", | |
| "refresh_account_interval_minute": 5, | |
| "image_retention_days": 15, | |
| "image_poll_timeout_secs": 120, | |
| "auto_remove_rate_limited_accounts": false, | |
| "auto_remove_invalid_accounts": true, | |
| "log_levels": [ | |
| "debug", | |
| "error", | |
| "info", | |
| "warning" | |
| ], | |
| "proxy": "", | |
| "proxy_runtime": { | |
| "enabled": false, | |
| "egress_mode": "single_proxy", | |
| "proxy_url": "http://privoxy:8118", | |
| "resource_proxy_url": "", | |
| "skip_ssl_verify": true, | |
| "reset_session_status_codes": [ | |
| 403 | |
| ], | |
| "clearance": { | |
| "enabled": true, | |
| "mode": "flaresolverr", | |
| "cf_cookies": "", | |
| "cf_clearance": "", | |
| "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36", | |
| "browser": "chrome", | |
| "flaresolverr_url": "http://flaresolverr:8191", | |
| "timeout_sec": 60, | |
| "refresh_interval": 3600, | |
| "warm_up_on_start": true | |
| } | |
| }, | |
| "base_url": "", | |
| "sensitive_words": [], | |
| "global_system_prompt": "", | |
| "ai_review": { | |
| "enabled": false, | |
| "base_url": "", | |
| "api_key": "", | |
| "model": "", | |
| "prompt": "" | |
| }, | |
| "backup": { | |
| "enabled": false, | |
| "provider": "cloudflare_r2", | |
| "account_id": "admin", | |
| "access_key_id": "", | |
| "secret_access_key": "admin", | |
| "bucket": "", | |
| "prefix": "backups", | |
| "interval_minutes": 1440, | |
| "rotation_keep": 10, | |
| "encrypt": false, | |
| "passphrase": "", | |
| "include": { | |
| "config": true, | |
| "register": true, | |
| "cpa": true, | |
| "sub2api": true, | |
| "logs": true, | |
| "image_tasks": true, | |
| "accounts_snapshot": true, | |
| "auth_keys_snapshot": true, | |
| "images": false | |
| } | |
| }, | |
| "image_account_concurrency": 3, | |
| "image_parallel_generation": true, | |
| "image_poll_interval_secs": 10, | |
| "image_poll_initial_wait_secs": 10, | |
| "image_storage": { | |
| "enabled": false, | |
| "mode": "local", | |
| "webdav_url": "", | |
| "webdav_username": "", | |
| "webdav_password": "", | |
| "webdav_root_path": "chatgpt2api/images", | |
| "public_base_url": "" | |
| }, | |
| "image_min_free_mb": 500, | |
| "chat_completion_cache": { | |
| "enabled": true, | |
| "ttl_seconds": 60, | |
| "max_entries": 256, | |
| "dedupe_inflight": true, | |
| "stream_cache": true, | |
| "normalize_messages": true, | |
| "drop_adjacent_duplicates": true, | |
| "drop_assistant_history": false | |
| }, | |
| "image_settle_enabled": false, | |
| "image_check_before_hit_enabled": false, | |
| "image_settle_secs": 2, | |
| "auto_relogin_after_refresh": false, | |
| "image_timeout_retry_secs": 30, | |
| "third_party_apps": { | |
| "infinite_canvas": { | |
| "enabled": true, | |
| "url": "https://canvas.best" | |
| } | |
| } | |
| } | |