---
title: "One turn of the studio's room director (the Image Studio in the"
method: POST
path: "/api/v1/template-jobs/{draft_id}/studio/chat"
tags: ["Video Templates"]
---

# One turn of the studio's room director (the Image Studio in the

`POST /api/v1/template-jobs/{draft_id}/studio/chat`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/template-jobs/{draft_id}/studio/chat`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

podcast's "Generate New Studio" drawer). Decides only: generate, refine<br/>or ask. It never renders, so a turn costs no image credits.<br/>Body: {message, history?: [{role, text}], has_image?: bool}.

## Path parameters

- `draft_id` integer, required

## Other responses

- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/avatarfactory/apis/avatarfactory-api.md) · [All operations](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/revisions/66fc7aa3f296?raw)
