AI image, video, and music generation. Flux, Veo 3.1, Suno V5.
Generate images, videos, and music via the VAP API.
Check if VAP_API_KEY is set:
Generate images for free. No signup required. 3 per day.
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}.
curl -s https://api.vapagent.com/v3/trial/status/TASK_ID
Returns {"status":"completed","image_url":"https://..."} when done.
429 → Daily limit reached. Suggest upgrading: export VAP_API_KEY=vape_xxx503 → Trial service temporarily unavailable.Unlimited images, video, and music generation.
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"}.
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.
| Type | Model | Params |
|---|---|---|
image | Flux | description, aspect_ratio (1:1, 16:9, 9:16) |
video | Veo 3.1 | description, duration (4/6/8), aspect_ratio, generate_audio (bool) |
music | Suno V5 | description, duration (30-480), instrumental (bool) |
401 → Invalid API key.402 → Insufficient balance. Top up at https://vapagent.com/dashboard/signup.htmlWhen a user asks to create/generate/make an image, video, or music:
VAP_API_KEY set?# 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
# 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"
export VAP_API_KEY=vape_xxxxxxxxxxxxxxxxxxxx