KNIGHTVISIONAPI

KNIGHTVISION / DEVELOPERS

Video captions API

Add captions programmatically with Knightvision. Submit a supported video source, handle caption job states and correct text before export.

Where this fits

Captions are a separate asynchronous resource in Knightvision. Your integration can start from a supported owned video or an upload, then retrieve a new captioned output. This separation lets you correct the text and repeat the caption stage without changing the original source video.

Plan the approach

Choose the documented input method for your source and validate the video before upload. Plan for videos with no speech as a distinct outcome. Keep the caption job ID beside the source asset ID so the application can show which version is being reviewed.

A practical workflow

  1. Submit the video through the documented captions endpoint and selected input method.
  2. Poll the caption resource until complete, no_speech or failed rather than using generic video states.
  3. Review the transcript and readable placement, then correct and re-burn through the documented workflow if needed.

WORKED EXAMPLE / ILLUSTRATIVE BRIEF

Put the idea into practice

Example handling: A finished product video with narration enters captions. If the result is no_speech, show that outcome to the editor instead of waiting indefinitely for a captioned file.

What to check

Check product names, punctuation, line breaks and timing. Captions can be technically complete while still needing editorial correction.

Is adding captions a flag on generate-video?

No. Submit a separate caption job using the captions documentation after the relevant video or upload is available.

Tools and documentation

Use these product references for current settings and availability.

Bring your next idea to life.

Use one API key and a shared prepaid credit balance. No API subscription required.

Try Knightvision now