v1

latestOpenAPI 3.1.02026-08-063282108.5 KB
datasets

Upload assets to a dataset

Upload image assets to a dataset for model training. Accepts individual images (JPEG, PNG, WebP), optional .txt caption sidecar files, and/or ZIP archives containing images and captions. A dataset can contain up to 100 images.

post/datasets/{dataset_id}/upload_assets

Path parameters

dataset_idstring required

Headers

Api-Keystring required

API key for access control. Use in the header with the name "Api-Key"

Response

Upload summary

total_countinteger required

Total number of images processed.

success_countinteger required

Number of images successfully uploaded.

failure_countinteger required

Number of images that failed to upload.