# Orshot — Pipedream Connect

> Automated Image Generation for Marketing

- API slug: `orshot` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Marketing
- Website: https://orshot.com
- This page (HTML): https://pipedream.com/apps/orshot
- Tools: 5 actions · 0 triggers

## 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: orshot`

```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": "orshot",
      },
    },
  },
)

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

const { tools } = await mcp.listTools()

// e.g. run Generate Image from Library Template:
const result = await mcp.callTool({
  name: "orshot-generate-image-library-template",
  arguments: {
    templateId: "Template ID",
    responseType: "Response Type",
  },
})
```

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: "orshot-generate-image-library-template",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    orshot: { authProvisionId: "apn_xxxxxxx" },
    templateId: "Template ID",
    responseType: "Response Type",
  },
})
```

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

## Actions (5)

### `orshot-generate-image-library-template` — Generate Image from Library Template (Write)

Generate an image from a pre-designed library template using the Orshot API. See the documentation

Full schema: https://pipedream.com/apps/orshot/actions/generate-image-library-template.md

### `orshot-generate-image-studio-template` — Generate Image from Studio Template (Write)

Generate an image from an Orshot Studio template using the Orshot API. See the documentation

Full schema: https://pipedream.com/apps/orshot/actions/generate-image-studio-template.md

### `orshot-get-studio-template-modifications` — Get Studio Template Modifications (Read-only)

Get available modification keys for a studio template

Full schema: https://pipedream.com/apps/orshot/actions/get-studio-template-modifications.md

### `orshot-get-template-modifications` — Get Template Modifications (Read-only)

Get available modification keys for a library template

Full schema: https://pipedream.com/apps/orshot/actions/get-template-modifications.md

### `orshot-list-templates` — List Templates (Read-only)

Retrieve a list of available library templates from Orshot. See templates

Full schema: https://pipedream.com/apps/orshot/actions/list-templates.md

---

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