So verwendest du die Wayfarer 70B API
-
API-Schlüssel erstellen: Lege in deinem Muapi-Dashboard einen Schlüssel an.
-
Prompt senden: Sende prompt (optional auch system_prompt und max_tokens, bis zu 16384) per POST an /api/v1/wayfarer-70b.
curl -X POST https://api.muapi.ai/api/v1/wayfarer-70b \
-H "x-api-key: $MUAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Stay in character as a dry-witted ship's navigator and greet the new crew member."}'
- Poll or stream: Poll
GET /api/v1/predictions/{request_id}/result until status ist completed, or stream tokens live from /api/v1/wayfarer-70b/stream.
curl -X POST https://api.muapi.ai/api/v1/wayfarer-70b/stream \
-H "x-api-key: $MUAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Stay in character as a dry-witted ship's navigator and greet the new crew member."}'
- Read the result: The generated text ist returned in
outputs. Usage ist billed on actual token counts.