Generate with an own model
generate_with_own_modelRun one of the account's own models on its own key: pick a mode (endpoint + slot from list_own_models), a prompt, files per media field as { generation_id } or { upload_id }, and the mode's other inputs by field name. Costs no credits; the vendor bills the key. Returns the generation; read it with get_generation.
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": {
"own_model_id": "<own_model_id>",
"endpoint": "<endpoint>",
"slot": "<slot>"
},
"name": "generate_with_own_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | ||
| media | No | ||
| inputs | No | ||
| prompt | No | ||
| endpoint | Yes | ||
| own_model_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| generations | Yes |