|
Download README.md from nst1/image2: direct link, hf CLI and curl.
- Browser
- Download file 958 Bytes
-
https://huggingface.co/spaces/nst1/image2/resolve/main/README.md
- Command line
-
hf download hf://spaces/nst1/image2/README.md
-
curl -L -o README.md https://huggingface.co/spaces/nst1/image2/resolve/main/README.md
958 Bytes
| title: Image2 | |
| emoji: 🖼️ | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| # Image2 | |
| Multimodal image generation studio with an OpenAI-compatible API and a built-in admin dashboard. | |
| ## Features | |
| - Image generation and editing | |
| - Account management and scheduling | |
| - SQLite persistence on mounted storage | |
| - Web admin panel | |
| ## Environment | |
| | Variable | Required | Description | | |
| | --- | --- | --- | | |
| | `CHATGPT2API_AUTH_KEY` | Yes | Admin panel and API auth key | | |
| | `DATA_DIR` | Recommended | Persistent data root, e.g. `/data` | | |
| | `CONFIG_FILE` | Recommended | Persistent config path, e.g. `/data/config.json` | | |
| | `STORAGE_BACKEND` | Optional | `sqlite` recommended for Spaces | | |
| | `DATABASE_URL` | Optional | e.g. `sqlite:////data/accounts.db` | | |
| | `CHATGPT2API_BASE_URL` | Optional | Public base URL for generated asset links | | |
| | `PORT` | Optional | Defaults to `7860` | | |
| ## Health Check | |
| ```text | |
| GET /health?format=json | |
| ``` | |