Skip to main content
Glama

GenAIScript

Official
by microsoft
MIT License
43
2,820
  • Linux
  • Apple
alt-text-deploy.md861 B
--- layout: two-cols-header --- # Script Automation for Alt-Text ::left:: ## Image Alt-Text Script ```js script({ title: "Image Alt Text generator", model: "vision", }) const file = env.files[0] // skip if alt-text file already exists const txt = await workspace.readText(file.filename + ".txt") // context defImages(file) // task $`You are an expert in assistive technology. You will analyze each image and generate a description alt text for the image. Save the alt text in a file called "${file.filename + ".txt"}". ` ``` ::right:: <v-click> ## Deployed in GenAIScript Repo - Nightly Builds ![Screenshot of a GitHub Actions interface showing a list of workflow runs for a project named "genai alt text generator," with the most recent run highlighted and indicating a 'workflow_dispatch' event trigger.](/alt-text-deploy.png) </v-click>

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/microsoft/genaiscript'

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