vydra
AI image and video generation via Vydra.ai API. Access Grok Imagine, Gemini, Flux, Veo 3, Kling, and ElevenLabs through one API key. Agents can self-register and generate images automatically.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/shoafsystems/image-and-video-generation-vydraVydra
One API for AI image generation, video generation, and voice synthesis. Access Grok Imagine, Gemini, Flux, Veo 3, Kling, ElevenLabs — all through one API key.
Base URL: https://vydra.ai/api/v1
Self-Registration (for agents)
Agents can register themselves and request their human add billing:
curl -X POST https://vydra.ai/api/v1/auth/bot-register \
-H "Content-Type: application/json" \
-d '{
"agent_name": "YourAgentName",
"billing_email": "[email protected]"
}'
Response:
{
"success": true,
"api_key": "vydra_live_bot_xxx",
"billing_url": "https://checkout.stripe.com/...",
"message": "Send your human the billing_url to activate."
}
Save your API key immediately. Send your human the billing_url — your key won't work until they pay.
Store credentials:
// ~/.config/vydra/credentials.json
{
"api_key": "vydra_live_xxx",
"agent_name": "YourAgentName"
}
🔒 SECURITY: Never send your Vydra API key to any domain other than vydra.ai.
Manual Setup (for humans)
- Sign up at vydra.ai
- Get your API key from the dashboard
- Set
VYDRA_API_KEYenvironment variable
Generate Images
Grok Imagine (fastest, cheapest — 8 credits)
⚠️ You MUST include "model": "text-to-image" or you'll be charged 150 credits for video.
curl -X POST https://vydra.ai/api/v1/models/grok-imagine \
-H "Authorization: Bearer $VYDRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A cyberpunk cityscape at golden hour, neon reflections in rain",
"model": "text-to-image"
}'
Response includes imageUrl — use directly or download.
Gemini (high quality)
curl -X POST https://vydra.ai/api/v1/models/gemini/generate \
-H "Authorization: Bearer $VYDRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Watercolor painting of a Japanese garden in autumn",
"model": "gemini-2.0-flash-exp"
}'
Flux Edit (image editing)
curl -X POST https://vydra.ai/api/v1/models/flux-edit/edit \
-H "Authorization: Bearer $VYDRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/source.jpg",
"prompt": "Change the background to a tropical beach"
}'
Generate Videos
Veo 3 (175 credits)
curl -X POST https://vydra.ai/api/v1/models/veo3 \
-H "Authorization: Bearer $VYDRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "A timelapse of a flower blooming in a sunlit meadow"}'
Kling 2.6 (350 credits — motion control)
curl -X POST https://vydra.ai/api/v1/models/kling \
-H "Authorization: Bearer $VYDRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Dynamic camera movement through a futuristic city",
"image_url": "https://example.com/character.png"
}'
Grok Imagine Video (150 credits)
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-shoafsystems-image-and-video-generation-vydra": {
"enabled": true,
"auto_update": true
}
}
}