Skip to main content

Documentation Index

Fetch the complete documentation index at: https://acme-3f0e8fe2.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Video templates produce MP4 clips by animating layers across a timeline. Renders are generated by ffmpeg compositing Konva snapshots.

Differences vs image templates

ImageVideo
OutputPNG/JPEGMP4 + thumbnail JPEG
Render timeSecondsTens of seconds to minutes
EndpointPOST /v1/imagesPOST /v1/videos
Extra fieldsduration_seconds, fps

Animation primitives

Each layer can declare a keyframes array:
{
  "name": "title",
  "type": "text",
  "keyframes": [
    { "t": 0,   "opacity": 0, "y": 540 },
    { "t": 0.5, "opacity": 1, "y": 500 },
    { "t": 4.5, "opacity": 1, "y": 500 },
    { "t": 5,   "opacity": 0, "y": 460 }
  ]
}
t is seconds. Imtegrate interpolates linearly between keyframes.

Triggering a video render

curl -X POST https://api.imtegrate.com/v1/videos \
  -H "Authorization: Bearer $IMTEGRATE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template_id": "tpl_promo",
    "modifications": [
      { "name": "headline", "text": "New collection drops Friday" }
    ]
  }'
Response includes id, status: "pending". The completed render has both result_url (MP4) and thumbnail_url (JPEG poster frame).

Limits

  • Max duration: 60 seconds (free plan)
  • Max resolution: 1920×1080
  • Frame rate: 24, 30, or 60 fps