Sign in

Text Generation Inference custom API

documented

Custom API for text-generation-inference endpoints (see official API docs for exact paths).

POST /v1/<custom-api-endpoint>Text Generation Inferenceno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://vlzz10eq3fol3429.us-east-1.aws.endpoints.huggingface.cloud/v1/{{$custom_api_endpoint}}" \
  -X POST \
  -H "Authorization: Bearer {{HUGGINGFACE_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"inputs": "{{$inputs}}", "parameters": {"max_new_tokens": {{$max_tokens}}, "temperature": {{$temperature}}, "top_p": {{$top_p}}, "do_sample": {{$do_sample}}}}'