View as Markdown
Bannerify icon

Bannerify ACTION

Render Image

Generate an image from a Bannerify template and return a hosted file URL. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Bannerify account once, then configure and run Render Image from your backend or agent.

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: "bannerify-render-image",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    bannerify: { authProvisionId: "apn_xxxxxxx" },
    templateId: "Template ID",
    format: "Format",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Render Image inputs
Property Type Description
templateId Template ID string
The Bannerify template ID to render. Example: template_abc123. Use the List Templates action if you need to find the template ID first.
Required Dynamic
format Format string
The output image format. Valid values are png, jpeg, and webp.
Required
modifications Modifications JSON string
Optional JSON object or array of template field modifications. Example: {"headline":"Hello"}.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
bannerify-render-image
Version
0.0.2
App
Bannerify
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes