Overview
Build and run Fuser canvases from your own code.
The Fuser API is a set of JSON calls at https://api.fuser.studio/v1. Use it
to generate media from your own app, run a canvas as a template, or automate
batches. It is the same set of tools AI agents get over MCP, so
anything an agent can do, your code can too.
A first call
curl https://api.fuser.studio/v1/account_get \
-H "x-api-key: $FUSER_API_KEY"{
"name": "Ada",
"personalCredits": 12598.3,
"workspaces": [
{
"workspaceId": "4f0c…",
"name": "Fuser Labs",
"role": "owner",
"credits": 9894,
"canSpend": true,
"monthlySpendLimit": null
}
]
}Concepts
| Canvas | A Fuser project: nodes, the connections between them, and their results. Everything the API makes lands on one, so you can open it in Fuser. |
| Node | One step: a text prompt, an image, an image model, a tool. Each has inputs (with ids like prompt) and outputs. |
| Edit | A batch of changes to a canvas, applied all at once or not at all. |
| Run | Running some or all of a canvas. It's priced first and refused if it costs more than you allow. |
| Revision | A canvas's version number. Pass it with an edit to make sure nobody changed the canvas since you read it. |
How a job goes
Build the canvas
canvas_edit adds nodes and connections in one
change, on a new canvas or an existing one.
catalog_search finds the right node and
its input ids.
Run it
run_start with maxCredits starts it, and is refused if it would cost more.
Collect the results
run_get waits up to 10 seconds and returns links
to every result. Call it again until the run is completed.
