Skip to content

Model API Reference ​

Browse the models available through SandBase, find the exact model identifier to use, and copy a working API request.

Models by category ​

LLM Models ​

Use language and reasoning models for chat, tool calling, structured output, vision, and long-context tasks. Browse models by provider, including OpenAI, Anthropic, Google, DeepSeek, Alibaba, Meta, and ByteDance.

Image Generation ​

Generate, edit, transform, upscale, and train image models through SandBase. Browse image models by provider, including OpenAI, Google, Ideogram, ByteDance, Recraft, Luma, and more.

Video Generation ​

Generate, edit, animate, upscale, and transform videos through SandBase. Browse video models by provider, including OpenAI, ByteDance, Kling, Google, Luma, Runway, Veed, and more.

Audio Generation ​

Generate, transform, clone, transcribe, and synthesize audio through SandBase. Browse audio models by provider and copy the exact async request format for each model.

Get started ​

All LLM models use the OpenAI-compatible Chat Completions API. Claude models can also use the Anthropic Messages API.

bash
curl https://api.sandbase.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-sb-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-4o","messages":[{"role":"user","content":"Hello"}]}'

Image, video, and audio generation models use the async /v1/run flow:

bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer sk-sb-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-image-2","prompt":"A studio product photo on a clean white background"}'

Poll the returned task id until the result is ready:

bash
curl https://api.sandbase.ai/v1/run/run_abc123 \
  -H "Authorization: Bearer sk-sb-YOUR_KEY"