Streaming & recovery

Receive generation previews and reconnect to the same task after a disconnect.

Updated October 7, 2026View Markdown ↗

Start a stream

POST /v1/nai/generations/stream
curl -N https://noveadream.com/v1/nai/generations/stream \
  -H "Authorization: Bearer $NOVEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d @request.json

request.json contains the full quoted request, including quote_id and client_request_id. This endpoint uses SSE; handle preview, queued, done, error and keepalive events.

Resume an existing task

GET /v1/nai/generations/{id}/events
curl -N https://noveadream.com/v1/nai/generations/456/events \
  -H "Authorization: Bearer $NOVEA_API_KEY"
GET /v1/nai/generations/{id}
curl --fail-with-body 'https://noveadream.com/v1/nai/generations/456' \
  -H "Authorization: Bearer $NOVEA_API_KEY"

Replace 456 with the task ID. Continue querying the same ID after disconnecting.