YouTube Video Third-Party Trainability allows creators and rights holders to specify whether their content can be used for training AI models.
Using the YouTube Video Third-Party Trainability API doesn't require authentication or quota requests.
How it works
You can use the YouTube Video Third-Party Trainability API to identify whether a given video is trainable.
Creators and rights holders can choose whether to allow companies to use their content for ML training by enabling the Allow third-party companies to train AI models using my content option in YouTube Studio settings. By default, third-party training is turned off.
To learn more, see Your content & third-party training and the third-party training Studio setting in the YouTube Help Center.
Get video trainability status
To retrieve a video's trainability status, call the
videoTrainability.get
method.
You can run the method using curl on the command line:
curl 'https://youtube.googleapis.com/youtube/v3/videoTrainability?id=VIDEO_ID'
For example:
curl 'https://youtube.googleapis.com/youtube/v3/videoTrainability?id=jNQXAC9IVRw'
Check permitted parties
The videoTrainability.get
response
returns a
VideoTrainability
resource whose
permitted
list indicates who can train models on the video:
"All"indicates that anyone can use the video for training."None"indicates that the video isn't permitted for training.- If the creator specified allowed companies, the response includes those company names.