naïve
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
    ParameterDescription
    query
    string · required
    What the photo should show.
    count
    number
    1-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.

    from $0.004
    per image
    2 actions
  • Naive

    Text or image to video with sound, 5–15 s.

    $0.05
    per second
    1 action
  • Naive

    Text to speech, dialogue, voice changer and voice isolation.

    from $0.002
    per second
    5 actions