Loreto Skills Generator API
string · requiredstring · requiredstring · enumstring · enumbooleanstring · maxLength: 500string[] · maxItems: 3
string · requiredstring · binary · requiredstring · enumbooleanstring · maxLength: 500
Generate skills from a URL
POST
https://api.loreto.io
/api/v1/skills/generate
Accepts a YouTube URL, article URL, or publicly accessible image/PDF URL. Returns ranked skill packages.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Generate skills from a URL › Request Body
sourceYouTube URL, article URL, or public image/PDF URL
source_typeEnum values:
auto
youtube
article
pdf
image
Default: auto
test_languageEnum values:
python
typescript
javascript
Default: python
include_visualsDefault: true
contextthemes_to_processGenerate skills from a URL › Responses
Skill packages generated successfully
No data returned
Generate skills from an uploaded file
POST
https://api.loreto.io
/api/v1/skills/generate/upload
Upload a PDF, HTML file, or image directly. Returns ranked skill packages.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Generate skills from an uploaded file › Request Body
filetest_languageEnum values:
python
typescript
javascript
Default: python
include_visualsDefault: true
contextGenerate skills from an uploaded file › Responses
Skill packages generated successfully
No data returned