提示词OpenClaw
Images on demand
用例
Thumbnails and social images should not mean opening another app. You describe the image, or you hand over pictures to edit or combine, and the file comes back in Telegram with a timestamped name.
需要连接什么
A Gemini API key with image generation enabled (the Nano Banana image AI models). Telegram, so the file can be delivered and the local copy removed.
设置步骤
- Set GEMINI_API_KEY in the environment and IMAGE_MODEL to the image AI model you want. Confirm one test prompt returns a file.
- Set OUTPUT_DIR to a folder outside the git repo.
- Save the prompt as image-gen.
- Generate one image, confirm it arrives in Telegram as a file, and confirm the local copy is deleted after the send succeeds.
发送前请修改:The image model id, the output folder, and the default resolution.
粘贴到 OpenClaw 的提示词
Save this as a skill named image-gen. Use the Gemini image API (Nano Banana) with [IMAGE MODEL]. I can ask you to: - Create an image from a text prompt. - Edit an image I attach. - Compose up to 14 source images into one result, when the API allows that many. - Request a resolution up to 4K when the model supports it. If it does not, use the largest size it does support and say so. Save the file under [OUTPUT DIR] with a UTC timestamp in the name. Send the file itself in Telegram. After the send succeeds, delete the local file. If the send fails, keep the file and tell me the path. Use this for thumbnails, social posts, and other visual assets I ask for. Do not generate an image I did not ask for.
配合这些提示词使用
这些 OpenClaw 提示词会调用这个提示词,或被它调用。请一起设置。
- Short clips on demand
A short visual is sometimes the whole asset. You describe the clip, or you start from a still, and a short video comes back in Telegram. The local download does not linger on the laptop.
更多 OpenClaw 提示词
- Watch a video and pull the useful parts
You want the argument of a video without scrubbing the timeline. You hand OpenClaw a file, a Telegram upload, a YouTube link, or a direct video URL. Gemini watches it and returns the summary, the moments worth keeping, and the lines you might say on camera.
- Google Workspace, read-first
Mail, calendar, and Drive are the pipes the other skills use. You connect them once with OAuth. OpenClaw can read the inbox, see the day, and store backups. Sending mail, or creating a Doc, still waits for you.
- Platform health council
Security review catches hostile bugs. This pass catches a system that is quietly getting worse: failing cron jobs, a prompt nobody updated, a dependency with a known hole, a database that will fill the disk. You get a numbered list, and silence means it looked fine.
- Newsletter and pipeline, cached locally
Subscriber counts and deal stages are useless if the council has to call two APIs every time it thinks. OpenClaw pulls Beehiiv and HubSpot into SQLite on a schedule, and the business council reads the cache with everything else.