Llama 3.1 (8B)
Llama 3.1 8B is a fast and efficient language model. It is ideal for quick inference, summarization, and general Q&A tasks.
Endpoint
POST https://z.os7.site/api/llm/llama3.1-8b
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Yes | Your secret Zapi API key. |
prompt | string | Yes | The core instruction or question. |
systemprompt | string | No | System-level instructions for persona. |
Example Request
curl -X POST https://z.os7.site/api/llm/llama3.1-8b \
-H "Content-Type: application/json" \
-d '{
"apikey": "zp_your_secret_api_key",
"prompt": "Write a short poem about a server.",
"systemprompt": "You are a creative poet."
}'Example Response
{
"status": 200,
"data": {
"text": "The server hums, a steady beat,\nIn rows of racks, a digital street...",
"model": "llama3.1-8b"
}
}Last updated on