infer
Run AI inference on Theta EdgeCloud models for image generation, audio transcription, and text generation. Check available services with list_services to get required inputs.
Instructions
Run AI inference on a Theta EdgeCloud model. Supports image generation, audio transcription, text generation, and more. IMPORTANT: Call list_services first to see available services and their required inputs.
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": {
"service": "<service>",
"input": "<input>"
},
"name": "infer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Seconds to wait for result (0-60, default 30). Use 0 for async processing. | |
| input | Yes | Input parameters for the model (varies by service) | |
| service | Yes | Service alias (e.g., "whisper"). Use list_services to see all available options. | |
| variant | No | Model variant to use (e.g., "turbo", "large-v3") if available | |
| prediction | No | Specific prediction method if service has multiple (usually not needed) |