agentleFS
opencueopencue/cuecards/.agents/skills/vap-media/SKILL.md

vap-media

Skill10 starsChanged 4 months agoMITView on GitHub

AI image, video, and music generation. Flux, Veo 3.1, Suno V5.

  • Reads credentials
  • Sends data out

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check if VAP_API_KEY is set:

    line 13
  2. Very specific:

    When a user asks to create/generate/make an image, video, or music:

    line 93
  3. Very specific:

    Check mode - Is VAP_API_KEY set?

    line 96
  4. Distinctive:

    Call the appropriate endpoint - Free or Full mode

    line 97
  5. Very specific:

    If free mode limit is hit, tell the user: "You've used your 3 free generations today.

    line 101

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 '{"description":"a serene mountain lake at sunset"}'

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

  • 429 → Daily limit reached. Suggest upgrading: export VAP_API_KEY=vape_xxx
  • 503 → Trial service temporarily unavailable.

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": "image",
    "description": "a futuristic cityscape at night",
    "aspect_ratio": "16:9"
  }'

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

TypeModelParams
imageFluxdescription, aspect_ratio (1:1, 16:9, 9:16)
videoVeo 3.1description, duration (4/6/8), aspect_ratio, generate_audio (bool)
musicSuno V5description, duration (30-480), instrumental (bool)

Full Mode Errors


Instructions

When a user asks to create/generate/make an image, video, or music:

  1. Improve the prompt - Add style, lighting, composition, mood details
  2. Check mode - Is VAP_API_KEY set?
  3. Call the appropriate endpoint - Free or Full mode
  4. Poll for result - Check task status until completed
  5. 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, get an API key at 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 '{"description":"a golden retriever puppy playing in a field"}'
# → {"task_id":"abc123","status":"pending","remaining":2}

# Poll every 2-3 seconds
curl -s https://api.vapagent.com/v3/trial/status/abc123
# → {"status":"completed","image_url":"https://cdn.vapagent.com/abc123.png"}

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","description":"cyberpunk street at night, neon lights","aspect_ratio":"16:9"}'

# 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","description":"ocean waves crashing on beach","duration":6,"generate_audio":true}'

# 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","description":"upbeat electronic dance music","duration":120,"instrumental":false}'

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)

  1. Sign up: https://vapagent.com/dashboard/signup.html
  2. Get API key from dashboard
  3. Set: export VAP_API_KEY=vape_xxxxxxxxxxxxxxxxxxxx

Links

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.