Skip to main content
POST
Complete a photo or clip

Authorizations

Authorization
string
header
required

An API key, created in Solara: the menu under your name, then API keys. Send it as Authorization: Bearer sol_live_…. It works while the workspace has agent access, within what its plan gives (the free plan included).

Path Parameters

id
string
required
mediaId
string
required

Body

application/json
parts
object[] | null

Every part with the ETag S3 returned. Absent or empty: Solara reads the parts S3 holds (mode link); 409 upload_incomplete while one is missing

Maximum array length: 10000

Response

OK

byte_size
integer<int64>
required
content_type
string
required

Read from the file's bytes once uploaded; until then, what was declared

created_at
string<date-time>
required
id
string<uuid>
required
kind
enum<string>
required
Available options:
image,
video
purpose
enum<string>
required

shot: the video's own footage, which the AI places on the words that mention it; block: a clip dropped on the timeline into a picture block (never placed by the AI, never described); auto_edit: a file an auto edit cuts its reel from

Available options:
shot,
block,
auto_edit
source
enum<string>
required

upload: parts; link: an agent's upload link; url: fetched from a public link

Available options:
upload,
link,
url
state
enum<string>
required

uploading: the bytes are on their way; pending: arrived, being described; described: the AI read it and can place it; ready: a clip's render copy is made (export waits for it); failed: see failure

Available options:
uploading,
pending,
described,
ready,
failed
description
string

One sentence of what it shows, once described

duration_ms
integer<int64>

A clip's length: as declared or fetched, then as the file is (once described)

failure
string

Why it failed: media_not_supported, media_too_large, media_too_long, media_limit, url_not_public, url_unreachable, …

file_name
string
has_audio
boolean

A picture block's clip, once ready: true when its own sound plays (levelled as the voice), false when it has none (no track, silence, it could not be made, or it was uploaded before sound: it plays silent). Absent before it is ready (not known yet) and for footage

height
integer<int64>
sort_order
integer<int64>

An auto edit's file's place in the customer's order, 0 first. Absent for any other item

tags
string[] | null

What the AI saw, once described

url
string<uri>

The original, signed, once uploaded

width
integer<int64>

As declared, then as the file is (once described)