upriver-ai Images API

The Images API from upriver-ai — 1 operation(s) for images.

Operations 1

POST /v1/images/download Download an image #

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/upriver-ai:upriver-ai-images-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

upriver-ai-images-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Upriver Images API
  description: A social insights API for ad generation platforms. It provides structured signals, like psychographics, behavioral insights, trends, and audience language, to help AI models generate relevant, higher-converting ads.
  version: 1.0.0
servers:
- url: https://api.upriver.ai
  description: Production API server
tags:
- name: Images
paths:
  /v1/images/download:
    post:
      tags:
      - Images
      summary: Download an image
      description: 'Download an image from a public HTTPS URL. Useful when a website blocks direct image downloads.


        Returns the original image bytes, with the format in `Content-Type`. Errors return JSON.


        Supports JPEG, PNG, WebP, GIF, and AVIF up to 10 MiB, with at most 16 million pixels across up to 32 frames.


        For product images, add `image_url` to `include` in `POST /v1/brand/products` and pass the returned URL here.'
      operationId: download_image_bytes_v1_images_download_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImageDownloadInput'
        required: true
      responses:
        '200':
          description: Original image bytes.
          content:
            image/jpeg:
              schema:
                type: string
                format: binary
            image/png:
              schema:
                type: string
                format: binary
            image/webp:
              schema:
                type: string
                format: binary
            image/gif:
              schema:
                type: string
                format: binary
            image/avif:
              schema:
                type: string
                format: binary
        '400':
          description: Invalid or non-public URL.
        '404':
          description: Source image not found.
        '413':
          description: Request body or image exceeds a size, pixel, or frame limit.
        '429':
          description: Too many requests.
        '502':
          description: Source unavailable or did not return a supported image.
        '503':
          description: Image downloads temporarily unavailable. Retry later.
        '504':
          description: Download timed out.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
      x-agent-description: Download an image from a public HTTPS URL. Useful when a website blocks direct image downloads. Returns the original image bytes, with the format in Content-Type. Errors return JSON.
      x-agent-params:
      - url
      x-codeSamples:
      - lang: bash
        label: Save an image
        source: "# Set UPRIVER_API_KEY to your API key and replace the image URL.\ncurl --fail 'https://api.upriver.ai/v1/images/download' \\\n  -H \"X-API-Key: $UPRIVER_API_KEY\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"url\":\"https://www.pepsi.com/prod/s3fs-public/2026-01/product_image_pepsi_0.png\"}' \\\n  --dump-header - \\\n  --output image.bin"
components:
  schemas:
    ImageDownloadInput:
      properties:
        url:
          type: string
          maxLength: 8192
          minLength: 1
          title: Url
          description: Public HTTPS URL of the image to download.
          examples:
          - https://example.com/product.png
      additionalProperties: false
      type: object
      required:
      - url
      title: ImageDownloadInput
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key