E-Commerce Visual REST API & SDK Hub
Automate HD Background Removal, 3D Ghost Mannequin, Editorial Flat-Lay & Virtual Try-On directly from Shopify Plus, Magento, BigCommerce, WooCommerce, or your PIM—using reusable Style Guide UUIDs and free watermarked Sandbox prototyping.
AI-Agent Ready Docs
Integrate In 60 Seconds With Claude Code Or Cursor
Paste this prompt into Claude Code, Cursor, or Codex—it points your coding agent to /openapi.json and enables X-Dinamico-Sandbox: 1 so prototyping costs 0 credits.
Integrate the Dinamico Studio REST API v1 into this project.
Read the OpenAPI 3.1 spec at https://docs.dinamicostudio.com/openapi.json and index at https://docs.dinamicostudio.com/llms.txt if needed.
Key rules:
1. Base URL: https://docs.dinamicostudio.com/api/v1
2. Auth: Read DINAMICO_API_KEY from environment variables (never hardcode keys) and send header `X-Api-Key: $DINAMICO_API_KEY`.
3. Prototyping: While testing, send header `X-Dinamico-Sandbox: 1` (or `"sandbox": true`) so calls cost 0 credits (up to 25/day). Remove it in production.
4. Endpoints:
- `GET /balance` -> check wallet credits & rate limits
- `GET /presets` -> list built-in (`tpl-amazon-main`, `tpl-shopify-pdp`, `std-woo-magento`) & custom workspace `preset_uuid`s
- `POST /remove-bg` -> synchronous cutout (`image_url` or multipart `file`, optional `preset_uuid`, `alignment`, `hybrid_fallback`: `auto_human`, `webhook_url`, `external_id`)
- `POST /ghost-mannequin`, `POST /flat-lay`, `POST /vto` -> returns HTTP 202 with `job_uuid`; poll `GET /jobs/{uuid}` or call `POST /jobs/{uuid}/reject` to escalate to Human Retouchers.
- `POST /uploads/presign`, `POST /orders`, `POST /orders/{id}/revisions` -> 2 GB direct uploads & Human Retouching Orders with pin feedback and HMAC-SHA256 webhooks.
5. Handle HTTP 402 (insufficient credits) and 429 (rate limit / sandbox quota) with exponential backoff and clear logging.
Scoped Header Auth
Issue per-pipeline keys in /customer/workspace/api-keys with granular abilities (api:remove_bg, api:ghost, api:flat_lay, api:vto). Send X-Api-Key or Authorization: Bearer.
Free Sandbox Mode
Add header X-Dinamico-Sandbox: 1 (or "sandbox": true) to run up to 25 free calls/day/workspace. Returns watermarked 720px cutouts & instant pollable sbx_ jobs for 0 credits.
30 To 600 Req / Min
Free Trial (30/min), Starter (60/min), Pro (180/min), and Enterprise (600/min)—backed by atomic credit reservations and automatic refunds on upstream errors.
Interactive Endpoint Reference · Base URL: https://docs.dinamicostudio.com/api/v1
REST API v1 Endpoints & Code Examples
Pass preset_uuid (e.g. tpl-amazon-main or std-shopify-4x5), alignment=bottom_baseline, and optional X-Dinamico-Sandbox: 1 for zero-credit testing.
1-Parameter Marketplace Standardization
Built-In preset_uuid Directory
Pass any built-in preset_uuid below—or fetch your own custom saved Style Guides via GET /api/v1/presets—to enforce consistent aspect ratios, margins, backgrounds, and baseline horizons across every SKU.
| Preset UUID | Template Name | Specification Summary |
|---|---|---|
| tpl-amazon-main | Amazon Main | 2000×2000 · #FFFFFF · 85% fill · JPG |
| tpl-shopify-pdp | Shopify PDP | 4:5 · #F7F5EE · Soft Shadow · WebP |
| tpl-zalando-eu | Zalando EU | 3:4 · #F4F4F4 · Soft Shadow · JPG |
| tpl-master-png | Master PNG | Original size · Transparent Alpha · PNG |
| std-amazon-main | Amazon Main (RGB 255) | 2000×2000 · #FFFFFF · sRGB · 72 DPI |
| std-shopify-4x5 | Shopify PDP (4:5) | 2048×2560 · Warm Ivory · Contact Shadow |
| std-woo-magento | Woo / Magento / BigCommerce | 1600×1600 · Pure White · SKU Kept |
| std-etsy-4x3 | Etsy 4:3 Search Hero | 2700×2025 · Soft Ivory · Center Safe |
| std-master-png | Transparent Master PNG/PSD | Original Size · Alpha · Path 1 · 300 DPI |
| std-print-cmyk | Print Catalog (300 DPI CMYK) | Original · CMYK · 300 DPI · TIFF |
Integration, Sandbox & Billing
Developer REST API FAQs
How do I authenticate with the Dinamico Studio REST API v1?
Sign in to your Dinamico Studio workspace, open Developer API Keys (https://docs.dinamicostudio.com/customer/workspace/api-keys), and generate a scoped Sanctum API token. Pass it in the X-Api-Key header or Authorization: Bearer <token> header on every HTTPS request. Query-string tokens are rejected per RFC 6750 security rules.
Can I prototype and test my integration for free without spending credits?
Yes. Pass header X-Dinamico-Sandbox: 1 (or form/JSON field "sandbox": true) on any https://docs.dinamicostudio.com/api/v1/* endpoint to run up to 25 free sandbox calls per day per workspace. Sandbox calls deduct 0 credits, return watermarked 720px previews on /remove-bg, and return instant pollable sandbox job UUIDs (sbx_...) on async endpoints.
How do reusable Style Guides and Brand Export Presets work via API?
Call GET https://docs.dinamicostudio.com/api/v1/presets to list built-in marketplace templates (tpl-amazon-main, tpl-shopify-pdp, std-woo-magento, std-etsy-4x3, std-print-cmyk) plus any custom presets saved in your portal. Pass preset_uuid on any image endpoint to apply exact canvas aspect ratio, background hex, padding, shadow, and baseline alignment in one parameter.
What happens if a generative job fails or times out?
Credits are reserved atomically before execution and automatically refunded to the exact originating wallet bucket if an upstream render error occurs—returning structured JSON error codes with zero credit loss.
Can we connect AI coding agents like Claude Code, Cursor, or Codex?
Yes. Click "Copy AI Coding Agent Prompt" at the top of this page, or point your agent directly to https://docs.dinamicostudio.com/openapi.json and https://docs.dinamicostudio.com/llms.txt so it can generate typed integration clients in seconds.
Two Ways To Start · Zero Risk
Ready To Scale Your Product Visuals?
Upload 2–3 raw packshots (RAW, PSD, TIFF, JPEG up to 2 GB) for a free human calibration test in 12–24 hours—or launch Dinamico AI Studio right now with 20 free HD cutout credits.