Create a generation
Starts an asynchronous AI visualization. Returns 202 Accepted with a processing generation. Supply an Idempotency-Key header to safely retry.
202 Accepted with a processing generation.
Learn the outcome via webhooks (recommended) or by polling the generation.
Supply an Idempotency-Key header to safely retry on network failures.Authorizations
Your Selektable API key (selektable_...), sent as Authorization: Bearer <key>.
Headers
Unique key to make creation idempotent.
Body
virtual-try-on = fashion; room-visualizer = interior staging.
virtual-try-on, room-visualizer Customer photo: an https URL or a data:image/*;base64,... URI (≤10MB).
1 - 3 elementsOptional styling guidance.
500Output resolution. Consumes 1/2/3 credits respectively.
1K, 2K, 4K Up to 40 string key/values, echoed back on the generation.
Response
Idempotent replay — existing generation returned
"agen_abc123"
generation processing, complete, failed virtual-try-on, room-visualizer 1K, 2K, 4K Permanent CDN URL to the original render at the requested imageSize (1K/2K/4K). Safe to store and embed.
Permanent CDN URLs to resized JPEG/WebP variants of imageUrl, served by Cloudflare Image Transformations. Use a variant instead of the original when you need a smaller payload (emails, lists, mobile). null until status is complete.