tryon
Preview Pose Sketch
Synchronously turn a user-uploaded person photo into a line sketch. Same nano-banana edit prompt the async worker handler uses, just invoked direct from the API so the Create modal can show a preview before the user commits the variant.
Reuses the FE upload's source_photo_s3_key. Returns the generated sketch's S3 key + a presigned URL the FE can render immediately. Failures raise 422 with a typed reason so the FE can surface a "couldn't generate sketch — try a different photo or rewrite the prompt" affordance.
post/api/tryon/pose-variants/preview-sketch
Request
- Base URL: https://api.tintin-x.com (the document declares no server; this is the origin it was published from)
- URL: https://api.tintin-x.com/api/tryon/pose-variants/preview-sketch
- Auth: HTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.