P
icSum:DEV

picsum.dev - API Test Page

File System Test

Static Image (blue_800x600.jpg):

Test Blue

Static Image (ocean_gradient_800x450.jpg):

Test Ocean

Static Image (sunset_gradient_800x450.jpg):

Test Sunset

Alternative Image Test

Color Test (red_test_400x300.jpg):

Test Red

Alternative Method:

Test Red Direct

Color Test (blue_test_400x300.jpg):

Test Blue

Alternative Method:

Test Blue Direct

Color Test (yellow_test_400x300.jpg):

Test Yellow

Alternative Method:

Test Yellow Direct

Debug Information - Image URLs:

  • Asset URL (red): https://picsum.dev/storage/images/red_test_400x300.jpg
  • Direct URL (red): https://picsum.dev/storage/images/red_test_400x300.jpg
  • Storage URL (red): /storage/images/red_test_400x300.jpg
  • App URL: https://picsum.dev/
  • Base Path: /home/u101412757/domains/picsum.dev/public_html

File Test - Alternative Methods

1. Test file (public/test-file.txt): /test-file.txt

2. Alternative image references:

Red via URL

via url()

Red direct

via direct path

3. Image file existence check:

red_test_400x300.jpg: NOT FOUND

blue_test_400x300.jpg: NOT FOUND

yellow_test_400x300.jpg: NOT FOUND

test-file.txt: EXISTS

Direct API Test

API - Random Image Endpoint:

/api/v1/random/400/300

API - Image ID=1 Endpoint:

/api/v1/id/1/400/300

API - Instant Random Image:

/test/400/300

API - Static (Non-changing) Image:

/test/400/300?static

Random Image

Random image

Instantly Generated Image

Instantly generated image

Image Effects

Effect image

QR Code

QR Code

Stock Images

API Endpoints Used

  • GET /api/v1/random/{width}/{height}
  • GET /api/v1/id/{id}/{width}/{height}
  • GET /api/v1/effects/{id}/{width}/{height}?grayscale&sepia&blur=5
  • GET /api/v1/qrcode/{id}/{size}
  • GET /test/{width}/{height} (Instantly generated image)