How to use AI Detection

Use AI Detection to create a zoomed focus on a subject or face(s) in your images. Can be enabled from within the Template Editor, then flagged as "ai-detect": "face" or "ai-detect": "subject" in your API requests.

Enabled In Editor

  1. Add a Rectangle / Circle Image Container (doesn't work with static image)
  2. Find the AI Detection section on the right panel
  3. Select either Face or Subject from the drop-down menu

Flag in API Request

We'll need to let the API know if we're detecting a face "ai-detect": "face" or subject "ai-detect": "subject". See the API Reference for more information.

{
"template": "ax9mYepjJgDpg8bAnB",
"modifications": {
"objects": [
  {
    "name": "portrait",
    "background-image": "https://cdn.filestackcontent.com/Vqhk9XYKQvW3BaLvg1eQ",
    "ai-detect": "face",
    "ai-detect-focus": "first",
    "ai-detect-zoom": "auto"
  }
]
}
}

Note: API Requests using this feature will use x2 API quota

Start a Free Trial

Start a free trial with 30 API credits, no credit card required

Resize Video
Add Intro Animation
Add Subtitles

Get Started for Free