DynaPictures MCP by usefulapi
List templates and media; generate images from templates and build image links in DynaPictures.
使うべきか
品質と安全性
検出事項(2)
- LOWdynapictures_search_generated_images 内
- LOWdynapictures_upload_media_from_url 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"dynapictures": {
"url": "https://dynapictures.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://dynapictures.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(9)
🟢dynapictures_list_workspaces
List the DynaPictures workspaces the API key's user belongs to, with their id and role. Good first call: the workspace id is needed for templates and media. GET /workspaces.
入力スキーマ
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dynapictures_list_templates(workspace_id)
List the templates that have 'Sync to Zapier' enabled, with their uid, name and layer names. Layer names are what generate_image overrides. Optionally filter by workspace id. GET /templates.
入力スキーマ
{
"type": "object",
"properties": {
"workspace_id": {
"description": "Only templates in this workspace id (from dynapictures_list_workspaces).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dynapictures_get_template(template_uid)
Get one template by uid, with its layers (name, type, size, text). Use the layer names when you call generate_image or build_image_link. GET /templates/{uid}.
入力スキーマ
{
"type": "object",
"properties": {
"template_uid": {
"type": "string",
"minLength": 1,
"description": "The template uid (from dynapictures_list_templates)."
}
},
"required": [
"template_uid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dynapictures_search_generated_images(keyword, metadata, start_date, end_date)
Find images the caller's teams generated, oldest first, up to 200 per call. Filter by keyword, metadata text, or a start and end date. Use the date filters for large result sets. GET /generated-images.
入力スキーマ
{
"type": "object",
"properties": {
"keyword": {
"description": "Keyword to match.",
"type": "string"
},
"metadata": {
"description": "Metadata text stored with the image.",
"type": "string"
},
"start_date": {
"description": "Start of the date range, as the DynaPictures API expects (for example 2026-11-01).",
"type": "string"
},
"end_date": {
"description": "End of the date range, as the DynaPictures API expects (for example 2026-11-30).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dynapictures_list_media_assets(workspace_id, page)
List the images and folders in a workspace's media library, 30 per page. Use the asset url in other tools or in generate_image layers. GET /media/{workspaceId}/assets.
入力スキーマ
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"minLength": 1,
"description": "The workspace id (from dynapictures_list_workspaces)."
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"workspace_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dynapictures_get_media_asset(workspace_id, asset_id)
Get one media asset by id, with its url, thumbnail url, mime type and size. GET /media/{workspaceId}/assets/{assetId}.
入力スキーマ
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"minLength": 1,
"description": "The workspace id."
},
"asset_id": {
"type": "string",
"minLength": 1,
"description": "The asset id (from dynapictures_list_media_assets)."
}
},
"required": [
"workspace_id",
"asset_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢dynapictures_build_image_link(template_uid, format, layers, metadata)
Build a public image URL for a template with layer overrides, with no API call and no credit used. Paste it into an <img> tag or a page; the image renders when the link is opened. Identical links return a cached image.
入力スキーマ
{
"type": "object",
"properties": {
"template_uid": {
"type": "string",
"minLength": 1,
"description": "The template uid."
},
"format": {
"default": "png",
"description": "Image format (default png).",
"type": "string",
"enum": [
"png",
"jpeg",
"webp",
"avif",
"gif",
"pdf",
"pptx"
]
},
"layers": {
"description": "Layer overrides.",
"type": "array",
"items": {
"type": "object",
"properties": {
"layer": {
"type": "string",
"minLength": 1,
"description": "Layer name from dynapictures_get_template."
},
"property": {
"type": "string",
"minLength": 1,
"description": "Property to set, for example text, imageUrl or color."
},
"value": {
"type": "string",
"description": "Value to set."
}
},
"required": [
"layer",
"property",
"value"
]
}
},
"metadata": {
"description": "Custom text stored on the generated image.",
"type": "string"
}
},
"required": [
"template_uid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴dynapictures_generate_image(template_uid, format, params, metadata)
Render a template with your data and return the image URL. Each image or PDF page uses one image credit. Requests are NOT idempotent: a repeated call uses another credit, so do not retry a call that may have succeeded. POST /designs/{uid}.
入力スキーマ
{
"type": "object",
"properties": {
"template_uid": {
"type": "string",
"minLength": 1,
"description": "The template uid to render."
},
"format": {
"description": "Output format (default png). pdf and pptx use one image credit per page.",
"type": "string",
"enum": [
"png",
"jpeg",
"webp",
"avif",
"pdf",
"pptx"
]
},
"params": {
"minItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Layer name to override."
},
"text": {
"description": "New text for a text layer.",
"type": "string"
},
"color": {
"description": "Text or shape colour.",
"type": "string"
},
"backgroundColor": {
"description": "Background colour.",
"type": "string"
},
"fontSize": {
"description": "Font size.",
"type": "string"
},
"imageUrl": {
"description": "Public image URL for an image layer.",
"type": "string"
},
"imagePosition": {
"description": "Image fit mode.",
"type": "string",
"enum": [
"cro",
"cov",
"ai_face",
"align"
]
},
"imageAlignH": {
"description": "Horizontal image alignment.",
"type": "string",
"enum": [
"left",
"center",
"right",
"full"
]
},
"imageAlignV": {
"description": "Vertical image alignment.",
"type": "string",
"enum": [
"top",
"center",
"bottom",
"full"
]
},
"opacity": {
"description": "Layer opacity, 0 to 1.",
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"name"
]
},
"description": "Layer overrides, by layer name."
},
"metadata": {
"description": "Custom text stored on the generated image.",
"type": "string"
}
},
"required": [
"template_uid",
"params"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴dynapictures_upload_media_from_url(workspace_id, url, name, folder_uid)
Add an image to a workspace's media library from a public URL. The new asset can then be used in template layers. POST /media/{workspaceId}/assets/from-url.
入力スキーマ
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"minLength": 1,
"description": "The workspace id."
},
"url": {
"type": "string",
"format": "uri",
"description": "Public image URL to copy into the library."
},
"name": {
"description": "File name to store the asset under.",
"type": "string"
},
"folder_uid": {
"description": "Folder id to place the asset in.",
"type": "string"
}
},
"required": [
"workspace_id",
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス