GET
/
v1
/
completions
curl -X GET https://api.woolball.xyz/v1/completions \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -G \
  -d "text=Once%20upon%20a%20time" \
  -d "model=Mozilla/Qwen2.5-0.5B-Instruct"
{
  "data": "Once upon a time in a distant kingdom..."
}
Generate text completions based on input text.

Query Parameters

text
string
required
Input text for completion
model
string
Model to use for completion

Response

data
string
The generated completion text

Status Codes

200
object
OK - Successful request
400
object
Bad Request - Validation error occurred
401
object
Unauthorized - Authentication failed
402
object
Payment Required
curl -X GET https://api.woolball.xyz/v1/completions \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -G \
  -d "text=Once%20upon%20a%20time" \
  -d "model=Mozilla/Qwen2.5-0.5B-Instruct"
{
  "data": "Once upon a time in a distant kingdom..."
}