POST
/api/compress/stream
Compress text with SSE streaming
Same as /api/compress but returns the compressed result as a Server-Sent Events stream.
curl -sN -X POST "$BASE/api/compress/stream" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "Long article text here..."}'Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| text | string | Y | — | |
| strategy | string | N | — |