# AltTextify — Pipedream Connect

> AI Driven Alt Text Generation for Your Images

- API slug: `alttextify` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Artificial Intelligence (AI)
- Website: https://alttextify.net
- This page (HTML): https://pipedream.com/apps/alttextify
- Tools: 4 actions · 1 trigger

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: alttextify`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "alttextify",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Delete Image Alt Text:
const result = await mcp.callTool({
  name: "alttextify-delete-image",
  arguments: {
    assetId: "Asset ID",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "alttextify-delete-image",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    alttextify: { authProvisionId: "apn_xxxxxxx" },
    assetId: "Asset ID",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (4)

### `alttextify-delete-image` — Delete Image Alt Text (Write)

Delete the generated alt text for a specific image using the asset ID. See the documentation

Full schema: https://pipedream.com/apps/alttextify/actions/delete-image.md

### `alttextify-list-asset-id-options` — List Asset ID Options (Read-only)

Retrieves available options for the Asset ID field.

Full schema: https://pipedream.com/apps/alttextify/actions/list-asset-id-options.md

### `alttextify-get-alttext-by-asset-id` — Retrieve Alt Text by Asset ID (Read-only)

Retrieve alt text for a previously submitted image using the asset ID. See the documentation

Full schema: https://pipedream.com/apps/alttextify/actions/get-alttext-by-asset-id.md

### `alttextify-submit-image` — Submit Image to Alttextify (Write)

Upload or submit an image to Alttextify for alt text generation. See the documentation

Full schema: https://pipedream.com/apps/alttextify/actions/submit-image.md

## Triggers (1)

### `alttextify-new-alttext-generated` — New Alt Text Generated (Polling)

Emit new event when new alt text is generated for an image. See the documentation

Full schema: https://pipedream.com/apps/alttextify/triggers/new-alttext-generated.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
