Agent chats
Start an agent chat
Changed onStart a chat with Tella's editor agent in a video you can edit, as if you had typed prompt in its agent chat; without videoId it first makes a new, empty video. The agent works in the background and spends the workspace's AI Credits. Follow it with GET /v1/agent-chats?videoId=.
post/v1/agent-chats
Request
- Base URLhttps://api.tella.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Launch recap",
"prompt": "Import https://www.youtube.com/watch?v=dQw4w9WgXcQ, cut it to the best 60 seconds and add captions.",
"videoId": "vid_abc123def456"
}Response
Created
Example response
{
"chatId": "achat_abc123def456",
"url": "https://www.tella.tv/video/vid_abc123def456/edit?agentChat=achat_abc123def456",
"videoId": "vid_abc123def456"
}Changes
- info
endpoint added
- info