Documentation

Connect an OpenAI-compatible client to the Shiba Rental model API.

Sumi, a Shiba writing integration guides at a drafting desk
SumiDocs & developer guides

On-demand API access

Inference is on demand only while we expand our infrastructure. Model and compute availability may change with capacity.

Connect your client

Set the base URL to https://shibastack.dev/v1. Send your API key in the Authorization: Bearer header.

List models

curl https://shibastack.dev/v1/models \
  -H "Authorization: Bearer $SHIBA_API_KEY"

Use a returned model ID in the request below.

Create a chat completion

curl https://shibastack.dev/v1/chat/completions \
  -H "Authorization: Bearer $SHIBA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"MODEL_ID","messages":[{"role":"user","content":"Hello"}]}'

Set "stream": true in the JSON body to receive a streamed response. A 401 response means you should check the key and header.

Check model API reachability