{
    "openapi": "3.0.3",
    "info": {
        "title": "Tacu API",
        "version": "1.0.0",
        "description": "Models, generation, Studio projects, exports and workspace usage."
    },
    "paths": {
        "/v1/public/teams/{team_slug}/assets/{id}": {
            "get": {
                "operationId": "teams_assets_retrieve",
                "description": "팀 단위 에셋 라이브러리 (프로젝트 없이 동작한다)",
                "summary": "팀 에셋 상세",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "description": "팀 ID(slug)",
                        "required": true
                    }
                ],
                "tags": [
                    "Team Assets"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExternalAsset"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "assets:write"
            }
        },
        "/v1/public/teams/{team_slug}/assets/uploads": {
            "post": {
                "operationId": "teams_assets_uploads_create",
                "description": "팀 스코프 정본 에셋(``MediaAsset``)의 목록·상세·업로드·수명 라우트.",
                "parameters": [
                    {
                        "in": "header",
                        "name": "Idempotency-Key",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Reuse the same key for retries of this upload request.",
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ExternalAssetUpload"
                            }
                        },
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "$ref": "#/components/schemas/ExternalAssetUpload"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/ExternalAssetUpload"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExternalUploadTicket"
                                }
                            }
                        },
                        "description": ""
                    },
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExternalUploadTicket"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "assets:write"
            }
        },
        "/v1/public/teams/{team_slug}/assets/uploads/{asset_id}/confirm": {
            "post": {
                "operationId": "teams_assets_uploads_confirm_create",
                "description": "팀 스코프 정본 에셋(``MediaAsset``)의 목록·상세·업로드·수명 라우트.",
                "parameters": [
                    {
                        "in": "path",
                        "name": "asset_id",
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExternalAsset"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "assets:write"
            }
        },
        "/v1/public/teams/{team_slug}/generations": {
            "get": {
                "operationId": "teams_generations_list",
                "description": "**내가 실행한** 생성 작업 중 아직 끝나지 않은 것을 최신순으로 돌려준다. Create 화면을 벗어났다 돌아왔을 때 돌던 작업을 다시 찾아오는 자리다.\n\n각 항목은 화면을 되세우는 데 필요한 것을 함께 싣는다 — 실행 종류·도구·요청 장수·저장 위치·입력 자산, 그리고 **프롬프트와 그때 고른 옵션**.\n\n읽기 전용이다. 취소·재시도는 이 라우트가 하지 않는다.",
                "summary": "진행 중인 생성 작업 목록",
                "parameters": [
                    {
                        "in": "query",
                        "name": "include_finished",
                        "schema": {
                            "type": "boolean"
                        },
                        "description": "최근에 끝난 작업도 함께 받는다. 기본은 진행 중인 것만이다."
                    },
                    {
                        "in": "query",
                        "name": "media",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "audio",
                                "image",
                                "video"
                            ]
                        },
                        "description": "매체로 거르기. 생략하면 전부."
                    },
                    {
                        "in": "query",
                        "name": "operation_id",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "audio.generate",
                                "audio.music",
                                "audio.sound",
                                "audio.speech",
                                "audio.voice_design",
                                "image.edit",
                                "image.generate",
                                "image.inpaint",
                                "image.layer_split",
                                "image.upscale",
                                "video.generate"
                            ]
                        },
                        "description": "실행 종류로 거르기. 생략하면 전부."
                    },
                    {
                        "name": "page",
                        "required": false,
                        "in": "query",
                        "description": "A page number within the paginated result set.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page_size",
                        "required": false,
                        "in": "query",
                        "description": "Number of results to return per page.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "project",
                        "schema": {
                            "type": "string"
                        },
                        "description": "프로젝트(slug 또는 public_id)의 범위로 거른다. 그 프로젝트를 저장 위치로 접수했거나 출력이 지금 그 프로젝트에 연결된 실행이 나온다. 출력 하나하나가 범위에 드는지는 출력 에셋의 `projects` 로 가른다. 다른 팀·열 수 없는·존재하지 않는 프로젝트는 404 다."
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "description": "팀 ID(slug)",
                        "required": true
                    }
                ],
                "tags": [
                    "Generation Runs"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaginatedExternalGenerationRunList"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "generations:read"
            },
            "post": {
                "operationId": "teams_generations_create",
                "description": "Submit a quoted Create request. Reuse the same idempotency_key for transport retries.",
                "parameters": [
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ExternalGenerationCreate"
                            }
                        },
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "$ref": "#/components/schemas/ExternalGenerationCreate"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/ExternalGenerationCreate"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExternalGenerationRun"
                                }
                            }
                        },
                        "description": ""
                    },
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExternalGenerationRun"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "generations:write"
            }
        },
        "/v1/public/teams/{team_slug}/generations/{id}": {
            "get": {
                "operationId": "teams_generations_retrieve",
                "description": "실행 생성·조회.",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExternalGenerationRun"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "generations:read"
            }
        },
        "/v1/public/teams/{team_slug}/generations/estimate": {
            "post": {
                "operationId": "teams_generations_estimate_create",
                "description": "Get a Create quote without starting generation or charging credits.",
                "parameters": [
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ExternalGenerationEstimate"
                            }
                        },
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "$ref": "#/components/schemas/ExternalGenerationEstimate"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/ExternalGenerationEstimate"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/GenerationEstimate"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "generations:write"
            }
        },
        "/v1/public/teams/{team_slug}/models": {
            "get": {
                "operationId": "teams_models_retrieve",
                "description": "실행 가능한 조합 목록.",
                "parameters": [
                    {
                        "in": "query",
                        "name": "surface",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "create"
                            ]
                        }
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExternalModelList"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "models:read"
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects": {
            "get": {
                "operationId": "teams_studio_projects_list",
                "parameters": [
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "integer",
                            "maximum": 100,
                            "minimum": 1,
                            "default": 25
                        }
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "integer",
                            "maximum": 2147483647,
                            "minimum": 0,
                            "default": 0
                        }
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioProjectList"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:read"
            },
            "post": {
                "operationId": "teams_studio_projects_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StudioProjectCreate"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioProjectReceipt"
                                }
                            }
                        },
                        "description": ""
                    },
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioProjectReceipt"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:write"
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}": {
            "get": {
                "operationId": "teams_studio_projects_retrieve",
                "parameters": [
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioProjectState"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:read"
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/approve": {
            "post": {
                "operationId": "teams_studio_projects_approve_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StudioApproveStoryboard"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioProjectReceipt"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scopes": [
                    "projects:write",
                    "generations:write"
                ]
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/basic-images": {
            "post": {
                "operationId": "teams_studio_projects_basic_images_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StudioBasicImages"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioProjectReceipt"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scopes": [
                    "projects:write",
                    "generations:write"
                ]
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/cuts/{cut_id}/takes": {
            "get": {
                "operationId": "teams_studio_projects_cuts_takes_list",
                "parameters": [
                    {
                        "in": "path",
                        "name": "cut_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CutTakeList"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:read"
            },
            "post": {
                "operationId": "teams_studio_projects_cuts_takes_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "cut_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CutTakeSubmit"
                            }
                        },
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "$ref": "#/components/schemas/CutTakeSubmit"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/CutTakeSubmit"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CutTakeReceipt"
                                }
                            }
                        },
                        "description": ""
                    },
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CutTakeReceipt"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scopes": [
                    "projects:write",
                    "generations:write"
                ]
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/cuts/{cut_id}/takes/estimate": {
            "post": {
                "operationId": "teams_studio_projects_cuts_takes_estimate_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "cut_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CutTakeOptions"
                            }
                        },
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "$ref": "#/components/schemas/CutTakeOptions"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/CutTakeOptions"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CutTakeEstimate"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:read"
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/cuts/{cut_id}/takes/select": {
            "post": {
                "operationId": "teams_studio_projects_cuts_takes_select_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "cut_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CutTakeSelection"
                            }
                        },
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "$ref": "#/components/schemas/CutTakeSelection"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/CutTakeSelection"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CutTakeSelected"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:write"
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/draft-duration": {
            "post": {
                "operationId": "teams_studio_projects_draft_duration_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StudioDraftDuration"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioDraftDurationReceipt"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:write"
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/estimate": {
            "post": {
                "operationId": "teams_studio_projects_estimate_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StudioProjectEstimate"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioWorkflowQuote"
                                }
                            }
                        },
                        "description": ""
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioQuoteError"
                                }
                            }
                        },
                        "description": ""
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioStageRefusal"
                                }
                            }
                        },
                        "description": ""
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioQuoteError"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:write"
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/exports": {
            "post": {
                "operationId": "teams_studio_projects_exports_create",
                "description": "프로젝트 Export 엔드포인트\neditor_json을 S3에 업로드하고 AWS Batch 준비",
                "parameters": [
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StudioRenderInput"
                            }
                        },
                        "application/x-www-form-urlencoded": {
                            "schema": {
                                "$ref": "#/components/schemas/StudioRenderInput"
                            }
                        },
                        "multipart/form-data": {
                            "schema": {
                                "$ref": "#/components/schemas/StudioRenderInput"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioRenderReceipt"
                                }
                            }
                        },
                        "description": ""
                    },
                    "202": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioRenderReceipt"
                                }
                            }
                        },
                        "description": ""
                    },
                    "207": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioRenderReceipt"
                                }
                            }
                        },
                        "description": ""
                    },
                    "409": {
                        "headers": {
                            "Retry-After": {
                                "schema": {
                                    "type": "integer"
                                },
                                "description": "Seconds to wait before retrying, when provided."
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioRenderConflict"
                                }
                            }
                        },
                        "description": "studio_audio_pending: wait and read the current project version before export. studio_audio_failed: inspect the music or narration in the editor. Other conflicts include a changed document or request."
                    },
                    "503": {
                        "headers": {
                            "Retry-After": {
                                "schema": {
                                    "type": "integer"
                                },
                                "description": "Seconds to wait before retrying, when provided."
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "code"
                                    ],
                                    "properties": {
                                        "code": {
                                            "type": "string"
                                        },
                                        "error": {
                                            "type": "string"
                                        },
                                        "retryable": {
                                            "type": "boolean"
                                        }
                                    }
                                }
                            }
                        },
                        "description": "Render admission is temporarily unavailable. An unverified audio source returns export_audio_source_unavailable. An unavailable renderer returns export_renderer_unavailable. Wait for Retry-After and reuse the request ID. export_output_resolution_unavailable means the requested resize is unsupported. Do not retry it unchanged. Omit output_resolution to request the original canvas size."
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scopes": [
                    "projects:write",
                    "generations:write"
                ]
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/exports/{export_id}": {
            "get": {
                "operationId": "teams_studio_projects_exports_retrieve",
                "parameters": [
                    {
                        "in": "path",
                        "name": "export_id",
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioRenderReceipt"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:read"
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/exports/{export_id}/originals": {
            "get": {
                "operationId": "teams_studio_projects_exports_originals_retrieve",
                "parameters": [
                    {
                        "in": "path",
                        "name": "export_id",
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioOriginals"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:read"
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/originals": {
            "get": {
                "operationId": "teams_studio_projects_originals_retrieve",
                "parameters": [
                    {
                        "in": "query",
                        "name": "document_version",
                        "schema": {
                            "type": "integer",
                            "minimum": 0
                        },
                        "required": true
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "integer",
                            "maximum": 100,
                            "minimum": 1,
                            "default": 25
                        }
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "integer",
                            "minimum": 0,
                            "default": 0
                        }
                    },
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "query",
                        "name": "revision",
                        "schema": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$",
                            "minLength": 1
                        }
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ProjectOriginalsPage"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:read"
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/prepare": {
            "post": {
                "operationId": "teams_studio_projects_prepare_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StudioOperation"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioPreparationReceipt"
                                }
                            }
                        },
                        "description": ""
                    },
                    "202": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioPreparationReceipt"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scopes": [
                    "projects:write",
                    "generations:write"
                ]
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/start": {
            "post": {
                "operationId": "teams_studio_projects_start_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StudioProjectStart"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioProjectReceipt"
                                }
                            }
                        },
                        "description": ""
                    },
                    "202": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioProjectReceipt"
                                }
                            }
                        },
                        "description": ""
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioStageRefusal"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scopes": [
                    "projects:write",
                    "generations:write"
                ]
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/{project_id}/storyboard": {
            "post": {
                "operationId": "teams_studio_projects_storyboard_create",
                "parameters": [
                    {
                        "in": "path",
                        "name": "project_id",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StudioStoryboard"
                            }
                        }
                    },
                    "required": true
                },
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioProjectReceipt"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scopes": [
                    "projects:write",
                    "generations:write"
                ]
            }
        },
        "/v1/public/teams/{team_slug}/studio/projects/options": {
            "get": {
                "operationId": "teams_studio_projects_options_retrieve",
                "parameters": [
                    {
                        "in": "query",
                        "name": "project_id",
                        "schema": {
                            "type": "string",
                            "maxLength": 255,
                            "minLength": 1
                        }
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    }
                ],
                "tags": [
                    "teams"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/StudioProjectOptions"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "projects:read"
            }
        },
        "/v1/public/teams/{team_slug}/usage": {
            "get": {
                "operationId": "teams_usage_list",
                "description": "사용 내역 줄. 환급은 음수 줄로 함께 나온다(R62).",
                "parameters": [
                    {
                        "in": "query",
                        "name": "api_key",
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        },
                        "description": "워크스페이스 설정에서 복사한 API 키의 공개 ID. 생략하면 조회할 수 있는 사용량 전체를 반환합니다."
                    },
                    {
                        "in": "query",
                        "name": "display_name",
                        "schema": {
                            "type": "string"
                        },
                        "description": "고객용 모델 표시명. 집계 model 축 그룹의 display_name 과 정확히 같은 줄만(비었으면 Other)"
                    },
                    {
                        "in": "query",
                        "name": "from",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "description": "시작 날짜(한국 시간, 포함)"
                    },
                    {
                        "in": "query",
                        "name": "include_details",
                        "schema": {
                            "type": "boolean"
                        },
                        "description": "1이면 저장된 설정·완료 상태를 작은 읽기 응답으로 추가"
                    },
                    {
                        "in": "query",
                        "name": "kind",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ai_api_usage",
                                "ai_asset_generation",
                                "ai_content_generation",
                                "audio",
                                "image",
                                "prompt",
                                "scenario",
                                "upscale",
                                "video",
                                "video_upscaling"
                            ]
                        }
                    },
                    {
                        "in": "query",
                        "name": "model",
                        "schema": {
                            "type": "string"
                        },
                        "description": "도구가 든 모델 이름"
                    },
                    {
                        "name": "page",
                        "required": false,
                        "in": "query",
                        "description": "A page number within the paginated result set.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page_size",
                        "required": false,
                        "in": "query",
                        "description": "Number of results to return per page.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "project",
                        "schema": {
                            "type": "string"
                        },
                        "description": "프로젝트 slug·public_id·번호. production 범위이면 같은 팀의 제작물·시퀀스를 함께 조회"
                    },
                    {
                        "in": "query",
                        "name": "project_scope",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "production",
                                "unassigned"
                            ]
                        },
                        "description": "unassigned는 프로젝트 없는 기록만 조회하며 project와 함께 지정할 수 없음. production은 같은 팀의 제작물 단위로 조회·집계"
                    },
                    {
                        "in": "query",
                        "name": "status",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "charged",
                                "refunded"
                            ]
                        }
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "query",
                        "name": "to",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "description": "끝 날짜(한국 시간, 그날 끝까지 포함)"
                    },
                    {
                        "in": "query",
                        "name": "user",
                        "schema": {
                            "type": "integer"
                        },
                        "description": "사용자 번호. 관리자가 아니면 본인으로 고정"
                    }
                ],
                "tags": [
                    "Team Usage"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PaginatedTeamUsageDetailedRowList"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "usage:read"
            }
        },
        "/v1/public/teams/{team_slug}/usage/summary": {
            "get": {
                "operationId": "teams_usage_summary_retrieve",
                "description": "같은 조건의 전체 기록 합계. group_by 는 project·user·model·day 가운데 둘까지.",
                "parameters": [
                    {
                        "in": "query",
                        "name": "api_key",
                        "schema": {
                            "type": "string",
                            "format": "uuid"
                        },
                        "description": "워크스페이스 설정에서 복사한 API 키의 공개 ID. 생략하면 조회할 수 있는 사용량 전체를 반환합니다."
                    },
                    {
                        "in": "query",
                        "name": "display_name",
                        "schema": {
                            "type": "string"
                        },
                        "description": "고객용 모델 표시명. 집계 model 축 그룹의 display_name 과 정확히 같은 줄만(비었으면 Other)"
                    },
                    {
                        "in": "query",
                        "name": "from",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "description": "시작 날짜(한국 시간, 포함)"
                    },
                    {
                        "in": "query",
                        "name": "group_by",
                        "schema": {
                            "type": "string"
                        },
                        "description": "project·user·model·day 가운데 서로 다른 둘까지. 예: project,user · day,model"
                    },
                    {
                        "in": "query",
                        "name": "kind",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "ai_api_usage",
                                "ai_asset_generation",
                                "ai_content_generation",
                                "audio",
                                "image",
                                "prompt",
                                "scenario",
                                "upscale",
                                "video",
                                "video_upscaling"
                            ]
                        }
                    },
                    {
                        "in": "query",
                        "name": "model",
                        "schema": {
                            "type": "string"
                        },
                        "description": "도구가 든 모델 이름"
                    },
                    {
                        "in": "query",
                        "name": "project",
                        "schema": {
                            "type": "string"
                        },
                        "description": "프로젝트 slug·public_id·번호. production 범위이면 같은 팀의 제작물·시퀀스를 함께 조회"
                    },
                    {
                        "in": "query",
                        "name": "project_scope",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "production",
                                "unassigned"
                            ]
                        },
                        "description": "unassigned는 프로젝트 없는 기록만 조회하며 project와 함께 지정할 수 없음. production은 같은 팀의 제작물 단위로 조회·집계"
                    },
                    {
                        "in": "query",
                        "name": "status",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "charged",
                                "refunded"
                            ]
                        }
                    },
                    {
                        "in": "path",
                        "name": "team_slug",
                        "schema": {
                            "type": "string"
                        },
                        "required": true
                    },
                    {
                        "in": "query",
                        "name": "to",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "description": "끝 날짜(한국 시간, 그날 끝까지 포함)"
                    },
                    {
                        "in": "query",
                        "name": "user",
                        "schema": {
                            "type": "integer"
                        },
                        "description": "사용자 번호. 관리자가 아니면 본인으로 고정"
                    }
                ],
                "tags": [
                    "Team Usage"
                ],
                "security": [
                    {
                        "TacuBearer": []
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TeamUsageSummary"
                                }
                            }
                        },
                        "description": ""
                    }
                },
                "x-genpm-envelope": false,
                "x-tacu-required-scope": "usage:read"
            }
        }
    },
    "components": {
        "schemas": {
            "CutTakeEstimate": {
                "type": "object",
                "properties": {
                    "estimated_credits": {
                        "type": "integer"
                    }
                },
                "required": [
                    "estimated_credits"
                ]
            },
            "CutTakeItem": {
                "type": "object",
                "properties": {
                    "version": {
                        "type": "integer"
                    },
                    "asset_request_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "status": {
                        "type": "string"
                    },
                    "selected": {
                        "type": "boolean"
                    },
                    "file_url": {
                        "type": "string",
                        "format": "uri",
                        "nullable": true
                    },
                    "error_code": {
                        "type": "string"
                    },
                    "user_error_message": {
                        "type": "string"
                    }
                },
                "required": [
                    "asset_request_id",
                    "file_url",
                    "selected",
                    "status",
                    "version"
                ]
            },
            "CutTakeList": {
                "type": "object",
                "properties": {
                    "document_version": {
                        "type": "integer"
                    },
                    "takes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CutTakeItem"
                        }
                    }
                },
                "required": [
                    "document_version",
                    "takes"
                ]
            },
            "CutTakeOptions": {
                "type": "object",
                "description": "Reject unknown keys instead of DRF's default silent omission.",
                "properties": {
                    "tool_id": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "tool_category_id": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "prompt": {
                        "type": "string"
                    },
                    "parameters": {
                        "type": "object",
                        "additionalProperties": {}
                    },
                    "use_first_frame": {
                        "type": "boolean",
                        "default": false
                    }
                },
                "required": [
                    "prompt",
                    "tool_category_id",
                    "tool_id"
                ]
            },
            "CutTakeReceipt": {
                "type": "object",
                "properties": {
                    "request_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "version_id": {
                        "type": "integer"
                    },
                    "asset_request_id": {
                        "type": "integer"
                    },
                    "status": {
                        "type": "string"
                    },
                    "credits_used": {
                        "type": "integer"
                    }
                },
                "required": [
                    "asset_request_id",
                    "credits_used",
                    "request_id",
                    "status",
                    "version_id"
                ]
            },
            "CutTakeSelected": {
                "type": "object",
                "properties": {
                    "document_version": {
                        "type": "integer"
                    },
                    "version": {
                        "type": "integer"
                    }
                },
                "required": [
                    "document_version",
                    "version"
                ]
            },
            "CutTakeSelection": {
                "type": "object",
                "description": "Reject unknown keys instead of DRF's default silent omission.",
                "properties": {
                    "request_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "version": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "document_version": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "source_in_tick": {
                        "type": "integer",
                        "minimum": 0
                    }
                },
                "required": [
                    "document_version",
                    "request_id",
                    "version"
                ]
            },
            "CutTakeSubmit": {
                "type": "object",
                "description": "Reject unknown keys instead of DRF's default silent omission.",
                "properties": {
                    "tool_id": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "tool_category_id": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "prompt": {
                        "type": "string"
                    },
                    "parameters": {
                        "type": "object",
                        "additionalProperties": {}
                    },
                    "use_first_frame": {
                        "type": "boolean",
                        "default": false
                    },
                    "request_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "max_credits": {
                        "type": "integer",
                        "minimum": 0
                    }
                },
                "required": [
                    "max_credits",
                    "prompt",
                    "request_id",
                    "tool_category_id",
                    "tool_id"
                ]
            },
            "ExternalAsset": {
                "type": "object",
                "description": "읽기 전용 표현.\n\n쓰기 가능한 필드를 두지 않는 것이 계약이다 — 상태 전이는 전용 라우트\n(trash·restore·purge)만 할 수 있고, 이름만 별도 serializer 로 고친다.",
                "properties": {
                    "id": {
                        "type": "string",
                        "format": "uuid",
                        "readOnly": true
                    },
                    "name": {
                        "type": "string",
                        "readOnly": true,
                        "description": "표시 이름"
                    },
                    "media_type": {
                        "enum": [
                            "image",
                            "video",
                            "audio"
                        ],
                        "type": "string",
                        "x-spec-enum-id": "ea3c01b71d193662",
                        "readOnly": true,
                        "description": "image·video·audio.\n\n* `image` - 이미지\n* `video` - 비디오\n* `audio` - 오디오"
                    },
                    "state": {
                        "enum": [
                            "uploading",
                            "processing",
                            "active",
                            "trashed",
                            "purged",
                            "failed"
                        ],
                        "type": "string",
                        "x-spec-enum-id": "9c1319de2d872959",
                        "readOnly": true,
                        "description": "수명 상태. active 인 행만 물리 객체를 정확히 하나 요구한다 — uploading·processing 구간에서 둘 다 비어 있는 것은 정상이다.\n\n* `uploading` - 업로드 중\n* `processing` - 처리 중\n* `active` - 사용 가능\n* `trashed` - 휴지통\n* `purged` - 영구 삭제됨\n* `failed` - 실패"
                    },
                    "mime_type": {
                        "type": "string",
                        "readOnly": true,
                        "description": "MIME 타입"
                    },
                    "file_size": {
                        "type": "integer",
                        "readOnly": true,
                        "nullable": true,
                        "description": "바이트 크기"
                    },
                    "width": {
                        "type": "integer",
                        "nullable": true,
                        "readOnly": true,
                        "description": "서버가 저장소 파일을 다시 읽어 잰 가로 픽셀. 이미지·영상만 싣는다. 오디오·아직 안 잰 자산·잴 수 없는 자산은 null."
                    },
                    "height": {
                        "type": "integer",
                        "nullable": true,
                        "readOnly": true,
                        "description": "서버가 저장소 파일을 다시 읽어 잰 세로 픽셀. 이미지·영상만 싣는다. 오디오·아직 안 잰 자산·잴 수 없는 자산은 null."
                    },
                    "duration_seconds": {
                        "type": "number",
                        "format": "double",
                        "nullable": true,
                        "readOnly": true,
                        "description": "서버가 저장소 파일을 다시 읽어 잰 재생 길이(초, 소수 허용). 영상·오디오만 싣는다. 이미지·아직 안 잰 자산·잴 수 없는 자산은 null."
                    },
                    "media_probe": {
                        "enum": [
                            "pending",
                            "ready",
                            "unavailable"
                        ],
                        "type": "string",
                        "description": "서버 측정 상태. pending 재는 중(잠시 뒤 다시 조회) · ready 값 확정 · unavailable 잴 수 없음(손상 파일 등, 이때 위 세 값은 null).",
                        "x-spec-enum-id": "f3362c7435cb26f0",
                        "readOnly": true
                    },
                    "file_url": {
                        "type": "string",
                        "nullable": true,
                        "readOnly": true,
                        "description": "물리 객체의 접근 URL. 스토리지가 못 만들면 null."
                    },
                    "thumb_url": {
                        "type": "string",
                        "nullable": true,
                        "readOnly": true,
                        "description": "이미지 미리보기 또는 비디오 썸네일 URL. 오디오는 null."
                    },
                    "hls_url": {
                        "type": "string",
                        "nullable": true,
                        "readOnly": true,
                        "description": "HLS 변환이 완료된 비디오의 재생 목록 URL. 그 외에는 null."
                    },
                    "created": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    }
                },
                "required": [
                    "created",
                    "duration_seconds",
                    "file_size",
                    "file_url",
                    "height",
                    "hls_url",
                    "id",
                    "media_probe",
                    "media_type",
                    "mime_type",
                    "name",
                    "state",
                    "thumb_url",
                    "width"
                ]
            },
            "ExternalAssetUpload": {
                "type": "object",
                "description": "공개하지 않은 필드를 무시하지 않고 거절한다.",
                "properties": {
                    "file_name": {
                        "type": "string",
                        "description": "업로드할 파일명",
                        "maxLength": 255
                    },
                    "file_size": {
                        "type": "integer",
                        "minimum": 1,
                        "description": "파일 크기 (바이트)"
                    },
                    "content_type": {
                        "type": "string",
                        "description": "파일 MIME 타입 (예: video/mp4)"
                    },
                    "asset_type": {
                        "enum": [
                            "image",
                            "video",
                            "audio"
                        ],
                        "type": "string",
                        "description": "* `image` - image\n* `video` - video\n* `audio` - audio",
                        "x-spec-enum-id": "ade4bbeebe5f319d"
                    },
                    "title": {
                        "type": "string",
                        "default": "",
                        "description": "에셋 제목 (video/audio용, 선택사항)",
                        "maxLength": 255
                    }
                },
                "required": [
                    "asset_type",
                    "content_type",
                    "file_name",
                    "file_size"
                ]
            },
            "ExternalGenerationCreate": {
                "type": "object",
                "description": "공개하지 않은 필드를 무시하지 않고 거절한다.",
                "properties": {
                    "operation_id": {
                        "enum": [
                            "audio.generate",
                            "audio.music",
                            "audio.sound",
                            "audio.speech",
                            "audio.voice_design",
                            "image.edit",
                            "image.generate",
                            "image.inpaint",
                            "image.layer_split",
                            "image.upscale",
                            "video.generate"
                        ],
                        "type": "string",
                        "description": "* `audio.generate` - audio.generate\n* `audio.music` - audio.music\n* `audio.sound` - audio.sound\n* `audio.speech` - audio.speech\n* `audio.voice_design` - audio.voice_design\n* `image.edit` - image.edit\n* `image.generate` - image.generate\n* `image.inpaint` - image.inpaint\n* `image.layer_split` - image.layer_split\n* `image.upscale` - image.upscale\n* `video.generate` - video.generate",
                        "x-spec-enum-id": "79310eb9dd715b13"
                    },
                    "tool_id": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "tool_category_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "prompt": {
                        "type": "string",
                        "nullable": true
                    },
                    "parameters": {
                        "type": "object",
                        "additionalProperties": {}
                    },
                    "inputs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ExternalGenerationInput"
                        }
                    },
                    "requested_output_count": {
                        "type": "integer",
                        "minimum": 1,
                        "default": 1
                    },
                    "idempotency_key": {
                        "type": "string",
                        "maxLength": 255
                    },
                    "estimate_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "contract_revision": {
                        "type": "string",
                        "maxLength": 255
                    }
                },
                "required": [
                    "contract_revision",
                    "estimate_id",
                    "idempotency_key",
                    "operation_id",
                    "tool_id"
                ]
            },
            "ExternalGenerationEstimate": {
                "type": "object",
                "description": "공개하지 않은 필드를 무시하지 않고 거절한다.",
                "properties": {
                    "operation_id": {
                        "enum": [
                            "audio.generate",
                            "audio.music",
                            "audio.sound",
                            "audio.speech",
                            "audio.voice_design",
                            "image.edit",
                            "image.generate",
                            "image.inpaint",
                            "image.layer_split",
                            "image.upscale",
                            "video.generate"
                        ],
                        "type": "string",
                        "description": "* `audio.generate` - audio.generate\n* `audio.music` - audio.music\n* `audio.sound` - audio.sound\n* `audio.speech` - audio.speech\n* `audio.voice_design` - audio.voice_design\n* `image.edit` - image.edit\n* `image.generate` - image.generate\n* `image.inpaint` - image.inpaint\n* `image.layer_split` - image.layer_split\n* `image.upscale` - image.upscale\n* `video.generate` - video.generate",
                        "x-spec-enum-id": "79310eb9dd715b13"
                    },
                    "tool_id": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "tool_category_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "prompt": {
                        "type": "string",
                        "nullable": true
                    },
                    "parameters": {
                        "type": "object",
                        "additionalProperties": {}
                    },
                    "inputs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ExternalGenerationInput"
                        }
                    },
                    "requested_output_count": {
                        "type": "integer",
                        "minimum": 1,
                        "default": 1
                    }
                },
                "required": [
                    "operation_id",
                    "tool_id"
                ]
            },
            "ExternalGenerationInput": {
                "type": "object",
                "description": "공개하지 않은 필드를 무시하지 않고 거절한다.",
                "properties": {
                    "role": {
                        "enum": [
                            "first_frame",
                            "keyframe",
                            "last_frame",
                            "mask",
                            "reference",
                            "source",
                            "source_video"
                        ],
                        "type": "string",
                        "description": "* `first_frame` - first_frame\n* `keyframe` - keyframe\n* `last_frame` - last_frame\n* `mask` - mask\n* `reference` - reference\n* `source` - source\n* `source_video` - source_video",
                        "x-spec-enum-id": "f5423a4f18d6b9b6"
                    },
                    "origin": {
                        "enum": [
                            "asset"
                        ],
                        "type": "string",
                        "description": "* `asset` - asset",
                        "x-spec-enum-id": "7b67bf782aaf9d40"
                    },
                    "media_type": {
                        "enum": [
                            "image",
                            "video",
                            "audio"
                        ],
                        "type": "string",
                        "description": "* `image` - image\n* `video` - video\n* `audio` - audio",
                        "x-spec-enum-id": "ade4bbeebe5f319d"
                    },
                    "asset_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "metadata": {
                        "type": "object",
                        "properties": {
                            "source_range": {
                                "type": "object",
                                "nullable": true,
                                "description": "Source video segment in seconds, for supported editing and extension models.",
                                "properties": {
                                    "start_seconds": {
                                        "type": "number"
                                    },
                                    "end_seconds": {
                                        "type": "number"
                                    }
                                },
                                "required": [
                                    "start_seconds",
                                    "end_seconds"
                                ],
                                "additionalProperties": false
                            },
                            "source_time_seconds": {
                                "type": "number",
                                "nullable": true,
                                "description": "Source video timestamp in seconds for a keyframe input."
                            }
                        },
                        "additionalProperties": false
                    }
                },
                "required": [
                    "asset_id",
                    "media_type",
                    "origin",
                    "role"
                ]
            },
            "ExternalGenerationOutput": {
                "type": "object",
                "description": "결과 슬롯. **F9-1 의 진짜 판정 지점이 이 목록의 길이다**.",
                "properties": {
                    "ordinal": {
                        "type": "integer",
                        "readOnly": true,
                        "description": "결과 순번. run 안에서 유일하다."
                    },
                    "attempt_no": {
                        "type": "integer",
                        "readOnly": true,
                        "description": "이 칸이 몇 번째 시도인가. 최초 제출이 1 이고 수동 재시도마다 1 늘어난다. 환불 멱등키가 이 값으로 시도를 가른다(TACU-626)."
                    },
                    "state": {
                        "enum": [
                            "queued",
                            "processing",
                            "completed",
                            "failed",
                            "cancelled"
                        ],
                        "type": "string",
                        "x-spec-enum-id": "cf80ea7c789cbe7f",
                        "readOnly": true,
                        "description": "슬롯 상태. completed 는 에셋이 붙은 뒤에만 가능하다.\n\n* `queued` - 대기\n* `processing` - 처리 중\n* `completed` - 완료\n* `failed` - 실패\n* `cancelled` - 취소"
                    },
                    "asset_id": {
                        "type": "string",
                        "format": "uuid",
                        "readOnly": true,
                        "nullable": true
                    },
                    "asset": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/ExternalAsset"
                            }
                        ],
                        "nullable": true,
                        "readOnly": true
                    },
                    "is_bonus": {
                        "type": "boolean",
                        "readOnly": true,
                        "description": "요청분을 넘어 provider 가 더 준 후보. 저장·노출하되 **과금하지 않는다**(Q13 확정: 우린 제공하고 사용 여부 판단은 FE 몫)."
                    },
                    "error_code": {
                        "type": "string",
                        "readOnly": true,
                        "nullable": true,
                        "description": "실패 사유 표준 코드(F11)."
                    },
                    "user_error_message": {
                        "type": "string",
                        "readOnly": true,
                        "description": "요청 언어로 렌더링한 안전한 실패 문구. 저장된 과거 문구는 변경하지 않습니다."
                    },
                    "charged_credits": {
                        "type": "integer",
                        "readOnly": true,
                        "description": "이 슬롯에 확정된 과금. 정수다."
                    },
                    "charge_snapshot_credits": {
                        "type": "integer",
                        "readOnly": true,
                        "description": "접수 시 예약한 크레딧의 불변 snapshot."
                    },
                    "refund_snapshot_credits": {
                        "type": "integer",
                        "readOnly": true,
                        "description": "환불 terminal에서 확정된 환불 크레딧 snapshot."
                    },
                    "refund_state": {
                        "enum": [
                            "none",
                            "pending",
                            "partial",
                            "completed",
                            "failed"
                        ],
                        "type": "string",
                        "description": "* `none` - 환불 없음\n* `pending` - 환불 중\n* `partial` - 부분 환불\n* `completed` - 환불 완료\n* `failed` - 환불 실패",
                        "x-spec-enum-id": "223eb65873f6daed",
                        "readOnly": true
                    }
                },
                "required": [
                    "asset",
                    "asset_id",
                    "attempt_no",
                    "charge_snapshot_credits",
                    "charged_credits",
                    "error_code",
                    "is_bonus",
                    "ordinal",
                    "refund_snapshot_credits",
                    "refund_state",
                    "state",
                    "user_error_message"
                ]
            },
            "ExternalGenerationRun": {
                "type": "object",
                "description": "실행 표현. 생성 응답과 조회 응답이 **같은 모양**이다.",
                "properties": {
                    "id": {
                        "type": "string",
                        "format": "uuid",
                        "readOnly": true
                    },
                    "operation_id": {
                        "enum": [
                            "audio.generate",
                            "audio.music",
                            "audio.sound",
                            "audio.speech",
                            "audio.voice_design",
                            "image.edit",
                            "image.generate",
                            "image.inpaint",
                            "image.layer_split",
                            "image.upscale",
                            "video.generate"
                        ],
                        "type": "string",
                        "x-spec-enum-id": "79310eb9dd715b13",
                        "readOnly": true,
                        "description": "무엇을 실행했나(계약 축). 정본은 F6 의 도구 계약 3축이다.\n\n* `audio.generate` - audio.generate\n* `audio.music` - audio.music\n* `audio.sound` - audio.sound\n* `audio.speech` - audio.speech\n* `audio.voice_design` - audio.voice_design\n* `image.edit` - image.edit\n* `image.generate` - image.generate\n* `image.inpaint` - image.inpaint\n* `image.layer_split` - image.layer_split\n* `image.upscale` - image.upscale\n* `video.generate` - video.generate"
                    },
                    "state": {
                        "enum": [
                            "queued",
                            "processing",
                            "completed",
                            "partial",
                            "failed",
                            "cancelled"
                        ],
                        "type": "string",
                        "x-spec-enum-id": "bb9fbbe56b3edc71",
                        "readOnly": true,
                        "description": "실행 전체의 상태. 슬롯별 상태와는 층이 다르다.\n\n* `queued` - 대기\n* `processing` - 처리 중\n* `completed` - 완료\n* `partial` - 부분 성공\n* `failed` - 실패\n* `cancelled` - 취소"
                    },
                    "requested_output_count": {
                        "type": "integer",
                        "readOnly": true,
                        "description": "요청한 결과 개수. **과금 대상은 이 개수까지**이고 provider 가 더 주면 ``is_bonus`` 슬롯으로 담는다(Q13)."
                    },
                    "contract_revision": {
                        "type": "string",
                        "readOnly": true,
                        "description": "이 실행이 합의한 계약 판. 서버 배포 상수에서 온다."
                    },
                    "estimate_id": {
                        "type": "string",
                        "format": "uuid",
                        "readOnly": true,
                        "nullable": true,
                        "description": "근거가 된 견적(F7). 참조 무결성은 걸지 않는다."
                    },
                    "credits_charged": {
                        "type": "integer",
                        "readOnly": true
                    },
                    "outputs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ExternalGenerationOutput"
                        },
                        "readOnly": true
                    },
                    "created": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    }
                },
                "required": [
                    "contract_revision",
                    "created",
                    "credits_charged",
                    "estimate_id",
                    "id",
                    "operation_id",
                    "outputs",
                    "requested_output_count",
                    "state"
                ]
            },
            "ExternalModel": {
                "type": "object",
                "description": "공개하지 않은 필드를 무시하지 않고 거절한다.",
                "properties": {
                    "operation_id": {
                        "enum": [
                            "audio.generate",
                            "audio.music",
                            "audio.sound",
                            "audio.speech",
                            "audio.voice_design",
                            "image.edit",
                            "image.generate",
                            "image.inpaint",
                            "image.layer_split",
                            "image.upscale",
                            "video.generate"
                        ],
                        "type": "string",
                        "x-spec-enum-id": "79310eb9dd715b13",
                        "description": "실행 종류. 레지스트리에 없는 값은 목록에 나오지 않는다\n\n* `audio.generate` - audio.generate\n* `audio.music` - audio.music\n* `audio.sound` - audio.sound\n* `audio.speech` - audio.speech\n* `audio.voice_design` - audio.voice_design\n* `image.edit` - image.edit\n* `image.generate` - image.generate\n* `image.inpaint` - image.inpaint\n* `image.layer_split` - image.layer_split\n* `image.upscale` - image.upscale\n* `video.generate` - video.generate"
                    },
                    "tool_version_id": {
                        "type": "string",
                        "description": "제공사 모델 식별자. 열려 있는 값은 **환경마다 다르므로** 여기에 어휘를 적지 않는다 — 그 환경의 현황은 openapi.json 의 x-genpm-runtime 이 싣는다"
                    },
                    "tool_id": {
                        "type": "integer",
                        "description": "제출 본문의 tool_id (genpm PK)"
                    },
                    "tool_category_id": {
                        "type": "integer",
                        "description": "제출 본문의 tool_category_id — 위 task_category_id 와 같은 값이다"
                    },
                    "input_mode_id": {
                        "enum": [
                            "edit",
                            "extend",
                            "first_frame",
                            "references",
                            "source_video",
                            "start_end",
                            "text"
                        ],
                        "type": "string",
                        "x-spec-enum-id": "3e271dff55d5fc81",
                        "description": "입력 짜임. ⚠️ create-workspaces 의 input_mode_id 와 **다른 집합**이다 — 그쪽은 화면 탭의 짜임이고 여기는 실행 짜임이다\n\n* `edit` - edit\n* `extend` - extend\n* `first_frame` - first_frame\n* `references` - references\n* `source_video` - source_video\n* `start_end` - start_end\n* `text` - text"
                    },
                    "contract_revision": {
                        "type": "string",
                        "description": "이 배포의 계약 판. 항목마다 같고 봉투에도 같은 값이 실린다"
                    },
                    "display_name": {
                        "type": "string"
                    },
                    "provider_name": {
                        "type": "string",
                        "nullable": true
                    },
                    "description": {
                        "type": "string",
                        "nullable": true,
                        "description": "모델 소개. 비어 있으면 null."
                    },
                    "availability": {
                        "enum": [
                            "wired"
                        ],
                        "type": "string",
                        "x-spec-enum-id": "52f1bc66be7265e9",
                        "description": "지금 고를 수 있는가. 고를 수 없는 조합은 다른 값으로 실리는 것이 아니라 목록에서 빠진다\n\n* `wired` - wired"
                    },
                    "input_contract": {
                        "type": "object",
                        "description": "이 조합이 받는 미디어 입력. 봉투의 origins·max_inputs 는 roles 에서 파생되므로 roles 가 비면 이 조합은 미디어 입력을 받지 않는다.",
                        "properties": {
                            "origins": {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "asset",
                                        "upload"
                                    ]
                                },
                                "description": "이 자리에 값을 넣을 수 있는 출처. 지금 실제로 미디어가 요청까지 도달하는 것은 asset 뿐이다 — 여기 없는 출처로 고른 입력은 요청에 실리지 않는다."
                            },
                            "roles": {
                                "type": "array",
                                "description": "받는 입력 자리들. 같은 도구·같은 실행 종류라도 자리 수와 상한은 도구 스키마에서 파생되므로 항목마다 다르다.",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "role": {
                                            "type": "string",
                                            "enum": [
                                                "first_frame",
                                                "keyframe",
                                                "last_frame",
                                                "mask",
                                                "reference",
                                                "source",
                                                "source_video"
                                            ],
                                            "description": "이 입력이 무엇으로 쓰이는가"
                                        },
                                        "media_type": {
                                            "type": "string",
                                            "enum": [
                                                "audio",
                                                "image",
                                                "video"
                                            ]
                                        },
                                        "min": {
                                            "type": "integer",
                                            "description": "이보다 적게 실으면 제출이 거절된다(0 이면 선택)"
                                        },
                                        "max": {
                                            "type": "integer",
                                            "description": "이 자리가 받는 최대 개수"
                                        },
                                        "origins": {
                                            "type": "array",
                                            "items": {
                                                "type": "string",
                                                "enum": [
                                                    "asset",
                                                    "upload"
                                                ]
                                            },
                                            "description": "이 자리에 값을 넣을 수 있는 출처. 지금 실제로 미디어가 요청까지 도달하는 것은 asset 뿐이다 — 여기 없는 출처로 고른 입력은 요청에 실리지 않는다."
                                        },
                                        "metadata_schema": {
                                            "type": "object",
                                            "additionalProperties": {
                                                "type": "object"
                                            },
                                            "description": "역할별 입력 메타데이터 선언. keyframe은 원본 시점(초)을 요구한다."
                                        },
                                        "mime_types": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            },
                                            "description": "이 자리가 받는 형식들. 이 칸이 없으면 형식을 제한하지 않는다는 뜻이다(제출도 그 축을 검사하지 않는다)."
                                        },
                                        "max_bytes": {
                                            "type": "integer",
                                            "description": "이 자리가 받는 파일 하나의 용량 상한(바이트). 이 칸이 없으면 용량을 제한하지 않는다는 뜻이다."
                                        },
                                        "label": {
                                            "type": "string",
                                            "description": "이 자리가 화면에 보이는 이름. 열쇠가 짜임과 역할과 종류라 같은 역할이라도 짜임이 다르면 다른 이름이다. 이 칸이 없으면 그 자리에 이름표를 그리지 않는다는 뜻이다."
                                        },
                                        "aliases": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            },
                                            "description": "화면이 이 역할을 부르던 옛 이름들. 없으면 빈 배열이다. 접수 어휘가 아니다 — 이 이름을 실은 제출은 거절된다."
                                        },
                                        "min_duration_seconds": {
                                            "type": "number",
                                            "description": "이 자리가 받는 파일 하나의 길이 하한(초, 하한 포함). 선언이 없으면 생략."
                                        },
                                        "max_duration_seconds": {
                                            "type": "number",
                                            "description": "이 자리가 받는 파일 **하나**의 길이 상한(초, 상한 포함). 영상처럼 카탈로그가 소리 유무로 상한을 갈라 적은 종류는 **둘 다 유한할 때** 큰 값이고, 한쪽이라도 「제한 없음」이면 이 칸이 실리지 않는다. 이 칸이 없으면 길이를 제한하지 않는다는 뜻이고, 짜임 전체의 합쳐 재는 총 길이와는 축이 다르다."
                                        },
                                        "minimum": {
                                            "type": "integer",
                                            "description": "이 자리가 받는 그림의 **두 변 모두**가 넘어야 하는 최솟값(픽셀, 상한 포함)."
                                        },
                                        "maximum": {
                                            "type": "integer",
                                            "description": "이 자리가 받는 그림의 **두 변 모두**가 넘으면 안 되는 최댓값(픽셀, 상한 포함)."
                                        },
                                        "max_short": {
                                            "type": "integer",
                                            "description": "**짧은 변**의 최댓값(픽셀, 상한 포함). 옆의 ``max_long`` 과 짝이며, 둘을 합쳐 ``maximum`` 하나로 읽으면 안 된다 — 짧은 변 720·긴 변 1280 은 어느 변이든 1280 이라는 규칙과 다른 뜻이다."
                                        },
                                        "max_long": {
                                            "type": "integer",
                                            "description": "**긴 변**의 최댓값(픽셀, 상한 포함). ``max_short`` 와 짝이다."
                                        },
                                        "max_aspect_ratio": {
                                            "type": "number",
                                            "description": "이 자리가 받는 그림의 **긴 변 ÷ 짧은 변** 최댓값(같은 값 포함, 예: 2.5 는 2500×1000 까지 받는다). 가로·세로 어느 방향이든 같은 상한이다. 출력 파라미터 ``aspect_ratio``(결과물 화면비)와 무관하다. 선언이 없으면 키가 없고, 키가 없으면 비율을 제한하지 않는다."
                                        }
                                    },
                                    "required": [
                                        "role",
                                        "media_type",
                                        "min",
                                        "max",
                                        "origins",
                                        "aliases"
                                    ]
                                }
                            },
                            "max_inputs": {
                                "type": "integer",
                                "description": "roles 의 max 를 모두 더한 값"
                            },
                            "min_total": {
                                "type": "integer",
                                "description": "이 짜임이 받아야 하는 입력의 **총 개수** 하한. 역할 칸의 min 을 더한 값이 아니라 우리 한계 표가, 표가 침묵하면 등록부(create-workspaces)가 그 짜임에 대해 선언한 값이다. 이 칸이 없으면 **두 출처가 다 침묵했다**는 뜻이라 우리가 이 짜임의 총 개수를 말할 자리가 없다. 옆 칸 max_total 이 없다고 이 칸도 없는 것은 아니다 — 이 칸만 남고 상한만 빠지는 상태가 실재한다(max_total 설명의 ②)."
                            },
                            "max_total": {
                                "type": "integer",
                                "description": "이 짜임이 받는 입력의 **총 개수** 상한. 두 상태가 있고 화면이 할 일이 각각 다르다. ① 정수면 그 수가 상한이다. ② 칸 자체가 없으면 **우리가 이 짜임의 총 개수 상한을 말할 출처가 없다**는 뜻이다 — 「상한이 없다」가 아니다. 이 응답은 이 칸을 null 로 싣지 않는다. 한계 표가 총을 모른다고 답한 줄도, 도구를 모르는 등록부 폴백이 「상한 없음」을 답한 줄도 칸을 뺀다(폴백은 어느 도구가 묻는지 몰라 그 말을 보증할 수 없다). 우리 한계 표가 종류별 개수를 다른 출처로 갈아탄 줄에서도, 등록부가 옛 봉투의 총을 여전히 들고 있어도 그 수를 싣지 않는다(같은 봉투의 한 칸만 골라 읽는 일이 되기 때문이다). 등록부 응답(create-workspaces)의 같은 이름 칸은 null 로 「상한 없음」을 말하지만, 화면은 이 응답에서 칸이 없는 것을 그 null 과 같은 뜻으로 읽으면 안 되고 이 축에서는 자기 값을 유지해야 한다. ② 는 min_total·max_by_media 와 함께 빠지기도 하고, 그 둘을 남긴 채 이 칸만 빠지기도 한다 — 실제로 오늘 빠지는 줄은 뒤엣것이다."
                            },
                            "max_by_media": {
                                "type": "object",
                                "additionalProperties": {
                                    "type": "integer"
                                },
                                "description": "종류마다 이 짜임이 받는 입력의 개수 상한. 역할 칸의 max 와 축이 다르다 — 저쪽은 자리 하나가 받는 개수이고 여기는 그 종류를 받는 모든 자리를 합친 개수다. 0 은 그 종류를 아예 못 넣는다는 뜻이다. 칸 자체가 없는 경우는 둘이다 — 우리가 이 짜임의 수를 아예 모르거나(그때는 min_total 도 함께 없다), 상한 없는 자리가 하나라도 섞여 종류별로는 못 셌거나다(이때 min_total 은 실린다). max_total 은 이 칸과 **따로** 빠질 수 있으므로, 이 칸이 있다고 그 칸도 있다고 읽지 마라. 어느 쪽이든 이 칸의 수를 지어내면 안 된다."
                            },
                            "required_media_types": {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "image",
                                        "video"
                                    ]
                                },
                                "description": "곁들이 전용 종류(소리)가 계약에 서는 조합에만 실린다. 그 종류를 고르면 여기 적힌 종류가 함께 있어야 한다 — 없으면 견적이 reference_audio_requires_visual 로 거절한다. 그 곁들이 종류 자체가 forbidden_media_types 에 들면 이 칸은 아예 안 실린다 — 놓을 수 없는 종류를 전제로만 뜻이 서는 규칙이라서다. 곁들이는 설 수 있는데 함께 설 시각 종류 하나가 금지되면 그 종류만 여기서 빠진다."
                            },
                            "forbidden_media_types": {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "audio",
                                        "image",
                                        "video"
                                    ]
                                },
                                "description": "이 짜임에 아예 놓을 수 없는 종류들. 같은 짜임의 max_by_media 가 그 종류를 0 으로 말하는 것과 같은 사실이고, 0 을 금지로 유추하지 않아도 되도록 말로 적은 칸이다. 여기 적힌 종류는 roles 에 자리가 **서지 않는다** — 0 인 줄로 서는 것이 아니라 줄 자체가 없으므로, 화면은 이 목록을 읽지 않고 roles 만 그려도 금지된 칸을 안 그린다. max_inputs 와 generic_media 도 그 자리를 뺀 값이다. 칸 자체가 없으면 금지된 종류를 우리가 선언하지 않는다는 뜻이며, 빈 배열로는 나가지 않는다 — 「금지가 없다」와 「모른다」를 한 모양으로 만들지 않기 위해서다. 이 목록은 표시 규칙만이 아니다: 여기 적힌 종류를 실은 제출은 견적과 제출 두 경로 모두에서 차감 앞에 400 으로 거절된다. 사유는 input_media_type_forbidden 이다 — 다만 그 도구가 참조 입력 자체를 안 받는 자리에서는 더 상위 사유인 references_not_supported 가 먼저 나간다."
                            },
                            "fixed_roles_only": {
                                "type": "boolean",
                                "description": "참이면 이 짜임은 이름표 붙은 칸만 그린다. 거짓이면 화면이 일반 추가 단추를 열고, 그 단추가 받는 종류는 generic_media 가 말한다."
                            },
                            "generic_media": {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "audio",
                                        "image",
                                        "video"
                                    ]
                                },
                                "description": "일반 추가 단추가 받는 종류들. **묶음 태그 역할이 받는 종류만** 들고 이름표 붙은 칸의 종류는 안 든다 — 그 칸의 종류까지 넣으면 화면이 그 자리에 설 역할이 없는 파일을 고르게 한다. fixed_roles_only 가 참이면 빈 배열이다."
                            },
                            "input_mode_label": {
                                "type": "string",
                                "description": "이 짜임이 화면에 보이는 이름. 열쇠는 **도구와 짜임의 쌍**이다 — 같은 짜임 이름이라도 도구가 다르면 다른 이름이 나온다. 이 칸이 없으면 화면이 그 자리에 짜임 이름을 그리지 않는다는 뜻이다."
                            },
                            "reference_add_label": {
                                "type": "string",
                                "description": "참조를 더하는 단추에 적히는 말. 선언한 짜임에만 실린다."
                            },
                            "reference_user_hint": {
                                "type": "string",
                                "description": "참조 자리 아래에 보이는 안내 문장. 선언한 짜임에만 실린다."
                            },
                            "aliases": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                },
                                "description": "화면이 이 짜임을 부르던 옛 이름들. 열쇠는 **도구와 짜임의 쌍**이라 같은 짜임이라도 도구가 다르면 답이 갈린다. 없으면 빈 배열이고, 접수 어휘가 아니다 — 이 이름을 실은 제출은 거절된다."
                            },
                            "task_category_label": {
                                "type": "string",
                                "description": "이 짜임이 하는 일을 화면에 보이는 말로 적은 갈래 표시명(예: Image to video). 열쇠가 **도구와 짜임의 쌍**이라 같은 갈래라도 도구마다 말이 다를 수 있다. 값이 있으면 다듬지 않고 그대로 그린다. 이 칸이 없으면 그 짜임에 적힌 표시명이 없거나, 이 항목이 파생 실행 종류(예: 생성 도구에서 파생한 인페인트·편집)라서 그 표시명이 이 항목을 가리키지 않는다는 뜻이다."
                            },
                            "provider_input_mode": {
                                "type": "string",
                                "enum": [
                                    "frames",
                                    "references"
                                ],
                                "description": "제공사가 이 짜임의 입력을 받는 방식의 이름. 같은 도구라도 짜임마다 갈린다(첫 프레임 짜임은 frames, 편집 짜임은 references). 이 칸이 없으면 그 짜임에 적힌 이름이 없거나 파생 실행 종류 항목이라는 뜻이다."
                            },
                            "structured_input": {
                                "type": "boolean",
                                "description": "참이면 이 짜임은 글 프롬프트 대신 **구조화된 입력**(오늘은 대화 차례 목록 하나)을 받는다. 거짓으로는 나가지 않는다 — 이 칸이 없으면 구조화 입력을 받는 짜임이 아니다."
                            },
                            "limit_source_tier": {
                                "type": "string",
                                "enum": [
                                    "engine_verified",
                                    "official_provider",
                                    "official_surface",
                                    "production_catalog",
                                    "surface_observed",
                                    "unpublished",
                                    "verified"
                                ],
                                "description": "이 짜임의 한계를 **무엇으로 알았는가**. 한 칸이 그 짜임의 한계 전부를 덮는다. 항목의 source_tier 와 축이 다르다 — 저쪽은 그 도구의 계약값이고 이쪽은 그 짜임의 한계다. 이 칸이 없으면 그 짜임의 한계에 붙은 등급이 없다는 뜻이고, 도구 등급으로 대신 읽으면 재 본 적 없는 값에 근거를 붙이게 된다."
                            }
                        },
                        "required": [
                            "origins",
                            "roles",
                            "max_inputs",
                            "fixed_roles_only",
                            "generic_media",
                            "aliases"
                        ]
                    },
                    "parameter_schema": {
                        "type": "object",
                        "description": "파라미터 이름 → 그 파라미터의 선언. 값은 카탈로그가 그대로 실어 오는 JSON Schema 조각이라 여기 적힌 칸 말고도 더 올 수 있다. 계약 기계가 읽는 선언 칸(참조 상한·짜임 능력 등)은 이 응답에서 걸러져 있다.",
                        "additionalProperties": {
                            "type": "object",
                            "description": "파라미터 하나의 선언.",
                            "properties": {
                                "conditional_values": {
                                    "type": "object",
                                    "description": "선택자 별 허용값과 생략 시 기본값. selector_keys 중 하나만 보내며, 생략하면 선택자의 선언 기본값을 사용한다. 명시한 값은 자동으로 바꾸지 않는다.",
                                    "required": [
                                        "selector_keys",
                                        "cases"
                                    ],
                                    "properties": {
                                        "selector_keys": {
                                            "type": "array",
                                            "minItems": 1,
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "cases": {
                                            "type": "object",
                                            "additionalProperties": {
                                                "type": "object",
                                                "required": [
                                                    "enum",
                                                    "default"
                                                ],
                                                "properties": {
                                                    "enum": {
                                                        "type": "array",
                                                        "minItems": 1,
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "default": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "type": {
                                    "type": "string",
                                    "description": "값의 종류(string·integer 등)"
                                },
                                "enum": {
                                    "type": "array",
                                    "items": {
                                        "description": "⚠️ 타입을 정하지 않는다 — 한 응답 안에서 정수와 문자열이 섞여 오기 때문이다(카탈로그가 그대로 실어 오는 값이라 우리가 좁힐 수 없다). 빈 칸은 실수가 아니다."
                                    },
                                    "description": "허용값 목록. 선언이 없으면 값 제한이 없다"
                                },
                                "values": {
                                    "type": "array",
                                    "items": {
                                        "description": "⚠️ 타입을 정하지 않는다 — 한 응답 안에서 정수와 문자열이 섞여 오기 때문이다(카탈로그가 그대로 실어 오는 값이라 우리가 좁힐 수 없다). 빈 칸은 실수가 아니다."
                                    },
                                    "description": "허용값 목록의 다른 표기 — 뜻은 enum 과 같다. ⚠️ 타입을 정하지 않는다 — 한 응답 안에서 정수와 문자열이 섞여 오기 때문이다(카탈로그가 그대로 실어 오는 값이라 우리가 좁힐 수 없다). 빈 칸은 실수가 아니다."
                                },
                                "default": {
                                    "description": "안 보내면 서버가 채우는 값. ⚠️ 타입을 정하지 않는다 — 한 응답 안에서 정수와 문자열이 섞여 오기 때문이다(카탈로그가 그대로 실어 오는 값이라 우리가 좁힐 수 없다). 빈 칸은 실수가 아니다."
                                },
                                "ui_default": {
                                    "oneOf": [
                                        {
                                            "type": "string"
                                        },
                                        {
                                            "type": "number"
                                        },
                                        {
                                            "type": "boolean"
                                        }
                                    ],
                                    "description": "새 빈 화면의 초기 선택값. 저장된 선택·현재 프로젝트 규격을 우선하며 서버 실행 기본값은 바꾸지 않는다."
                                },
                                "ui_value_sources": {
                                    "type": "array",
                                    "minItems": 2,
                                    "description": "같은 선택값의 표시 소유 관계. 첫 항목은 이 파라미터이며 뒤 항목은 우선순위 순 호환 입력이다. 실제 견적에 쓰는 값에서 missing/null만 건너뛴다. 유효하게 도출될 때만 별칭 컨트롤을 접는다. 초안 초기화는 유효한 별칭 선택보다 우선인 미지정 필드에 기존 초기값 판정이 사용할 선언 기본값이 없을 때만 임의 첫 enum 주입을 막는다. 서버 입력·기본값·접수된 요청은 바꾸지 않으며 별칭을 복사하거나 지우지 않는다. 새 사용자 선택은 첫 파라미터에만 쓴다.",
                                    "items": {
                                        "type": "object",
                                        "required": [
                                            "parameter"
                                        ],
                                        "additionalProperties": false,
                                        "properties": {
                                            "parameter": {
                                                "type": "string"
                                            },
                                            "value_map": {
                                                "type": "object",
                                                "description": "호환 입력의 값 → 표시 소유자의 enum 값. 없으면 같은 값이다.",
                                                "additionalProperties": {
                                                    "oneOf": [
                                                        {
                                                            "type": "string"
                                                        },
                                                        {
                                                            "type": "number"
                                                        },
                                                        {
                                                            "type": "boolean"
                                                        }
                                                    ]
                                                }
                                            }
                                        }
                                    }
                                },
                                "description": {
                                    "type": "string"
                                },
                                "required_group": {
                                    "type": "string",
                                    "description": "같은 이름끼리 최소 하나는 실려야 하는 묶음"
                                },
                                "conflict_group": {
                                    "type": "string",
                                    "description": "같은 이름끼리 함께 실을 수 없는 묶음"
                                }
                            }
                        }
                    },
                    "output_contract": {
                        "type": "object",
                        "description": "이 조합이 만드는 것.",
                        "properties": {
                            "media_type": {
                                "type": "string",
                                "enum": [
                                    "audio",
                                    "image",
                                    "video"
                                ]
                            },
                            "max_outputs": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 32767,
                                "description": "한 요청이 낼 수 있는 결과 개수의 상한"
                            }
                        },
                        "required": [
                            "media_type",
                            "max_outputs"
                        ]
                    },
                    "quote_dimensions": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "견적이 갈리는 파라미터 축(상위집합 — 견적 서비스 docstring 참조)"
                    },
                    "prompt_language_policy": {
                        "enum": [
                            "english_only",
                            "multilingual",
                            null
                        ],
                        "type": "string",
                        "x-spec-enum-id": "cfb81c30127fe567",
                        "nullable": true,
                        "description": "DB에 선언된 본문 프롬프트 언어 정책. null은 미선언이며 multilingual은 전체 언어 목록을 보장하지 않는다. negative_prompt에는 적용하지 않는다.\n\n* `english_only` - english_only\n* `multilingual` - multilingual"
                    },
                    "transport_only_parameter_keys": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "Server-bound media keys in parameter_schema. Omit these from parameters and provide media in inputs using asset_id."
                    },
                    "prompt_enabled": {
                        "type": "boolean",
                        "description": "이 짜임에서 프롬프트를 입력할 수 있는가. 이 칸이 없으면 등록부가 이 짜임을 모른다는 뜻이라 화면이 스스로 정해야 한다"
                    },
                    "prompt_required": {
                        "type": "boolean",
                        "description": "이 도구가 프롬프트를 **언제나** 요구하는가. prompt_enabled 와 다른 축이다 — 넣을 수 있어도 안 넣어도 되는 도구가 있다. 참조가 없을 때만 요구하는 도구는 이 칸이 아니라 prompt_required_unless_reference 로 말한다. 이 칸이 없으면 그 도구에 적힌 필수 여부가 없다는 뜻이다"
                    },
                    "prompt_required_unless_reference": {
                        "type": "boolean",
                        "description": "참이면 참조를 하나도 안 넣었을 때만 프롬프트가 필수다 — 참조를 넣으면 프롬프트를 비워도 된다. prompt_required 와 다른 칸이고 둘을 합쳐 읽으면 안 된다. 거짓으로는 나가지 않는다 — 이 칸이 없으면 그런 조건이 없다"
                    },
                    "prompt_hidden": {
                        "type": "boolean",
                        "description": "참이면 화면이 이 도구에 프롬프트 입력칸을 그리지 않는다. 거짓으로는 나가지 않는다 — 이 칸이 없으면 숨기라는 선언이 없다"
                    },
                    "prompt_max_length": {
                        "type": "integer",
                        "description": "프롬프트 글자 수 상한. **parameter_schema.prompt_length_limit 이 있는 항목에는 실리지 않는다** — 그 칸이 제공사 문서로 만든 1순위 값이고, 같은 뜻을 두 칸에 싣지 않는다. 그 칸이 없는 항목에만 화면 카탈로그의 값이 여기 실린다. 둘 다 없으면 우리가 아는 상한이 없다는 뜻이다"
                    }
                },
                "required": [
                    "availability",
                    "contract_revision",
                    "description",
                    "display_name",
                    "input_contract",
                    "input_mode_id",
                    "operation_id",
                    "output_contract",
                    "parameter_schema",
                    "provider_name",
                    "quote_dimensions",
                    "tool_category_id",
                    "tool_id",
                    "tool_version_id",
                    "transport_only_parameter_keys"
                ]
            },
            "ExternalModelList": {
                "type": "object",
                "description": "팀 주소의 응답 봉투 (TACU-905 F6 · R31).\n\n팀마다 쓸 수 있는 모델이 달라 목록이 갈리므로, 목록이 바뀐 시각을 함께 싣는다.\n공개 통로는 팀을 모르므로 이 칸이 없다(R11) — 그래서 봉투를 둘로 나눈다.",
                "properties": {
                    "contract_revision": {
                        "type": "string"
                    },
                    "capabilities": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ExternalModel"
                        }
                    },
                    "upload_limits": {
                        "type": "object",
                        "description": "**팀 업로드 통로**가 받는 한계. 도구와 무관하므로 항목마다 실리지 않고 봉투에 한 번만 실린다. 여기 없는 종류는 그 통로가 받지 않는다는 뜻이고, 자산 라이브러리 업로드는 이 칸이 말하는 통로가 아니다.",
                        "properties": {
                            "image": {
                                "type": "object",
                                "properties": {
                                    "extensions": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "description": "이 종류로 받는 파일 확장자(앞의 점을 포함한다). **순서가 계약이다** — 업로드 거절 문장이 이 순서를 그대로 이어 붙인다."
                                    },
                                    "max_bytes": {
                                        "type": "integer",
                                        "description": "이 종류의 파일 하나가 넘을 수 없는 용량(바이트)"
                                    },
                                    "mime_types_by_extension": {
                                        "type": "object",
                                        "additionalProperties": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "description": "✎ 카탈로그 정본화 F3 (R2) — 확장자마다 팀 업로드가 받는 형식들. 열쇠는 **점 없는 소문자** 확장자이고(같은 칸의 ``extensions`` 는 점을 붙인다 — 그 순서와 모양이 거절 문면의 계약이라 안 건드린다), 값은 정렬된 형식 문자열 배열이다. 같은 확장자에 클라이언트마다 다른 이름을 실어 보내므로 값이 배열이다(``.mp3`` → ``audio/mpeg``·``audio/mp3``)."
                                    }
                                },
                                "required": [
                                    "extensions",
                                    "max_bytes",
                                    "mime_types_by_extension"
                                ]
                            },
                            "video": {
                                "type": "object",
                                "properties": {
                                    "extensions": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "description": "이 종류로 받는 파일 확장자(앞의 점을 포함한다). **순서가 계약이다** — 업로드 거절 문장이 이 순서를 그대로 이어 붙인다."
                                    },
                                    "max_bytes": {
                                        "type": "integer",
                                        "description": "이 종류의 파일 하나가 넘을 수 없는 용량(바이트)"
                                    },
                                    "mime_types_by_extension": {
                                        "type": "object",
                                        "additionalProperties": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "description": "✎ 카탈로그 정본화 F3 (R2) — 확장자마다 팀 업로드가 받는 형식들. 열쇠는 **점 없는 소문자** 확장자이고(같은 칸의 ``extensions`` 는 점을 붙인다 — 그 순서와 모양이 거절 문면의 계약이라 안 건드린다), 값은 정렬된 형식 문자열 배열이다. 같은 확장자에 클라이언트마다 다른 이름을 실어 보내므로 값이 배열이다(``.mp3`` → ``audio/mpeg``·``audio/mp3``)."
                                    }
                                },
                                "required": [
                                    "extensions",
                                    "max_bytes",
                                    "mime_types_by_extension"
                                ]
                            },
                            "audio": {
                                "type": "object",
                                "properties": {
                                    "extensions": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "description": "이 종류로 받는 파일 확장자(앞의 점을 포함한다). **순서가 계약이다** — 업로드 거절 문장이 이 순서를 그대로 이어 붙인다."
                                    },
                                    "max_bytes": {
                                        "type": "integer",
                                        "description": "이 종류의 파일 하나가 넘을 수 없는 용량(바이트)"
                                    },
                                    "mime_types_by_extension": {
                                        "type": "object",
                                        "additionalProperties": {
                                            "type": "array",
                                            "items": {
                                                "type": "string"
                                            }
                                        },
                                        "description": "✎ 카탈로그 정본화 F3 (R2) — 확장자마다 팀 업로드가 받는 형식들. 열쇠는 **점 없는 소문자** 확장자이고(같은 칸의 ``extensions`` 는 점을 붙인다 — 그 순서와 모양이 거절 문면의 계약이라 안 건드린다), 값은 정렬된 형식 문자열 배열이다. 같은 확장자에 클라이언트마다 다른 이름을 실어 보내므로 값이 배열이다(``.mp3`` → ``audio/mpeg``·``audio/mp3``)."
                                    }
                                },
                                "required": [
                                    "extensions",
                                    "max_bytes",
                                    "mime_types_by_extension"
                                ]
                            }
                        }
                    },
                    "allowlist_version": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true,
                        "description": "이 팀이 쓸 수 있는 모델 목록이 마지막으로 바뀐 시각. 값이 바뀌면 목록을 다시 받는다. 목록 설정이 없으면 null"
                    }
                },
                "required": [
                    "allowlist_version",
                    "capabilities",
                    "contract_revision",
                    "upload_limits"
                ]
            },
            "ExternalUploadTicket": {
                "type": "object",
                "description": "공개하지 않은 필드를 무시하지 않고 거절한다.",
                "properties": {
                    "asset_id": {
                        "type": "string",
                        "format": "uuid",
                        "readOnly": true
                    },
                    "presigned_url": {
                        "type": "string",
                        "readOnly": true,
                        "nullable": true
                    },
                    "expires_in": {
                        "type": "integer",
                        "minimum": 0,
                        "readOnly": true
                    },
                    "upload_headers": {
                        "type": "object",
                        "additionalProperties": {},
                        "readOnly": true
                    },
                    "state": {
                        "enum": [
                            "uploading",
                            "processing",
                            "active",
                            "trashed",
                            "purged",
                            "failed"
                        ],
                        "type": "string",
                        "description": "* `uploading` - 업로드 중\n* `processing` - 처리 중\n* `active` - 사용 가능\n* `trashed` - 휴지통\n* `purged` - 영구 삭제됨\n* `failed` - 실패",
                        "x-spec-enum-id": "9c1319de2d872959",
                        "readOnly": true
                    },
                    "replayed": {
                        "type": "boolean",
                        "readOnly": true
                    }
                },
                "required": [
                    "asset_id",
                    "expires_in",
                    "presigned_url",
                    "replayed",
                    "state",
                    "upload_headers"
                ]
            },
            "GenerationEstimate": {
                "type": "object",
                "description": "견적 응답 (F7-1).\n\n★ 필드 이름이 컬럼과 두 군데 다르다 — ``id``→``estimate_id``,\n  ``estimated_total``→``estimated_total_credits``. 응답 쪽 이름이 스펙 03 §5 의\n  계약이고, 컬럼 쪽은 표의 문법이다. 맞추려고 한쪽을 바꾸면 계약이나 DDL 중\n  하나가 문서와 갈린다.",
                "properties": {
                    "output_visibility_contract": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/OutputVisibilityContract"
                            }
                        ],
                        "nullable": true,
                        "readOnly": true
                    },
                    "estimate_id": {
                        "type": "string",
                        "format": "uuid",
                        "readOnly": true
                    },
                    "payload_hash": {
                        "type": "string",
                        "readOnly": true,
                        "description": "정규화한 요청의 sha256. 제출이 같은 요청인지를 이 값으로 대조한다 — 규칙의 정본은 ``generation_estimate_service`` 다."
                    },
                    "contract_revision": {
                        "type": "string",
                        "readOnly": true,
                        "description": "이 견적이 선 계약 판. 서버 배포 상수에서 온다."
                    },
                    "requested_output_count": {
                        "type": "integer",
                        "readOnly": true,
                        "description": "몇 개를 만들 견적인가. ``children`` 의 길이와 같다."
                    },
                    "children": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "ordinal": {
                                    "type": "integer",
                                    "description": "0 부터 세는 슬롯 번호"
                                },
                                "estimated_credits": {
                                    "type": "integer"
                                }
                            }
                        },
                        "readOnly": true,
                        "description": "슬롯별 견적 — ``[{ordinal, estimated_credits}]``. 합이 ``estimated_total`` 과 같다. 빈 배열 [] 이 모델 기본값이다 — 그래서 원소의 어느 키도 필수가 아니다."
                    },
                    "estimated_total_credits": {
                        "type": "integer",
                        "readOnly": true
                    },
                    "expires_at": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true,
                        "description": "이 가격을 보장하는 시각까지. 지나면 제출에 쓸 수 없지만 **행은 남는다** (통계 보존)."
                    }
                },
                "required": [
                    "children",
                    "contract_revision",
                    "estimate_id",
                    "estimated_total_credits",
                    "expires_at",
                    "output_visibility_contract",
                    "payload_hash",
                    "requested_output_count"
                ]
            },
            "OutputRecipientsContract": {
                "type": "object",
                "properties": {
                    "version": {
                        "enum": [
                            1
                        ],
                        "type": "integer",
                        "description": "* `1` - 1",
                        "x-spec-enum-id": "5cbac499fd8bfedb",
                        "readOnly": true
                    },
                    "max_count": {
                        "type": "integer",
                        "readOnly": true
                    },
                    "access": {
                        "enum": [
                            "viewer"
                        ],
                        "type": "string",
                        "description": "* `viewer` - viewer",
                        "x-spec-enum-id": "6f45fc6421a574ab",
                        "readOnly": true
                    },
                    "required_contract_revision": {
                        "type": "string",
                        "readOnly": true
                    }
                },
                "required": [
                    "access",
                    "max_count",
                    "required_contract_revision",
                    "version"
                ]
            },
            "OutputVisibilityContract": {
                "type": "object",
                "properties": {
                    "version": {
                        "enum": [
                            1
                        ],
                        "type": "integer",
                        "description": "* `1` - 1",
                        "x-spec-enum-id": "5cbac499fd8bfedb",
                        "readOnly": true
                    },
                    "constraint": {
                        "enum": [
                            "none",
                            "source_private",
                            "project"
                        ],
                        "type": "string",
                        "description": "* `none` - none\n* `source_private` - source_private\n* `project` - project",
                        "x-spec-enum-id": "bbab821e7367d29a",
                        "readOnly": true
                    },
                    "visibility": {
                        "enum": [
                            "team",
                            "private"
                        ],
                        "type": "string",
                        "description": "* `team` - team\n* `private` - private",
                        "x-spec-enum-id": "a20a769f55622f9c",
                        "readOnly": true
                    },
                    "recipients": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/OutputRecipientsContract"
                            }
                        ],
                        "readOnly": true
                    }
                },
                "required": [
                    "constraint",
                    "recipients",
                    "version",
                    "visibility"
                ]
            },
            "PaginatedExternalGenerationRunList": {
                "type": "object",
                "required": [
                    "count",
                    "results"
                ],
                "properties": {
                    "count": {
                        "type": "integer",
                        "example": 123
                    },
                    "next": {
                        "type": "string",
                        "nullable": true,
                        "format": "uri",
                        "example": "http://api.example.org/accounts/?page=4"
                    },
                    "previous": {
                        "type": "string",
                        "nullable": true,
                        "format": "uri",
                        "example": "http://api.example.org/accounts/?page=2"
                    },
                    "results": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ExternalGenerationRun"
                        }
                    }
                }
            },
            "PaginatedTeamUsageDetailedRowList": {
                "type": "object",
                "required": [
                    "count",
                    "results"
                ],
                "properties": {
                    "count": {
                        "type": "integer",
                        "example": 123
                    },
                    "next": {
                        "type": "string",
                        "nullable": true,
                        "format": "uri",
                        "example": "http://api.example.org/accounts/?page=4"
                    },
                    "previous": {
                        "type": "string",
                        "nullable": true,
                        "format": "uri",
                        "example": "http://api.example.org/accounts/?page=2"
                    },
                    "results": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/TeamUsageDetailedRow"
                        }
                    }
                }
            },
            "ProjectOriginalFile": {
                "type": "object",
                "properties": {
                    "file_id": {
                        "type": "string"
                    },
                    "kind": {
                        "enum": [
                            "image",
                            "video",
                            "audio"
                        ],
                        "type": "string",
                        "description": "* `image` - image\n* `video` - video\n* `audio` - audio",
                        "x-spec-enum-id": "ade4bbeebe5f319d"
                    },
                    "file_url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "uses": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ProjectOriginalUse"
                        }
                    }
                },
                "required": [
                    "file_id",
                    "file_url",
                    "kind",
                    "uses"
                ]
            },
            "ProjectOriginalUse": {
                "type": "object",
                "properties": {
                    "selected": {
                        "type": "boolean"
                    },
                    "role": {
                        "type": "string"
                    },
                    "path": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "version": {
                        "type": "integer"
                    },
                    "asset_request_id": {
                        "type": "integer"
                    }
                },
                "required": [
                    "path",
                    "role"
                ]
            },
            "ProjectOriginalsPage": {
                "type": "object",
                "properties": {
                    "project_id": {
                        "type": "string"
                    },
                    "document_version": {
                        "type": "integer"
                    },
                    "revision": {
                        "type": "string"
                    },
                    "total_files": {
                        "type": "integer"
                    },
                    "files": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ProjectOriginalFile"
                        }
                    },
                    "next_offset": {
                        "type": "integer",
                        "nullable": true
                    }
                },
                "required": [
                    "document_version",
                    "files",
                    "next_offset",
                    "project_id",
                    "revision",
                    "total_files"
                ]
            },
            "StudioApproveStoryboard": {
                "type": "object",
                "description": "Reject unknown keys instead of DRF's default silent omission.",
                "properties": {
                    "idempotency_key": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "estimate_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "snapshot_version": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "video_tool_id": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "generate_videos": {
                        "type": "boolean",
                        "default": true
                    },
                    "generate_music": {
                        "type": "boolean",
                        "default": false
                    },
                    "generate_narration": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "estimate_id",
                    "idempotency_key",
                    "snapshot_version",
                    "video_tool_id"
                ]
            },
            "StudioAudioReadiness": {
                "type": "object",
                "properties": {
                    "music": {
                        "enum": [
                            "not_required",
                            "ready",
                            "pending",
                            "failed"
                        ],
                        "type": "string",
                        "description": "* `not_required` - not_required\n* `ready` - ready\n* `pending` - pending\n* `failed` - failed",
                        "x-spec-enum-id": "21a8e24e5acf25cb"
                    },
                    "narration": {
                        "enum": [
                            "not_required",
                            "ready",
                            "pending",
                            "failed"
                        ],
                        "type": "string",
                        "description": "* `not_required` - not_required\n* `ready` - ready\n* `pending` - pending\n* `failed` - failed",
                        "x-spec-enum-id": "21a8e24e5acf25cb"
                    }
                },
                "required": [
                    "music",
                    "narration"
                ]
            },
            "StudioBasicImages": {
                "type": "object",
                "description": "Reject unknown keys instead of DRF's default silent omission.",
                "properties": {
                    "idempotency_key": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "decision": {
                        "enum": [
                            "generate",
                            "skip"
                        ],
                        "type": "string",
                        "description": "* `generate` - generate\n* `skip` - skip",
                        "x-spec-enum-id": "17555a6bde90d36c"
                    },
                    "snapshot_version": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "estimate_id": {
                        "type": "string",
                        "format": "uuid"
                    }
                },
                "required": [
                    "decision",
                    "idempotency_key",
                    "snapshot_version"
                ]
            },
            "StudioDraftDuration": {
                "type": "object",
                "description": "Reject unknown keys instead of DRF's default silent omission.",
                "properties": {
                    "expected_updated_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "duration_seconds": {
                        "type": "integer",
                        "maximum": 30240,
                        "minimum": 1
                    }
                },
                "required": [
                    "duration_seconds",
                    "expected_updated_at"
                ]
            },
            "StudioDraftDurationReceipt": {
                "type": "object",
                "properties": {
                    "project_id": {
                        "type": "string"
                    },
                    "target_duration_seconds": {
                        "type": "integer"
                    },
                    "updated_at": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "project_id",
                    "target_duration_seconds",
                    "updated_at"
                ]
            },
            "StudioFailedItem": {
                "type": "object",
                "properties": {
                    "step_key": {
                        "type": "string"
                    },
                    "error_code": {
                        "type": "string"
                    },
                    "item_type": {
                        "type": "string"
                    },
                    "item_id": {
                        "type": "string"
                    },
                    "retryable": {
                        "type": "boolean"
                    }
                }
            },
            "StudioFirstProjectCompletion": {
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean"
                    },
                    "started": {
                        "type": "boolean"
                    },
                    "video_tool_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "video_model": {
                        "type": "string"
                    },
                    "max_video_count": {
                        "type": "integer"
                    },
                    "video_duration_seconds": {
                        "type": "integer"
                    },
                    "max_duration_seconds": {
                        "type": "integer"
                    },
                    "includes_music": {
                        "type": "boolean"
                    },
                    "includes_narration": {
                        "type": "boolean"
                    },
                    "handoff_status": {
                        "enum": [
                            "scheduled",
                            "started",
                            "review_required",
                            null
                        ],
                        "type": "string",
                        "description": "* `scheduled` - scheduled\n* `started` - started\n* `review_required` - review_required",
                        "x-spec-enum-id": "6cfb00044584bf09",
                        "nullable": true
                    }
                },
                "required": [
                    "active",
                    "handoff_status",
                    "includes_music",
                    "includes_narration",
                    "max_duration_seconds",
                    "max_video_count",
                    "started",
                    "video_duration_seconds",
                    "video_model",
                    "video_tool_id"
                ]
            },
            "StudioImageDecision": {
                "type": "object",
                "properties": {
                    "decision": {
                        "type": "string"
                    },
                    "missing_count": {
                        "type": "integer"
                    },
                    "sources_status": {
                        "type": "string"
                    },
                    "sources_ready": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "decision",
                    "missing_count",
                    "sources_ready",
                    "sources_status"
                ]
            },
            "StudioModelChoice": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "api_tool_id": {
                        "type": "string"
                    },
                    "tool_name": {
                        "type": "string"
                    },
                    "provider_name": {
                        "type": "string"
                    }
                },
                "required": [
                    "api_tool_id",
                    "id",
                    "provider_name",
                    "tool_name"
                ]
            },
            "StudioOperation": {
                "type": "object",
                "description": "Reject unknown keys instead of DRF's default silent omission.",
                "properties": {
                    "idempotency_key": {
                        "type": "string",
                        "format": "uuid"
                    }
                },
                "required": [
                    "idempotency_key"
                ]
            },
            "StudioOriginal": {
                "type": "object",
                "properties": {
                    "element_id": {
                        "type": "string"
                    },
                    "kind": {
                        "enum": [
                            "image",
                            "video",
                            "audio"
                        ],
                        "type": "string",
                        "description": "* `image` - image\n* `video` - video\n* `audio` - audio",
                        "x-spec-enum-id": "ade4bbeebe5f319d"
                    },
                    "file_url": {
                        "type": "string",
                        "format": "uri"
                    }
                },
                "required": [
                    "element_id",
                    "file_url",
                    "kind"
                ]
            },
            "StudioOriginals": {
                "type": "object",
                "properties": {
                    "export_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "document_version": {
                        "type": "integer"
                    },
                    "files": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StudioOriginal"
                        }
                    }
                },
                "required": [
                    "document_version",
                    "export_id",
                    "files"
                ]
            },
            "StudioPreparationReceipt": {
                "type": "object",
                "properties": {
                    "project_id": {
                        "type": "string"
                    },
                    "web_url": {
                        "type": "string",
                        "format": "uri",
                        "nullable": true,
                        "description": "Open the project in its Tacu workspace when it has a public ID."
                    },
                    "title": {
                        "type": "string"
                    },
                    "phase": {
                        "type": "string",
                        "nullable": true
                    },
                    "status": {
                        "type": "string"
                    },
                    "snapshot_version": {
                        "type": "integer",
                        "nullable": true
                    },
                    "input_state": {
                        "type": "string"
                    },
                    "preparation_id": {
                        "type": "string",
                        "format": "uuid"
                    }
                },
                "required": [
                    "input_state",
                    "phase",
                    "preparation_id",
                    "project_id",
                    "snapshot_version",
                    "status",
                    "title",
                    "web_url"
                ]
            },
            "StudioProjectCreate": {
                "type": "object",
                "description": "Reject unknown keys instead of DRF's default silent omission.",
                "properties": {
                    "idempotency_key": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "guide_version_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "guide_digest": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{64}$"
                    },
                    "title": {
                        "type": "string",
                        "maxLength": 255
                    },
                    "story": {
                        "type": "string",
                        "maxLength": 200000,
                        "minLength": 1
                    },
                    "duration_seconds": {
                        "type": "integer",
                        "maximum": 30240,
                        "minimum": 1
                    },
                    "language": {
                        "enum": [
                            "en",
                            "ko",
                            "ja",
                            "zh-CN",
                            "zh-TW",
                            "es",
                            "fr",
                            "th",
                            "id",
                            "vi",
                            "ms",
                            "other"
                        ],
                        "type": "string",
                        "description": "* `en` - English\n* `ko` - 한국어\n* `ja` - 日本語\n* `zh-CN` - Chinese (Simplified)\n* `zh-TW` - Chinese (Traditional)\n* `es` - Español\n* `fr` - Français\n* `th` - ไทย\n* `id` - Bahasa Indonesia\n* `vi` - Tiếng Việt\n* `ms` - Bahasa Melayu\n* `other` - Other",
                        "x-spec-enum-id": "1ff7f8fc0d7e2dd0"
                    },
                    "frame_size": {
                        "enum": [
                            "1280x720",
                            "720x1280",
                            "1920x1080",
                            "1080x1920"
                        ],
                        "type": "string",
                        "description": "* `1280x720` - 1280x720 (16:9)\n* `720x1280` - 720x1280 (9:16)\n* `1920x1080` - 1920x1080 (16:9)\n* `1080x1920` - 1080x1920 (9:16)",
                        "x-spec-enum-id": "7a27b357cd1b617e"
                    },
                    "scenario_llm_model": {
                        "enum": [
                            "openai/gpt-6-astra",
                            "gemini/gemini-4-argon"
                        ],
                        "type": "string",
                        "description": "* `openai/gpt-6-astra` - openai/gpt-6-astra\n* `gemini/gemini-4-argon` - gemini/gemini-4-argon",
                        "x-spec-enum-id": "e19ea41856227ef1"
                    },
                    "prompt_llm_model": {
                        "enum": [
                            "openai/gpt-6.1-sol",
                            "gemini/gemini-4-argon"
                        ],
                        "type": "string",
                        "description": "* `openai/gpt-6.1-sol` - openai/gpt-6.1-sol\n* `gemini/gemini-4-argon` - gemini/gemini-4-argon",
                        "x-spec-enum-id": "54bbd97fac88da74"
                    },
                    "image_model": {
                        "type": "string",
                        "maxLength": 255
                    }
                },
                "required": [
                    "duration_seconds",
                    "guide_digest",
                    "guide_version_id",
                    "idempotency_key",
                    "story",
                    "title"
                ]
            },
            "StudioProjectEstimate": {
                "type": "object",
                "description": "Reject unknown keys instead of DRF's default silent omission.",
                "properties": {
                    "stage": {
                        "enum": [
                            "onboarding_to_preproduction",
                            "preproduction_basic_images",
                            "preproduction_to_scenario",
                            "editor_setup_due_now"
                        ],
                        "type": "string",
                        "description": "* `onboarding_to_preproduction` - onboarding_to_preproduction\n* `preproduction_basic_images` - preproduction_basic_images\n* `preproduction_to_scenario` - preproduction_to_scenario\n* `editor_setup_due_now` - editor_setup_due_now",
                        "x-spec-enum-id": "6321e789af65d59c"
                    },
                    "preparation_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "snapshot_version": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "video_tool_id": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "generate_videos": {
                        "type": "boolean"
                    },
                    "generate_music": {
                        "type": "boolean"
                    },
                    "generate_narration": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "stage"
                ]
            },
            "StudioProjectList": {
                "type": "object",
                "properties": {
                    "projects": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StudioProjectListItem"
                        }
                    },
                    "next_offset": {
                        "type": "integer",
                        "nullable": true
                    }
                },
                "required": [
                    "next_offset",
                    "projects"
                ]
            },
            "StudioProjectListItem": {
                "type": "object",
                "properties": {
                    "project_id": {
                        "type": "string",
                        "nullable": true
                    },
                    "web_url": {
                        "type": "string",
                        "format": "uri",
                        "nullable": true,
                        "description": "Open the project in its Tacu workspace when it has a public ID."
                    },
                    "title": {
                        "type": "string"
                    },
                    "phase": {
                        "type": "string",
                        "nullable": true
                    },
                    "status": {
                        "type": "string"
                    },
                    "snapshot_version": {
                        "type": "integer",
                        "nullable": true
                    }
                },
                "required": [
                    "phase",
                    "project_id",
                    "snapshot_version",
                    "status",
                    "title",
                    "web_url"
                ]
            },
            "StudioProjectOptions": {
                "type": "object",
                "properties": {
                    "guide_version_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "guide_digest": {
                        "type": "string"
                    },
                    "languages": {
                        "type": "array",
                        "items": {
                            "enum": [
                                "en",
                                "ko",
                                "ja",
                                "zh-CN",
                                "zh-TW",
                                "es",
                                "fr",
                                "th",
                                "id",
                                "vi",
                                "ms",
                                "other"
                            ],
                            "type": "string",
                            "description": "* `en` - English\n* `ko` - 한국어\n* `ja` - 日本語\n* `zh-CN` - Chinese (Simplified)\n* `zh-TW` - Chinese (Traditional)\n* `es` - Español\n* `fr` - Français\n* `th` - ไทย\n* `id` - Bahasa Indonesia\n* `vi` - Tiếng Việt\n* `ms` - Bahasa Melayu\n* `other` - Other",
                            "x-spec-enum-id": "1ff7f8fc0d7e2dd0"
                        }
                    },
                    "frame_sizes": {
                        "type": "array",
                        "items": {
                            "enum": [
                                "1280x720",
                                "720x1280",
                                "1920x1080",
                                "1080x1920"
                            ],
                            "type": "string",
                            "description": "* `1280x720` - 1280x720 (16:9)\n* `720x1280` - 720x1280 (9:16)\n* `1920x1080` - 1920x1080 (16:9)\n* `1080x1920` - 1080x1920 (9:16)",
                            "x-spec-enum-id": "7a27b357cd1b617e"
                        }
                    },
                    "scenario_llm_models": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "prompt_llm_models": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "image_models": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StudioModelChoice"
                        }
                    },
                    "video_models": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StudioModelChoice"
                        }
                    }
                },
                "required": [
                    "frame_sizes",
                    "guide_digest",
                    "guide_version_id",
                    "image_models",
                    "languages",
                    "prompt_llm_models",
                    "scenario_llm_models"
                ]
            },
            "StudioProjectReceipt": {
                "type": "object",
                "properties": {
                    "project_id": {
                        "type": "string"
                    },
                    "web_url": {
                        "type": "string",
                        "format": "uri",
                        "nullable": true,
                        "description": "Open the project in its Tacu workspace when it has a public ID."
                    },
                    "title": {
                        "type": "string"
                    },
                    "phase": {
                        "type": "string",
                        "nullable": true
                    },
                    "status": {
                        "type": "string"
                    },
                    "snapshot_version": {
                        "type": "integer",
                        "nullable": true
                    },
                    "idempotent_replay": {
                        "type": "boolean"
                    },
                    "input_state": {
                        "type": "string"
                    },
                    "preparation_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "request_id": {
                        "type": "integer"
                    }
                },
                "required": [
                    "phase",
                    "project_id",
                    "snapshot_version",
                    "status",
                    "title",
                    "web_url"
                ]
            },
            "StudioProjectStart": {
                "type": "object",
                "description": "Reject unknown keys instead of DRF's default silent omission.",
                "properties": {
                    "idempotency_key": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "estimate_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "preparation_id": {
                        "type": "string",
                        "format": "uuid"
                    }
                },
                "required": [
                    "estimate_id",
                    "idempotency_key"
                ]
            },
            "StudioProjectState": {
                "type": "object",
                "properties": {
                    "project_id": {
                        "type": "string"
                    },
                    "web_url": {
                        "type": "string",
                        "format": "uri",
                        "nullable": true,
                        "description": "Open the project in its Tacu workspace when it has a public ID."
                    },
                    "title": {
                        "type": "string"
                    },
                    "phase": {
                        "type": "string",
                        "nullable": true
                    },
                    "status": {
                        "type": "string"
                    },
                    "snapshot_version": {
                        "type": "integer",
                        "nullable": true
                    },
                    "storyboard_video_tool_id": {
                        "type": "integer",
                        "nullable": true,
                        "description": "Video model used to plan the storyboard, when identifiable."
                    },
                    "target_duration_seconds": {
                        "type": "integer",
                        "nullable": true
                    },
                    "updated_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "steps": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StudioStageProgress"
                        }
                    },
                    "document_version": {
                        "type": "integer",
                        "nullable": true
                    },
                    "audio_readiness": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/StudioAudioReadiness"
                            }
                        ],
                        "nullable": true
                    },
                    "first_project_completion": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/StudioFirstProjectCompletion"
                            }
                        ],
                        "nullable": true
                    },
                    "editor_error_code": {
                        "type": "string",
                        "nullable": true
                    },
                    "cuts": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StudioTimelineCut"
                        }
                    },
                    "failed_items": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StudioFailedItem"
                        }
                    },
                    "current_step": {
                        "type": "string",
                        "nullable": true
                    },
                    "error_code": {
                        "type": "string",
                        "nullable": true
                    },
                    "basic_images": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/StudioImageDecision"
                            }
                        ],
                        "nullable": true
                    },
                    "can_generate_storyboard": {
                        "type": "boolean"
                    },
                    "can_approve_storyboard": {
                        "type": "boolean"
                    },
                    "editor_available": {
                        "type": "boolean"
                    },
                    "scenes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StudioStoryboardScene"
                        }
                    }
                },
                "required": [
                    "audio_readiness",
                    "basic_images",
                    "can_approve_storyboard",
                    "can_generate_storyboard",
                    "current_step",
                    "cuts",
                    "document_version",
                    "editor_available",
                    "editor_error_code",
                    "error_code",
                    "failed_items",
                    "first_project_completion",
                    "phase",
                    "project_id",
                    "scenes",
                    "snapshot_version",
                    "status",
                    "steps",
                    "storyboard_video_tool_id",
                    "target_duration_seconds",
                    "title",
                    "updated_at",
                    "web_url"
                ]
            },
            "StudioQuoteError": {
                "type": "object",
                "properties": {
                    "code": {
                        "type": "string"
                    },
                    "detail": {
                        "type": "string"
                    },
                    "retryable": {
                        "type": "boolean",
                        "description": "Retry an unchanged quote only when true."
                    },
                    "reason": {
                        "type": "string"
                    },
                    "input_mode": {
                        "enum": [
                            "text",
                            "frame",
                            "reference"
                        ],
                        "type": "string",
                        "description": "* `text` - text\n* `frame` - frame\n* `reference` - reference",
                        "x-spec-enum-id": "239e02452b5195cb"
                    }
                },
                "required": [
                    "code",
                    "detail"
                ]
            },
            "StudioRenderConflict": {
                "type": "object",
                "properties": {
                    "code": {
                        "type": "string"
                    },
                    "audio_readiness": {
                        "$ref": "#/components/schemas/StudioAudioReadiness"
                    }
                },
                "required": [
                    "code"
                ]
            },
            "StudioRenderInput": {
                "type": "object",
                "description": "공개하지 않은 필드를 무시하지 않고 거절한다.",
                "properties": {
                    "request_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "expected_document_version": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "output_resolution": {
                        "enum": [
                            "480p",
                            "720p",
                            "1080p"
                        ],
                        "type": "string",
                        "description": "* `480p` - 480p\n* `720p` - 720p\n* `1080p` - 1080p",
                        "x-spec-enum-id": "2bd62d3d03a4fd5f"
                    }
                },
                "required": [
                    "expected_document_version",
                    "request_id"
                ]
            },
            "StudioRenderReceipt": {
                "type": "object",
                "properties": {
                    "export_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "request_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "status": {
                        "type": "string"
                    },
                    "document_version": {
                        "type": "integer"
                    },
                    "output_resolution": {
                        "type": "string",
                        "nullable": true
                    },
                    "output_width": {
                        "type": "integer",
                        "nullable": true
                    },
                    "output_height": {
                        "type": "integer",
                        "nullable": true
                    },
                    "recovery_required": {
                        "type": "boolean"
                    },
                    "expires_at": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true
                    },
                    "file_url": {
                        "type": "string",
                        "format": "uri",
                        "nullable": true
                    },
                    "name": {
                        "type": "string",
                        "nullable": true,
                        "description": "Suggested MP4 filename when available."
                    },
                    "mime_type": {
                        "type": "string",
                        "nullable": true
                    }
                },
                "required": [
                    "document_version",
                    "expires_at",
                    "export_id",
                    "file_url",
                    "mime_type",
                    "name",
                    "output_height",
                    "output_resolution",
                    "output_width",
                    "recovery_required",
                    "request_id",
                    "status"
                ]
            },
            "StudioScriptBlock": {
                "type": "object",
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "character_name": {
                        "type": "string"
                    },
                    "speaker": {
                        "type": "string"
                    },
                    "text": {
                        "type": "string"
                    },
                    "line": {
                        "type": "string"
                    }
                }
            },
            "StudioStageProgress": {
                "type": "object",
                "properties": {
                    "key": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string"
                    },
                    "completed_count": {
                        "type": "integer"
                    },
                    "failed_count": {
                        "type": "integer"
                    },
                    "total_count": {
                        "type": "integer"
                    }
                },
                "required": [
                    "completed_count",
                    "failed_count",
                    "key",
                    "status",
                    "total_count"
                ]
            },
            "StudioStageRefusal": {
                "type": "object",
                "properties": {
                    "code": {
                        "type": "string"
                    },
                    "detail": {
                        "type": "string"
                    },
                    "minimum_seconds": {
                        "type": "integer"
                    }
                },
                "required": [
                    "code",
                    "detail"
                ]
            },
            "StudioStoryboard": {
                "type": "object",
                "description": "Reject unknown keys instead of DRF's default silent omission.",
                "properties": {
                    "idempotency_key": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "estimate_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "snapshot_version": {
                        "type": "integer",
                        "minimum": 1
                    },
                    "video_tool_id": {
                        "type": "integer",
                        "minimum": 1
                    }
                },
                "required": [
                    "estimate_id",
                    "idempotency_key",
                    "snapshot_version",
                    "video_tool_id"
                ]
            },
            "StudioStoryboardCut": {
                "type": "object",
                "properties": {
                    "cut_id": {
                        "type": "string"
                    },
                    "cut_number": {
                        "type": "integer"
                    },
                    "description": {
                        "type": "string"
                    },
                    "duration_seconds": {
                        "type": "number",
                        "format": "double"
                    },
                    "camera_angle": {
                        "type": "string"
                    },
                    "dialogues": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StudioScriptBlock"
                        }
                    }
                }
            },
            "StudioStoryboardScene": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "summary": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "scene_number": {
                        "type": "integer"
                    },
                    "duration_seconds": {
                        "type": "number",
                        "format": "double"
                    },
                    "script_blocks": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StudioScriptBlock"
                        }
                    },
                    "cuts": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/StudioStoryboardCut"
                        }
                    }
                }
            },
            "StudioTimelineCut": {
                "type": "object",
                "properties": {
                    "cut_id": {
                        "type": "string"
                    },
                    "scene_id": {
                        "type": "string",
                        "nullable": true
                    },
                    "scene_number": {
                        "type": "integer",
                        "nullable": true
                    },
                    "cut_number": {
                        "type": "integer",
                        "nullable": true
                    },
                    "has_video_element": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "cut_id",
                    "cut_number",
                    "has_video_element",
                    "scene_id",
                    "scene_number"
                ]
            },
            "StudioWorkflowQuote": {
                "type": "object",
                "properties": {
                    "preparation_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "project_id": {
                        "type": "string"
                    },
                    "stage": {
                        "type": "string"
                    },
                    "estimate_id": {
                        "type": "string",
                        "format": "uuid"
                    },
                    "expires_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "estimated_credit": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "due_now_credits": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "projected_total_credits": {
                        "type": "integer",
                        "nullable": true
                    },
                    "deferred_credits": {
                        "type": "integer",
                        "nullable": true
                    },
                    "deferred_status": {
                        "type": "string"
                    },
                    "first_project_free": {
                        "type": "boolean"
                    },
                    "target_duration_seconds": {
                        "type": "integer",
                        "nullable": true
                    },
                    "image_count": {
                        "type": "integer"
                    },
                    "free_image_limit_exceeded": {
                        "type": "boolean"
                    },
                    "video_tool_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "generate_videos": {
                        "type": "boolean"
                    },
                    "generate_music": {
                        "type": "boolean"
                    },
                    "generate_narration": {
                        "type": "boolean",
                        "nullable": true
                    }
                },
                "required": [
                    "estimate_id",
                    "estimated_credit",
                    "expires_at",
                    "project_id",
                    "stage"
                ]
            },
            "TeamUsageDetailedRow": {
                "type": "object",
                "properties": {
                    "generation": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/UsageStoredGeneration"
                            }
                        ],
                        "nullable": true
                    },
                    "id": {
                        "type": "integer"
                    },
                    "occurred_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "user_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "username": {
                        "type": "string",
                        "nullable": true
                    },
                    "account_status": {
                        "type": "string",
                        "description": "계정 상태. 계정 탈퇴면 withdrawn, 사람 없는 비용이면 system"
                    },
                    "team_status": {
                        "enum": [
                            "member",
                            "left",
                            null
                        ],
                        "type": "string",
                        "x-spec-enum-id": "0e876b25f146f971",
                        "nullable": true,
                        "description": "이 팀 소속. 팀 탈퇴(계정 유지)·추방이면 left\n\n* `member` - member\n* `left` - left"
                    },
                    "project_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "project_name": {
                        "type": "string",
                        "nullable": true
                    },
                    "project_status": {
                        "type": "string",
                        "nullable": true
                    },
                    "model": {
                        "type": "string",
                        "nullable": true
                    },
                    "tool_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "provider": {
                        "type": "string",
                        "nullable": true
                    },
                    "kind": {
                        "type": "string"
                    },
                    "status": {
                        "enum": [
                            "charged",
                            "refunded"
                        ],
                        "type": "string",
                        "description": "* `charged` - charged\n* `refunded` - refunded",
                        "x-spec-enum-id": "0047aed2ac5429b5"
                    },
                    "refund_of": {
                        "type": "integer",
                        "nullable": true
                    },
                    "credits": {
                        "type": "number",
                        "format": "double",
                        "maximum": 100000000000,
                        "minimum": -100000000000,
                        "exclusiveMaximum": true,
                        "exclusiveMinimum": true
                    },
                    "request_type": {
                        "type": "string",
                        "nullable": true
                    },
                    "request_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "display_name": {
                        "type": "string",
                        "description": "고객용 모델 표시명. 집계 model 축 그룹 이름과 같다"
                    },
                    "usd": {
                        "type": "number",
                        "format": "double",
                        "maximum": 10000000000000,
                        "minimum": -10000000000000,
                        "exclusiveMaximum": true,
                        "exclusiveMinimum": true,
                        "description": "줄의 USD 를 센트로 반올림한 값(반 센트는 올림). 무료 크레딧만 쓴 줄은 0"
                    },
                    "project_public_id": {
                        "type": "string",
                        "nullable": true
                    },
                    "usd_incomplete": {
                        "type": "boolean",
                        "description": "USD 금액이 비어 있는 크레딧 원장 행인지 여부. true이면 usd는 확정 금액이 아닙니다."
                    },
                    "project_attribution": {
                        "enum": [
                            "assigned",
                            "unassigned",
                            "unavailable"
                        ],
                        "type": "string",
                        "x-spec-enum-id": "c3a9cf38e48b0de6",
                        "description": "production 범위에서만 포함하는 프로젝트 귀속\n\n* `assigned` - assigned\n* `unassigned` - unassigned\n* `unavailable` - unavailable"
                    }
                },
                "required": [
                    "account_status",
                    "credits",
                    "display_name",
                    "id",
                    "kind",
                    "model",
                    "occurred_at",
                    "project_id",
                    "project_name",
                    "project_public_id",
                    "project_status",
                    "provider",
                    "refund_of",
                    "request_id",
                    "request_type",
                    "status",
                    "team_status",
                    "tool_id",
                    "usd",
                    "usd_incomplete",
                    "user_id",
                    "username"
                ]
            },
            "TeamUsageGroup": {
                "type": "object",
                "properties": {
                    "project_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "project_name": {
                        "type": "string",
                        "nullable": true
                    },
                    "project_public_id": {
                        "type": "string",
                        "nullable": true
                    },
                    "project_attribution": {
                        "enum": [
                            "assigned",
                            "unassigned",
                            "unavailable"
                        ],
                        "type": "string",
                        "x-spec-enum-id": "c3a9cf38e48b0de6",
                        "description": "production 범위의 프로젝트 귀속. unavailable은 타팀 연결 등으로 표시할 수 없는 프로젝트\n\n* `assigned` - assigned\n* `unassigned` - unassigned\n* `unavailable` - unavailable"
                    },
                    "user_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "username": {
                        "type": "string",
                        "nullable": true
                    },
                    "display_name": {
                        "type": "string",
                        "description": "model 축의 고객용 제품명. 같은 이름은 합산하며, 미지정은 Other."
                    },
                    "model": {
                        "type": "string",
                        "nullable": true,
                        "description": "내부 확인용 대표 모델명(MIN). 합쳐진 그룹의 모든 모델을 뜻하지 않음."
                    },
                    "day": {
                        "type": "string",
                        "format": "date",
                        "description": "day 축의 한국 날짜(YYYY-MM-DD)"
                    },
                    "tool_ids": {
                        "type": "array",
                        "items": {
                            "type": "integer"
                        }
                    },
                    "providers": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "credits": {
                        "type": "number",
                        "format": "double",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "exclusiveMaximum": true,
                        "exclusiveMinimum": true
                    },
                    "request_count": {
                        "type": "integer"
                    },
                    "user_count": {
                        "type": "integer"
                    },
                    "usd": {
                        "type": "number",
                        "format": "double",
                        "maximum": 100000000000000000,
                        "minimum": -100000000000000000,
                        "exclusiveMaximum": true,
                        "exclusiveMinimum": true,
                        "description": "금액이 확인된 원장 행의 USD를 센트로 반올림한 합"
                    },
                    "usd_incomplete": {
                        "type": "boolean",
                        "description": "집계에 USD 금액이 비어 있는 크레딧 원장 행이 포함됐는지 여부"
                    }
                },
                "required": [
                    "credits",
                    "request_count",
                    "usd",
                    "usd_incomplete",
                    "user_count"
                ]
            },
            "TeamUsageRow": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "occurred_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "user_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "username": {
                        "type": "string",
                        "nullable": true
                    },
                    "account_status": {
                        "type": "string",
                        "description": "계정 상태. 계정 탈퇴면 withdrawn, 사람 없는 비용이면 system"
                    },
                    "team_status": {
                        "enum": [
                            "member",
                            "left",
                            null
                        ],
                        "type": "string",
                        "x-spec-enum-id": "0e876b25f146f971",
                        "nullable": true,
                        "description": "이 팀 소속. 팀 탈퇴(계정 유지)·추방이면 left\n\n* `member` - member\n* `left` - left"
                    },
                    "project_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "project_name": {
                        "type": "string",
                        "nullable": true
                    },
                    "project_status": {
                        "type": "string",
                        "nullable": true
                    },
                    "model": {
                        "type": "string",
                        "nullable": true
                    },
                    "tool_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "provider": {
                        "type": "string",
                        "nullable": true
                    },
                    "kind": {
                        "type": "string"
                    },
                    "status": {
                        "enum": [
                            "charged",
                            "refunded"
                        ],
                        "type": "string",
                        "description": "* `charged` - charged\n* `refunded` - refunded",
                        "x-spec-enum-id": "0047aed2ac5429b5"
                    },
                    "refund_of": {
                        "type": "integer",
                        "nullable": true
                    },
                    "credits": {
                        "type": "number",
                        "format": "double",
                        "maximum": 100000000000,
                        "minimum": -100000000000,
                        "exclusiveMaximum": true,
                        "exclusiveMinimum": true
                    },
                    "request_type": {
                        "type": "string",
                        "nullable": true
                    },
                    "request_id": {
                        "type": "integer",
                        "nullable": true
                    },
                    "display_name": {
                        "type": "string",
                        "description": "고객용 모델 표시명. 집계 model 축 그룹 이름과 같다"
                    },
                    "usd": {
                        "type": "number",
                        "format": "double",
                        "maximum": 10000000000000,
                        "minimum": -10000000000000,
                        "exclusiveMaximum": true,
                        "exclusiveMinimum": true,
                        "description": "줄의 USD 를 센트로 반올림한 값(반 센트는 올림). 무료 크레딧만 쓴 줄은 0"
                    },
                    "project_public_id": {
                        "type": "string",
                        "nullable": true
                    },
                    "usd_incomplete": {
                        "type": "boolean",
                        "description": "USD 금액이 비어 있는 크레딧 원장 행인지 여부. true이면 usd는 확정 금액이 아닙니다."
                    }
                },
                "required": [
                    "account_status",
                    "credits",
                    "display_name",
                    "id",
                    "kind",
                    "model",
                    "occurred_at",
                    "project_id",
                    "project_name",
                    "project_public_id",
                    "project_status",
                    "provider",
                    "refund_of",
                    "request_id",
                    "request_type",
                    "status",
                    "team_status",
                    "tool_id",
                    "usd",
                    "usd_incomplete",
                    "user_id",
                    "username"
                ]
            },
            "TeamUsageSummary": {
                "type": "object",
                "properties": {
                    "group_by": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "totals": {
                        "$ref": "#/components/schemas/TeamUsageTotals"
                    },
                    "groups": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/TeamUsageGroup"
                        }
                    }
                },
                "required": [
                    "group_by",
                    "groups",
                    "totals"
                ]
            },
            "TeamUsageTotals": {
                "type": "object",
                "properties": {
                    "credits": {
                        "type": "number",
                        "format": "double",
                        "maximum": 1000000000000000,
                        "minimum": -1000000000000000,
                        "exclusiveMaximum": true,
                        "exclusiveMinimum": true
                    },
                    "request_count": {
                        "type": "integer"
                    },
                    "user_count": {
                        "type": "integer"
                    },
                    "usd": {
                        "type": "number",
                        "format": "double",
                        "maximum": 100000000000000000,
                        "minimum": -100000000000000000,
                        "exclusiveMaximum": true,
                        "exclusiveMinimum": true,
                        "description": "금액이 확인된 원장 행의 USD를 센트로 반올림한 합"
                    },
                    "usd_incomplete": {
                        "type": "boolean",
                        "description": "집계에 USD 금액이 비어 있는 크레딧 원장 행이 포함됐는지 여부"
                    }
                },
                "required": [
                    "credits",
                    "request_count",
                    "usd",
                    "usd_incomplete",
                    "user_count"
                ]
            },
            "UsageStoredBenefit": {
                "type": "object",
                "properties": {
                    "type": {
                        "enum": [
                            "subscriber_unlimited"
                        ],
                        "type": "string",
                        "description": "* `subscriber_unlimited` - subscriber_unlimited",
                        "x-spec-enum-id": "b62230aad878afef"
                    }
                },
                "required": [
                    "type"
                ]
            },
            "UsageStoredGeneration": {
                "type": "object",
                "properties": {
                    "status": {
                        "type": "string",
                        "nullable": true
                    },
                    "completed_at": {
                        "type": "string",
                        "format": "date-time",
                        "nullable": true
                    },
                    "parameters": {
                        "type": "object",
                        "additionalProperties": {
                            "nullable": true
                        }
                    },
                    "pricing": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/UsageStoredPricing"
                            }
                        ],
                        "nullable": true
                    },
                    "benefit": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/UsageStoredBenefit"
                            }
                        ],
                        "nullable": true
                    }
                },
                "required": [
                    "benefit",
                    "completed_at",
                    "parameters",
                    "pricing",
                    "status"
                ]
            },
            "UsageStoredPricing": {
                "type": "object",
                "properties": {
                    "basis": {
                        "enum": [
                            "generation_request"
                        ],
                        "type": "string",
                        "description": "* `generation_request` - generation_request",
                        "x-spec-enum-id": "338b3206f41323c8"
                    },
                    "request_count": {
                        "type": "integer"
                    },
                    "unit": {
                        "$ref": "#/components/schemas/UsageStoredUnitPrice"
                    }
                },
                "required": [
                    "basis",
                    "request_count",
                    "unit"
                ]
            },
            "UsageStoredUnitPrice": {
                "type": "object",
                "properties": {
                    "normal_credits": {
                        "type": "integer"
                    },
                    "waived_credits": {
                        "type": "integer"
                    },
                    "charged_credits": {
                        "type": "integer"
                    }
                },
                "required": [
                    "charged_credits",
                    "normal_credits",
                    "waived_credits"
                ]
            }
        },
        "securitySchemes": {
            "TacuBearer": {
                "type": "http",
                "scheme": "bearer",
                "description": "Workspace-bound Tacu API key or OAuth access token for the /v1/public resource. The connection must grant the operation's scope."
            }
        }
    },
    "servers": [
        {
            "url": "https://api.tacu.ai"
        }
    ]
}