Find node types
Node types a canvas_edit diff may use, with what each is good at, its input ids and its output socket. Call it with no query first: it returns the recommended node for each common job. Search only when none of them fits.
/v1/catalog_searchcatalog_searchTry it
{
"matched": false,
"note": "example note",
"recommended": [
{
"job": "Image from text, or editing an image (default)",
"type": "OpenAIGPTImageNode",
"inputs": {
"prompt": "aB3dE5"
},
"credits": 13.1,
"seconds": 1
}
],
"nodeTypes": [
{
"type": "OpenAIGPTImageNode",
"category": "image",
"purpose": "GPT Image: text to image and image editing.",
"inputs": [
{
"id": "aB3dE5",
"kind": "text",
"description": "A coral reef at golden hour, wide shot.",
"required": false,
"multiple": false,
"values": [
"example values"
],
"min": 1,
"max": 1,
"defaultValue": "example default value"
}
],
"output": "image",
"prices": [
{
"variant": "example variant",
"credits": 13.1,
"settings": "example settings",
"seconds": 1
}
]
}
]
}Example
curl "https://api.fuser.studio/v1/catalog_search?query=coral+reef" \
-H "x-api-key: $FUSER_API_KEY"const result = await fuser.catalog.search({
query: 'coral reef',
});See the TypeScript SDK.
Input
querystringcategory"image" | "video" | "audio" | "text" | "mesh" | "primitive"
Output
matchedbooleanFalse when nothing matched the query; nodeTypes then lists everything available.
notestring
Undo recent edits
Reverses the latest edits made through this API (canvas_edit, canvas_arrange): nodes they added are removed, nodes they deleted come back (without their results), and moves, wiring, inputs and names return to how they were. Results are never regenerated. A node someone changed after the edit is left as it is and listed in skipped. Use it when the user says undo, revert or go back, or to fix your own mistake, instead of rebuilding by hand.
Run a canvas
Run the whole canvas or named nodes. Prices the run first and refuses it when it costs more than maxCredits; dryRun returns only the price. Starts a run once per idempotencyKey; check on it with run_get, not by calling run_start again.