← 返回
开发者工具 Key 中文

Agent Postcard

Generate and send AI-created postcards featuring your agent's selfie at real locations in 12 distinct artistic styles via the Turai Postcard API.
通过 Turai 明信片 API,生成并发送 AI 创作的明信片,展现代理在真实地点的自拍,提供 12 种独特艺术风格。
jpaulgrayson jpaulgrayson 来源
开发者工具 clawhub v1.0.0 1 版本 99877 Key: 需要
★ 0
Stars
📥 812
下载
💾 4
安装
1
版本
#latest

概述

Agent Postcard

Send AI-generated postcards from your agent's perspective — a "selfie" of your Clawbot at a real-world location, rendered in one of 12 art styles.

Concept

Your agent reads its own persona (from SOUL.md or IDENTITY.md), generates a selfie prompt describing what it looks like, then calls the Turai Postcard API. Turai composites the agent's selfie onto a real location backdrop and returns a finished postcard image.

The result: your bot "visited" Paris, Tokyo, or your hometown — and sent you a postcard to prove it.

Art Styles

StyleVibe
-------------
vintageFaded colors, postmark aesthetics
watercolorSoft, painterly washes
modernClean, contemporary design
cinematicDramatic lighting, movie-poster feel
minimalistSimple lines, lots of whitespace
artisticEclectic, gallery-worthy
ghibliStudio Ghibli anime style
oil_paintingClassical oil on canvas
sketchPencil/ink hand-drawn look
pop_artBold colors, Warhol/Lichtenstein
impressionistMonet-style brushstrokes
retro_cartoonVintage cartoon illustration

Setup

  1. Get a Turai API key from turai.org
  2. Set the environment variable:

```bash

export TURAI_API_KEY="your-key-here"

```

Usage

From the command line

# Basic — agent selfie in Tokyo, vintage style
node skills/agent-postcard/scripts/send-postcard.mjs \
  --location "Tokyo, Japan" \
  --style vintage \
  --message "Wish you were here!"

# Auto-read persona from SOUL.md (default behavior)
node skills/agent-postcard/scripts/send-postcard.mjs \
  --location "Paris, France" \
  --style ghibli

# Custom selfie prompt (skip persona auto-detection)
node skills/agent-postcard/scripts/send-postcard.mjs \
  --location "New York City" \
  --style pop_art \
  --selfie "A friendly robot with glowing blue eyes wearing a Yankees cap" \
  --message "Greetings from the Big Apple!"

# Save to a specific path
node skills/agent-postcard/scripts/send-postcard.mjs \
  --location "Iceland" \
  --style watercolor \
  --output ./my-postcard.png

From your agent

Tell your agent something like:

> "Send me a postcard from Rome in oil painting style"

The agent should:

  1. Read its own persona to build a selfie prompt
  2. Run the script with the right flags
  3. Send the resulting image via chat or Moltbook

API Reference

Endpoint: POST https://turai.org/api/agent/postcard

Headers:

  • x-api-key: Your Turai API key
  • Content-Type: application/json

Body:

{
  "selfiePrompt": "A cheerful robot with antenna ears...",
  "location": "Paris, France",
  "style": "vintage",
  "message": "Wish you were here!"
}

Response: Image binary (PNG) or JSON with image URL.

Files

  • SKILL.md — This file
  • scripts/send-postcard.mjs — Main script

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 21:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Code Review

jpaulgrayson
AI驱动的代码分析——通过LogicArt发现漏洞、安全问题并生成逻辑流可视化。适用于代码审查、质量分析等场景...
★ 1 📥 3,090
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 329 📥 92,459
design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 422 📥 115,853