Wesley-AI Street Photographer
POST/open/aigw/skill/stream
Call the Wesley-AI Street Photographer skill with a platform API key. This page is fixed to skillKey=street-style-photographer and returns streamed SSE events.
Request
Responses
- 200
- 401
- 403
Streamed SSE response.
API key is invalid or missing.
API key is disabled, expired, or has insufficient balance.
SSE Streaming Event Reference (Generic)
Each business message is pushed through SSE as data: {json}\n\n. Parse messages by top-level type.
type | Meaning | Frontend handling suggestion |
|---|---|---|
system | Stream initialization event (usually subtype=init) | Extract session_id and pass it back as conversationId for follow-up turns |
assistant | Assistant output chunks (text/image/thinking, etc.) | Render as the main assistant stream |
user | SDK passthrough messages (usually tool execution output) | Mark as "tool output", do not treat as manually typed user input |
result | Success end signal for the current turn | Stop stream concatenation and mark completion |
error | Failure end signal for the current turn | Stop stream concatenation, show error, and allow retry |
done | Optional SDK passthrough end hint | Can be used to stop loading, but business completion should follow result / error |
Notes
- Heartbeats are SSE comment lines (for example
: heartbeat ...) instead ofdataevents, and can be ignored in business rendering.