Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

What V1 shows at a sequence time, as a stored image (for an agent to look)

POST
/v1/studio/timelines/{timeline_id}/frame
curl --request POST \
--url http://localhost:8300/v1/studio/timelines/example/frame \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "at": 1 }'

An empty slot or past the end: empty. An image take: its image. A video take: the nearest stored frame (its first frame = a run’s poster, or the stored last frame), with the source time wanted and the one shown. No dissolve or sound is composited, and nothing is made: no take, no job. 404 unknown sequence.

timeline_id
required
string

Sequence UUID (malformed = 404)

Media typeapplication/json
object
at
required

Sequence seconds

number
<= 86400

Example generated

{
"at": 1
}

The frame

Media typeapplication/json
object
empty
required

An empty slot, or past the end

boolean
clip
required
One of:

A slot’s id, stable across edits and revisions; the editor makes new ones (unique in the document)

string
/^[a-z0-9]{1,16}$/
take_id
required
string | null format: uuid
kind
required
string | null
Allowed values: video image
t
required

A video: the source time wanted

number | null
shown
required

What the image is: the image take, the video’s first or last frame, or (an upload’s or import’s video) its poster, whose time is not known

string | null
Allowed values: image first last poster
shown_t
required

The source time the image shows (null: an image, or a poster)

number | null
offline

The clip’s take is gone: no image

boolean
url
required
One of:

Signed, time-limited link; opaque

string

Example

{
"kind": "video",
"shown": "image",
"url": "/files/u/7d1e.../runs/3c9a.../0.png?exp=1767225600&sig=ab12"
}

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Not found

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Invalid input

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}