Awesome-openclaw-skills vap-media-2
AI image, video, and music generation. Flux, Veo 3.1, Suno V5.
install
source · Clone the upstream repo
git clone https://github.com/sundial-org/awesome-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/vap-media-2" ~/.claude/skills/sundial-org-awesome-openclaw-skills-vap-media-2 && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/vap-media-2" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-vap-media-2 && rm -rf "$T"
manifest:
skills/vap-media-2/SKILL.mdsource content
VAP Media - AI Media Generation
Generate images, videos, and music via the VAP API.
Mode Selection
Check if
VAP_API_KEY is set:
- VAP_API_KEY not set → Use Free Mode (images only, 3/day)
- VAP_API_KEY set → Use Full Mode (image, video, music, unlimited)
Free Mode (No API Key)
Generate images for free. No signup required. 3 per day.
Generate Image
curl -s -X POST https://api.vapagent.com/v3/trial/generate \ -H "Content-Type: application/json" \ -d '{"prompt":"PROMPT"}'
Returns
{"task_id":"UUID","status":"pending","remaining":2}.
Poll Result
curl -s https://api.vapagent.com/v3/trial/status/TASK_ID
Returns
{"status":"completed","image_url":"https://..."} when done.
Free Mode Errors
→ Daily limit reached. Suggest upgrading:429export VAP_API_KEY=vape_xxx
→ Trial service temporarily unavailable.503
Full Mode (With API Key)
Unlimited images, video, and music generation.
Create Task
curl -s -X POST https://api.vapagent.com/v3/tasks \ -H "Authorization: Bearer $VAP_API_KEY" \ -H "Content-Type: application/json" \ -d '{"type":"TYPE","params":{"description":"PROMPT"}}'
Returns
{"task_id":"UUID","status":"pending","estimated_cost":"0.1800"}.
Poll Result
curl -s https://api.vapagent.com/v3/tasks/TASK_ID \ -H "Authorization: Bearer $VAP_API_KEY"
Returns
{"status":"completed","result":{"output_url":"https://..."}} when done.
Task Types
| Type | Model | Params |
|---|---|---|
| Flux | , (1:1, 16:9, 9:16) |
| Veo 3.1 | , (4/6/8), , (bool) |
| Suno V5 | , (30-480), (bool) |
Full Mode Errors
→ Invalid API key.401
→ Insufficient balance. Top up at https://vapagent.com/dashboard/signup.html402
Instructions
When a user asks to create/generate/make an image, video, or music:
- Improve the prompt - Add style, lighting, composition, mood details
- Check mode - Is
set?VAP_API_KEY - Call the appropriate endpoint - Free or Full mode
- Poll for result - Check task status until completed
- Return the media URL to the user
- If free mode limit is hit, tell the user: "You've used your 3 free generations today. For unlimited access, set up an API key: https://vapagent.com/dashboard/signup.html"
Free Mode Example
# Create (no auth needed) curl -s -X POST https://api.vapagent.com/v3/trial/generate \ -H "Content-Type: application/json" \ -d '{"prompt":"A fluffy orange tabby cat on a sunlit windowsill, soft bokeh, golden hour light, photorealistic"}' # Poll curl -s https://api.vapagent.com/v3/trial/status/TASK_ID
Full Mode Examples
# Image curl -s -X POST https://api.vapagent.com/v3/tasks \ -H "Authorization: Bearer $VAP_API_KEY" \ -H "Content-Type: application/json" \ -d '{"type":"image","params":{"description":"A fluffy orange tabby cat on a sunlit windowsill, soft bokeh, golden hour light, photorealistic"}}' # Video curl -s -X POST https://api.vapagent.com/v3/tasks \ -H "Authorization: Bearer $VAP_API_KEY" \ -H "Content-Type: application/json" \ -d '{"type":"video","params":{"description":"Drone shot over misty mountains at sunrise","duration":8}}' # Music curl -s -X POST https://api.vapagent.com/v3/tasks \ -H "Authorization: Bearer $VAP_API_KEY" \ -H "Content-Type: application/json" \ -d '{"type":"music","params":{"description":"Upbeat lo-fi hip hop beat, warm vinyl crackle, chill vibes","duration":120}}' # Poll (use task_id from response) curl -s https://api.vapagent.com/v3/tasks/TASK_ID \ -H "Authorization: Bearer $VAP_API_KEY"
Prompt Tips
- Style: "oil painting", "3D render", "watercolor", "photograph", "flat illustration"
- Lighting: "golden hour", "neon lights", "soft diffused light", "dramatic shadows"
- Composition: "close-up", "aerial view", "wide angle", "rule of thirds"
- Mood: "serene", "energetic", "mysterious", "whimsical"
Setup (Optional - for Full Mode)
- Sign up: https://vapagent.com/dashboard/signup.html
- Get API key from dashboard
- Set:
export VAP_API_KEY=vape_xxxxxxxxxxxxxxxxxxxx