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

FieldTypeReqDefaultDescription
textstringY
strategystringN

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test