AI on demand: MinerU: Difference between revisions

From MediaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
stepping stone AG is proud to serve customers with current Language Models and OCR solutions.
All of our LLM services are reachable from https://llm.stoney-cloud.com/.
== Calling a model ==
== Calling a model ==
We assume you've received your API key from us in our usual manner. The route above is available in the usual OpenAI-compatible manner.
We assume you've received your API key from us in our usual manner. The route above is available in the usual OpenAI-compatible manner.

Revision as of 11:21, 30 March 2026

Calling a model

We assume you've received your API key from us in our usual manner. The route above is available in the usual OpenAI-compatible manner. For instance, receiving a list of available model is done via https://llm.stoney-cloud.com/v1/models which requires you to provide your key. As an initial service we provide access to some OCR models.

# Set your personal key
STONEY_KEY=sk-...

# Set the desired model
MODEL_ID=MinerU2.5-2509-1.2B

curl -s https://llm.stoney-cloud.com/v1/chat/completions \
  -H "Authorization: Bearer $STONEY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model":"'"$MODEL_ID"'",
    "messages":[
      {"role": "user", "content": "Describe an imaginary document."}
    ],
    "max_tokens": 2000
  }" | jq .