Cinema Studio

Change a project

Change its name, slug, description, cover or access. A field left out is left alone; null clears what may be cleared. Takes a key holding studio:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

POST
/v1/studio/projects/{project}
POST
/v1/studio/projects/{project}
Change a project
Change its name, slug, description, cover or access.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
projectstringrequired
Change a project
curl --request POST \
  --url 'https://api.auray.ai/v1/studio/projects/{project}' \
  --header 'Authorization: Bearer <api-key>'
  --header 'Content-Type: application/json' \
  --data '{
  
}'
{
  "object": "<string>",
  "id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "description": "<string>",
  "cover": {},
  "cover_item_id": "<string>",
  "access": "<string>",
  "role": "<string>",
  "can": "<string[]>",
  "counts": {
    "items": 123,
    "generations": 123,
    "uploads": 123,
    "elements": 123,
    "folders": 123,
    "trashed": 123
  },
  "limits": {
    "items": 123,
    "canvases": 123,
    "members": 123
  },
  "plan": {
    "open": true,
    "calls": true,
    "publish": true
  },
  "bytes": 123,
  "created_at": "<string>",
  "updated_at": "<string>",
  "made_with": {
    "video": {
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "params": {}
    },
    "image": {
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "params": {}
    }
  },
  "request_id": "<string>"
}
Change a project
curl -X POST https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "name": "Night Market — cut 2"
}'
{
  "object": "<string>",
  "id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "description": "<string>",
  "cover": {},
  "cover_item_id": "<string>",
  "access": "<string>",
  "role": "<string>",
  "can": "<string[]>",
  "counts": {
    "items": 123,
    "generations": 123,
    "uploads": 123,
    "elements": 123,
    "folders": 123,
    "trashed": 123
  },
  "limits": {
    "items": 123,
    "canvases": 123,
    "members": 123
  },
  "plan": {
    "open": true,
    "calls": true,
    "publish": true
  },
  "bytes": 123,
  "created_at": "<string>",
  "updated_at": "<string>",
  "made_with": {
    "video": {
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "params": {}
    },
    "image": {
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "params": {}
    }
  },
  "request_id": "<string>"
}

Authorizations

Authorizationstringheaderrequired

Bearer auray_sk_… — studio:write — Account offers it unticked; the desktop's session key holds it.

Path Parameters

projectstringrequired

Body

application/json
namestring
0 to 80 characters.
slugstring
Changing it breaks every link that names the old one.
descriptionstring
0 to 140 characters. May be null.
cover_item_idstring
An image or video item of this project, or null for no cover. May be null.
cover_upload_idstring
A picture uploaded with purpose: "cover".
accessstring
One of "private".

Response

application/json

OK.

objectstringrequired
One of "project".
idstringrequired
namestringrequired
0 to 80 characters.
slugstringrequired
The address segment its links carry; unique among the owner's projects. 3 to 60 characters.
descriptionstringrequired
0 to 140 characters. May be null.
coverobject or nullrequired
cover_item_idstringrequired
May be null.
accessstringrequired
private is the only access in this release. One of "private", "team".
rolestringrequired
Your own role in the project. One of "owner", "admin", "collaborator", "viewer".
canstring[]required
What your role lets you do here; anything else is refused role_forbidden.
countsobjectrequired
Show child attributes
itemsintegerrequired
Every item not in the Trash.
generationsintegerrequired
uploadsintegerrequired
elementsintegerrequired
foldersintegerrequired
trashedintegerrequired
limitsobjectrequired
What it may hold: the figures in force of its OWNER's plan (studio.max_items, studio.max_canvases, studio.max_members), whoever reads it — each told only to a role that can add against it, null to every other reader. A figure moved lower refuses the next one past it (studio_limit_reached, whose max is the same number) and takes nothing away, so a count above it is a project that held more before.
Show child attributes
itemsintegerrequired
Items it may hold, the Trash counted. Null unless your role may generate, upload or edit items. 1 to …. May be null.
canvasesintegerrequired
Canvases it may hold. Null unless your role may edit canvases. 1 to …. May be null.
membersintegerrequired
People it may seat, its owner counted. Null unless your role manages members. 1 to …. May be null.
planobjectrequired
What its OWNER's plan lets happen in it, whoever reads it — each bit told only to a reader it binds, null to every other, as limits is. open false is a read-only project: its owner's plan does not include Cinema Studio, so nothing can be added or changed in it, and every such write answers studio_not_in_plan; opening and downloading everything, removing things and handing the project over still work, and can stays your role's list.
Show child attributes
openbooleanrequired
Whether anything can be added or changed here: false in a read-only project. Null only to a reader who is no member. May be null.
callsbooleanrequired
Whether a call can be held here: its owner's plan includes Cinema Studio and calls, and seats a team. False, a join answers studio_not_in_plan. Null unless your role may join calls. May be null.
publishbooleanrequired
Whether the project may be published, or its publication updated: its owner's plan includes Cinema Studio and publishing. Withdrawing a publication never asks. Null unless you own it. May be null.
bytesintegerrequired
What its kept files take, the Trash included — what deleting it frees.
created_atstringrequired
updated_atstringrequired
made_withobjectrequired
What the project is made with: the model and the settings of its newest clip and of its newest picture outside the Trash — what a composer opens on in it. Null unless your role may generate. May be null.
Show child attributes
videoobjectrequired
The model and settings of its newest clip, or null when it holds none a model made. May be null.
Show child attributes
modelobjectrequired
The model an item was made with: its address and id as GET /models lists it, and the name a person reads. All three are null for the person's own upload; a frame the AI Director cut from a model's clip is named by that clip's model.
Show child attributes
addressstringrequired
May be null.
idstringrequired
May be null.
labelstringrequired
May be null.
paramsobjectrequired
The settings it was made with, as an item's are. May be null.
imageobjectrequired
The model and settings of its newest picture, or null when it holds none a model made. May be null.
Show child attributes
modelobjectrequired
The model an item was made with: its address and id as GET /models lists it, and the name a person reads. All three are null for the person's own upload; a frame the AI Director cut from a model's clip is named by that clip's model.
Show child attributes
addressstringrequired
May be null.
idstringrequired
May be null.
labelstringrequired
May be null.
paramsobjectrequired
The settings it was made with, as an item's are. 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?

Change a project
curl -X POST https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "name": "Night Market — cut 2"
}'
{
  "object": "<string>",
  "id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "description": "<string>",
  "cover": {},
  "cover_item_id": "<string>",
  "access": "<string>",
  "role": "<string>",
  "can": "<string[]>",
  "counts": {
    "items": 123,
    "generations": 123,
    "uploads": 123,
    "elements": 123,
    "folders": 123,
    "trashed": 123
  },
  "limits": {
    "items": 123,
    "canvases": 123,
    "members": 123
  },
  "plan": {
    "open": true,
    "calls": true,
    "publish": true
  },
  "bytes": 123,
  "created_at": "<string>",
  "updated_at": "<string>",
  "made_with": {
    "video": {
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "params": {}
    },
    "image": {
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "params": {}
    }
  },
  "request_id": "<string>"
}

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