These pages describe the Training API on
dev, where authenticated creation, editing, downloads, revert, and website brand lookup have been tested live.
Production availability is not confirmed. Your API service and worker must both run the updated code.
See Testing and availability.POST {API_BASE}/v1/videos
Send X-API-Key and Content-Type: application/json. The response is asynchronous: HTTP 200 confirms the batch was handled, not that every item succeeded or finished rendering.
Request
Video specification
Each
brand_fonts.files entry requires family (1–200 characters) and a public Knowlify-hosted HTTPS url (up to 2048 characters). Optional weight is a string up to 100 characters; optional source is google or custom.
See Website brand lookup for selecting and applying brand context. Passing a website to the lookup does not automatically attach its assets to a video.
Response
HTTP 200 returnsstatus: "ok", total, enqueued, parked, errors (a count), user_id, org_id, and results.
Each result contains its zero-based index, uuid, and status:
queued: dispatched for processing; includessession_idandchat_url.parked: accepted and waiting for capacity; also includesqueue_position.already_processing: this job was already present in processing state.error: inspectcodeandmessage. See Errors.
uuid to poll rendering. Invalid request shapes return 422 for the whole batch; account-specific duration failures can appear as individual errors in a 200 response.
Creation has no documented idempotency guarantee. After a timeout, check the dashboard before resubmitting to avoid duplicate videos.
Three-video capacity limit
At most three API videos may be queued or generating per personal account or organization. This includes Enterprise and is shared across requests and keys for that scope. If your whole batch cannot fit, the API returns 429 withVIDEO_GENERATION_CONCURRENCY_LIMIT before creating any videos. Respect Retry-After and wait for an existing video to finish. See Rate limits.
Reference safety
Training reference images must be public HTTPS PNG, JPEG, or WebP files, or imported images owned by the caller’s workspace. Public images are copied into caller-owned storage before use. Private images belonging to another workspace are rejected. Direct images must fit the 10 MB and 25-megapixel limits and must not redirect. PDF references must return a PDF directly over public HTTPS, without redirects, credentials, or custom ports. Downloads are capped at 32 MB and a bounded timeout. Video and font-file references require publicly readable Knowlify-hosted HTTPS assets. Usereference_image_urls instead of nested pdf_selected_images.
Use video_type: "training" for Training. The legacy Training value explainer is normalized to Training. UGC, animated ads, and commercials use the Marketing API. Voice identifiers must come from the caller’s voice catalog.