# Image Services

Image-processing system split into three independent services.

## Services

| Service        | Port  | Stack      | Function                         |
| -------------- | ----- | ---------- | -------------------------------- |
| ai-generator   | 19001 | Node.js    | AI image generation              |
| classic-editor | 19002 | Python/PIL | Image editing without AI         |
| 3d-generator   | 19003 | Node.js    | 3D model generation              |

## Files in this directory

- **health-check.md** — How to check whether services are up and how to start them
- **ai-generator.md** — Full API for the AI generator (providers, models, endpoints)
- **classic-editor.md** — API for the classic editor (crop, resize, remove_bg, etc.)

## For other modules

If your module needs to call image-services:

1. Read `health-check.md` to verify the service you need is up.
2. Read the specific service file (`ai-generator.md` or `classic-editor.md`) for the API.
3. The base URL is always `http://localhost:{port}` per the table above.

## Source-code location

    image-services/ai-generator/
    image-services/classic-editor/
    image-services/3d-generator/
