use_open_model
Run open AI models for image, audio, speech, OCR, translation, embedding, and reranking tasks on your own network computers for free or on community machines using credits.
Instructions
Run an open model on one of the person's network computers (free) or on a community computer (paid in credits). The computer that runs it can read the request: use placement mine for private data. Tasks: image (prompt, count, size), upscale (file), stt (file: WAV), tts (text, voice), music (prompt, lyrics, seconds), vision (file + prompt), ocr (file), translate (text, targetLanguage), embed (text: string or list), rerank (query, documents). Files must be in a folder authorised in BitPull. Images and audio are saved as files and their paths returned. For plain chat use ask_open_model.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>"
},
"name": "use_open_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Absolute path of the input image (PNG/JPEG) or audio (WAV) | |
| size | No | ||
| task | Yes | ||
| text | No | ||
| count | No | ||
| model | No | Model id from list_open_models; omitted = the most available one for the task | |
| query | No | ||
| voice | No | ||
| lyrics | No | ||
| prompt | No | ||
| seconds | No | ||
| language | No | ||
| documents | No | ||
| placement | No | auto (default): the person's own network computers first, for free, then the community. mine: never leaves the person's own computers; use it for private data. | |
| waitMinutes | No | How long to wait; default: the person's setting, at least 30 minutes for images and music | |
| targetLanguage | No |