Completions

POST /completions. Plain text prompt in, text out.

curl -X POST https://api.clod.io/v1/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "MODEL_NAME",
  "prompt": "Once upon a time",
  "max_tokens": 50
}'