Install
openclaw skills install elizacloudManage elizaOS Cloud - deploy AI agents, chat completions, image/video generation, voice cloning, knowledge base, containers, and marketplace. Use when interacting with elizaOS Cloud, elizacloud.ai, deploying eliza agents, or managing cloud-hosted AI agents. Requires ELIZACLOUD_API_KEY environment variable.
openclaw skills install elizacloudelizaOS Cloud is a platform for building, deploying, and scaling intelligent AI agents. This skill provides access to the complete elizaOS Cloud API for managing agents, generating content, and building AI-powered applications.
Set your API key as an environment variable:
export ELIZACLOUD_API_KEY="your_api_key_here"
Use the included bash client for common operations:
./scripts/elizacloud-client.sh status
./scripts/elizacloud-client.sh agents list
./scripts/elizacloud-client.sh chat agent-id "Hello!"
https://elizacloud.ai/api/v1Authorization: Bearer $ELIZACLOUD_API_KEYX-API-Key: $ELIZACLOUD_API_KEYapplication/jsoncurl https://elizacloud.ai/api/v1/chat/completions \
-H "Authorization: Bearer $ELIZACLOUD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "your-agent-id",
"messages": [{"role": "user", "content": "Hello!"}],
"stream": true
}'
Features: Streaming, function calling, structured outputs
List Agents
GET /api/my-agents/characters
Create Agent
POST /api/v1/app/agents
{
"name": "My Assistant",
"bio": "A helpful AI assistant"
}
Get Agent
GET /api/my-agents/characters/{id}
Delete Agent
DELETE /api/my-agents/characters/{id}
POST /api/v1/images/generate
{
"prompt": "A futuristic city at sunset",
"model": "flux-pro",
"width": 1024,
"height": 1024
}
Models: FLUX Pro, FLUX Dev, Stable Diffusion
POST /api/v1/video/generate
{
"prompt": "A peaceful lake with mountains in the background",
"duration": 5,
"model": "minimax-01"
}
Models: MiniMax, Runway
POST /api/v1/voice/clone
{
"text": "Hello, this is a test of voice cloning",
"voice_id": "21m00Tcm4TlvDq8ikWAM",
"model": "eleven_turbo_v2"
}
Upload Document
POST /api/v1/knowledge/upload
Query Knowledge
POST /api/v1/knowledge/query
{
"query": "How do I deploy an agent?",
"limit": 5
}
Deploy Container
POST /api/v1/containers
{
"name": "my-app",
"image": "nginx:latest",
"ports": [{"containerPort": 80}]
}
Discover Agents
GET /api/v1/discovery
Send Task
POST /api/a2a
{
"jsonrpc": "2.0",
"method": "tasks/send",
"params": {
"id": "task_123",
"message": {
"role": "user",
"parts": [{"type": "text", "text": "Analyze this data"}]
}
},
"id": 1
}
Create API Key
POST /api/v1/api-keys
{
"name": "Production Key",
"permissions": ["chat", "agents", "images"]
}
Available Permissions: chat, embeddings, images, video, voice, knowledge, agents, apps
All errors follow this format:
{
"error": {
"code": "INVALID_REQUEST",
"message": "The request body is invalid",
"details": "Field 'model' is required"
}
}
Common Error Codes:
UNAUTHORIZED (401): Invalid/missing authenticationFORBIDDEN (403): Insufficient permissionsNOT_FOUND (404): Resource not foundRATE_LIMITED (429): Too many requestsINSUFFICIENT_CREDITS (402): Not enough credits| Endpoint | Rate Limit |
|---|---|
| Chat completions | 60 req/min |
| Embeddings | 100 req/min |
| Image generation | 20 req/min |
| Video generation | 5 req/min |
# 1. Create agent
curl -X POST https://elizacloud.ai/api/v1/app/agents \
-H "Authorization: Bearer $ELIZACLOUD_API_KEY" \
-d '{"name": "Support Bot", "bio": "Customer support specialist"}'
# 2. Chat with agent
curl https://elizacloud.ai/api/v1/chat/completions \
-H "Authorization: Bearer $ELIZACLOUD_API_KEY" \
-d '{"model": "agent-id", "messages": [{"role": "user", "content": "Help me"}]}'
# 1. Generate image
curl -X POST https://elizacloud.ai/api/v1/images/generate \
-H "Authorization: Bearer $ELIZACLOUD_API_KEY" \
-d '{"prompt": "Modern tech startup logo", "model": "flux-pro"}'
# 2. Generate video
curl -X POST https://elizacloud.ai/api/v1/video/generate \
-H "Authorization: Bearer $ELIZACLOUD_API_KEY" \
-d '{"prompt": "Product demo animation", "duration": 10}'
# 1. Discover available agents
curl https://elizacloud.ai/api/v1/discovery \
-H "Authorization: Bearer $ELIZACLOUD_API_KEY"
# 2. Delegate task to specialist agent
curl -X POST https://elizacloud.ai/api/a2a \
-H "Authorization: Bearer $ELIZACLOUD_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tasks/send", "params": {"message": {"role": "user", "parts": [{"type": "text", "text": "Analyze financial data"}]}}}'
Register at elizacloud.ai/login (Privy auth — browser required). New accounts receive 1,000 free credits — enough to test chat, image gen, and more.
# After signing up, create a key at Dashboard → API Keys
# Or via API (once authenticated):
POST /api/v1/api-keys
{
"name": "My OpenClaw Agent",
"permissions": ["chat", "agents", "images", "video", "voice", "knowledge"]
}
bun add -g @elizaos/cli
elizaos login
GET /api/v1/credits/balance
POST /api/v1/credits/checkout
{ "amount": 5000 }
# Returns a Stripe checkout URL — redirect to complete payment
Pay per-request with cryptocurrency — no pre-purchased credits needed:
# Include x402 payment header with any API request
curl -X POST "https://elizacloud.ai/api/v1/chat/completions" \
-H "X-PAYMENT: <x402-payment-header>" \
-H "Content-Type: application/json" \
-d '{"model": "agent-id", "messages": [{"role": "user", "content": "Hello"}]}'
PUT /api/v1/billing/settings
{
"autoTopUp": true,
"threshold": 100,
"amount": 1000
}
GET /api/credits/transactions?limit=50
GET /api/v1/credits/summary
# Returns: org balance, agent budgets, app earnings, redeemable earnings
POST /api/crypto/payments
GET /api/crypto/status
| Method | Header | Use Case |
|---|---|---|
| API Key | Authorization: Bearer ek_xxx | Server-to-server |
| X-API-Key | X-API-Key: ek_xxx | Alternative header |
| x402 | X-PAYMENT: <header> | Pay-per-request with USDC |
| Session | Cookie-based | Browser apps |
references/api-reference.md for complete endpoint detailsELIZACLOUD_API_KEY: Your elizaOS Cloud API key (required)ELIZACLOUD_BASE_URL: API base URL (default: https://elizacloud.ai/api/v1)