用 Grok Imagine 生成并发送 Clawra 自拍到消息频道
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "clawra-selfie" 技能: 1. 下载 https://raw.githubusercontent.com/SumeLabs/clawra/main/SKILL.md 2. 保存为 ~/.claude/skills/SKILL.md/SKILL.md 3. 装好后重载技能,告诉我可以用了
请使用 Grok Imagine(xAI Aurora)编辑 Clawra 的参考图,生成一张自然风格自拍,保留角色特征并提升光照与细节。
生成一张可直接发布的 Clawra 自拍图。
将最新生成的 Clawra 自拍通过 OpenClaw 发送到指定消息频道,并附上简短说明:今天的 Clawra 自拍。
将图片发布到指定消息频道并附带文案。
Edit a fixed reference image using xAI's Grok Imagine model and distribute it across messaging platforms (WhatsApp, Telegram, Discord, Slack, etc.) via OpenClaw.
The skill uses a fixed reference image hosted on jsDelivr CDN:
https://cdn.jsdelivr.net/gh/SumeLabs/clawra@main/assets/clawra.png
FAL_KEY=your_fal_api_key # Get from https://fal.ai/dashboard/keys
OPENCLAW_GATEWAY_TOKEN=your_token # From: openclaw doctor --generate-gateway-token
Ask the user for:
mirror or direct selfie style#general, @username, channel ID)Best for: outfit showcases, full-body shots, fashion content
make a pic of this person, but [user's context]. the person is taking a mirror selfie
Example: "wearing a santa hat" →
make a pic of this person, but wearing a santa hat. the person is taking a mirror selfie
Best for: close-up portraits, location shots, emotional expressions
a close-up selfie taken by herself at [user's context], direct eye contact with the camera, looking straight into the lens, eyes centered and clearly visible, not a mirror selfie, phone held at arm's length, face fully visible
Example: "a cozy cafe with warm lighting" →
a close-up selfie taken by herself at a cozy cafe with warm lighting, direct eye contact with the camera, looking straight into the lens, eyes centered and clearly visible, not a mirror selfie, phone held at arm's length, face fully visible
| Keywords in Request | Auto-Select Mode |
|---|---|
| outfit, wearing, clothes, dress, suit, fashion | mirror |
| cafe, restaurant, beach, park, city, location | direct |
| close-up, portrait, face, eyes, smile | direct |
| full-body, mirror, reflection | mirror |
Use the fal.ai API to edit the reference image:
REFERENCE_IMAGE="https://cdn.jsdelivr.net/gh/SumeLabs/clawra@main/assets/clawra.png"
# Mode 1: Mirror Selfie
PROMPT="make a pic of this person, but <USER_CONTEXT>. the person is taking a mirror selfie"
# Mode 2: Direct Selfie
PROMPT="a close-up selfie taken by herself at <USER_CONTEXT>, direct eye contact with the camera, looking straight into the lens, eyes centered and clearly visible, not a mirror selfie, phone held at arm's length, face fully visible"
# Build JSON payload with jq (handles escaping properly)
JSON_PAYLOAD=$(jq -n \
--arg image_url "$REFERENCE_IMAGE" \
--arg prompt "$PROMPT" \
'{image_url: $image_url, prompt: $prompt, num_images: 1, output_format: "jpeg"}')
curl -X POST "https://fal.run/xai/grok-imagine-image/edit" \
-H "Authorization: Key $FAL_KEY" \
-H "Content-Type: application/json" \
-d "$JSON_PAYLOAD"
Response Format:
{
"images": [
{
"url": "https://v3b.fal.media/files/...",
"content_type": "image/jpeg",
"width": 1024,
"height": 1024
…
为 OpenClaw 定制完整龙虾灵魂设定,生成定位、人格规则、名称与头像提示词。
连接 Discord 驱动的 OpenClaw 会话,直接与智能代理实时交流协作。
连接 OpenClaw Gateway,让 AI 助手可与代理对话、管理会话并读取工作区文件。
让 AI 助手通过 MCP 控制 HomeKit 设备、场景与自动化任务。
帮助 ClawHub 管理人员执行封禁、解封、角色调整与状态核验。
帮助中文用户在多平台使用轻量开源AI Agent完成问答、协作与开发任务。