Make images and videos with your Flowise agents

Add Treza to Flowise as a Custom MCP tool with your API key, and an Agent can make pictures and videos, run your pipelines and edit clips, priced before each one runs.

https://www.trezalabs.com/api/mcp

Free to add. You pay only for what you make.

Set it up in Flowise

Add Treza to Flowise

Flowise 3 with Agentflow V2. We tested it on self-hosted Flowise 3.1.3.

  1. 1

    Save your key as a variable

    Make a key on the Treza API keys page with the pipelines:read, pipelines:write and pipelines:run permissions. In Flowise, open Variables, click Add Variable, name it trezaApiKey and paste the key as a Static value.

  2. 2

    Add a Custom MCP tool

    In an Agentflow, add an Agent node (or a Tool node), add a tool, pick Custom MCP and paste this as the MCP Server Config.

    MCP Server Config
    {
      "url": "https://www.trezalabs.com/api/mcp",
      "headers": { "Authorization": "Bearer {{$vars.trezaApiKey}}" }
    }
  3. 3

    Pick the actions

    Click refresh next to Available Actions. Flowise loads Treza's tools. Pick the ones the agent needs: make_image, make_video, run_pipeline, get_run and get_credit_balance cover most flows.

  4. 4

    Keep it under your limit

    Flowise runs MCP tools without asking you first. make_image and make_video only quote and wait for run_pipeline, so tell the agent in its instructions to start renders only under your limit.

Then ask for it the way you would say it

Attach a file or paste a link when the video starts from something you have.

A free picture

Make a paper-cut lighthouse on a cliff at dusk, 4:5. Check the price first

A Short from an idea

Make a 30 second Short about the deep sea's strangest animals, narrated and captioned, under $3

Your pipeline

Run my Daily Space Facts pipeline with today's topic and send me the video

A quick edit

Add captions to the newest video in my Treza library

Questions

Why an API key and not a Google sign-in?

Flowise's Custom MCP tool takes a server address and headers, not a sign-in. Keep the key in a Flowise variable so it is not pasted into the flow, and delete it on Treza's API keys page to cut the agent off.

How does the agent spend credits?

make_image and make_video return a price and a quote first. Nothing renders until the agent calls run_pipeline with that quote, and a render never starts when your balance does not cover it.

Can it post the video to my channel?

A pipeline can end with a YouTube or TikTok upload step and post on its own schedule. Posting one video straight from the chat, after you check it on a review card, works in ChatGPT and Claude.

What does it cost?

Adding Treza and signing in are free. Videos spend prepaid credits from your Treza balance, with no subscription, and Treza shows what a render costs and waits for your go-ahead before it starts.

Do my videos and credits carry over between apps?

Yes. Every app signs in to the same Treza account, so your library, your pipelines and your balance are the same in ChatGPT, Claude, Muse, Gemini, Mistral Vibe, Cursor, Codex, Hermes Agent, Blender, n8n, Zapier, Dify, Langflow, Flowise, Gumloop and on trezalabs.com.

Do I need an API key?

Not where the app can sign in for you: it sends you to Treza to sign in with Google and approve access, and no key goes into the chat or a config file. Apps that only take a key, and tools that run without a person, use a scoped key from the API keys page.

Treza in other apps

ChatGPT

In ChatGPT's plugin directory. Add it and mention @Treza in any chat.

Set it up->

Claude

A custom connector in the Claude app, or the Treza plugin in Claude Code.

Set it up->

Muse

Ask Muse to build a Treza connector, or add Treza to Muse Code.

Set it up->

Gemini

A custom app in the Gemini app, or a server in Antigravity CLI.

Set it up->

Mistral Vibe

A custom connector in Mistral Vibe, formerly Le Chat.

Set it up->

Cursor

One click adds Treza to Cursor's agent.

Set it up->

Codex

From the plugin catalog in the ChatGPT app, or one command in Codex CLI.

Set it up->

Hermes Agent

A few lines in ~/.hermes/config.yaml and one login command.

Set it up->

Blender

An add-on that turns your camera view into AI renders and video clips.

Set it up->

n8n

A verified node that makes images and videos inside your workflows.

Set it up->

Zapier

Steps that make images and videos in your Zaps. In beta.

Set it up->

Dify

A tool plugin that makes images and videos in your workflows and agents.

Set it up->

ComfyUI

Nodes that make images and videos in your graphs, with no GPU needed.

Set it up->

LangChain

Python tools that let an agent make images and videos, with a price cap.

Set it up->

LlamaIndex

A tool spec that lets an agent make images and videos, with a price cap.

Set it up->

CrewAI

Tools that let the agents in a crew make images and videos, with a price cap.

Set it up->

Vercel AI SDK

TypeScript tools that let a model make images and videos, with a price cap.

Set it up->

Langflow

Components that make images and videos in a flow or for an Agent, with a price cap.

Set it up->

Gumloop

A custom MCP server that lets your agents make images and videos.

Set it up->

Any MCP client

One URL for every client that speaks Streamable HTTP MCP.

Set it up->

Flowise is a trademark of FlowiseAI. Treza is an independent product and is not affiliated with or endorsed by FlowiseAI.

Setup steps from Flowise Docs: Tools and MCP.