v1

latestOpenAPI 3.0.02026-07-13650400.5 KB
Tailored Generation

Create Dataset

Create a new dataset.

Constraints:

  • Dataset must have at least 1 image to be completed
  • Maximum of 200 images per dataset
post/tailored-gen/datasets

Headers

api_tokenstring required

Request body

project_idinteger

Associated project ID (required)

namestring

Dataset name (required)

Response

Dataset successfully created

idinteger

Unique identifier for the dataset

project_idinteger

Associated project ID

namestring

Dataset name

caption_prefixstring

Text automatically prepended to all image captions in the dataset. Each image caption should naturally continues this prefix. A default prefix is automatically created but can be modified, and this same prefix is later used as the default generation prefix during image generation.

status'draft'

Status of the dataset

captions_update_status'empty' | 'in_progress' | 'completed'

Status of captions update process

created_atstring date-time

Timestamp when the dataset was created

updated_atstring date-time

Timestamp when the dataset was last updated