API docs / Text models
llava-13b API
Visual instruction tuning towards large language and vision models with GPT-4 level capabilities
- Model id
yorickvp/llava-13b- Provider
- yorickvp
- Output
- Text
- Price
- From 2 credits per run, the same as on voor.ai. Options such as length or resolution can change it.
Request
POST https://voor.ai/v1/generations with "model": "yorickvp/llava-13b". Poll GET /v1/tasks/{id} or receive the signed webhook. See the overview for keys, idempotency, webhooks and errors.
curl https://voor.ai/v1/generations \
-H "Authorization: Bearer $VOOR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "yorickvp/llava-13b",
"input": {
"prompt": "A red fox standing in fresh snow at golden hour, soft light",
"reference_images": [
"https://example.com/input.png"
]
},
"callback_url": "https://example.com/webhooks/voor"
}'
# Then poll the task (or wait for the webhook):
curl https://voor.ai/v1/tasks/TASK_ID \
-H "Authorization: Bearer $VOOR_API_KEY"Input parameters
| Name | Type | Details |
|---|---|---|
promptrequired | string | Prompt to use for text generation |
reference_imagesrequired | array of URLs | Input image Up to 1 files · Accepts image/* |
max_tokens | number | Maximum number of tokens to generate. A word is generally 2-3 tokens Default: Min 0 |
temperature | number | Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic Default: Min 0 |
top_p | number | When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens Default: Min 0 · Max 1 |