Back to Homepage
Developers Console

API Documentation

Integrate ThinkNEXT's AI video generation engine directly into your CMS, CRM, or content pipelines.

Authentication

All API requests require Bearer token authorization. Workspace owners can generate API keys (`thinknext_live_...` or `thinknext_test_...`) in the workspace API settings dashboard. Include your token in the HTTP headers:

Authorization: Bearer YOUR_API_KEY

Endpoints Overview

  • POST/api/v1/projects

    Create a new video project in your active workspace.

  • POST/api/v1/projects/:id/generate

    Trigger voiceover synthesis and HeyGen avatar rendering.

  • GET/api/v1/projects/:id/status

    Fetch generation milestones and get the final MP4 download links.

Webhooks

Because avatar rendering can take several minutes, we recommend subscribing to Webhooks. Configure your endpoint in settings to receive payload notifications when rendering finishes or fails.

Interactive Request Example
Bash / cURL
# Trigger video compilation programmatically
curl -X POST \
https://api.thinknext.com/v1/projects \
-H "Authorization: Bearer thinknext_live_8f3d..." \
-H "Content-Type: application/json" \
-d '{
"title": "Welcome Onboarding Demo",
"script": "Hello team, welcome to ThinkNEXT Video AI!",
"voice_id": "eleven_cloned_adam",
"aspect_ratio": "16:9"
}'
# Successful Response (201 Created)
{
  "status": "success",
  "data": {
    "project_id": "ws_proj_092e10a",
    "rendering_status": "queued",
    "estimated_seconds": 120
  }
}