Treza Tools API

The Tools API from Treza — 37 operation(s) for tools.

GitHub OpenAPI

Operations 37

POST /api/v1/tools/list_pipelines List pipelines #
POST /api/v1/tools/get_pipeline Get pipeline #
POST /api/v1/tools/list_runs List runs #
POST /api/v1/tools/get_run Get run #
POST /api/v1/tools/cancel_run Cancel run #
POST /api/v1/tools/run_pipeline Run pipeline #
POST /api/v1/tools/list_assets List assets #
POST /api/v1/tools/import_media Import media #
POST /api/v1/tools/create_upload_url Create upload URL #
POST /api/v1/tools/assemble_video Assemble video #
POST /api/v1/tools/edit_asset Edit asset #
POST /api/v1/tools/create_editor_project Create timeline project #
POST /api/v1/tools/list_projects List timeline projects #
POST /api/v1/tools/open_run_in_timeline Open run in timeline #
POST /api/v1/tools/get_project Get timeline project #
POST /api/v1/tools/edit_project Edit timeline project #
POST /api/v1/tools/undo_project_edit Undo timeline edit #
POST /api/v1/tools/render_project Render timeline project #
POST /api/v1/tools/get_project_render Get timeline render #
POST /api/v1/tools/copy_reference_style Copy a reference style #
POST /api/v1/tools/get_transcript Get transcript #
POST /api/v1/tools/make_video Make video #
POST /api/v1/tools/make_image Make image #
POST /api/v1/tools/list_node_types List node types #
POST /api/v1/tools/get_node_type Get node type #
POST /api/v1/tools/list_pipeline_templates List pipeline templates #
POST /api/v1/tools/create_pipeline Create pipeline #
POST /api/v1/tools/update_pipeline Update pipeline #
POST /api/v1/tools/publish_pipeline Publish pipeline #
POST /api/v1/tools/set_schedule_paused Pause or resume schedule #
POST /api/v1/tools/delete_pipelines Delete pipelines #
POST /api/v1/tools/list_connected_channels List connected channels #
POST /api/v1/tools/publish_asset Publish asset #
POST /api/v1/tools/connect_channel Connect channel #
POST /api/v1/tools/get_profile Get profile #
POST /api/v1/tools/get_credit_balance Get credit balance #
POST /api/v1/tools/estimate_run_cost Estimate run cost #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trezalabs-com:trezalabs-com-tools-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

trezalabs-com-tools-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Treza Pipelines Tools API
  description: 'Treza builds video pipelines from a description. Build pipelines that chain the best AI models (Veo 3.1, Seedance 2.5, Gemini Image, Llama, and any open model) with voiceover, captions, sequencing, and publishing, then call any published pipeline as an API.


    Two ways to call a published pipeline:

    - Typed invoke: POST /api/pipelines/{id}/invoke with JSON inputs matching the pipeline''s input contract. Returns a runId (HTTP 202); poll GET /api/pipelines/{id}/invoke?runId=... for status and outputs.

    - OpenAI-compatible: POST /api/pipelines/{id}/chat/completions works as a drop-in for any OpenAI SDK, streaming included. The latest user message feeds the pipeline and the output returns as the assistant message.


    Authentication uses scoped API keys (Bearer treza_live_...) created in the Treza platform or minted over MCP (create_api_key). The key must own the pipeline and the pipeline must be published. Starting a run needs the pipelines:run permission; polling one takes pipelines:read or pipelines:run. Billing is prepaid credits that work across every model; check the balance at GET /api/account/balance, and top up either via a human at the dashboard or, on deployments with x402 enabled, agent-natively at POST /api/billing/credits/x402.


    An MCP server is also available at https://www.trezalabs.com/api/mcp (streamable HTTP, OAuth 2.1) exposing tools to list, author, and publish pipelines, inspect runs, trigger new runs, check the credit balance, estimate run cost, and mint scoped API keys (create_api_key, for OAuth connections). Every one of those tools is also plain HTTP with an API key, listed below under /api/v1/tools/{name}: POST the tool''s arguments as the JSON body, with the same key. They list your pipelines, runs and media library, author and publish pipelines, run them, and assemble or edit media.'
  version: 3.0.0
  contact:
    name: Treza Support
    url: https://www.trezalabs.com/support
    email: hello@trezalabs.com
servers:
- url: https://www.trezalabs.com
  description: Production
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (138 KB total) ---
# Full source: https://artifacts.apis.io/trezalabs-com/openapi/trezalabs-com-tools-api-openapi.yml