> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eversince.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# search stock

> Stock media: images and video from the open shelves, and music, sound effects and ambience of Eversince's own that need no attribution. A result is brought into the library with import_media in url mode. Each sound carries what plays in it start to end with seconds, and music adds genre, tempo, vocals, whether it loops and its first downbeat, so a cut can be planned to it unheard. Nothing is added to the library until it is imported. Free.



## OpenAPI

````yaml /openapi.json post /tools/search_stock
openapi: 3.1.0
info:
  title: Eversince API
  version: '1'
  description: >-
    Every Eversince tool as one POST call, plus the routes beside them: the tool
    list, account and keys, uploads, webhooks and models. The prose is at
    https://docs.eversince.ai.
servers:
  - url: https://eversince.ai/api/v1
security:
  - bearer: []
tags:
  - name: Discovery
    description: The tool list, the same on the MCP server, the REST API and the CLI.
  - name: Workspace
    description: Jobs, balances, settings, templates, skills and the overview.
  - name: Library
    description: >-
      Items, search, import, reading media, comments, boards, calendars, the
      brand kit and public links.
  - name: Timeline
    description: 'Video editing: timelines, clips, captions, sound, language and rendering.'
  - name: Canvas
    description: 'Still editing: canvases, slides, layers and rendering.'
  - name: Generation
    description: Image, video and audio generation, upscaling, cutouts and models.
  - name: Research
    description: 'What platforms publish: pulling and keeping posts.'
  - name: Account
    description: Balances, keys, workspaces and script sessions.
  - name: Uploads
    description: Files into the library by presigned upload or by URL.
  - name: Webhooks
    description: Job results posted to a URL as they complete.
  - name: Models
    description: Generation models and cost estimates.
paths:
  /tools/search_stock:
    post:
      tags:
        - Library
      summary: search stock
      description: >-
        Stock media: images and video from the open shelves, and music, sound
        effects and ambience of Eversince's own that need no attribution. A
        result is brought into the library with import_media in url mode. Each
        sound carries what plays in it start to end with seconds, and music adds
        genre, tempo, vocals, whether it loops and its first downbeat, so a cut
        can be planned to it unheard. Nothing is added to the library until it
        is imported. Free.
      operationId: search_stock
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
        - $ref: '#/components/parameters/WorkspaceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                  maxLength: 100
                  description: >-
                    Plain words: "city at night", "hands typing". One or two
                    words find more than a sentence.
                kind:
                  description: >-
                    image (default), illustration, vector (flat art and icons as
                    pictures), video, music, sfx, or ambience. Sound is
                    Eversince's own and needs no attribution; pictures and video
                    come from the free shelves.
                  type: string
                  enum:
                    - image
                    - illustration
                    - vector
                    - video
                    - music
                    - sfx
                    - ambience
                orientation:
                  description: >-
                    The shape of the piece it is for; a vertical cut takes
                    portrait.
                  type: string
                  enum:
                    - landscape
                    - portrait
                    - square
                page:
                  description: The next page of the same search. Each page is up to 60.
                  type: integer
                  minimum: 1
                  maximum: 50
                limit:
                  description: Up to 60.
                  type: integer
                  minimum: 1
                  maximum: 60
                kept:
                  description: >-
                    Sound only: only the sounds this workspace has starred in
                    the app.
                  type: boolean
                min_seconds:
                  description: 'Sound only: no shorter than this many seconds.'
                  type: number
                  minimum: 0
                max_seconds:
                  description: 'Sound only: no longer than this.'
                  type: number
                  minimum: 0
                bpm_min:
                  description: 'Music only: the slowest tempo that fits the cut.'
                  type: number
                  minimum: 20
                  maximum: 300
                bpm_max:
                  description: 'Music only: the fastest tempo that fits the cut.'
                  type: number
                  minimum: 20
                  maximum: 300
                vocals:
                  description: 'Music only: true for singing, false for none.'
                  type: boolean
              required:
                - query
      responses:
        '200':
          description: >-
            Done, or a job started for work that runs longer (follow it with
            get_jobs).
          content:
            application/json:
              schema:
                type: object
                required:
                  - ok
                  - data
                  - meta
                properties:
                  ok:
                    const: true
                  data:
                    type: object
                    additionalProperties: true
                  meta:
                    type: object
                    properties:
                      request_id:
                        type: string
                      cost:
                        $ref: '#/components/schemas/Cost'
                      cloud_processing:
                        $ref: '#/components/schemas/CloudProcessing'
                  media:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
        default:
          $ref: '#/components/responses/Error'
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      schema:
        type: string
      description: >-
        Retry a paid dispatch safely: the same key returns the job already
        dispatched instead of charging again.
    WorkspaceId:
      name: x-workspace-id
      in: header
      required: false
      schema:
        type: string
      description: The workspace this one call acts in, when it is not the key's own.
  schemas:
    Cost:
      type: object
      description: AI credits the call cost.
      additionalProperties: true
    CloudProcessing:
      type: object
      description: Cloud processing the call used, and what is left.
      properties:
        ran_on:
          const: cloud
        minutes:
          type: number
        queued_minutes:
          type: number
        left_minutes:
          type: number
        bought_minutes:
          type: number
        note:
          type: string
    Error:
      type: object
      required:
        - ok
        - error
      properties:
        ok:
          const: false
        error:
          type: object
          required:
            - code
            - message
            - retryable
          properties:
            code:
              type: string
            message:
              type: string
              description: What went wrong, in words to act on.
            retryable:
              type: boolean
            suggested_action:
              type: string
              description: The next step that works.
            cloud_processing:
              $ref: '#/components/schemas/CloudProcessing'
  responses:
    Error:
      description: The call was refused or failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        An API key (es_live_…) from Settings, under API keys, or an OAuth access
        token.

````