Cinema Studio

List a project's films

A project's films, most recently changed first: each one's document at its revision, its length, what stops it being exported (sources) and its last export.

GET
/v1/studio/projects/{project}/films
GET
/v1/studio/projects/{project}/films
List a project's films
A project's films, most recently changed first: each one's document at its revision, its length, what stops it being exported (sources) and its last export.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
projectstringrequired
cursorstring
The next_cursor the previous page answered, unchanged. None for the first page. 0 to 120 characters.
limitinteger
How many on a page. 1 to 100.
doc_versioninteger
Which version of a film's document this request reads and sends: 2 for a film with a mix (FilmDocV2). Without it — or with 1 — the request reads version 1, as before version 2 existed: a version-2 film is left out of a list, a read of one is refused film_invalid, and a version-2 document sent is refused film_invalid. One of 1, 2.
List a project's films
curl --request GET \
  --url 'https://api.auray.ai/v1/studio/projects/{project}/films' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "data": [
    {
      "object": "<string>",
      "id": "<string>",
      "project_id": "<string>",
      "name": "<string>",
      "doc": {
        "v": 123,
        "aspect": "<string>",
        "clips": [
          {
            "item_id": "<string>",
            "in_ms": 123,
            "out_ms": 123,
            "transition": "<string>",
            "fade_ms": 123,
            "gain_db": 123,
            "mute": true,
            "audio_fade_ms": 123,
            "audio_lead_ms": 123,
            "quiet": {},
            "quiet_db": 123
          }
        ],
        "sound": {
          "clips": "<string>",
          "music": "<null or object>"
        },
        "canvas": {
          "width": 123,
          "height": 123
        },
        "fps": 123,
        "tracks": [
          {
            "kind": "<string>",
            "gain_db": 123,
            "items": {}
          }
        ],
        "duck": {
          "under": "<string[]>",
          "depth_db": 123,
          "attack_ms": 123,
          "release_ms": 123
        },
        "loudness": {
          "target_lufs": 123
        },
        "titles": [
          {
            "text": "<string>",
            "subtext": "<string>",
            "at_ms": 123,
            "ms": 123,
            "style": "<string>",
            "backdrop": "<string>",
            "font": "<string>",
            "fade_in_ms": 123,
            "fade_out_ms": 123,
            "shot": {},
            "end": true
          }
        ],
        "join": true
      },
      "rev": 123,
      "duration_ms": 123,
      "sources": [
        {
          "at": "<string>",
          "index": 123,
          "item_id": "<string>",
          "problem": "<string>"
        }
      ],
      "exportable": true,
      "latest_export": "<null or object>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "dub_of": "<string>",
      "language": "<string>",
      "budget_ms": 123
    }
  ],
  "next_cursor": "<string>",
  "request_id": "<string>"
}
List a project's films
curl https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/films \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "data": [
    {
      "object": "<string>",
      "id": "<string>",
      "project_id": "<string>",
      "name": "<string>",
      "doc": {
        "v": 123,
        "aspect": "<string>",
        "clips": [
          {
            "item_id": "<string>",
            "in_ms": 123,
            "out_ms": 123,
            "transition": "<string>",
            "fade_ms": 123,
            "gain_db": 123,
            "mute": true,
            "audio_fade_ms": 123,
            "audio_lead_ms": 123,
            "quiet": {},
            "quiet_db": 123
          }
        ],
        "sound": {
          "clips": "<string>",
          "music": "<null or object>"
        },
        "canvas": {
          "width": 123,
          "height": 123
        },
        "fps": 123,
        "tracks": [
          {
            "kind": "<string>",
            "gain_db": 123,
            "items": {}
          }
        ],
        "duck": {
          "under": "<string[]>",
          "depth_db": 123,
          "attack_ms": 123,
          "release_ms": 123
        },
        "loudness": {
          "target_lufs": 123
        },
        "titles": [
          {
            "text": "<string>",
            "subtext": "<string>",
            "at_ms": 123,
            "ms": 123,
            "style": "<string>",
            "backdrop": "<string>",
            "font": "<string>",
            "fade_in_ms": 123,
            "fade_out_ms": 123,
            "shot": {},
            "end": true
          }
        ],
        "join": true
      },
      "rev": 123,
      "duration_ms": 123,
      "sources": [
        {
          "at": "<string>",
          "index": 123,
          "item_id": "<string>",
          "problem": "<string>"
        }
      ],
      "exportable": true,
      "latest_export": "<null or object>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "dub_of": "<string>",
      "language": "<string>",
      "budget_ms": 123
    }
  ],
  "next_cursor": "<string>",
  "request_id": "<string>"
}

A project's films, most recently changed first: each one's document at its revision, its length, what stops it being exported (sources) and its last export. Every member reads them. Takes a key holding studio:read (or studio:write, which reads too) — Account offers both unticked — or the desktop's own session key. Spends nothing. A film with a mix (version 2) is listed only to a request that says doc_version=2.

Authorizations

Authorizationstringheaderrequired

Bearer auray_sk_… — studio:read, or studio:write, which reads too — Account offers both unticked; the desktop's session key holds both.

Path Parameters

projectstringrequired

Query Parameters

cursorstring
The next_cursor the previous page answered, unchanged. None for the first page. 0 to 120 characters.
limitinteger
How many on a page. 1 to 100.
doc_versioninteger
Which version of a film's document this request reads and sends: 2 for a film with a mix (FilmDocV2). Without it — or with 1 — the request reads version 1, as before version 2 existed: a version-2 film is left out of a list, a read of one is refused film_invalid, and a version-2 document sent is refused film_invalid. One of 1, 2.

Response

application/json

OK.

objectstringrequired
One of "list".
dataobject[]required
Show child attributes
objectstringrequired
One of "film".
idstringrequired
project_idstringrequired
namestringrequired
0 to 80 characters.
docFilmDoc or FilmDocV2required
Version 1 (FilmDoc) unless the request says doc_version=2; then either version, as the film was saved.
doc (FilmDoc).vintegerrequired
One of 1.
doc (FilmDoc).aspectstringrequired
Across or up. Every clip is fitted into the frame, never stretched or cut. One of "16:9", "9:16".
doc (FilmDoc).clipsobject[]required
Show child attributes
item_idstringrequired
A video item of the project, in lower case.
in_msintegerrequired
0 to ….
out_msintegerrequired
… to 86400000.
transitionstringrequired
How it joins the clip before it: at once, or by a cross-fade of picture and sound. The first clip cuts in. One of "cut", "fade".
fade_msintegerrequired
0 for a cut; 200 to 3000 for a fade, and at most half the shorter of the two clips it joins. Two clips joined by a fade overlap by its length. 0 to 3000.
doc (FilmDoc).soundobjectrequired
Show child attributes
clipsstringrequired
The clips' own sound, kept or every clip silent. One of "keep", "mute".
musicnull or objectrequired
One music bed under the clips, from in_ms into the sound; one that runs on past the film's end fades out over its last moments, and one that ends sooner simply ends. Null for none.
doc (FilmDocV2).vintegerrequired
One of 2.
doc (FilmDocV2).aspectstringrequired
Its shape as W:H — 16:9 and 9:16, and any shape a video model makes (4:5, 1:1, 21:9…). Every clip is fitted into the frame, never stretched or cut.
doc (FilmDocV2).canvasobject
Its frame, when it names one: its shape at a shorter side of its own, each side even and 256 to 4096 pixels (1080 × 1350 for a 4:5 cut at 1080). Left out: its shape at 1080 on the shorter side. Up to 1080 on the shorter side for any cut; above it — 4K — only for a cut that holds a clip made at 4K (2160 or more on its shorter side), and never above 2160: a frame its clips do not hold is refused film_invalid when the film is started, saved or exported.
Show child attributes
widthintegerrequired
256 to 4096.
heightintegerrequired
256 to 4096.
doc (FilmDocV2).fpsinteger
Frames a second, when it names a rate: 12 to 60, each frame a whole number of sound samples at 48 kHz (24, 25, 30 and 60 among them). Left out: 24. 12 to 60.
doc (FilmDocV2).clipsobject[]required
Show child attributes
item_idstringrequired
A video item of the project, in lower case.
in_msintegerrequired
0 to ….
out_msintegerrequired
… to 86400000.
transitionstringrequired
How it joins the clip before it: at once, or by a cross-fade of picture and sound. The first clip cuts in. One of "cut", "fade".
fade_msintegerrequired
0 for a cut; 200 to 3000 for a fade, and at most half the shorter of the two clips it joins. Two clips joined by a fade overlap by its length. 0 to 3000.
gain_dbintegerdefault: 0required
The clip's own sound, in whole decibels. -30 to 6.
mutebooleanrequired
The clip's own sound silenced.
audio_fade_msintegerrequired
Null: its sound fades with its picture. Otherwise the sound's own fade, in milliseconds, at most half the clip. 0 to 3000. May be null.
audio_lead_msintegerrequired
How far its sound starts before (negative) or after its picture, in milliseconds. -2000 to 2000.
quietobject[]
Where its own sound is lowered by quiet_db: stretches of the clip's own file — milliseconds of the file, not of the film, so a trim or a move never takes one off the voice it lowers — each at least 100 ms long and after the one before it, with a short ramp at each edge. With quiet_db, both or neither; an empty list says the clip was listened to and held no voice to lower. A clip muted whole because a voice covers most of it keeps its stretches beside mute. A save that names none of a film's titles, quiet and loop over a film that names one is refused film_invalid — see titles.
quiet_dbintegerdefault: -30
How far quiet lowers the clip's own sound, in whole decibels. 0 lowers nothing and keeps the stretches. -30 to 0.
doc (FilmDocV2).tracksobject[]required
At most one track of each kind.
Show child attributes
kindstringrequired
Narration, dialogue lines, the music, or sound effects. One of "narration", "dialogue", "music", "sfx".
gain_dbintegerdefault: 0required
The whole track's level, in whole decibels. -30 to 6.
itemsobject[]required
doc (FilmDocV2).duckobjectrequired
The music lowered under the voices — under the narration, the dialogue or both, by how much, and how fast it goes down and comes back; null for nothing lowered. May be null.
Show child attributes
understring[]required
The voices it is lowered under: narration, dialogue or both.
depth_dbintegerdefault: -12required
How far the music is lowered, in whole decibels. -24 to 0.
attack_msintegerdefault: 200required
How fast it goes down when a voice starts. 1 to 2000.
release_msintegerdefault: 600required
How fast it comes back when the voice ends. 1 to 9000.
doc (FilmDocV2).loudnessobjectrequired
Show child attributes
target_lufsintegerdefault: -16required
How loud the film is made, in LUFS: -16 for streaming, -14 louder, -23 for broadcast. One of -16, -14, -23.
doc (FilmDocV2).titlesobject[]
Words drawn into the film when it is made: its name, an end card, a lower third, a line between scenes. Left out, the film has none. Once a film has the key, a save that leaves it out is refused film_invalid: send an empty list to take every title away. And a save over a film that names titles, a clip's quiet or a sound's loop must name one of the three — the whole film is read, not each clip or sound — or it is refused film_invalid as from an app that knows none of them: send titles: [] when nothing else of the three is left.
Show child attributes
textstringrequired
Its words: at most 2 lines of 24 characters for a title, 1 of 36 for a lower third, 3 of 32 for text. 1 to 80 characters.
subtextstringrequired
A smaller line under its words — at most 3 lines of 48 characters under a title, 1 under a lower third, 2 under text — or null. 1 to 160 characters. May be null.
at_msintegerrequired
Where in the film it appears. 0 to 1800000.
msintegerrequired
How long it shows. 500 to 30000.
stylestringrequired
title: large, bold and centred — a film's name, an end card. lower_third: a line low on the left, as a name and its role are set. text: a few centred lines — a date, a place, a sentence between scenes. One of "title", "lower_third", "text".
backdropstringrequired
What it stands on: the picture as it is, the picture darkened, or black — a title card. One of "none", "dim", "black".
fontstringrequired
Noto Sans or Noto Serif. One of "sans", "serif".
fade_in_msintegerrequired
0 to 2000.
fade_out_msintegerrequired
Its two fades, which together are no longer than it shows. 0 to 2000.
shotobject
The planned shot it follows: laid out again, it moves with that shot's clip.
endboolean
It follows the film's end: laid out again, it ends where the film does. Never with shot. One of true.
doc (FilmDocV2).joinboolean
A joined film, written by joinStudioFilms: its clips are 2 to 6 of the project's films, each whole and as it was made — in_ms 0, out_ms its length, a cut, at 0 dB, unmuted, with no fade, lead or quiet of its own — and it has no tracks, duck or titles of its own, at most 50 minutes in all. It is exported by joining them, never by making a frame again. Left out, a film is a cut. Once a film says it, a save that names none of join, titles, a clip's quiet and an item's loop is refused film_invalid. One of true.
revintegerrequired
A change names the rev it was read at. 1 to ….
duration_msintegerrequired
Every clip's kept length, less each fade. 0 to ….
sourcesobject[]required
Every clip — and the music, or a track's sound — that cannot be exported as it is now; empty when nothing stops it.
Show child attributes
atstringrequired
A clip, or the track — by its kind — whose sound it is; music for a version-1 film's music too. One of "clip", "narration", "dialogue", "music", "sfx".
indexintegerrequired
The clip's place in doc.clips, or the sound's place on its track (the one of kind at in doc.tracks); null for a version-1 film's music. 0 to …. May be null.
item_idstringrequired
problemstringrequired
Gone from the project, in the Trash, still being copied in, withheld after a report, held while a report is looked at, a clip that is no video, music that is no sound, no stored file, or a file larger than a film reads. One of "missing", "trashed", "pending", "withheld", "held", "not_video", "not_audio", "no_file", "too_large".
exportablebooleanrequired
It holds a clip and nothing in sources stops it.
latest_exportnull or objectrequired
Its newest export, whatever its state; null before the first.
created_atstringrequired
updated_atstringrequired
dub_ofstring
The film of the project this one is a second language of; null for a film of its own, and again once that film is deleted. May be null.
languagestring
A second language's tag (id, en, pt-BR); null for a film of its own. May be null.
budget_msinteger
How long a film runs now, as the longest film at 1920 × 1080 and 24 fps, in milliseconds — ten minutes by default, never more than 30. At its own frame and rate a film holds the same work: a quarter of it at 4K, two fifths at 60 fps. Absent from an older answer, which a reader reads as ten minutes. 60000 to 1800000.
next_cursorstringrequired
Send it as cursor for the next page; null on the last. May be null.
request_idstring
Mirrored in the X-Request-Id header.

Headers:

HeaderDescription
RateLimit-LimitBurst capacity.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-ResetUnix seconds. The X- spelling is what client libraries read.
X-Request-Id

Was this page helpful?

List a project's films
curl https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/films \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "data": [
    {
      "object": "<string>",
      "id": "<string>",
      "project_id": "<string>",
      "name": "<string>",
      "doc": {
        "v": 123,
        "aspect": "<string>",
        "clips": [
          {
            "item_id": "<string>",
            "in_ms": 123,
            "out_ms": 123,
            "transition": "<string>",
            "fade_ms": 123,
            "gain_db": 123,
            "mute": true,
            "audio_fade_ms": 123,
            "audio_lead_ms": 123,
            "quiet": {},
            "quiet_db": 123
          }
        ],
        "sound": {
          "clips": "<string>",
          "music": "<null or object>"
        },
        "canvas": {
          "width": 123,
          "height": 123
        },
        "fps": 123,
        "tracks": [
          {
            "kind": "<string>",
            "gain_db": 123,
            "items": {}
          }
        ],
        "duck": {
          "under": "<string[]>",
          "depth_db": 123,
          "attack_ms": 123,
          "release_ms": 123
        },
        "loudness": {
          "target_lufs": 123
        },
        "titles": [
          {
            "text": "<string>",
            "subtext": "<string>",
            "at_ms": 123,
            "ms": 123,
            "style": "<string>",
            "backdrop": "<string>",
            "font": "<string>",
            "fade_in_ms": 123,
            "fade_out_ms": 123,
            "shot": {},
            "end": true
          }
        ],
        "join": true
      },
      "rev": 123,
      "duration_ms": 123,
      "sources": [
        {
          "at": "<string>",
          "index": 123,
          "item_id": "<string>",
          "problem": "<string>"
        }
      ],
      "exportable": true,
      "latest_export": "<null or object>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "dub_of": "<string>",
      "language": "<string>",
      "budget_ms": 123
    }
  ],
  "next_cursor": "<string>",
  "request_id": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.