Standaard (asynchroon)
POST /api/v1/claude-fable-5-1 — returns request_id; controleer het resultaat via /api/v1/predictions/{id}/result.
curl -X POST https://api.muapi.ai/api/v1/claude-fable-5-1 \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Summarize the key risks in this quarterly report and list follow-up questions.",
"image_url": "https://example.com/report-page-1.png",
"system_prompt": "You are a meticulous financial analyst."
}'
Streaming (SSE)
POST /api/v1/claude-fable-5-1/stream — retourneert een live Server-Sent Events-stream (Content-Type: text/event-stream). Elk fragment heeft de indeling data: {"choices":[{"delta":{"content":"text"}}]}, ending with data: [DONE].
See Streaming Documentation voor volledige codevoorbeelden.