First-party app
Placid

Placid

Generate images, PDFs and videos from Placid templates, and manage templates, collections, fonts and uploaded media.

stable MarketingDocuments & FilesVideo & Streaming

About

Placid ships in the w6w first-party pack. It declares 26 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.placid
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Marketing · Documents & Files · Video & Streaming

Overview

Placid is a creative-automation service: you design a template in its editor, name the layers you want to change, and the REST API (v2.0) renders a finished image, PDF or video from your data. This app covers the documented REST surface: create, retrieve and delete images, PDFs (including merging existing PDFs by URL) and videos; list, create, retrieve, update and delete templates; manage template collections; manage custom fonts; and upload media to Placid storage for use in picture layers.

Every render is asynchronous. A create call answers with a queued record carrying a polling_url; poll the matching Retrieve action, or pass a webhook_success URL and Placid will POST the finished record. Layer content is passed as one JSON object keyed by the layer names from the template ({"title": {"text": "Hello"}}), exactly as the API takes it.

Health is reported from what the API exposes. Placid has no whoami or account endpoint, so the credential probe is a cheap template-list read, an unsigned reachability check treats the API’s own {"message":"Unauthenticated."} 401 as proof the API is serving, and a quota check reads the documented X-RateLimit-* headers (60 requests per minute). Placid’s status page (status.placid.app) is real but client-rendered with no JSON, RSS or Atom feed, so vendor status is declared unavailable rather than faked.

Build with Placid

Three routes to the same 26 actions. The Workflow tab is generated from Placid's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Create Collection

collection-create

Create a template collection, optionally seeded with template UUIDs (max 500). Not idempotent.

Delete Collection

collection-delete

Delete a template collection. A repeat call 404s harmlessly.

Get Collection

collection-get

Retrieve a template collection with its template UUIDs.

List Collections

collection-list

List template collections. Without a page size Placid returns all of them; set one to paginate.

Update Collection

collection-update

Update a collection's title or custom data, replace its template list, or add and remove templates incrementally.

Delete Font

font-delete

Delete a custom font. Refused with 409 while templates still use it, unless force is set (those templates then fall back to the default font).

Get Font

font-get

Retrieve a custom font by its uuid (font code).

List Fonts

font-list

List the project's custom fonts. Each `uuid` is the font code to use as `font` on a text layer.

Update Font

font-update

Rename a custom font. The font file itself cannot be replaced.

Upload Font

font-upload

Upload a custom font (ttf, otf, woff, woff2) given as base64. You must confirm you have the right to use it.

Create Image

image-create

Render an image from a template. Asynchronous: poll Retrieve Image or pass a webhook URL. Costs 1 credit per image (up to 4000 px) and is not safe to retry blindly.

Delete Image

image-delete

Permanently delete a image render. A repeat call 404s harmlessly.

Get Image

image-get

Retrieve a image render by id to check its status and get the finished file URL.

Upload Media

media-upload

Temporarily upload one file (as base64) to Placid storage and get back a Placid URL to use in a picture layer.

Create PDF

pdf-create

Render a PDF from one or more template pages (merged in order). Asynchronous; costs 2 credits per page and is not safe to retry blindly.

Delete PDF

pdf-delete

Permanently delete a pdf render. A repeat call 404s harmlessly.

Get PDF

pdf-get

Retrieve a pdf render by id to check its status and get the finished file URL.

Merge PDFs

pdf-merge

Merge 2 to 10 existing PDF files, given by URL, into one PDF. Asynchronous; not safe to retry blindly.

Create Template

template-create

Create a template with a canvas size, or duplicate an existing one by UUID. Not idempotent: each call makes a new template.

Delete Template

template-delete

Permanently delete a template. A repeat call 404s harmlessly.

Get Template

template-get

Retrieve a template by UUID, including the names and types of its dynamic layers.

List Templates

template-list

List the project's templates (uuid, title, thumbnail, tags and layers), 20 per page, optionally filtered by collection, title or tag.

Update Template

template-update

Update a template's title, tags or custom data. Sending tags replaces the tag list.

Create Video

video-create

Render an MP4 from one or more template clips (merged in order). Asynchronous; costs 10 credits per 10 seconds of output (max 3 minutes) and is not safe to retry blindly.

Delete Video

video-delete

Permanently delete a video render. A repeat call 404s harmlessly.

Get Video

video-get

Retrieve a video render by id to check its status and get the finished file URL.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Placid's real ids.

{
  "manifestVersion": "2",
  "name": "placid-example",
  "steps": [
    {
      "id": "collection-create",
      "uses": {
        "app": "io.w6w.placid",
        "action": "collection-create",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "title": "<title>"
      }
    }
  ]
}

Here are some of the things you can do

  • Create Collection

    perform
    collection-create
  • Get Collection

    read
    collection-get
  • List Collections

    search
    collection-list
  • Update Collection

    perform
    collection-update
  • Get Font

    read
    font-get

+21 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Placid, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Placid. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "collection-create",
  payload: {
    title: "<value>",
    // custom_data: "<value>",
    // template_uuids: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action collection-create --payload '{"title":"<value>"}'

Give an AI agent Placid — without giving it Placid's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.placid#collection-create",
    "input": {
      "title": "<title>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Placid connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Placid's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Placid itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Placid declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Placid platform status

status.placid.app is a real but client-rendered page with no JSON, RSS or Atom feed.

dependency

API reachable

Unauthenticated GET /api/rest/templates. A 401 carrying Placid's JSON `{"message": …}` passes: the API and its auth layer are answering. Credential validity is the derived `auth:*` check's job.

quota

API rate-limit headroom

Requests remaining in the current 1-minute window (60/minute), read from the documented X-RateLimit-* response headers.