Create AI-generated videos for your posts.
Authorization
Send your API key in the Authorization header. It is under Settings → Developers → Public API in Ferra.
Body
type"image-text-slides" | "veo3"requiredVideo generation type
output"vertical" | "horizontal"requiredVideo orientation
customParamsobjectrequiredvoicestringElevenLabs voice ID (for image-text-slides)
promptstringDescription/script for the video
imagesobject[]Reference images (for veo3, max 3)
idstringrequiredpathstringrequiredthumbnailTimestampnumberMilliseconds into the video to use as the cover/thumbnail frame. Supported by Instagram, Instagram Standalone, TikTok Business, and TikTok (Direct Post only, not the UPLOAD/inbox flow); other providers ignore it. For TikTok, in our testing the cover was applied only to public posts (privacy_level PUBLIC_TO_EVERYONE).
Request
curl -X POST 'https://tryferra.co/api/public/v1/generate-video' \
-H 'Authorization: your-api-key' \
-H 'Content-Type: application/json' \
-d '{
"type": "image-text-slides",
"output": "vertical",
"customParams": {
"voice": "string",
"prompt": "string",
"images": [
{
"id": "string",
"path": "string",
"thumbnailTimestamp": 0
}
]
}
}'Responses
200Video generated successfully
[
{
"id": "string",
"path": "string"
}
]