Cinema Studio

Start a project

Start a project of your own, as many as your plan's studio.max_projects (on GET /v1/plans).

POST
/v1/studio/projects
POST
/v1/studio/projects
Start a project
Start a project of your own, as many as your plan's studio.max_projects (on GET /v1/plans).
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
Start a project
curl --request POST \
  --url 'https://api.auray.ai/v1/studio/projects' \
  --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>"
}
Start a project
curl -X POST https://api.auray.ai/v1/studio/projects \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "name": "Night Market",
  "description": "A chase through the stalls at closing time."
}'
{
  "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>"
}

Start a project of your own, as many as your plan's studio.max_projects (on GET /v1/plans). It is private, with you as its owner, its four folders and an empty brief. Refused while Cinema Studio is closed to new projects and exports (studio_paused, with the reason in message when one is given); every project you have stays open. Takes a key holding studio:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

Authorizations

Authorizationstringheaderrequired

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

Body

application/json
namestringrequired
0 to 80 characters.
descriptionstring
0 to 140 characters. May be null.
slugstring
Kept exactly, or refused slug_taken. Left out, the name gives one, made unique with a number. 3 to 60 characters.

Response

application/json

Created.

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?

Start a project
curl -X POST https://api.auray.ai/v1/studio/projects \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "name": "Night Market",
  "description": "A chase through the stalls at closing time."
}'
{
  "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.