---
title: "Generate Lifestyle Route"
method: POST
path: "/api/lifestyle/generate"
---

# Generate Lifestyle Route

`POST /api/lifestyle/generate`

## 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/lifestyle/generate`
- Auth: HTTP bearer

Charge + enqueue one lifestyle job (1 hand → `num_images` variants).

## Request body

- LifestyleGenerateRequest: POST `/api/lifestyle/generate` body. Re-renders a finished try-on image (`source`) as a lifestyle showcase shot. The optional `reference` image is a STYLE/MOOD reference (lighting, palette, framing — NOT a literal background) and `prompt` describes the scene in words. At least one of `reference` / `prompt` must be present. Async like try-on: returns a `JobCreateResponse`; the N variants land in `hands[0].candidate_urls`, polled via `getJob`.
  - `source_s3_key` string, nullable
  - `source_series_id` string, uuid, nullable
  - `reference_s3_key` string, nullable
  - `prompt` string, nullable
  - `num_images` integer
  - `nail_set_label` string, nullable
  - `output_aspect` 'auto' | '21:9' | '16:9' | '3:2' | '4:3' | '5:4' | '1:1' | '4:5' | '3:4' | '2:3' | '9:16' | '4:1' | '1:4' | '8:1' | '1:8', nullable
  - `output_resolution` '2K' | '4K', nullable

## Response `201`

Successful Response

- JobCreateResponse
  - `id` string, uuid, required
  - `series_id` string, uuid, required
  - `status` 'draft' | 'pending' | 'running' | 'succeeded' | 'failed', required
  - `nail_set_s3_key` string, required
  - `hands` HandResultResponse[], required
    - `id` string, uuid, required
    - `hand_idx` integer, required
    - `status` 'charging' | 'running' | 'succeeded' | 'failed' | 'refunded', required
    - `hand_s3_key` string, required
    - `hand_template_id` string, uuid, nullable
    - `hand_url` string, nullable
    - `bare_s3_key` string, nullable
    - `warp_s3_key` string, nullable
    - `final_s3_key` string, nullable
    - `final_url` string, nullable
    - `candidate_s3_keys` string[], nullable
    - `candidate_urls` string[], nullable
    - `candidate_video_urls` string[], nullable
    - `cents_charged` integer, nullable
    - `error_message` string, nullable
    - `created_at` string, date-time, required
    - `finished_at` string, date-time, nullable
  - `total_cents_charged` integer, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
