Connect your app and list models
If you already use the name tacu, check its URL in your terminal. Run claude mcp get tacu for Claude Code or codex mcp get tacu for Codex. If it matches the MCP URL in workspace settings, skip the add command. If it differs, choose an unused server name and use it in place of tacu when registering and authenticating.
bash
claude mcp add --transport http tacu https://api.tacu.ai/mcpbash
codex mcp add tacu --url https://api.tacu.ai/mcpFor Claude Code, run claude in the same folder. Enter /mcp, select your Tacu server, and choose Authenticate. For Codex, run codex mcp login tacu if adding the server didn’t prompt you to sign in. After you approve in the browser, run codex in the same folder to open a conversation.
Grant model read access (models:read) only. In workspace settings, select Copy prompt and send “Show me the video models available in Tacu.” in your chat. Listing models uses no Tacu credits.
Grant access to workspace usage
Ask “Show me this workspace’s usage.” If the client asks for more permissions, follow the steps for your client below. On the new approval screen, select the workspace you originally connected and check that both models:read and usage:read are listed. If you’re still signed in to Tacu in that browser, you can approve without signing in again.
Claude Code
Enter /mcp, select your Tacu server, and authenticate again. If the browser doesn’t open, follow the approval link in Claude Code. After approving, start a new Claude Code session by running claude in the same project directory. Ask for the models and usage.
Codex CLI
Open a new terminal in the same project directory and run the command below. If you registered the server under a name other than tacu, use that name in the command.
bash
codex mcp login tacu --scopes models:read,usage:readAfter approving in the browser, run the following command in that terminal to start a new Codex session. A session that was already open may still have the previous permissions.
bash
codexIn the new session, ask “Show me the video models and usage for this workspace” to check both.
Use an API key in a script
Name your key and select only model and usage read access. Tacu shows the key once. Store it in your secret store and pass it to your script as TACU_API_KEY. Set TEAM_SLUG to the Team address from the General tab in workspace settings. Both examples are free and use Bash and curl 7.76 or later.
bash
curl --fail-with-body -H "Authorization: Bearer ${TACU_API_KEY}" "https://api.tacu.ai/v1/public/teams/${TEAM_SLUG}/models"bash
curl --fail-with-body -H "Authorization: Bearer ${TACU_API_KEY}" "https://api.tacu.ai/v1/public/teams/${TEAM_SLUG}/usage/summary"Public REST API reference (opens in a new tab)
Review the quote and generate
Use tacu_list_models to find the tool_id, operation_id, supported parameters, and input requirements. To attach a file, PUT it to the URL from tacu_create_upload using the Content-Type you registered and all returned upload_headers. Then call tacu_confirm_upload and use the asset_id in your generation request.
Use models:read to list models, generations:write to get quotes and generate, and generations:read to check results. Add assets:write when uploading files. If you started with a read-only API key, issue a new key with the permissions you need and update TACU_API_KEY. Quotes are free. Submitting a generation starts a paid job.
Call tacu_quote_generation and review the quote. To proceed, send the same request to tacu_create_generation with its estimate_id, contract_revision, and a new idempotency_key. If the submission response is lost, resend the original body and key.
For parallel shots or additional takes, get a separate quote and use a distinct idempotency_key for each submission.
Pass the id from the submission to tacu_get_generation. In the tool result’s content[] array, each item with type resource_link has a uri for downloading a completed file. For multiple outputs, check each output’s status and refund state. If a link expires, retrieve the result again.
To quote one image from text, choose an entry in capabilities that accepts a prompt without a file. Use its tool_id, tool_category_id, and operation_id in the request below. Add any settings required by its parameter_schema to parameters. Save the JSON as request.json, then run the estimate command.
json
{
"operation_id": "image.generate",
"tool_id": 1,
"tool_category_id": 201,
"prompt": "A quiet harbour at dawn",
"parameters": {},
"inputs": [],
"requested_output_count": 1
}bash
curl --fail-with-body -H "Authorization: Bearer ${TACU_API_KEY}" -H "Accept: application/json" -H "Content-Type: application/json" --data-binary @request.json "https://api.tacu.ai/v1/public/teams/${TEAM_SLUG}/generations/estimate"Run the next command only when you accept the cost. Copy request.json to submit.json, then add the estimate_id and contract_revision from the quote and a unique idempotency_key for this job.
bash
curl --fail-with-body -H "Authorization: Bearer ${TACU_API_KEY}" -H "Accept: application/json" -H "Content-Type: application/json" --data-binary @submit.json "https://api.tacu.ai/v1/public/teams/${TEAM_SLUG}/generations"Set GENERATION_ID to the id from the submission response and check its status. Download completed files from outputs[].asset.file_url. Keep your Tacu API key out of requests to file upload and download URLs.
bash
curl --fail-with-body -H "Authorization: Bearer ${TACU_API_KEY}" "https://api.tacu.ai/v1/public/teams/${TEAM_SLUG}/generations/${GENERATION_ID}"MCP connection, models and files
Tools run in the workspace you authorized. Each example shows the arguments and selected response fields. Use the URLs, IDs, and amounts from your own responses. For REST, pass GET options as query parameters and use the contents of request as the POST body.
tacu_get_connection
Valid connection · No credits charged
Call without arguments to see the connected workspace and granted scopes. Check the workspace before starting a job.
Example call
json
{
"name": "tacu_get_connection",
"arguments": {}
}Example response
json
{
"structuredContent": {
"workspace": "example-studio",
"scopes": [
"models:read"
]
}
}tacu_list_models
models:read · No credits charged
GET /v1/public/teams/{team_slug}/models
Call without arguments. Each entry in capabilities has a model name, tool_id, tool_category_id, operation_id, and its input_contract and parameter_schema. Check upload_limits for file limits. The example shows one video model. For an image quote, choose an entry that supports image generation.
Example call
json
{
"name": "tacu_list_models",
"arguments": {}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"capabilities": [
{
"display_name": "Seedance 2.5",
"tool_id": 105,
"tool_category_id": 5,
"operation_id": "video.generate"
}
]
}
}
}tacu_create_upload
assets:write · No credits charged
POST /v1/public/teams/{team_slug}/assets/uploads
Supply file_name, file_size in bytes, content_type (MIME), and asset_type (image, video, or audio). The title is optional. Pass idempotency_key alongside request in MCP or in the Idempotency-Key header in REST. Reuse it if you retry. PUT the file to presigned_url with the registered Content-Type and all returned upload_headers. expires_in is in seconds. If a retry returns a null presigned_url, check the asset by its asset_id.
Example call
json
{
"name": "tacu_create_upload",
"arguments": {
"request": {
"file_name": "reference.png",
"file_size": 120,
"content_type": "image/png",
"asset_type": "image"
},
"idempotency_key": "reference-upload-001"
}
}Example response
json
{
"structuredContent": {
"status": 201,
"data": {
"asset_id": "a2590f0c-52cb-4693-9523-f54f8d302997",
"presigned_url": "https://storage.example.test/upload",
"upload_headers": {
"If-None-Match": "*"
},
"expires_in": 3600,
"state": "uploading"
}
}
}tacu_confirm_upload
assets:write · No credits charged
POST /v1/public/teams/{team_slug}/assets/uploads/{asset_id}/confirm
After the PUT completes, pass the asset_id (UUID) from the ticket. The response includes the file's id, state, and media details. If validation is still in progress, check again with tacu_get_asset.
Example call
json
{
"name": "tacu_confirm_upload",
"arguments": {
"asset_id": "a2590f0c-52cb-4693-9523-f54f8d302997"
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"id": "a2590f0c-52cb-4693-9523-f54f8d302997",
"state": "active"
}
}
}tacu_get_asset
assets:write · No credits charged
GET /v1/public/teams/{team_slug}/assets/{id}
Pass an asset_id (UUID) and check for state active. Depending on the file, the response also includes media_probe, mime_type, dimensions, duration, and file_url. When there is a download URL, content[] also contains a resource_link.
Example call
json
{
"name": "tacu_get_asset",
"arguments": {
"asset_id": "a2590f0c-52cb-4693-9523-f54f8d302997"
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"id": "a2590f0c-52cb-4693-9523-f54f8d302997",
"state": "active",
"mime_type": "image/png",
"file_url": "https://media.example.test/uploads/reference.png"
}
},
"content": [
{
"type": "resource_link",
"uri": "https://media.example.test/uploads/reference.png",
"mimeType": "image/png"
}
]
}MCP quotes and generations
tacu_quote_generation
generations:write · No credits charged
POST /v1/public/teams/{team_slug}/generations/estimate
Send operation_id and tool_id in request. Optional fields are tool_category_id, prompt, parameters, inputs, and requested_output_count (default 1). Some models require a prompt or file. For each input, send role, origin set to asset, media_type, and asset_id. Use optional metadata for a source range or keyframe time on models that support it. Review estimated_total_credits and expires_at, and keep estimate_id and contract_revision.
Example call
json
{
"name": "tacu_quote_generation",
"arguments": {
"request": {
"operation_id": "image.generate",
"tool_id": 1,
"tool_category_id": 201,
"prompt": "A quiet harbour at dawn",
"parameters": {},
"inputs": [],
"requested_output_count": 1
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"estimated_total_credits": 7,
"estimate_id": "35938b73-8018-4a32-9f4f-9544522e2e07",
"contract_revision": "2026-11-10.1",
"expires_at": "2026-11-19T20:11:00.065717+09:00"
}
}
}tacu_create_generation
generations:write · Charges the quoted credits on submission
POST /v1/public/teams/{team_slug}/generations
Submit once you accept the quote. Inside the same request, add estimate_id, contract_revision, and a new idempotency_key. For a retry, send the same body and key. Use the returned id to check progress. A replay returns the same id.
Example call
json
{
"name": "tacu_create_generation",
"arguments": {
"request": {
"operation_id": "image.generate",
"tool_id": 1,
"tool_category_id": 201,
"prompt": "A quiet harbour at dawn",
"parameters": {},
"inputs": [],
"requested_output_count": 1,
"estimate_id": "35938b73-8018-4a32-9f4f-9544522e2e07",
"contract_revision": "2026-11-10.1",
"idempotency_key": "harbour-image-001"
}
}
}Example response
json
{
"structuredContent": {
"status": 201,
"data": {
"id": "4a3eb825-16e4-4523-ad15-99f4f1d399a7",
"state": "queued",
"credits_charged": 7
}
}
}tacu_get_generation
generations:read · No credits charged
GET /v1/public/teams/{team_slug}/generations/{id}
Pass the id (UUID) from submission as generation_id. Check state and the status, charges, and refunds for each entry in outputs. Download completed files from outputs[].asset.file_url or a resource_link's uri in content[]. Retrieve the same ID again if a link expires.
Example call
json
{
"name": "tacu_get_generation",
"arguments": {
"generation_id": "4a3eb825-16e4-4523-ad15-99f4f1d399a7"
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"id": "4a3eb825-16e4-4523-ad15-99f4f1d399a7",
"state": "completed",
"outputs": [
{
"state": "completed",
"refund_state": "none",
"asset": {
"file_url": "https://media.example.test/uploads/input.png"
}
}
]
}
},
"content": [
{
"type": "resource_link",
"uri": "https://media.example.test/uploads/input.png",
"mimeType": "image/png"
}
]
}tacu_list_generations
generations:read · No credits charged
GET /v1/public/teams/{team_slug}/generations
Lists your in-progress jobs in this workspace. Optional arguments are page (default 1) and include_finished (default false). Set include_finished to true to include recently finished jobs. The result has count, results, next, and previous. When next is present, call this tool with the next page number.
Example call
json
{
"name": "tacu_list_generations",
"arguments": {
"page": 1,
"include_finished": true
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": "4a3eb825-16e4-4523-ad15-99f4f1d399a7",
"state": "completed"
}
]
}
}
}Create and edit a Studio project
Create the project and prepare its story. Once the source is ready, review the first quote and start preproduction. Choose the basic images, then quote and generate the storyboard. Review the storyboard and its media quote before approving generation. Poll the project after each submission. You can add a take while another is running, up to your plan’s concurrency limit.
IDs, digests and credit amounts below are illustrative. Use your own response values. For REST, use the indicated route and send the fields inside the MCP request object as the POST body. Download media links without a Tacu API key.
tacu_get_studio_options
projects:read · No credits charged
GET /v1/public/teams/{team_slug}/studio/projects/options
Get the style guide, models, language codes and frame sizes. After creating a project, pass its project_id to see compatible video models.
Example call
json
{
"name": "tacu_get_studio_options",
"arguments": {}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"guide_version_id": "a5e546d8-d71e-488a-832d-000000000001",
"guide_digest": "7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a",
"languages": [
"en",
"ko",
"ja",
"zh-CN",
"zh-TW",
"es",
"fr",
"th",
"id",
"vi",
"ms",
"other"
],
"frame_sizes": [
"1280x720",
"720x1280",
"1920x1080",
"1080x1920"
]
}
}
}tacu_create_studio_project
projects:write · No credits charged
POST /v1/public/teams/{team_slug}/studio/projects
Send the story and the guide revision and digest. Set duration_seconds to the target length of the whole video. The usual minimum is 30 seconds. A shorter video is allowed when the quote applies the first-project free offer (first_project_free is true). Keep the returned project_id for the next steps. Creating a project or reading its details through MCP also returns a text/html link with the project title and web_url.
Example call
json
{
"name": "tacu_create_studio_project",
"arguments": {
"request": {
"idempotency_key": "a5e546d8-d71e-488a-832d-000000000002",
"guide_version_id": "a5e546d8-d71e-488a-832d-000000000001",
"guide_digest": "7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a",
"title": "The last train",
"story": "A stationmaster returns a lost scarf just before the train leaves.",
"duration_seconds": 30,
"language": "en",
"frame_size": "1280x720"
}
}
}Example response
json
{
"structuredContent": {
"status": 201,
"data": {
"project_id": "StudioDemo7",
"title": "The last train",
"idempotent_replay": false,
"web_url": "https://studio.example.test/project/open/example-studio/StudioDemo7"
}
},
"content": [
{
"type": "resource_link",
"uri": "https://studio.example.test/project/open/example-studio/StudioDemo7",
"name": "The last train",
"mimeType": "text/html"
}
]
}tacu_list_studio_projects
projects:read · No credits charged
GET /v1/public/teams/{team_slug}/studio/projects
List projects you can open in this workspace. Pass next_offset as offset for the next page. Older projects without a public ID still appear in the list with web_url set to null.
Example call
json
{
"name": "tacu_list_studio_projects",
"arguments": {
"limit": 25,
"offset": 0
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"projects": [
{
"project_id": "StudioDemo7",
"title": "The last train",
"web_url": "https://studio.example.test/project/open/example-studio/StudioDemo7"
}
],
"next_offset": null
}
}
}tacu_get_studio_project
projects:read · No credits charged
GET /v1/public/teams/{team_slug}/studio/projects/{project_id}
Open web_url to view the storyboard or edit in Tacu. Read the draft’s target_duration_seconds and updated_at here. To edit a shot, use its cut_id from the top-level cuts list and the current document_version.
Review the storyboard in scenes. The storyboard_video_tool_id field identifies the video model used for the current storyboard. It is null when Tacu cannot identify a single model. Read snapshot_version just before approval and use it for both the quote and the approval.
Check audio_readiness.music and audio_readiness.narration before exporting. Wait for pending audio. If a track is failed, open the project to review it. A ready track is available for export. not_required means there is no track to wait for. Before the edit is available, audio_readiness is null.
For a free first project, scheduled or started in first_project_completion.handoff_status means production is already underway. Check this project for updates. If the status is review_required, open web_url to review the storyboard.
Example call
json
{
"name": "tacu_get_studio_project",
"arguments": {
"project_id": "StudioDemo7"
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"project_id": "StudioDemo7",
"updated_at": "2026-11-21T11:42:17.346120Z",
"target_duration_seconds": 30,
"document_version": 12,
"storyboard_video_tool_id": 105,
"first_project_completion": null,
"audio_readiness": {
"music": "ready",
"narration": "not_required"
},
"editor_available": true,
"cuts": [
{
"cut_id": "cut-2",
"cut_number": 2,
"has_video_element": true
}
],
"web_url": "https://studio.example.test/project/open/example-studio/StudioDemo7",
"title": "The last train"
}
},
"content": [
{
"type": "resource_link",
"uri": "https://studio.example.test/project/open/example-studio/StudioDemo7",
"name": "The last train",
"mimeType": "text/html"
}
]
}tacu_prepare_studio_sources
projects:write + generations:write · Source analysis · preproduction is quoted separately
POST /v1/public/teams/{team_slug}/studio/projects/{project_id}/prepare
Prepare the existing project’s story for its first quote. This step may use a model to analyze the input. On HTTP 202 with input_state pending or processing, call again with the same project ID and idempotency_key. On HTTP 200 with ready, save the preparation_id. If the first quote returns source_preparation_required, resume here with the same project.
Example call
json
{
"name": "tacu_prepare_studio_sources",
"arguments": {
"project_id": "StudioDemo7",
"request": {
"idempotency_key": "a5e546d8-d71e-488a-832d-000000000021"
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"project_id": "StudioDemo7",
"input_state": "ready",
"preparation_id": "a5e546d8-d71e-488a-832d-000000000022"
}
}
}tacu_quote_studio_stage
projects:write · No credits charged
POST /v1/public/teams/{team_slug}/studio/projects/{project_id}/estimate
For the first quote (onboarding_to_preproduction), send the preparation_id returned when the source was ready. Include the latest snapshot_version from basic images (preproduction_basic_images) onward. For the storyboard quote (preproduction_to_scenario), also send the selected video_tool_id.
For the final quote (editor_setup_due_now), pass the project’s storyboard_video_tool_id as video_tool_id. If it is null, use the model chosen for the storyboard. To change models, call tacu_get_studio_options with project_id. Use the quoted model and the same video, music and narration settings for approval.
A 409 storyboard_video_model_incompatible means the selected model cannot use the storyboard’s input mode (unsupported_input_mode) or generate its multi-shot cuts (unsupported_multicut). For a 409 video_shot_contract_invalid, check the shot lengths. Stop requesting the same quote or cycling through models. Use the original storyboard model or ask the user to choose a compatible alternative.
For a 503, check retryable in the response (structuredContent.data.retryable in MCP). If it is true, wait before retrying the same quote once. Follow any delay provided. If the retry fails or the field is false or missing, stop.
Example call
json
{
"name": "tacu_quote_studio_stage",
"arguments": {
"project_id": "StudioDemo7",
"request": {
"stage": "onboarding_to_preproduction",
"preparation_id": "a5e546d8-d71e-488a-832d-000000000022"
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"stage": "onboarding_to_preproduction",
"estimate_id": "a5e546d8-d71e-488a-832d-000000000003",
"preparation_id": "a5e546d8-d71e-488a-832d-000000000022",
"target_duration_seconds": 30,
"estimated_credit": 20
}
}
}Example retry response
json
{
"isError": true,
"structuredContent": {
"status": 503,
"data": {
"code": "batch_estimate_failed",
"retryable": true
}
}
}Quote video generation for the current storyboard
json
{
"name": "tacu_quote_studio_stage",
"arguments": {
"project_id": "StudioDemo7",
"request": {
"stage": "editor_setup_due_now",
"snapshot_version": 5,
"video_tool_id": 105,
"generate_videos": true,
"generate_music": false,
"generate_narration": false
}
}
}tacu_set_studio_draft_duration
projects:write · No credits charged
POST /v1/public/teams/{team_slug}/studio/projects/{project_id}/draft-duration
Change a draft’s target length before starting production. If the first quote returns 422 production_duration_too_short, choose a length of at least minimum_seconds. Read the same project and copy its updated_at value into expected_updated_at. After saving, get a new quote with the same preparation_id while the prepared source is valid. Start with the new estimate_id. If you get 409 studio_draft_changed, read the current length again. invalid_generation_phase means the project has passed the draft stage.
Example call
json
{
"name": "tacu_set_studio_draft_duration",
"arguments": {
"project_id": "ShortDraft7",
"request": {
"expected_updated_at": "2026-11-21T10:15:03.123456Z",
"duration_seconds": 30
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"project_id": "ShortDraft7",
"target_duration_seconds": 30,
"updated_at": "2026-11-21T10:16:14.567890Z"
}
}
}tacu_start_studio_project
projects:write + generations:write · Charges the quoted credits on submission
POST /v1/public/teams/{team_slug}/studio/projects/{project_id}/start
Review the first quote, then send its estimate_id and the preparation_id used for that quote. Use a new idempotency_key for the start request. If you lose the response, resend the same key and body. After acceptance, poll tacu_get_studio_project for progress.
Example call
json
{
"name": "tacu_start_studio_project",
"arguments": {
"project_id": "StudioDemo7",
"request": {
"idempotency_key": "a5e546d8-d71e-488a-832d-000000000004",
"estimate_id": "a5e546d8-d71e-488a-832d-000000000003",
"preparation_id": "a5e546d8-d71e-488a-832d-000000000022"
}
}
}Example response
json
{
"structuredContent": {
"status": 202,
"data": {
"project_id": "StudioDemo7",
"input_state": "ready",
"request_id": 412
}
}
}tacu_set_studio_basic_images
projects:write + generations:write · Skipping is free; generating images uses the quote
POST /v1/public/teams/{team_slug}/studio/projects/{project_id}/basic-images
Send generate with the basic-image estimate_id to create images. To skip, send skip as shown.
Example call
json
{
"name": "tacu_set_studio_basic_images",
"arguments": {
"project_id": "StudioDemo7",
"request": {
"idempotency_key": "a5e546d8-d71e-488a-832d-000000000005",
"snapshot_version": 2,
"decision": "skip"
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"project_id": "StudioDemo7",
"phase": "preproduction_ready"
}
}
}tacu_generate_storyboard
projects:write + generations:write · Charges the quoted credits on submission
POST /v1/public/teams/{team_slug}/studio/projects/{project_id}/storyboard
Submit the video model and snapshot version from the storyboard quote. Poll the project to review its scenes and cuts.
Example call
json
{
"name": "tacu_generate_storyboard",
"arguments": {
"project_id": "StudioDemo7",
"request": {
"idempotency_key": "a5e546d8-d71e-488a-832d-000000000006",
"estimate_id": "a5e546d8-d71e-488a-832d-000000000016",
"snapshot_version": 4,
"video_tool_id": 105
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"project_id": "StudioDemo7",
"phase": "stage2_queued"
}
}
}tacu_approve_storyboard
projects:write + generations:write · Charges the quoted credits on submission
POST /v1/public/teams/{team_slug}/studio/projects/{project_id}/approve
Approve the storyboard version you reviewed using its approval quote. If the response is interrupted, resend the same body and key.
Example call
json
{
"name": "tacu_approve_storyboard",
"arguments": {
"project_id": "StudioDemo7",
"request": {
"idempotency_key": "a5e546d8-d71e-488a-832d-000000000007",
"estimate_id": "a5e546d8-d71e-488a-832d-000000000017",
"snapshot_version": 5,
"video_tool_id": 105,
"generate_videos": true,
"generate_music": false,
"generate_narration": false
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"project_id": "StudioDemo7",
"snapshot_version": 6
}
}
}tacu_list_cut_takes
projects:read · No credits charged
GET /v1/public/teams/{team_slug}/studio/projects/{project_id}/cuts/{cut_id}/takes
Read this cut’s takes and current selection. Completed takes can include original file links.
Example call
json
{
"name": "tacu_list_cut_takes",
"arguments": {
"project_id": "StudioDemo7",
"cut_id": "cut-2"
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"document_version": 12,
"takes": [
{
"version": 2,
"selected": true,
"status": "completed",
"asset_request_id": 214,
"file_url": "https://cdn.example.test/take2.mp4"
}
]
}
}
}tacu_quote_cut_take
projects:read · No credits charged
POST /v1/public/teams/{team_slug}/studio/projects/{project_id}/cuts/{cut_id}/takes/estimate
Choose the video model and input mode from tacu_list_models. To use the cut’s first frame, choose a compatible category and set use_first_frame.
Example call
json
{
"name": "tacu_quote_cut_take",
"arguments": {
"project_id": "StudioDemo7",
"cut_id": "cut-2",
"request": {
"tool_id": 105,
"tool_category_id": 5,
"prompt": "The stationmaster raises the scarf."
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"estimated_credits": 120
}
}
}tacu_create_cut_take
projects:write + generations:write · Charges the quoted credits on submission
POST /v1/public/teams/{team_slug}/studio/projects/{project_id}/cuts/{cut_id}/takes
Add a take to this cut and cap the debit with max_credits. Use a new request_id for another take. For a transport retry, keep the original ID and body.
Example call
json
{
"name": "tacu_create_cut_take",
"arguments": {
"project_id": "StudioDemo7",
"cut_id": "cut-2",
"request": {
"tool_id": 105,
"tool_category_id": 5,
"prompt": "The stationmaster raises the scarf.",
"request_id": "a5e546d8-d71e-488a-832d-000000000008",
"max_credits": 120
}
}
}Example response
json
{
"structuredContent": {
"status": 201,
"data": {
"request_id": "a5e546d8-d71e-488a-832d-000000000008",
"version_id": 3,
"asset_request_id": 215,
"status": "pending",
"credits_used": 120
}
}
}tacu_select_cut_take
projects:write · No credits charged
POST /v1/public/teams/{team_slug}/studio/projects/{project_id}/cuts/{cut_id}/takes/select
Select a completed take against the current edit version. If the edit changed, read the takes again before choosing.
Example call
json
{
"name": "tacu_select_cut_take",
"arguments": {
"project_id": "StudioDemo7",
"cut_id": "cut-2",
"request": {
"request_id": "a5e546d8-d71e-488a-832d-000000000009",
"version": 3,
"document_version": 14
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"version": 3,
"document_version": 15
}
}
}tacu_export_studio_mp4
projects:write + generations:write · Workspace export terms apply
POST /v1/public/teams/{team_slug}/studio/projects/{project_id}/exports
Export a saved edit as a private MP4. Omit output_resolution to keep the canvas size. The code export_output_resolution_unavailable means the requested size is unsupported.
For studio_audio_pending, wait for the audio and check the latest document_version. For studio_audio_failed, fix or mute the affected track in the project.
If you lose the response, resend the same request_id and body. For export_audio_source_unavailable or export_renderer_unavailable, wait for the delay in the REST Retry-After header or MCP’s structuredContent.retry_after_seconds.
Once accepted, check progress with export_id. Resending the request returns the same ID. If the export ends with status failed, use a new request_id to start another export.
Example call
json
{
"name": "tacu_export_studio_mp4",
"arguments": {
"project_id": "StudioDemo7",
"request": {
"request_id": "a5e546d8-d71e-488a-832d-000000000010",
"expected_document_version": 15
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"export_id": "a5e546d8-d71e-488a-832d-000000000012",
"request_id": "a5e546d8-d71e-488a-832d-000000000010",
"document_version": 15,
"status": "submitted",
"recovery_required": false,
"file_url": null,
"name": null,
"mime_type": null
}
}
}Example retry response
json
{
"isError": true,
"structuredContent": {
"status": 503,
"data": {
"code": "export_audio_source_unavailable"
},
"retry_after_seconds": 5
}
}tacu_get_studio_export
projects:read · No credits charged
GET /v1/public/teams/{team_slug}/studio/projects/{project_id}/exports/{export_id}
Check status with export_id. If recovery_required is true, Tacu is still confirming submission. Check the same ID again and contact support with that ID if the status persists. When status is succeeded, download the MP4 from file_url before expires_at and save it under the filename in name. The MCP resource_link carries the same filename and MIME type. When no file is available, file_url, name and mime_type are null.
Example call
json
{
"name": "tacu_get_studio_export",
"arguments": {
"project_id": "StudioDemo7",
"export_id": "a5e546d8-d71e-488a-832d-000000000012"
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"export_id": "a5e546d8-d71e-488a-832d-000000000012",
"request_id": "a5e546d8-d71e-488a-832d-000000000010",
"status": "succeeded",
"document_version": 15,
"recovery_required": false,
"expires_at": "2026-11-26T12:00:00Z",
"file_url": "https://cdn.example.test/final.mp4",
"name": "tacu-the-last-train-a5e546d8-d71e-488a-832d-000000000012.mp4",
"mime_type": "video/mp4"
}
},
"content": [
{
"type": "resource_link",
"uri": "https://cdn.example.test/final.mp4",
"name": "tacu-the-last-train-a5e546d8-d71e-488a-832d-000000000012.mp4",
"mimeType": "video/mp4"
}
]
}tacu_get_export_originals
projects:read · No credits charged
GET /v1/public/teams/{team_slug}/studio/projects/{project_id}/exports/{export_id}/originals
Get the video, image and audio files used in this export from files. If an MP4 supplies both picture and sound, two entries can point to the same file. Use tacu_list_studio_originals for unused takes and reference images as well.
Example call
json
{
"name": "tacu_get_export_originals",
"arguments": {
"project_id": "StudioDemo7",
"export_id": "a5e546d8-d71e-488a-832d-000000000012"
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"export_id": "a5e546d8-d71e-488a-832d-000000000012",
"document_version": 15,
"files": [
{
"element_id": "video-2",
"kind": "video",
"file_url": "https://cdn.example.test/take3.mp4"
},
{
"element_id": "native-audio-2",
"kind": "audio",
"file_url": "https://cdn.example.test/take3.mp4"
}
]
}
}
}tacu_list_studio_originals
projects:read · No credits charged
GET /v1/public/teams/{team_slug}/studio/projects/{project_id}/originals
Download first frames, character, location and prop images, alternate takes and original audio. Request the first page with the current document_version. For each following page, keep that document_version and the first response’s revision. Pass the last response’s next_offset as offset until next_offset is null. Each file_id identifies one file. Its uses list shows where it appears.
For document_version_conflict, get the new document_version from the project. For originals_revision_conflict, keep the same document_version. In either case, restart from the first page without revision. If project_original_unavailable persists, send support the project_id and not_ready_reason.
Example call
json
{
"name": "tacu_list_studio_originals",
"arguments": {
"project_id": "StudioDemo7",
"document_version": 15,
"limit": 1
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"project_id": "StudioDemo7",
"document_version": 15,
"revision": "c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6",
"total_files": 12,
"files": [
{
"file_id": "4545454545454545454545454545454545454545454545454545454545454545",
"kind": "image",
"file_url": "https://cdn.example.test/first-frame.png",
"uses": [
{
"role": "first_frame",
"path": [
"cuts",
"cut-2",
"elements",
"image-2"
],
"version": 1
}
]
}
],
"next_offset": 1
}
}
}Request the next page
json
{
"name": "tacu_list_studio_originals",
"arguments": {
"project_id": "StudioDemo7",
"document_version": 15,
"limit": 1,
"offset": 1,
"revision": "c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6c6"
}
}MCP usage
tacu_get_usage
usage:read · No credits charged
GET /v1/public/teams/{team_slug}/usage
Pass optional filters as string values. from and to are inclusive dates in Korea Standard Time (YYYY-MM-DD). Filter by project, project_scope, user, model, display_name, kind, or status. Use page and page_size to paginate and include_details set to "1" to request stored job details. results lists the charges and refunds you can see. Each row’s credits value is a JSON number. Increment filters.page for the next page.
In Connected apps and API keys, choose Copy key ID next to a key you issued. Pass that public ID (UUID) in filters.api_key to see charges and refunds for work started with the key. Keep the secret out of the filter.
Example call
json
{
"name": "tacu_get_usage",
"arguments": {
"filters": {
"api_key": "bfa8e4f2-d14a-40f4-a537-1415eab2681c",
"page": "1",
"page_size": "5"
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"count": 2,
"next": null,
"previous": null,
"results": [
{
"model": "Nanobanana2",
"kind": "image",
"status": "refunded",
"credits": -7
},
{
"model": "Nanobanana2",
"kind": "image",
"status": "charged",
"credits": 7
}
]
}
}
}tacu_get_usage_summary
usage:read · No credits charged
GET /v1/public/teams/{team_slug}/usage/summary
The optional filters support the same date, project, user, model, kind, and status filters as usage rows. For group_by, choose up to two of project, user, model, and day, separated by a comma. totals holds the overall figures and groups the breakdown. When usd_incomplete is true, some dollar amounts are unknown.
In Workspace usage, select a key by name to see its charges and refunds. Team admins can also select another member’s key. Choose All activity to include entries recorded before key tracking began.
Example call
json
{
"name": "tacu_get_usage_summary",
"arguments": {
"filters": {
"api_key": "bfa8e4f2-d14a-40f4-a537-1415eab2681c",
"group_by": "model"
}
}
}Example response
json
{
"structuredContent": {
"status": 200,
"data": {
"group_by": [
"model"
],
"totals": {
"credits": 0,
"request_count": 1
},
"groups": [
{
"model": "Nanobanana2",
"credits": 0
}
]
}
}
}Disconnect or resolve an error
For 401, check your login or key. For 403, check both the granted permissions and your workspace role. If the quote expires, request a new one. For 429, wait for the interval in Retry-After when supplied.
Even after you grant workspace access in Tacu, Codex may ask before it runs a tool such as source preparation. If a read-only run stops there, use codex resume to reopen the same conversation, choose “Ask for approval” in /permissions, then select “Allow once” for that request.
Disconnect an app or revoke an API key in workspace settings to stop access on the next request. If adding permissions left several connections for the same app, disconnect each one you want to close.