🎨 WeryAI Image Generation
Welcome to the WeryAI Image Gen skill! This skill empowers your OpenClaw agent to instantly create high-quality media using the WeryAI Platform.
🚀 Quick Setup (Onboarding)
To use this skill, you need a WeryAI API Key. Follow these simple steps to get started:
-
Get your API Key:
- Go to WeryAI and sign up for an account.
- Navigate to the Developer / API Keys section in your dashboard.
- Click "Create New Secret Key" and copy the key (it usually starts with
sk-).
-
Configure OpenClaw:
- The safest way to configure this in OpenClaw is to set it as an environment variable in your Gateway or OS environment:
export WERYAI_API_KEY="sk-your-api-key-here" - When launching your agent, ensure this environment variable is passed down to the OpenClaw process.
- The safest way to configure this in OpenClaw is to set it as an environment variable in your Gateway or OS environment:
(Note: During installation, OpenClaw will also prompt you to enter the WERYAI_API_KEY if it detects this skill).
🤖 How the Agent Uses It
When a user asks for media generation, the agent will automatically execute the included script:
node ./weryai-generate.js "A cute cyberpunk cat reading a holographic book, 4k"
- The script automatically handles the WeryAI API request and complex authentication headers.
- It polls the WeryAI servers asynchronously until the task is fully generated.
- It returns the final
.pngor.jpgURL, which the agent will display directly in the chat!
⚠️ Troubleshooting & Limits
- API Key Missing: The script will fail immediately and print an error if
WERYAI_API_KEYis not found. - Timeouts & Network: Generation can take anywhere from 10 seconds to several minutes depending on the task type (podcasts and videos take longer). The script includes automatic retries (exponential backoff) for network stability, so please be patient!