Skip to content
Pix4Less
BrowseCreatePricingDeveloper docsSign inCreate account

Built for developers

An image search API for your next idea.

Find existing AI-generated photos for your app, CMS, or content workflow. Search in plain language, preview the matches, then download the original you choose.

JSON APISearch before generationUsage-based credits
Get an API keyRead the quickstart

Start with 100 credits. No payment is required for signup; searches and new downloads consume credits.

Aerial view of dense limestone pinnacles with green trees in the crevices.
An unlikely rhythmAI-generated
From a search to an original
One server-side example. Explicit credit permission. No automatic search retries.
import { runQuickstart } from "./pix4less-quickstart.mjs";

const result = await runQuickstart({
  apiKey: process.env.PIX4LESS_API_KEY,
  allowCreditCharges: true,
  maxCredits: Number(process.env.PIX4LESS_MAX_CREDITS)
});

if (result.download) {
  // No API-key header: the short-lived signed URL grants access.
  const image = await fetch(result.download.url);
  if (!image.ok) throw new Error("Image delivery failed");
  // Stream image.body to your destination. Do not log the URL.
}
// No match? Handle it in your app; do not auto-retry a search.
Download the Node.js helper used above

Search. Preview. Choose.

Search retrieves the existing catalog; it does not generate a new image during the request. You control what gets downloaded and what happens when there is no useful match.

  1. 1. Search with constraints

    Describe the subject, then add orientation, size, aspect-ratio, or other supported filters. Start broad before narrowing your request.

  2. 2. Preview the result

    Inspect preview URLs and image metadata. Preview URLs are stable and unsigned, so keep the image ID as the durable identity; search results never grant original access.

  3. 3. Authorize an original

    Request the download endpoint for your chosen image. Store the original for permitted uses under the license terms, not the signed download URL, which is short-lived.

Explore the live catalogOpenAPI contractRead the licenseGuide: stock images in Next.jsGuide: image search with MCP

Live price book

Know what your first request costs.

One search plus one new catalog download currently uses 2 credits. Search and download are separate charges, not an all-inclusive image price.

Quick search
1 credit / request · 30 candidates · up to 12 images
Thorough search
3 credits / request · 100 candidates · up to 12 images
New catalog download
1 credit / image (HD: 3 credits, 4K: 10 credits)
Previously purchased image
No duplicate download charge

Metered searches charge only after a valid search returns at least one result. Invalid input, service failures, and empty results do not use search credits. Search requests are not idempotent, so do not retry an uncertain request automatically. Existing download ownership does not bypass authentication, image availability, or rate limits.

Plans, top-ups, and generation pricing
The shape of a quiet dayAI-generated

Make your first call.

  1. Create an account and create a key in the dashboard. Keep the key on your server, never in browser code.
  2. Download and inspect the helper. Run node pix4less-quickstart.mjs to read current pricing without a key or credit charge.
  3. Set PIX4LESS_API_KEY securely. Set PIX4LESS_MAX_CREDITS to an allowance you choose from the live price book, then use the example above. The allowance is a preflight estimate, not an atomic server spending cap.

Review images for your use case. Searchable catalog assets are not all human-reviewed, and the API does not guarantee subjective fit, universal rights clearance, or a match for every query. Generation is a separate paid-standing workflow, not an automatic API fallback.

Integrate with the API docs
Pix4Less

AI-generated imagery for your next idea.
Check each image and its license before use.

BrowseCreateCollectionsJournalPricingCompareDeveloper APIMCP serverDeveloper docsLicenseTermsPrivacyImpressumCancel contracts hereContact