Generator

Menu

AI GeneratorImages, video, audio and 3D

Browse categories

Docs menu
API reference

API reference

API reference

Every endpoint of the ImgSearch API, version 2.0.0, from its OpenAPI document.

View as Markdown
For your agent https://imgsearch.com/llms.txt
On this page

Base URL: https://imgsearch.com/api/v2. Send Authorization: Bearer <API key or OAuth token> on every call but the public ones, and JSON bodies with Content-Type: application/json. Every answer is JSON (files, redirects and the YAML spec aside) and carries X-Request-Id and ImgSearch-Api-Version: 2.0.0. The OpenAPI document is at https://imgsearch.com/api/v2/openapi.yaml and https://imgsearch.com/api/v2/openapi.json. Errors: error codes. Limits: rate and crawl limits.

Meta #

The API itself, its status and this document.

Models #

The AI Generator's models and their prices in US dollars.

Licenses #

What each source's files may be used for.

Account #

The account behind the key or token.

Assets #

One asset's card.

Downloads #

Files and signed links, counted under fair use only when delivered; the download history.

Generations #

The AI Generator, for keys made with spending allowed: estimate, start (Idempotency-Key and max_usd), poll, cancel, the files by 10-minute links, the free side actions and uploads.

Webhooks #

The account's events feed and the webhook endpoints they are sent to, signed as Standard Webhooks; the low-balance alert.