List videos
curl --request GET \
--url https://api.solaraai.com/api/v1/projects \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.solaraai.com/api/v1/projects"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.solaraai.com/api/v1/projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"approved_rev": 123,
"built_rev": 123,
"created_at": "2023-11-07T05:31:56Z",
"doc_hash": "<string>",
"rev": 123,
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"settings": {
"edit_style": "<string>",
"accent_color": "<string>",
"added": [
{
"id": "<string>",
"kind": "sfx",
"assetId": "<string>",
"crop": {
"h": 0.525,
"w": 0.525,
"x": 0.5,
"y": 0.5
},
"cue": "<string>",
"endMs": 123,
"fit": "fill",
"flipX": true,
"flipY": true,
"frame": {
"scale": 1.6,
"x": 0.5,
"y": 0.5
},
"offsetMs": 123,
"opacity": 0.5,
"rotation": 0,
"shadow": true,
"speed": 2.125,
"startMs": 123,
"volume": 0.5,
"wordId": "<string>"
}
],
"aspect": "9:16",
"audio_mode": "original",
"auto_trim": true,
"background_music": {
"enabled": true,
"generation_id": "<string>",
"mood": "auto",
"provider": "elevenlabs",
"volume_db": -3
},
"broll": true,
"caption_preset": "<string>",
"caption_words": [
{
"id": "<string>",
"was": "<string>",
"added": [
{
"text": "<string>",
"color": "<string>",
"emphasis": true,
"lineBreak": true,
"pageBreak": true
}
],
"color": "<string>",
"emoji": "<string>",
"emphasis": true,
"highlight": "primary",
"lineBreak": true,
"pageBreak": true,
"removed": true,
"text": "<string>",
"unsure": true
}
],
"captions": {
"activeWord": "color",
"animation": "none",
"boxColor": "<string>",
"emoji": "off",
"emojiMotion": "animated",
"fontFamily": "oswald",
"fontSize": 90,
"fontWeight": 500,
"hidePunctuation": true,
"highlightColor": "<string>",
"keywordHighlight": true,
"linesPerPage": 2,
"positionY": 0.5,
"shadowColor": "<string>",
"speed": 2.125,
"strokeColor": "<string>",
"textCase": "none",
"textColor": "<string>",
"wordsPerPage": 6
},
"clip_model": "gemini-omni-flash",
"cut_style": "<string>",
"footage": {
"clips": [
{
"endMs": 1800000,
"startMs": 1800000
}
]
},
"intensity": "auto",
"items": {},
"lanes": {
"captions": {
"look": {
"posX": 0.5,
"posY": 0.5,
"rotation": 0,
"scale": 1.7,
"size": "S"
}
},
"sfx": {
"items": [
{
"cue": "<string>",
"id": "<string>",
"offsetMs": 123,
"atMs": 123,
"wordId": "<string>"
}
]
},
"zooms": {
"items": [
{
"endMs": 123,
"id": "<string>",
"move": "zoom-fast",
"startMs": 123,
"curve": "instant",
"level": "medium",
"scale": 123
}
]
}
},
"look": {
"id": "<string>",
"strength": 0.5
},
"music": {
"assetId": "<string>",
"gainDb": 123,
"startMs": 123,
"duck": true,
"duckDb": 6.5,
"durationMs": 123,
"fadeInMs": 123,
"fadeOutMs": 123,
"generation": {
"createdAt": "2023-11-07T05:31:56Z",
"generationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"provider": "<string>",
"brief": "<string>"
},
"loudnessLufs": -35,
"rightsConfirmedAt": "2023-11-07T05:31:56Z",
"source": "generated",
"trimStartMs": 123
},
"palette": "<string>",
"pause_ms": 275,
"prompt": "<string>",
"scene_edits": {
"autoScenes": true,
"edits": [
{
"id": "<string>",
"was": "<string>",
"show": "scene",
"transition": "<string>",
"use": "<string>"
}
],
"soundEffects": true,
"voice": true,
"zoomCurve": "instant",
"zoomLevel": "none"
},
"schema_version": 123,
"speaker_poster": true,
"speed": 2.125,
"voice_gain_db": -3
},
"state": "<string>",
"title": "<string>",
"title_source": "user",
"updated_at": "2023-11-07T05:31:56Z",
"video_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ai_clips": {
"per_day": 123,
"per_month": 123,
"used_month": 123,
"used_today": 123,
"plan_required": true
},
"awaiting_start": true,
"clips_waiting": {
"count": 2,
"until": "2023-11-07T05:31:56Z"
},
"cover_url": "<string>",
"duration_ms": 123,
"failed_step": "<string>",
"failure_reason": "no_speech",
"first_frame": {
"columns": 123,
"sheet_url": "<string>",
"tile_height": 123,
"tile_width": 123,
"image_url": "<string>"
},
"folder": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"for_posting": true,
"match": "<string>",
"post_waiting": true,
"posted_at": "2023-11-07T05:31:56Z",
"poster_url": "<string>",
"posting": true,
"reediting": true,
"scheduled_at": "2023-11-07T05:31:56Z",
"scheduled_posts": 123,
"source_ms": 123,
"source_url": "<string>",
"video_url": "<string>"
}
],
"total": 123,
"matched": 123,
"next_cursor": "<string>"
}{
"code": "invalid_credentials",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Videos
List videos
Solara AI API: The workspace’s videos, most recently changed first. Pass next_cursor back as cursor for older ones.
Permission: Read (read).
GET
/
api
/
v1
/
projects
List videos
curl --request GET \
--url https://api.solaraai.com/api/v1/projects \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.solaraai.com/api/v1/projects"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.solaraai.com/api/v1/projects', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"approved_rev": 123,
"built_rev": 123,
"created_at": "2023-11-07T05:31:56Z",
"doc_hash": "<string>",
"rev": 123,
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"settings": {
"edit_style": "<string>",
"accent_color": "<string>",
"added": [
{
"id": "<string>",
"kind": "sfx",
"assetId": "<string>",
"crop": {
"h": 0.525,
"w": 0.525,
"x": 0.5,
"y": 0.5
},
"cue": "<string>",
"endMs": 123,
"fit": "fill",
"flipX": true,
"flipY": true,
"frame": {
"scale": 1.6,
"x": 0.5,
"y": 0.5
},
"offsetMs": 123,
"opacity": 0.5,
"rotation": 0,
"shadow": true,
"speed": 2.125,
"startMs": 123,
"volume": 0.5,
"wordId": "<string>"
}
],
"aspect": "9:16",
"audio_mode": "original",
"auto_trim": true,
"background_music": {
"enabled": true,
"generation_id": "<string>",
"mood": "auto",
"provider": "elevenlabs",
"volume_db": -3
},
"broll": true,
"caption_preset": "<string>",
"caption_words": [
{
"id": "<string>",
"was": "<string>",
"added": [
{
"text": "<string>",
"color": "<string>",
"emphasis": true,
"lineBreak": true,
"pageBreak": true
}
],
"color": "<string>",
"emoji": "<string>",
"emphasis": true,
"highlight": "primary",
"lineBreak": true,
"pageBreak": true,
"removed": true,
"text": "<string>",
"unsure": true
}
],
"captions": {
"activeWord": "color",
"animation": "none",
"boxColor": "<string>",
"emoji": "off",
"emojiMotion": "animated",
"fontFamily": "oswald",
"fontSize": 90,
"fontWeight": 500,
"hidePunctuation": true,
"highlightColor": "<string>",
"keywordHighlight": true,
"linesPerPage": 2,
"positionY": 0.5,
"shadowColor": "<string>",
"speed": 2.125,
"strokeColor": "<string>",
"textCase": "none",
"textColor": "<string>",
"wordsPerPage": 6
},
"clip_model": "gemini-omni-flash",
"cut_style": "<string>",
"footage": {
"clips": [
{
"endMs": 1800000,
"startMs": 1800000
}
]
},
"intensity": "auto",
"items": {},
"lanes": {
"captions": {
"look": {
"posX": 0.5,
"posY": 0.5,
"rotation": 0,
"scale": 1.7,
"size": "S"
}
},
"sfx": {
"items": [
{
"cue": "<string>",
"id": "<string>",
"offsetMs": 123,
"atMs": 123,
"wordId": "<string>"
}
]
},
"zooms": {
"items": [
{
"endMs": 123,
"id": "<string>",
"move": "zoom-fast",
"startMs": 123,
"curve": "instant",
"level": "medium",
"scale": 123
}
]
}
},
"look": {
"id": "<string>",
"strength": 0.5
},
"music": {
"assetId": "<string>",
"gainDb": 123,
"startMs": 123,
"duck": true,
"duckDb": 6.5,
"durationMs": 123,
"fadeInMs": 123,
"fadeOutMs": 123,
"generation": {
"createdAt": "2023-11-07T05:31:56Z",
"generationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"provider": "<string>",
"brief": "<string>"
},
"loudnessLufs": -35,
"rightsConfirmedAt": "2023-11-07T05:31:56Z",
"source": "generated",
"trimStartMs": 123
},
"palette": "<string>",
"pause_ms": 275,
"prompt": "<string>",
"scene_edits": {
"autoScenes": true,
"edits": [
{
"id": "<string>",
"was": "<string>",
"show": "scene",
"transition": "<string>",
"use": "<string>"
}
],
"soundEffects": true,
"voice": true,
"zoomCurve": "instant",
"zoomLevel": "none"
},
"schema_version": 123,
"speaker_poster": true,
"speed": 2.125,
"voice_gain_db": -3
},
"state": "<string>",
"title": "<string>",
"title_source": "user",
"updated_at": "2023-11-07T05:31:56Z",
"video_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ai_clips": {
"per_day": 123,
"per_month": 123,
"used_month": 123,
"used_today": 123,
"plan_required": true
},
"awaiting_start": true,
"clips_waiting": {
"count": 2,
"until": "2023-11-07T05:31:56Z"
},
"cover_url": "<string>",
"duration_ms": 123,
"failed_step": "<string>",
"failure_reason": "no_speech",
"first_frame": {
"columns": 123,
"sheet_url": "<string>",
"tile_height": 123,
"tile_width": 123,
"image_url": "<string>"
},
"folder": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"for_posting": true,
"match": "<string>",
"post_waiting": true,
"posted_at": "2023-11-07T05:31:56Z",
"poster_url": "<string>",
"posting": true,
"reediting": true,
"scheduled_at": "2023-11-07T05:31:56Z",
"scheduled_posts": 123,
"source_ms": 123,
"source_url": "<string>",
"video_url": "<string>"
}
],
"total": 123,
"matched": 123,
"next_cursor": "<string>"
}{
"code": "invalid_credentials",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Authorizations
Query Parameters
Search: the videos whose title, original file name (IMG_7888, kept when a title replaced it) or spoken words hold every word of it (at most 8 words), case-insensitively and anywhere in a word, in any language (a Hebrew word with a prefix included). An item found by its spoken words alone carries match. Absent: every video. Text that is not UTF-8 or holds NUL is 422
Maximum string length:
200A folder's id (list-folders): its videos only (404 for a folder the workspace does not have). none: the videos in no folder, the Videos grid. Absent: every video, filed or not, so a search covers every folder
Pattern:
^(none|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$