Back to Primitives
1 action · Free
Stock photos
NaiveTool
Search a library of free-to-use stock photos by keyword, orientation and color. Free.
Part of AI models
Actions
Every action: POST /v1/tools/runs { "tool": "<name>", "input": { … } }
- Stock photos
Search photos
stock.search
Photos for a keyword, with sizes and credits.
Parameters Parameter Description querystring · requiredWhat the photo should show. countnumber1-20. orientation"landscape" | "portrait" | "square"Only photos with this shape. Example response
{ "data": [ { "id": "stk_8812", "url": "https://files.usenaive.ai/stk_8812.jpg", "width": 4000, "height": 2667, "credit": "Photographer name" } ] }Free
Pricing
Free
Billed per call to one prepaid balance. No vendor accounts, no subscription.
Code
import { createNaive } from "@usenaive-sdk/naive"; const naive = createNaive(); // reads NAIVE_API_KEYconst run = await naive.tools.run("stock.search", {"query":"home office","count":2}, { wait: true });console.log(run.output);
Related tools
- Naive
Text to image and image editing, up to 4K.
2 actionsfrom $0.004per image - Naive
Text or image to video with sound, 5–15 s.
1 action$0.05per second - Naive
Text to speech, dialogue, voice changer and voice isolation.
5 actionsfrom $0.002per second