vap-media

19
0
Source

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

Install

mkdir -p .claude/skills/vap-media && curl -L -o skill.zip "https://mcp.directory/api/skills/download/1274" && unzip -o skill.zip -d .claude/skills/vap-media && rm skill.zip

Installs to .claude/skills/vap-media

About this skill

VAP Media - AI Media Generation & Editing

Integration Note: VAP Media is an API aggregator that provides unified access to multiple AI providers:

  • Images: Generated via Black Forest Labs Flux.2 Pro
  • Videos: Generated via Google Veo 3.1
  • Music: Generated via Suno V5

All generation requests go through VAP's API (api.vapagent.com), which routes to the appropriate backend provider.

Generate images, videos, and music. Edit with inpaint, ai_edit, upscale, background removal, video trim/merge.

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 (all features, 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

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

Full Mode (With API Key)

Unlimited images, video, music, and editing operations.

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"}.

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 & Parameters

Image (image or image_generation)

ParamTypeDefaultDescription
descriptionstringrequiredImage description
aspect_ratioenum1:11:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21
qualityenumstandardstandard or high

Tip: Aspect ratio is auto-detected from prompt text. "a wide landscape photo" → 16:9 automatically.

Video (video or video_generation) — Tier 2+

ParamTypeDefaultDescription
descriptionstringrequiredVideo description
durationint84, 6, or 8 seconds
aspect_ratioenum16:916:9 (landscape) or 9:16 (portrait)
generate_audiobooltrueInclude audio track
resolutionenum720p720p or 1080p
negative_promptstring""What to avoid

Music (music or music_generation) — Tier 2+

ParamTypeDefaultDescription
descriptionstringrequiredMusic description (genre, mood, instruments)
durationint12030-480 seconds
instrumentalboolfalseNo vocals
audio_formatenummp3mp3 or wav (lossless)
loudness_presetenumstreamingstreaming (-14 LUFS), apple (-16 LUFS), broadcast (-23 LUFS)
stylestringnoneGenre/style (max 1000 chars)
titlestringnoneSong title
custom_modeboolfalseEnable custom lyrics + style mode

Full Mode Errors


Operations (Edit & Enhance)

Post-production editing operations. Tier 1+ required.

Create Operation

curl -s -X POST https://api.vapagent.com/v3/operations \
  -H "Authorization: Bearer $VAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation":"OPERATION","media_url":"URL","prompt":"INSTRUCTION"}'

Poll Operation

curl -s https://api.vapagent.com/v3/operations/OPERATION_ID \
  -H "Authorization: Bearer $VAP_API_KEY"

Available Operations

OperationRequired ParamsDescription
inpaintmedia_url, promptAI editing (optional: mask_url)
ai_editmedia_url, promptAI-powered image editing with text instructions (optional: additional_images)
background_removemedia_urlRemove background
upscalemedia_urlEnhance resolution (scale: 2 or 4)
video_trimmedia_url, start_time, end_timeTrim video
video_mergemedia_urls (array, min 2)Merge video clips

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. Choose endpoint:
    • Single asset → /v3/tasks (or /v3/trial/generate for free)
    • Edit/enhance → /v3/operations
    • Campaign (video+music+thumbnail) → /v3/execute with preset
  4. Set aspect ratio — Match the content need (portrait for social, widescreen for YouTube)
  5. Poll for result — Check task/operation status until completed
  6. Return the media URL to the user
  7. 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"

When a user asks to edit/enhance/modify an existing image or video:

  1. Identify the operation — inpaint, ai_edit, upscale, background remove, trim, merge
  2. Get the media URL — From a previous generation or user-provided URL
  3. Submit operation/v3/operations
  4. Poll for result — Return the output URL

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 (widescreen)
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","aspect_ratio":"16:9"}}'

# Video (portrait, for social media)
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,"aspect_ratio":"9:16","resolution":"1080p"}}'

# Music (instrumental WAV)
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,"instrumental":true,"audio_format":"wav","loudness_preset":"streaming"}}'

# Inpaint (edit an image)
curl -s -X POST https://api.vapagent.com/v3/operations \
  -H "Authorization: Bearer $VAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation":"inpaint","media_url":"https://example.com/photo.jpg","prompt":"Remove the person in the background"}'

# Upscale (4x)
curl -s -X POST https://api.vapagent.com/v3/operations \
  -H "Authorization: Bearer $VAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation":"upscale","media_url":"https://example.com/photo.jpg","options":{"scale":4}}'

# Background Remove
curl -s -X POST https://api.vapagent.com/v3/operations \
  -H "Authorization: Bearer $VAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation":"background_remove","media_url":"https://example.com/photo.jpg"}'

# Poll (use task_id or operation_id from response)
curl -s https://api.vapagent.com/v3/tasks/TASK_ID \
  -H "Authorization: Bearer $VAP_API_KEY"

Production Presets (Multi-Asset)

For content campaigns, use /v3/execute to generate multiple assets from one prompt:

curl -s -X POST https://api.vapagent.com/v3/execute \
  -H "Authorization: Bearer $VAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"preset":"streaming_campaign","prompt":"PROMPT"}'

Returns all assets when complete:

{"status":"completed","outputs":{"video":"https://...","music":"https://...","thumbnail":"https://..."}}
PresetIncludes
streaming_campaignvideo + music + thumbnail + metadata
full_productionvideo + music + thumbnail + metadata + SEO
video.basicvideo only
music.basicmusic only
image.basicimage only

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"
  • Aspect ratio in prompt: Mentioning "widescreen", "portrait", or "16:9" in your prompt auto-sets the aspect ratio.

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=vap_xxxxxxxxxxxxxxxxxxxx

Links

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

219765

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

172398

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

158268

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

192225

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

151185

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

126166

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.