video

Create Template

post/api/v1/video/create-template

Request body

template_idstring nullable
{"stackTrail":"components:schemas:CreateTemplateDTO:properties:template_data:anyOf","oasType":"schema","type":"unknown","title":"Template Data","nullable":true}
template_typestring nullable
preview_urlstring nullable
categorystring nullable
{"stackTrail":"components:schemas:CreateTemplateDTO:properties:template_metadata:anyOf","oasType":"schema","type":"unknown","title":"Template Metadata","nullable":true}
{"stackTrail":"components:schemas:CreateTemplateDTO:properties:input_fields:anyOf","oasType":"schema","type":"unknown","title":"Input Fields","nullable":true}

Example request

{
  "category": "Fashion",
  "preview_url": "https://example.com/preview.mp4",
  "template_data": {
    "name": "Fashion Promo"
  },
  "template_id": "claude-html-fashion-promo",
  "template_metadata": {
    "duration": 30,
    "html_template": "https://example.com/template.html",
    "skill_id": "skill_01..."
  },
  "template_type": "claudehtml"
}

Response

Successful Response

successboolean required
messagestring required
template_idstring nullable
idstring nullable

Example response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "message": "Template created successfully",
  "success": true,
  "template_id": "template_001"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.