Explore models
Image$0.02 / image

Fit to spec

Fits a product or dish photo you took to the listing spec of a marketplace or delivery app. Main images put the product in the center of a pure white background, and dish photos are cropped to the app ratio without cutting the dish. No pixels are generated. 23 targets.

View docs
const res = await fetch('https://serastudio.app/api/v1/fit', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.SERA_API_KEY}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': 'listing-0417',
  },
  body: JSON.stringify({ target: 'amazon', image: { upload_id: 'img_…' } }),
});
const fit = await res.json();
console.log(fit.output.url);

1. Calling the API

POST https://serastudio.app/api/v1/fit

2. Authentication

Send your API key in the Authorization: Bearer header on every request.

3. Request parameters

ParameterTypeRequiredDefaultDescription
targetstringYWhere the image will be posted (target in the table below)
imageobjectYAn uploaded photo {upload_id}. JPEG · PNG, shorter side at least 300 px

4. Targets

targetNameSpecOutput
coupangCoupangPure white · fills 95% · 2000×2000image/png
gmarketGmarketPure white · fills 80% · 1000×1000image/png
amazonAmazonPure white · fills 85% · 2000×2000image/png
walmartWalmartPure white · fills 85% · 2200×2200image/png
ebayeBayPure white · fills 85% · 1600×1600image/png
tiktok_shopTikTok ShopPure white · fills 85% · 2000×2000image/png
mercado_libreMercado LibrePure white · fills 95% · 1200×1200image/png
kauflandKauflandPure white · fills 95% · 2048×2048image/png
google_shoppingGoogle ShoppingPure white · fills 85% · 1500×1500image/png
white_squareWhite squarePure white · fills 85% · 2000×2000image/png
baeminBaemin4:3 · 1280×960 or largerimage/jpeg
coupang_eatsCoupang Eats4:3 · 1280×960 or largerimage/jpeg
yogiyoYogiyo27:16 · 1080×640 or largerimage/jpeg
doordashDoorDash16:9 · 1400×800 or largerimage/jpeg
lieferandoLieferando4:3 · 1280×960 or largerimage/jpeg
woltWolt16:9 · 1000×563 or largerimage/jpeg
uber_eatsUber Eats5:4 · 550×440 or largerimage/jpeg
grubhubGrubhub1:1 · 200×200 or largerimage/png
deliverooDeliveroo16:9 · 1200×675 or largerimage/jpeg
just_eatJust Eat4:3 · 1280×960 or largerimage/jpeg
photo_4_3Dish photo 4:34:3 · 1280×960 or largerimage/jpeg
photo_16_9Dish photo 16:916:9 · 1400×800 or largerimage/jpeg
photo_1_1Dish photo 1:11:1 · 1000×1000 or largerimage/jpeg

View docs