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.
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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| target | string | Y | Where the image will be posted (target in the table below) | |
| image | object | Y | An uploaded photo {upload_id}. JPEG · PNG, shorter side at least 300 px |
4. Targets
| target | Name | Spec | Output |
|---|---|---|---|
| coupang | Coupang | Pure white · fills 95% · 2000×2000 | image/png |
| gmarket | Gmarket | Pure white · fills 80% · 1000×1000 | image/png |
| amazon | Amazon | Pure white · fills 85% · 2000×2000 | image/png |
| walmart | Walmart | Pure white · fills 85% · 2200×2200 | image/png |
| ebay | eBay | Pure white · fills 85% · 1600×1600 | image/png |
| tiktok_shop | TikTok Shop | Pure white · fills 85% · 2000×2000 | image/png |
| mercado_libre | Mercado Libre | Pure white · fills 95% · 1200×1200 | image/png |
| kaufland | Kaufland | Pure white · fills 95% · 2048×2048 | image/png |
| google_shopping | Google Shopping | Pure white · fills 85% · 1500×1500 | image/png |
| white_square | White square | Pure white · fills 85% · 2000×2000 | image/png |
| baemin | Baemin | 4:3 · 1280×960 or larger | image/jpeg |
| coupang_eats | Coupang Eats | 4:3 · 1280×960 or larger | image/jpeg |
| yogiyo | Yogiyo | 27:16 · 1080×640 or larger | image/jpeg |
| doordash | DoorDash | 16:9 · 1400×800 or larger | image/jpeg |
| lieferando | Lieferando | 4:3 · 1280×960 or larger | image/jpeg |
| wolt | Wolt | 16:9 · 1000×563 or larger | image/jpeg |
| uber_eats | Uber Eats | 5:4 · 550×440 or larger | image/jpeg |
| grubhub | Grubhub | 1:1 · 200×200 or larger | image/png |
| deliveroo | Deliveroo | 16:9 · 1200×675 or larger | image/jpeg |
| just_eat | Just Eat | 4:3 · 1280×960 or larger | image/jpeg |
| photo_4_3 | Dish photo 4:3 | 4:3 · 1280×960 or larger | image/jpeg |
| photo_16_9 | Dish photo 16:9 | 16:9 · 1400×800 or larger | image/jpeg |
| photo_1_1 | Dish photo 1:1 | 1:1 · 1000×1000 or larger | image/jpeg |