REST APIEndpoint reference
Add sources to the library
POST
bearerAuthheader
AuthorizationBearer <token>application/json- body
allow_paid_transcription?booleanPaid speech-to-text for videos without captions. Only after the user's explicit yes to the quoted cost.
urls*array<string>1 to 20 YouTube, article or public document URLs.
application/json- response
items*array<>curl -X POST 'https://beta.app.tubeonai.com/v1/ai/library' \ -H 'Content-Type: application/json' \ -d '{ "urls": [ "string" ]}'Example Response
{ "items": [ { "error": { "code": "string", "details": {}, "message": "string", "retry_after_sec": 0, "retryable": true }, "failure_reason": "string", "id": "string", "retry_after_sec": 0, "status": "ready", "url": "string" } ]}