Search the stock library
Find images and videos (no audio) in Fuser's stock library for reference, starter or style images, with a small preview of each. Search by words, by a stock item to look like (similarTo), or both. Pass a result's stockId and type to stock_import to put it on a canvas. One search pages through at most 200 results; each user has 300 searches and 50 imports a day. Stock is for the user's work and as model inputs only: never to train, embed or index models, and never to download in bulk.
/v1/stock_searchstock_searchTry it
{
"items": [
{
"stockId": "example stock id",
"type": "image",
"title": "Coral reef poster",
"aspectRatio": "example aspect ratio",
"previews": [
{
"mimeType": "image/png",
"data": "example data"
}
]
}
],
"nextCursor": null,
"license": "example license"
}Example
curl "https://api.fuser.studio/v1/stock_search?query=coral+reef" \
-H "x-api-key: $FUSER_API_KEY"const result = await fuser.stock.search({
query: 'coral reef',
});See the TypeScript SDK.
Input
querystringsimilarTostringtype"image" | "video" | "all"default"image"Images, videos or both.
limitintegerdefault8How many to return, at most 20.
previewsbooleandefaulttrueShow a small preview of each result.
cursorstring
Output
nextCursorstring | nullPass it back as cursor for the next page; null when there are no more.
licensestringWhere the Stock Library License is; share it if asked.
Download media as a zip
A link that downloads a canvas's results as one zip file, for when the user wants their files ('download everything', 'send me the images as a zip'). Give the user the link; it works for an hour. It changes nothing on the canvas. To back up the whole canvas instead, the user saves a .fsr file from the canvas menu in the Fuser app (Download project) and loads it with Upload project.
Use a stock item
Copy one stock_search result into the user's media and this canvas, for the user's work under the Stock Library License. Returns a link: add it with canvas_edit as an ImageNode (input image) or VideoNode (input video) and wire that into a generator as a reference or start frame. One item per call, only ones the work needs; 50 imports a day.