Parallel Image Search API

Image Search returns ranked images from the web. Inputs are keyword queries and an optional natural-language objective. `fast`: lowest latency and cost. `advanced` (default): slower, with higher-quality results. - Result: title, direct image URL, source page URL, and dimensions

GitHub OpenAPI

Operations 1

POST /v1/images/search Image search #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/parallel-ai:parallel-ai-image-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

parallel-ai-image-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Parallel Image Search API
  description: Parallel API
  contact:
    name: Parallel Support
    url: https://parallel.ai
    email: support@parallel.ai
  version: 0.1.2
servers:
- url: https://api.parallel.ai
  description: Parallel API
security:
- ApiKeyAuth: []
tags:
- name: Image Search
  description: 'Image Search returns ranked images from the web. Inputs are keyword queries and an optional natural-language objective. `fast`: lowest latency and cost. `advanced` (default): slower, with higher-quality results.

    - Result: title, direct image URL, source page URL, and dimensions'
paths:
  /v1/images/search:
    post:
      tags:
      - Image Search
      summary: Image search
      description: Searches the web for images.
      operationId: image_search_v1_images_search_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImageSearchRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImageSearchResponse'
              example:
                search_id: search_fcb2b4f3c75e418687bccaa1a8381331
                session_id: session_fcb2b4f3c75e418687bccaa1a8381331
                results:
                - title: Golden Gate Bridge at sunset
                  image_url: https://www.example.com/images/golden-gate.jpg
                  source_page_url: https://www.example.com/golden-gate-bridge
                  width: 1920
                  height: 1080
        '422':
          description: Request validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                type: error
                error:
                  ref_id: search_fcb2b4f3c75e418687bccaa1a8381331
                  message: Request validation error
components:
  schemas:
    Error:
      properties:
        ref_id:
          type: string
          title: Reference ID
          description: Reference ID for the error.
        message:
          type: string
          title: Message
          description: Human-readable message.
        detail:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Detail
          description: Optional detail supporting the error.
      type: object
      required:
      - ref_id
      - message
      title: Error
      description: An error message.
    ImageSearchRequest:
      properties:
        objective:
          anyOf:
          - type: string
          - type: 'null'
          title: Objective
          description: Natural-language description of the images wanted. Used together with search_queries to focus results on the most relevant images. At most 5000 characters.
        search_queries:
          items:
            type: string
            maxLength: 200
          type: array
          title: Search Queries
          description: Concise keyword image search queries. At least one query is required. Only the first 3 are used, and each can be at most 200 characters.
        mode:
          anyOf:
          - type: string
            enum:
            - fast
            - advanced
          - type: 'null'
          title: Mode
          description: '`fast`: lowest latency and cost. `advanced` (default): slower, with higher-quality results.'
        session_id:
          anyOf:
          - type: string
            maxLength: 1000
          - type: 'null'
          title: Session Id
          description: Session identifier that groups related calls made as part of a larger task. Echoed back in the response when nonempty; generated by the server if omitted, null, or empty.
        client_model:
          anyOf:
          - type: string
          - type: 'null'
          title: Client Model
          description: The model generating this request and consuming the results.
          examples:
          - claude-opus-4-7
          - gpt-5.4
          - gemini-3.1-pro
        advanced_settings:
          anyOf:
          - $ref: '#/components/schemas/AdvancedImageSearchSettings'
          - type: 'null'
          description: Advanced configuration for location and result count.
      additionalProperties: false
      type: object
      required:
      - search_queries
      title: ImageSearchRequest
      description: Image search request.
    UsageItem:
      properties:
        name:
          type: string
          title: Name
          description: Name of the SKU.
          examples:
          - sku_search
          - sku_extract_excerpts
        count:
          type: integer
          title: Count
          description: Count of the SKU.
          examples:
          - 1
      type: object
      required:
      - name
      - count
      title: UsageItem
      description: Usage item for a single operation.
    ImageSearchResponse:
      properties:
        search_id:
          type: string
          title: Search Id
          description: 'Search ID. Example: `search_cad0a6d2dec046bd95ae900527d880e7`'
        session_id:
          type: string
          title: Session Id
          description: Session identifier, echoed back from the request when nonempty; otherwise generated by the server. Pass it to later calls made as part of the same task.
          examples:
          - session_8a911eb27c7a4afaa20d0d9dc98d07c0
        results:
          items:
            $ref: '#/components/schemas/ImageSearchResult'
          type: array
          title: Results
          description: A list of image results, ordered by decreasing relevance.
        warnings:
          anyOf:
          - items:
              $ref: '#/components/schemas/Warning'
            type: array
          - type: 'null'
          title: Warnings
          description: Warnings for the search request, if any.
        usage:
          anyOf:
          - items:
              $ref: '#/components/schemas/UsageItem'
            type: array
          - type: 'null'
          title: Usage
          description: Usage metrics for the search request.
      type: object
      required:
      - search_id
      - session_id
      - results
      title: ImageSearchResponse
      description: Image search response.
    AdvancedImageSearchSettings:
      properties:
        location:
          anyOf:
          - type: string
          - type: 'null'
          title: Location
          description: ISO 3166-1 alpha-2 country code for geo-targeted image results.
          examples:
          - us
          - gb
          - de
          - jp
        max_results:
          anyOf:
          - type: integer
            minimum: 1.0
          - type: 'null'
          title: Max Results
          description: Upper bound on the number of results to return. Defaults to 10 if not provided. Values above the mode's maximum are reduced to it, with a warning.
      additionalProperties: false
      type: object
      title: AdvancedImageSearchSettings
      description: Advanced image search configuration.
    ErrorResponse:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always 'error'.
        error:
          $ref: '#/components/schemas/Error'
          description: Error.
      type: object
      required:
      - type
      - error
      title: ErrorResponse
      description: Response object used for non-200 status codes.
    Warning:
      properties:
        type:
          type: string
          enum:
          - spec_validation_warning
          - input_validation_warning
          - warning
          title: Type
          description: Type of warning. Note that adding new warning types is considered a backward-compatible change.
          examples:
          - spec_validation_warning
          - input_validation_warning
        message:
          type: string
          title: Message
          description: Human-readable message.
        detail:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Detail
          description: Optional detail supporting the warning.
      type: object
      required:
      - type
      - message
      title: Warning
      description: Human-readable message for a task.
    ImageSearchResult:
      properties:
        title:
          type: string
          title: Title
          description: Image title, alt text, or caption.
        image_url:
          type: string
          title: Image Url
          description: Direct URL of the full-size image.
        source_page_url:
          type: string
          title: Source Page Url
          description: URL of the page the image appears on, for attribution and context.
        width:
          anyOf:
          - type: integer
          - type: 'null'
          title: Width
          description: Image width in pixels, if known.
        height:
          anyOf:
          - type: integer
          - type: 'null'
          title: Height
          description: Image height in pixels, if known.
      type: object
      required:
      - title
      - image_url
      - source_page_url
      title: ImageSearchResult
      description: A single image search result.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key