AI relighting

Change Photo Lighting API

Add professional, directional lighting to any photo after the shot. Set where the light comes from and how strong it is — AI re-renders shadows and highlights so flat phone photos look like studio shots. Great for product images and portraits.

Endpoint

POST https://api.pixelapi.dev/v1/image/relight

curl -X POST https://api.pixelapi.dev/v1/image/relight \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "[email protected]" \
  -F "light_direction=left" \
  -F "intensity=0.8"

light_direction: left, right, top, front. intensity: 0.0–1.0.

Get the result

curl https://api.pixelapi.dev/v1/image/JOB_ID \
  -H "Authorization: Bearer YOUR_API_KEY"

Jobs run async on always-warm infrastructure — poll until status is completed. No cold starts.

What people use it for

Also see: Background RemovalAI Image Editor