Developer Documentation

API Reference

Learn how to integrate PictuRest assets into your websites and applications using our high-speed direct retrieval API.

Base URL

https://picturest.app/api/i/

Retrieval Endpoint

Get/[code]

Retrieve an image asset by its unique custom code. This endpoint returns the image data directly with the correct Content-Type headers, making it perfect for use in <img> tags.

Parameters
NameTypeDescription
codestringThe custom identifier assigned to the asset in your dashboard.

Implementation Examples

Standard HTML

<img src="https://picturest.app/api/i/hero-v1" alt="Hero Banner" />

Markdown

![Alt Text](https://picturest.app/api/i/hero-v1)

React / Next.js

import Image from 'next/image';

export const MyComponent = () => (
  <Image 
    src="/api/i/hero-v1" 
    alt="Hero" 
    width={800} 
    height={600} 
  />
);

Direct Asset Delivery

Our API serves the binary content directly, optimized for high-traffic scenarios and low-latency image loading.