Find a recipe
Search the canvas's recipe library (recipes you or your workspace made) and Fuser's featured recipes by title and description, matching any of your words, best first. A recipe is a whole saved workflow in one Recipe node, with named input and output sockets. Place a match with canvas_edit (a RecipeNode with its recipeKey), then wire and set its sockets by name and run it. For a common workflow, look here before building it node by node.
/v1/recipe_searchrecipe_searchTry it
{
"recipes": [
{
"recipeKey": "example recipe key",
"version": 1,
"title": "Coral reef poster",
"inputs": [
{
"socket": "tool2_in_image",
"name": "Example",
"type": "OpenAIGPTImageNode"
}
],
"outputs": [
{
"socket": "tool2_in_image",
"name": "Example",
"type": "OpenAIGPTImageNode"
}
],
"description": "A coral reef at golden hour, wide shot.",
"featured": false
}
],
"featured": [
{
"recipeKey": "example recipe key",
"title": "Coral reef poster"
}
]
}Example
curl "https://api.fuser.studio/v1/recipe_search?canvasId=3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c" \
-H "x-api-key: $FUSER_API_KEY"const result = await fuser.recipe.search({
canvasId: '3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c',
});See the TypeScript SDK.
Input
canvasIdstringrequiredThe canvas the recipe is for: its workspace's library is searched.
querystringlimitintegerdefault8How many to return, at most 20.
Output
Build a tool
Turn a Tool node (type UtilityNode, added with canvas_edit) into a working tool: describe it in prompt and Fuser writes its code, or place a saved one with toolId. Tools do what generators can't: join, cut, trim or speed up videos, mix audio, crop, grid, filter, measure and convert between images, video, audio, 3D models, text and JSON (not PDF, ZIP or other files). Call it again with a prompt to change a built tool, or with neither to check on a build. Once built, wire its input sockets and set its controls with canvas_edit, then run it like any node; free tools cost nothing to run. A build usually costs around 300 credits or less, so build without asking first; if the user asks what it costs, say about 300 credits.
Build a recipe
Turn an empty Recipe node (type RecipeNode, added with canvas_edit) into a reusable recipe: describe the workflow in prompt and Fuser builds it, saves it to your library as a private draft and pins the node to it, with named input and output sockets. Use it when the user asks for a recipe or a workflow they will reuse; for a one-off, build the nodes with canvas_edit. Call it again without prompt to check on a build. Once built, set its inputs and wire its sockets with canvas_edit, then run it like any node.