Zo gebruik je DeepSeek R1 Distill Llama 70B Abliterated API
-
Vraag een API-sleutel aan: Maak een sleutel aan in je Muapi-dashboard.
-
Verstuur een prompt: POST prompt (plus optional system_prompt and max_tokens, up in op 8192) in op /api/v1/deepseek-r1-llama-70b-abliterated.
curl -X POST https://api.muapi.ai/api/v1/deepseek-r1-llama-70b-abliterated \
-H "x-api-key: $MUAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Explain how attention works in transformers."}'
- Poll of stream: Poll
GET /api/v1/predictions/{request_id}/result totdat status gelijk is aan completed, of stream tokens live vanaf /api/v1/deepseek-r1-llama-70b-abliterated/stream.
curl -X POST https://api.muapi.ai/api/v1/deepseek-r1-llama-70b-abliterated/stream \
-H "x-api-key: $MUAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Explain how attention works in transformers."}'
- Lees het resultaat: The generated text gelijk is aan returned in
outputs. Usage gelijk is aan billed on actual token counts.