Your photos just got sharper: Meet Prime🎉

Shadow generation API

Add realistic shadows to thousands of product photos automatically. Natural lighting, preserved detail, white or colored canvas. Via API, or with our team handling it for you.
Shadow generation API illustration

Trusted by marketplaces and brands processing millions of images

80%

cost reduction vs. traditional editing

average across customers

33%

faster marketplace onboarding

aggregate customer data

3x

purchase probability with better product images

Rappi

Catalog-ready shadows at scale

Turn isolated product cutouts into production-ready catalog images. Realistic depth, natural lighting, no manual retouching.

Raw product photo on a colorful backdrop, ready to upload

Upload

Point the API at your product photo with an HTTPS URL or S3/GCS reference. Most common image formats supported, with or without transparency. No pre-processing required.

Product cutout on transparent background after background removal

Remove background

Need a clean cutout first? Pair with the Claid Background Removal API. Same platform, same auth, same pipeline.

Product with realistic shadow on white canvas

Add shadow

Pick front view or top-down, on white, colored, or transparent canvas. Get a polished, catalog-ready output.

Every product, every canvas

Fashion, beauty, food, electronics, home. The same API handles them all.

Sunglasses before and after shadow generation
Sunglasses before and after shadow generation

Two shadow modes out of the box

Red handbag with front-view shadow

Front view

For catalog images. The object sits naturally on the surface with a realistic drop shadow. Works on white, colored, or transparent canvases.

Red handbag with top-down flat shadow

Flat / top-down

For overhead shots. The shadow radiates under the object, matching an above-angle camera. Ideal for flat lays, beauty catalogs, food grids, merchandise.

Built for your image pipeline.

Shadow generation is rarely a standalone step. Slot it into your existing pipeline alongside Claid's background removal, upscaling, and other APIs. One platform, one auth, predictable latency.

CLAID PLATFORM
Raw product photo
Input
Product on transparent background
Remove BG
Upscaled product
Upscale
Catalog-ready product with shadow
Output

Integrate in minutes

A single POST request. Returns a ready-to-use image URL. Standard HTTP error codes for clean retry logic.

POST /v1/scene/create

{
  "object": { "image_url": "https://..." },
  "scene": {
    "effect": "shadows",
    "view": "front",
    "color": "white"
  }
}

// response

{
  "output": [
    { "tmp_url": "https://..." }
  ]
}
  • Inputs: JPEG, PNG, WEBP, AVIF, HEIC, and other common formats
  • Pairs with Claid's background removal, upscale, and other APIs
  • Rate limits: 4 RPS / 120 RPM default, higher available on request
  • SLA available on enterprise plans
  • 2 credits per generated image, 50 free credits for new accounts

Scaling car catalog imagery with Claid

Caranty SUV processed with Claid
CARANTY • EUROPEAN CAR MARKETPLACE

2h → 2min

per vehicle processing time

“It's like having a team of experts working behind the scenes.”

Arturo Diaz

Arturo Diaz

CTO at Caranty

Read the full story →

Prefer not to
build an integration?

Our team can handle image processing for you.

How can I start testing the Shadow Generation API?
Create a free account at claid.ai and you'll get 50 credits to test the web platform plus 50 credits for the API. No credit card required.
How can I get more credits for testing?
Self-serve API plans start at $59 for 1,000 credits. See all options on our API pricing page. For higher volumes, we offer custom enterprise plans, and you can talk to our team any time.
Can I use shadow generation alongside other Claid operations?
Yes. Shadow generation pairs with Claid's background removal, upscaling, and other APIs. Same platform, same auth, same pipeline. See the documentation for the full list of operations.
What input formats does the Shadow Generation API accept?
JPEG, PNG, WEBP, AVIF, HEIC, and other common formats (PNG with transparency supported). For best results, send products on a transparent or clean background. Need to clean the input first? Pair with the Claid Background Removal API.
What’s the difference between Front and Flat shadow modes?
Front view places the object on a surface with a realistic drop shadow. It's the default for catalog product images. Flat / top-down radiates the shadow directly under the object, matching an overhead camera angle. Use it for flat lays, food grids, and merchandise photography.
How is pricing structured? Do you offer volume discounts?
Claid uses a credit-based system. Operations cost 1–10+ credits depending on complexity. Self-serve API plans start at $59 for 1,000 credits. For higher volumes, custom enterprise plans are available with volume pricing, dedicated support, and SLAs. See all options on our API pricing page, or talk to our team.
What about data security and compliance?
Images are processed over HTTPS. Enterprise and custom plans add data isolation (your images are not used for model training), SLAs, regional processing, and DPA agreements. Talk to our team for details.
What if I need something that isn’t in the API?
Talk to our team. We regularly build custom AI solutions for things that aren't available as self-serve features yet. Our engineering and creative teams design workflows tailored to your specifications, visual identity, and scale requirements. This is how many of our largest clients work with us.

Ready to add realistic shadows at scale?

Start with 50 free credits, or talk to our team about a custom solution.

Explore more Claid APIs

Smart Frame

Smart Frame

Light AI

Light AI

Generate Background

Generate Background