Skip to main content
Glama
CloudPredictionAIEngine.kt613 B
package maestro.ai import maestro.ai.cloud.Defect import maestro.ai.Prediction class CloudAIPredictionEngine(private val apiKey: String) : AIPredictionEngine { override suspend fun findDefects(screen: ByteArray): List<Defect> { return Prediction.findDefects(apiKey, screen) } override suspend fun performAssertion(screen: ByteArray, assertion: String): Defect? { return Prediction.performAssertion(apiKey, screen, assertion) } override suspend fun extractText(screen: ByteArray, query: String): String { return Prediction.extractText(apiKey, query, screen) } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mobile-dev-inc/Maestro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server