openrouter/bodybuilder
Transform your natural language requests into structured OpenRouter API request objects. Describe what you want to accomplish with AI models, and Body Builder will construct the appropriate API calls. Example: "count to...
Input⌘ / Ctrl + Enter
Try a prompt
OutputReady
Your response will appear here
Choose an example or write a prompt, then click Run.
API details and access
Model Details
ProviderOpenrouter
TypeLlm
Model IDopenrouter/bodybuilder
Capabilities
InputText
OutputText
Context-
Max Output128,000
VisionNot supported
Function CallingNot supported
Access details
Chat CompletionsBase URLhttps://api.sandbase.ai
API Endpoint/v1/chat/completions
{
"model": "openrouter/bodybuilder",
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"max_tokens": 512
}Pricing
Pricing is not configured for this model.
Production endpoint
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
POST
https://api.sandbase.ai/v1/chat/completionsModel ID
openrouter/bodybuilder01
Input Schema
4 parameters · 1 required · 3 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
messages | object[] | Required | — |
stream | boolean | Optional | Default: false |
max_tokens | integer | Optional | Max: 128000 |
temperature | number | Optional | Min: 0 · Max: 2 · Default: 1 |
02
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the completion |
object | string | Object type, e.g. "chat.completion" |
model | string | Model used for the completion |
choices | array | List of completion choices |
choices[].message.content | string | Generated text content |
choices[].finish_reason | string | Reason the generation stopped |
usage.prompt_tokens | integer | Number of tokens in the prompt |
usage.completion_tokens | integer | Number of tokens in the completion |
usage.total_tokens | integer | Total tokens used |
03
Code Examples
Ready-to-run snippets
curl https://api.sandbase.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "openrouter/bodybuilder",
"messages": [{"role": "user", "content": "Hello"}],
"temperature": 0.7,
"max_tokens": 2048,
"stream": true
}'
