跳至主要内容
小龙虾小龙虾AI
🤖

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.

下载101
星标0
版本1.0.0
设计媒体
安全通过
⚙️脚本

技能说明

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:
    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

如何使用「Agent Postcard」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Agent Postcard」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能