Tích hợp AI phân tích video vào n8n, Zapier, hoặc bất kỳ hệ thống nào chỉ với 1 API call.
Chỉ mất 2 phút để gọi API phân tích video đầu tiên.
Gửi video URL + API key
JSON 4 layers phân tích
Mỗi request cần header X-API-Key
X-API-Key: atd_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
curl -X POST "https://www.atechdown.store/api/analyze" \ -H "Content-Type: application/json" \ -H "X-API-Key: atd_your_key_here" \ -d '{ "video_url": "https://www.tiktok.com/@user/video/123456", "brand_info": "Skincare cho nữ 18-35 tuổi" }'
import requests response = requests.post( "https://www.atechdown.store/api/analyze", headers={"X-API-Key": "atd_your_key_here"}, json={ "video_url": "https://www.tiktok.com/@user/video/123456", "brand_info": "Skincare cho nữ 18-35 tuổi" } ) data = response.json() print(data["data"]["overall_score"])
const res = await fetch("https://www.atechdown.store/api/analyze", { method: "POST", headers: { "Content-Type": "application/json", "X-API-Key": "atd_your_key_here" }, body: JSON.stringify({ video_url: "https://www.tiktok.com/@user/video/123456", brand_info: "Skincare cho nữ 18-35 tuổi" }) }); const { data } = await res.json(); console.log(data.overall_score, data.layers);
// Cấu hình HTTP Request node trong n8n: Method: POST URL: https://www.atechdown.store/api/analyze Headers: X-API-Key: atd_your_key_here Body (JSON): { "video_url": "{{ $json.video_link }}", "brand_info": "Thông tin thương hiệu của bạn", "mode": "sync" } // Async mode: thêm callback_url và dùng Webhook Trigger node "mode": "async", "callback_url": "https://your-n8n.app/webhook/abc"
{
"success": true,
"analysis_id": "uuid-xxx",
"platform": "tiktok",
"credits_remaining": 5,
"data": {
"overall_score": 85,
"viral_potential": "A",
"layers": {
"storytelling": { /* Hook, Timeline, Improvements */ },
"psychology": { /* Insight, Triggers, Techniques */ },
"audio_visual": { /* Visual style, Sound analysis */ },
"branding": { /* CTA, Brand integration, ROI */ }
},
"platform_optimization": { ... },
"action_items": ["Cải thiện hook 3s đầu", ...]
}
}