← 返回
AI智能 Key 中文

clawaifu - OpenClaw Waifu

Your AI waifu companion that sends anime-style selfies
发送动漫风格自拍的AI老婆伴侣
swancho
AI智能 clawhub v1.0.14 1 版本 99953.6 Key: 需要
★ 4
Stars
📥 2,072
下载
💾 166
安装
1
版本
#latest

概述

clawaifu - OpenClaw Waifu

GitHub: https://github.com/swancho/clawaifu

Edit a fixed reference image using xAI's Grok Imagine model and send to Telegram.

Reference Image

The skill uses a fixed reference image:

https://i.redd.it/g4uf70te81uf1.jpeg

When to Use

  • User says "send a pic", "send me a pic", "send a photo", "send a selfie"
  • User asks "what are you doing?", "how are you doing?", "where are you?"
  • User describes a context: "send a pic wearing...", "send a pic at..."

Required Environment Variables

All credentials must be provided via environment variables. Never hardcode credentials.

FAL_KEY=your_fal_api_key          # Required - Get from https://fal.ai/dashboard/keys
BOT_TOKEN=your_telegram_bot_token  # Required - Get from @BotFather
TELEGRAM_CHAT_ID=your_chat_id      # Required - Your Telegram chat ID

Usage

./grok-selfie.sh "<context>" [mirror|direct] "<caption>"

Arguments

  1. (required): Scene/situation description
  2. [mode] (optional): mirror (default) or direct
  3. (optional): Message to send with the image

Mode Selection

ModeBest ForKeywords
--------------------------
mirrorOutfit showcases, full-body shotswearing, outfit, fashion, dress
directLocation shots, close-upscafe, beach, restaurant, portrait

Examples

# Mirror selfie (outfit focus)
./grok-selfie.sh "wearing a designer dress" mirror "Just got this new dress!"

# Direct selfie (location focus)
./grok-selfie.sh "a fancy rooftop restaurant" direct "Date night vibes"

# Default mode (mirror)
./grok-selfie.sh "casual outfit at home"

Character Style

The script generates images of Reze from Chainsaw Man with:

  • Anime style, 2D animation, cel shading
  • Green eyes, thin line mouth, subtle smile
  • Black choker always visible
  • Outfit appropriate for the situation

Security Notes

  • All credentials are passed via environment variables
  • The script uses jq for safe JSON construction (prevents injection)
  • The script uses curl -F for safe form data transmission
  • Never commit credentials to version control

Dependencies

  • curl - HTTP requests
  • jq - JSON processing
  • Environment variables: FAL_KEY, BOT_TOKEN, TELEGRAM_CHAT_ID

API Reference

Grok Imagine Edit (fal.ai)

POST https://fal.run/xai/grok-imagine-image/edit
Authorization: Key $FAL_KEY
Content-Type: application/json

{
  "image_url": "reference_image_url",
  "prompt": "edit instruction",
  "num_images": 1,
  "output_format": "jpeg"
}

Telegram Bot API

POST https://api.telegram.org/bot$BOT_TOKEN/sendPhoto
Form data: chat_id, photo (URL), caption

版本历史

共 1 个版本

  • v1.0.14 当前
    2026-03-28 17:09 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 244,037
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,059 📥 798,114
developer-tools

Mac Notes Agent

swancho
与 macOS 备忘录(Apple Notes)集成。通过 Node.js CLI 调用 AppleScript,支持创建、列出、读取、更新、删除和搜索备忘录。
★ 1 📥 2,023