Quick Start Guide

Get up and running with VideoMaker in just a few minutes.

1. Get Your API Key

First, you need to create an API token to authenticate your requests:

  1. Log in to your account at /login
  2. Navigate to Settings at /admin/settings
  3. Click on "Nuevo Token" in the API Keys section
  4. Give your token a descriptive name
  5. Copy the generated token (you'll only see it once!)

2. Make Your First Request

Use the pipeline API to transform a press release into a video:

curl -X POST http://localhost:5173/api/pipeline/test \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "pipelineId": "press-release-to-video",
    "input": {
      "text": "Your press release text here...",
      "images": [],
      "pexelsImageCount": 3,
      "pexelsVideoCount": 2
    },
    "webhookUrl": "https://your-webhook-url.com/callback"
  }'

3. Check Pipeline Status

Monitor your pipeline execution:

curl -X GET http://localhost:5173/api/pipeline/status?executionId=YOUR_EXECUTION_ID \
  -H "Authorization: Bearer YOUR_API_KEY"

4. Receive Webhook Notification

When your video is ready, we'll send a POST request to your webhook URL with:

{
  "event": "video.completed",
  "executionId": "...",
  "pipelineId": "press-release-to-video",
  "status": "COMPLETED",
  "output": {
    "videoId": "...",
    "videoUrl": "...",
    "duration": 30,
    "title": "..."
  }
}

💡 Next Steps