sangtao.ai
API key

Images

Bulk creation from Excel / CSV

Upload an Excel or CSV file with one prompt per row — up to 5,000 images at a time, follow each image and export Excel with image links.

The bulk page makes images from an Excel (.xlsx) or CSV file: each row is one image, up to 5,000 rows at a time. You upload the file, check the columns and the cost, start the run, then export the file again with a link to every image.

Step 1. Prepare the file

Press Tải file mẫu (download template) for a template with every column (.xlsx). Mẫu khác (other templates) has a .csv version and a version with the prompt column only.

ColumnRequiredContent
promptYesThe image description
images (or image1, image2…)NoReference image links (http/https). Several in one cell: separate with ; or a line break
aspectRatioNoRatio, e.g. 1:1, 3:4. Leave empty and the model chooses
formatNopng or jpeg
resolutionNo1k, 2k, 4k or original. Leave empty for the model's default

File limits: .xlsx or .csv, up to 5 MB. Old .xls files are not supported — save as .xlsx. If a CSV shows broken accented characters, in Excel choose Save as → CSV UTF-8, or use .xlsx.

Step 2. Upload the file

Drag the file onto the box ("Kéo file Excel hoặc CSV vào đây") or press Chọn file (choose file). Uploading creates nothing and charges nothing. The file is kept for 1 day — after that, upload it again.

Step 3. Check the columns

  • Dòng tên cột (header row): if your file has a title line above the table, click the row that holds the real column names — rows above it are skipped.
  • Column mapping: the columns are matched for you; correct them under Cột mô tả (prompt) (prompt column), Cột ảnh tham chiếu (reference image columns — one or more), Cột tỉ lệ khung (ratio), Cột định dạng (format) and Cột độ phân giải (resolution).

The screen shows how many rows are valid and lists invalid rows with the reason, numbered as Excel numbers them. Invalid rows are not charged.

The preview step: header row picker, column mapping, valid / invalid row counts, the funding box and the "Số luồng" (threads) slider

Step 4. Check cost and speed

The funding box says how many rows your monthly plan and credits cover:

  • Enough for every row: start right away.
  • Only part of the file: tick "Tôi hiểu batch sẽ dừng ở khoảng dòng …" (I understand the batch stops at about row …) to enable the start button. Top up and it carries on.
  • Not enough for any row: buttons to Nạp tiền (top up) and Xem bảng giá (see pricing).

With a monthly plan there is also "Khi hết quota gói, dùng credit để chạy tiếp" (when the plan's quota runs out, continue with credits), off by default. Left off: when today's quota runs out the batch pauses and resumes by itself tomorrow; when the month's quota runs out it stops. The price per image is shown right there; see also Pricing.

The Số luồng (threads) slider sets how many images run in parallel, with an estimated time. If your account also calls the API, lower the threads — both share the same thread count.

Press Bắt đầu tạo … ảnh (start creating … images).

Step 5. Follow the run and get the results

The batch page shows a progress bar (done · running · waiting · failed · skipped) and a grid with each row's image, filterable by status. You can:

  • Xuất Excel (export Excel): download the results file with a link to every image — works mid-run too (unfinished rows have no link yet).
  • Tiếp tục (resume) a paused batch; Chạy ngay bằng credit (run now with credits) while it waits for tomorrow's quota.
  • Change Luồng (threads) while it runs, or Huỷ batch (cancel batch).

A running batch: progress bar, "Xuất Excel" / "Huỷ batch" buttons, the grid of row images

When you cancel: images a machine has already started still finish and are delivered; rows not yet run or still waiting for a machine are skipped and not charged.

See also