train_paint_lab_style
Start training your own Paint Lab style from a quote. Uses this month’s generation allowance. Returns the style at once (status submitting or queued); poll get_paint_lab_trained_style until status is ready or failed. Training takes a few minutes. Retrying with the same quoteId returns the same style and never charges twice. A failed training returns its allowance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes | Quote id from quote_paint_lab_style_training. | |
| idempotencyKey | No | Optional request key (8–128 letters, numbers, dots, dashes, colons, or underscores). The quoteId is already single-use. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Trained style id. Pass it as trainedStyleId once status is ready. | |
| name | No | Style name. | |
| error | No | User-safe failure message when status is failed. | |
| status | Yes | submitting, queued, training, ready, or failed. | |
| readyAt | No | ISO timestamp when the style became ready. | |
| styleId | No | Same as id. | |
| refunded | No | True when a failed training returned its allowance. | |
| createdAt | No | ISO timestamp when training was started. | |
| errorCode | No | Stable failure code when status is failed. | |
| imageCount | No | How many of your drawings trained this style. |