datasets

Upload assets to a dataset

Changed on

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

Request

  • Base URL: https://api.ideogram.ai
  • URL: https://api.ideogram.ai/datasets/{dataset_id}/upload_assets
  • Auth: API key in header Api-Key

Path parameters

dataset_idstring required

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.

Changes

    • breaking

      removed the required property // from the response with the status

    • warning

      deleted the header request parameter Api-Key

    • info

      the endpoint scheme security ApiKeyAuth was added to the API