Ad Video Hook, OCR & Timestamped Transcript
Pricing
$0.01 / processed video minute
Ad Video Hook, OCR & Timestamped Transcript
NEWAPI105: Separate first-three-second speech and screen text, with full timestamped transcript. Customer-authorized video files or direct media URLs only. No Meta scraping or performance claims.
Pricing
$0.01 / processed video minute
Rating
0.0
(0)
Developer
AFK Digital
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Features
Share
AFK Digital NEWAPI105 — version 1.0.0
Analyze media you own or are authorized to process. Extract first-three-second speech separately from screen text, and full timestamped speech. No Meta Ad Library scraper, login automation, discovery, DRM circumvention or access-control bypass.
Input
Supply exactly one of videoUrl (public HTTPS direct file URL, port 443) or videoFile (strict base64 file bytes). Confirm authorizedToProcess=true. language: auto or listed language code; maxDurationSeconds: 1–60 (default 60); extractOnScreenText: boolean (default true); adMetadata: optional provenance object <=8 KiB. Metadata is accepted but not copied to output to limit unintended disclosure.
Maximum decoded media: 50 MiB. Maximum resolution: 4096x2160. Longer videos fail without truncation or billing. Redirects are revalidated, DNS addresses are checked and pinned, private/reserved destinations and non-HTTPS schemes are blocked. External protocols inside media containers are disabled. Processing watchdog: 200 seconds; platform timeout: 240 seconds; memory: 2048 MiB. A timeout kills the run and temporary media is removed. URL queries are not included in output or application logs. Do not include private URLs in metadata; Apify stores your input according to its retention settings.
Output
videoDuration, language (null if auto and no speech), hookSpeechText, hookOnScreenText, hookStartSeconds=0, hookEndSeconds=min(3,actual duration), transcriptSegments (startSeconds, endSeconds, text, words), transcriptionStatus (completed/no_speech/no_audio), ocrStatus (completed/disabled), sourceReference (SHA256 and URL hostname if applicable), limitations. Additional onScreenTextSegments records sampled OCR intervals and processingMetrics records elapsed processing time and billing units. No confidence scores are invented. Silent input produces empty speech strings and segments. Word onset before the hook boundary includes that word; boundary-spanning words cannot be split linguistically. OCR intervals are sample intervals, not exact text appearance times. OCR only covers the hook, not the full video.
Accuracy
Local multilingual Whisper tiny int8 and Silero VAD; local Tesseract English+Turkish OCR. Speech languages listed in the form are supported by the model but accuracy varies. Very quiet speech may be omitted by silence gating; music/noise can be misrecognized. Review transcripts before using them. No creative score, longevity score, ROAS estimate, or performance claims. The model supplies no calibrated text confidence; this Actor emits none.
Pricing
One processed-video-minute event per rounded-up minute, per successfully analyzed video: ceil(actual seconds/60). Thus 1.2 s, 9 s and 60 s each consume one event. OCR and transcription are included together, charged once. Failed input is not charged an event. USD 0.01/event (USD 10/1,000 rounded-up video-minutes), including platform usage. No additional start or Dataset-item fee. External model API cost: USD 0; local inference compute is part of platform usage. Clients can enforce maxTotalChargeUsd. Current maximum duration is 60 seconds, so one video uses exactly one event. No retries inside the Actor. Rerunning a video is a new processing operation.
Default test and rights
The default sample is a synthetic ad generated by AFK Digital with eSpeak NG, FFmpeg, a solid background and DejaVu text. The script and generated sample are provided under CC0; third-party software/fonts/models retain their licenses (MIT Whisper/faster-whisper, Apache-2.0 Tesseract, GPL eSpeak NG, FFmpeg build licenses, DejaVu font license). It is not downloaded from Meta. Blank API input runs this demonstration. Supplying a partial input does not fall back to demonstration.
Integrations
See docs/integrations.md for n8n and Make. One Dataset row per successfully processed video; POST one video per Actor run. Batch orchestration belongs in your workflow.
Meta scope check — 2026-11-17
Meta official statement: https://about.fb.com/news/2021/04/how-we-combat-scraping/ says automation without permission violates its terms. Ad Library API onboarding: https://www.facebook.com/ads/library/api/ requires identity/location confirmation and developer/app onboarding. https://www.facebook.com/legal/automated_data_collection_terms redirected to a login/block page during verification, so the full live terms could not be read directly. No specific Meta permission or media download license was verified for this project. Consequently no Meta discovery or extraction is shipped. A publicly visible ad is not proof of processing rights.