Skip to main content

curu-caption

What is this

curu-caption makes LoRA training sets from videos and photographs, on your own computer. It removes duplicate and blank frames, finds the items that you ask for, and captions only those items. The result is media and .txt caption pairs, with the configuration that AI-Toolkit trains from. It is for a person who trains LoRAs and does not want to extract, sort and caption frames by hand. Each step runs locally by default, and no step needs a cloud account.

curu-caption --help

What you can do

Task Command Section
Make a corpus from a video or a folder of videos curu-caption ingest --source episode.mp4 --out corpus/ Make a corpus from a video
Make a corpus from a folder of photographs curu-caption ingest --source photos/ --out photo-corpus/ Make a corpus from photographs
Index a corpus again curu-caption index --corpus corpus/ Index a corpus again
Find the items that match a description curu-caption cut --corpus corpus/ --out training/ --projection wan-t2v --want "a wide shot" --dry-run Find items by meaning
Make a training set for one model curu-caption cut --corpus corpus/ --out training/ --projection wan-t2v --caption Make a training set
Make a training set for MiniMax H3 curu-caption cut --corpus clips-corpus/ --out h3-training/ --projection h3 --caption Make a training set for MiniMax H3
Name the people in the captions, and give the context of the sources curu-caption cast add --corpus family/ --kind person --name Linda --class woman --description "the woman in the red dress" Name the people and things in the captions
Get the cast of a published film from its credits, and see who each clip names curu-caption cast propose --corpus tos/ --published --work "Tears of Steel" --year 2012 --kind movie Get the cast of a published film
Name the people of a corpus by their faces, one group at a time curu-caption cast faces page --corpus family/ Name the faces of a corpus
Add timelines to a bundle you already made curu-caption timeline --bundle bundle/ --out bundle-timelines/ Add timelines to a bundle you already made
Make an audio-visual bundle for amoral curu-caption cut --corpus clips-corpus/ --out bundle/ --trainer amoral-av --golden golden-v1/ --estate-root media/ Make a bundle for amoral
Look at a corpus or a cut, and correct it curu-caption review --corpus corpus/ Review a corpus or a cut
Caption each file in a folder curu-caption caption photos/ Caption a folder
Find near-duplicate files in a folder curu-caption curate photos/ Find near-duplicates in a folder
Keep or reject each file against your criteria curu-caption judge photos/ --criteria "no blurry shots" Judge a folder
Write dataset.yaml for a captioned folder curu-caption dataset-config photos/ --trigger-word ohwx Write dataset.yaml for a folder
Read the ComfyUI workflow in a generated image curu-caption comfy inspect generated.png Read a ComfyUI workflow
Run the models on a computer that has a GPU curu-caption cut --corpus corpus/ --out training/ --projection ltx --caption --ollama-url http://gpu-box:11434 Run the models on a GPU computer
Work on a network share (NAS) curu-caption ingest --source videos/ --out corpus/ --stage-locally Work on a network share
Set the caption model for each command export CURU_CAPTION_CAPTION_MODEL=saracen9/amoral-qwen3.8-27b Set the caption model and other settings
Find out why a command stopped curu-caption cut --prune corpus/ || echo "exit code $?" Handle errors

Install

You need Python 3.12 or later, uv, a Rust toolchain (rustup), ffmpeg and Ollama. On a computer with no CUDA GPU, you also need llama-server from llama.cpp for the quality scores and the claim check.

To install the released package from PyPI, you need only Python 3.12 or later, uv, ffmpeg and Ollama. On a computer with no CUDA GPU, you also need llama-server:

uv tool install "curu-caption[audio]"    # curu-caption and curu-caption-tui on the PATH

The wheels are for Linux x86_64 and macOS (arm64 and x86_64). They include the Rust extension and the review program. On a CUDA computer, use "curu-caption[audio,gpu]".

To develop, install from a clone of the repository. Then you also need the Rust toolchain, and on Linux a C compiler:

git clone https://github.com/darth-veitcher/curu-caption.git
cd curu-caption
uv sync --extra audio
cargo build --release -p curu-tui && scripts/stage-tui.sh   # the review program
source .venv/bin/activate                                  # puts curu-caption on the PATH
  • uv sync also compiles the Rust extension curu_caption._core.
  • Give --extra audio each time that you run uv sync. A plain uv sync removes it. It makes the sound, speech and music facts. ltx needs the sound fact, and h3 uses all three when it has them.
  • The second line builds the review program. No other command needs it.
  • No model downloads at install time. Each model downloads the first time that a command needs it (see Technical notes).

Then get a caption model for Ollama. The amoral-qwen3.5-9B project makes the three caption models. The default model needs about 32 GB of memory (unified memory or VRAM):

ollama pull saracen9/amoral-qwen3.5-9b
Model Memory Use it when
saracen9/amoral-qwen3.5-9b about 32 GB The default. It is correct for most datasets
saracen9/amoral-qwen3.8-27b about 48 GB You need fine detail or the subject matter is unusual
saracen9/amoral-muse-glimmer-30b-abliterated about 64 GB The smaller models do not describe the subject matter plainly

The full setup, with each platform, cache and fix, is in docs/setup.md.

Quickstart

Make a training set for a text-to-video LoRA from one video, episode.mp4:

curu-caption ingest --source episode.mp4 --out corpus/
curu-caption cut --corpus corpus/ --out training/ --projection wan-t2v \
    --want "a person smiling" --limit 60 --dry-run
curu-caption cut --corpus corpus/ --out training/ --projection wan-t2v \
    --want "a person smiling" --limit 60 --caption --trigger ohwx
  1. ingest extracts one frame each second, removes the duplicate and blank frames, and indexes the frames that it keeps. It does not caption. The result is the corpus, corpus/.
  2. cut --dry-run shows the 60 frames that match "a person smiling", and the facts that each frame does not have yet. It writes nothing and it costs nothing.
  3. cut --caption captions those 60 frames only, and writes them to training/.

training/ then holds frame_<ms>.png and frame_<ms>.txt pairs and a dataset.yaml. Each caption starts with the trigger word ohwx. Copy training/ to the computer that trains, and give dataset.yaml to AI-Toolkit.

Make the corpus one time, and cut it many times. A second LoRA from the same video is a second cut, not a second ingest. Each command refuses an --out folder that is not empty, so no run writes over an earlier result.

Make a corpus from a video

ingest reads a video, or each video in a folder, and makes a corpus:

curu-caption ingest --source videos/ --out corpus/

It reads the videos in each subfolder too. At the end, it prints corpus ready and the next command to run. The line gives the number of items that a cut can select, and the number that the cull removed.

  • Frames. By default, ingest extracts one frame each second (--interval 1.0). Each frame is a PNG named for its time in milliseconds, for example frame_0000004000.png.
  • The cull. ingest removes near-duplicate frames and blank frames. A blank frame has a sharpness (Laplacian variance) below --min-sharpness, 1.0 by default. Of each group of near-duplicates, it keeps the sharpest frame.
  • The index. ingest then indexes each frame that it keeps, so that cut --want can find it. It also records a quality score for each item (see Index a corpus again).
  • Many sources. In a corpus of many videos, each video has its own subfolder, with the path of the video under --source. In a cut, each file name starts with its source folder, so the clip_000.mp4 of each episode stays.
  • Some videos of a folder. Give --source more than once, for example --source s01/ep01.mkv --source s01/ep02.mkv. A video that you name directly gets a subfolder with its file name, without the extension, for example ep01. If two videos have the same subfolder name, ingest stops before it reads a video. Then give their parent folder as --source.

The corpus is the result that you keep. Each item holds its facts in the media file itself, in PNG text chunks or MP4 metadata. Thus you can move or copy a corpus as one folder, and a single item that you copy out keeps its facts.

Clips for a video LoRA. Add --clips to cut the video into MP4 clips, one for each shot, with their audio. Use --interval 1 or less with it: ingest finds each shot from the gaps between the frames that it samples. With a wide interval, no clip is long enough, and ingest prints this reason. The frames that ingest used to find the shots stay in the corpus, marked detection-only, so a later detection costs nothing. A cut never selects them, and says N detection-only frame(s) — kept as evidence, never selected.

Before it finds the shots of a video, ingest prints detecting shots in N frame(s). N is the number of frames that it extracted from that video. The next line, with the clip count, comes after it finds the shots and cuts the clips.

A shot shorter than 0.5 s gives no clip. The clip line counts the skipped shots, and the next line gives each reason with its count. The last line counts the clips and the detection frames apart:

      17 clip(s), 3 shot(s) skipped
      skipped: 3 shorter than 0.5 s
corpus ready — 17 clip(s) to cut from, 60 detection-only frame(s) kept as evidence, in corpus/

The audio of a clip is FLAC. It keeps each channel and the channel layout of the source, for example 5.1.

Option Default What a higher value does
--interval 1.0 s Fewer frames, and a faster ingest. With --clips, ingest finds fewer shots
--phash-distance 8 More frames count as near-duplicates, and the cull removes more
--min-sharpness 1.0 More frames count as blank. Keep it low: it measures detail, not focus

--phash-distance is the number of bits, from 0 to 64, that differ between the perceptual hashes of two frames. At 0, only frames that look the same are near-duplicates. On real TV footage, the default 8 removed 37% of the frames, and each group was one static shot.

curu-caption ingest --help

Make a corpus from photographs

ingest also reads a folder of photographs, with its subfolders:

curu-caption ingest --source photos/ --out photo-corpus/
  • Each photograph becomes one item. ingest converts it to PNG, because a PNG file can hold facts and a JPEG file cannot.
  • The name of each item comes from its path under --source. Thus two photographs with the same file name do not write over each other.
  • ingest ignores the files that are not media, for example Thumbs.db, .DS_Store and .zip files.
  • ingest refuses --clips for photographs, because a photograph has no shots and no audio. It refuses before the ingest starts, not later at cut time.
Path under --source Item in the corpus
man/man_0001.jpg man_0001.png
2019/IMG_0001.jpg 2019_IMG_0001.png
2024/IMG_0001.jpg 2024_IMG_0001.png

ingest leaves out a folder name when the file name already starts with it, as for man_0001.jpg.

Index a corpus again

index runs the index step of ingest again on a corpus that exists. Use it after a change to an index model, or on a corpus that you made with --no-index or --no-quality:

curu-caption ingest --source photos/ --out photo-corpus/ --no-quality
curu-caption index --corpus photo-corpus/                 # adds the quality scores
curu-caption index --corpus photo-corpus/ --tags          # also adds WD14 tags and rating

index --no-quality makes only the index. On a corpus of 11 items, of which ingest kept 7, a second run of index prints:

index 7 kept item(s) in photo-corpus (4 culled, excluded or detection-only, not indexed)
  indexing with EmbeddingGemma 2 (curu-vision)
  judging quality with d1-3B (curu_vision.questions, gguf engine) — a review pre-sort, never a gate
  embedding: 0 extracted, 7 already current
  quality: 0 extracted, 7 already current

index ready — photo-corpus

index reads only the kept items. It does not make a fact again when the fact is current for its model and parameters. Thus a second run does nothing, as in the example output.

Run index again on each corpus after a change to the index model. The embedding fact records the model, its engine and the version of curu-vision. After you update curu-vision, each vector is stale. cut --want does not use a stale vector, and index makes it again. curu-vision puts each transparent part of a picture onto white before the embedding.

The quality fact holds two probabilities from 0 to 1. The model d1-3B gives them from three frames of each clip, at 10%, 50% and 90%, or from the one picture of a still:

  • p_keep is the probability that the item is good training data: sharp, one shot, and nothing broken.
  • p_person is the probability that a person is visible.

A higher value is more likely to be true. The scores only sort items for review. No command removes, culls or selects an item on these numbers. On 101 labelled clips, d1-3B put a good clip above a rejected clip 72% of the time (AUROC 0.72; 0.5 is chance). That is useful to order a review, and too weak to make the decision alone. A cut records the scores of each item that it selects in cut-selection.json.

--tags adds two facts to each photograph, from one run of the WD14 tagger. A clip gets no tags yet (see Limits):

  • The tags fact holds the descriptive tags, the tag with the highest score first, for example solo, 1girl, outdoors. A tag for a thing in the picture needs a score above 0.35, and the name of a character needs a score above 0.70. It never holds a rating label.
  • The rating fact holds the four WD14 rating scores, each from 0 to 1, for example {"explicit": 0.002, "general": 0.736, "questionable": 0.011, "sensitive": 0.286}. general is safe content, and explicit is sexual content. A higher score means that the model finds that rating more probable. Each score is independent of the other three, so the four do not add up to 1.

No command reads the rating yet. It is a fact in each media file, for your own sort or filter. No command removes, culls or selects an item on it. WD14 learned from anime pictures, so its rating of live-action footage is not accurate.

Step On a CUDA GPU On a CPU or Apple silicon
Index (EmbeddingGemma 2) not measured; it needs the gpu extra about 5.4 s for each 1280x720 frame (Apple M1 CPU)
Quality (d1-3B) about 0.25 s for each item (RTX 3090) about 20 s for each item of three 1280x720 frames (16 GB Apple M1, gguf engine, with other work running)
WD14 tags and rating (--tags) — about 4.5 s for each item (the --tags help)

d1-3B runs in curu-vision, which has two engines for it. An engine is the software that runs the model. With a CUDA GPU, curu-vision uses the transformers engine. Else it uses the gguf engine, which needs llama-server from llama.cpp on the PATH. Install it, for example with brew install llama.cpp. The llama-server build must have the /v1/systemone endpoint. The tests of curu-vision used build 11960. The two engines give almost the same numbers, and each fact records its engine.

On a Mac, run d1-3B on a model service with a CUDA GPU (see Run the models on a GPU computer). Then no llama-server is necessary.

Find items by meaning

cut --want searches the index for the items that match a description in plain English. With --dry-run, it shows the result and writes nothing:

curu-caption ingest --source videos/ --out corpus/
curu-caption cut --corpus corpus/ --out training/ --projection wan-t2v --want "a wide shot" \
    --limit 60 --dry-run

The command prints the number of matches, and the highest and lowest score that it kept. The score of each item is the cosine similarity between the description and the item, from -1 to 1. A higher score is a closer match, but use the order, not the number. Over 377 clips, the scores of each query were between 0.64 and 0.79. The score where good matches stop changes with the query, so no fixed limit is correct for all queries.

  • --limit keeps the best matches, 100 by default. --limit 0 keeps each match. This is the control to use.
  • --threshold removes each match with a score below the value. It is off by default.
  • Without --want, the cut takes all the items of the corpus. With a --limit above 0, it takes the first --limit items, in name order.
  • cut-selection.json records the description and the lowest score that the cut kept.

Make a training set

cut selects items from a corpus and writes a training set (a cut) for one model. With --caption, it captions the selected items only, not the full corpus:

curu-caption ingest --source episode.mp4 --out corpus/
curu-caption cut --corpus corpus/ --out training/ --projection wan-t2v --caption --trigger ohwx
training/
├── frame_0000004000.png        the media, rendered for --projection
├── frame_0000004000.txt        "ohwx, a woman turns from the window as the door opens"
├── frame_0000004000.avdm.json  the scene document that the caption came from
├── dataset.yaml                the trainer config (job.yaml for h3 and h3-prose)
├── cut.json                    the projection, trainer, trigger and the source of each fact
└── cut-selection.json          the selected items, the lowest score kept and the quality scores

A projection is the form of caption that one model trains on. Select it for the model that you train. The default is h3, for MiniMax H3. h3 and h3-prose need a corpus of clips, so give a frames corpus --projection wan-t2v.

--projection The caption Frame count of a clip
wan-t2v Text-to-video: the full scene and its motion, with no audio aligned to n % 4 == 1
wan-i2v Image-to-video: the change from the first frame. It needs a corpus of clips aligned to n % 4 == 1
ltx One paragraph of the picture and the sound aligned to n % 8 == 1
h3 Three fields: the description with dialogue, the soundscape, and the music 17k + 5 frames at 24 fps
h3-prose Prose of the picture and the motion, with no audio as h3
  • Captions. The caption model fills in a fixed form of claims about the middle frame of the item. The form lists up to 8 things. Each thing has a kind: a person, a character, an animal, a vehicle, a structure, an object or a group. Each thing also has a depiction, for example live or on a screen. Then d1-3B checks each claim with a yes or no question. The caption keeps only the checked claims, one plain sentence for each.
  • Missing facts. --dry-run names each fact that the projection needs and the corpus does not have. ltx needs a sound fact, and h3 uses one when it has it. --caption makes it when the audio extra is installed.
  • The trainer. --trainer ai-toolkit (the default) writes dataset.yaml, or job.yaml for h3 and h3-prose. --trainer musubi writes a .wav file beside each clip, and no AI-Toolkit file. An ltx, wan-t2v or wan-i2v cut copies each clip with its FLAC audio. For LTX-2, AI-Toolkit mixes 6 or 8 channels down to stereo. musubi-tuner mixes the audio down to mono or stereo. WAN 2.2 reads no audio.
  • Portable. folder_path in the config is ., the cut folder itself. Thus the cut works on the computer that trains, and the corpus stays on yours.

The result table of cut counts the items:

Row Meaning
renderable The item has each fact that the projection needs
written The item is in the cut, with its caption
unrenderable A fact is missing. The lines below the table name it. Add --caption to make it

Each fact records its producer and parameters. A second cut does not make a fact again when its producer and parameters did not change. A second cut of the same two items finished in less than four seconds, after the first cut used minutes for the captions. The full reference is in docs/cut.md.

curu-caption cut --help

Make a training set for MiniMax H3

MiniMax H3 trains on clips. Make a corpus of clips, then cut it with --projection h3:

curu-caption ingest --source episode.mp4 --out clips-corpus/ --clips --interval 1
curu-caption cut --corpus clips-corpus/ --out h3-training/ --projection h3 --caption --trigger ohwx

The cut encodes each clip again to 24 fps, to a frame count of 17k + 5 (5, 22, ... 345), and to sides that are multiples of 32. It then measures each clip. A clip that does not agree with all three rules goes in the report, not in the cut. The audio becomes stereo, because H3 trains on stereo audio. The cut also writes a complete AI-Toolkit job.yaml. To train, run python <ai-toolkit>/run.py job.yaml in h3-training/.

Option Default Effect
--resolution 512 The short side in pixels, rounded down to a multiple of 32. A clip never gets larger
--min-frames 39 (about 1.6 s) A shorter clip goes in the report, before the cut captions anything
--max-frames 345 (the H3 maximum) The longest clip. Use a lower value to train with less VRAM
--steps 3000 The training steps in job.yaml

These options apply to h3 and h3-prose only. The other projections copy each clip as it is. A lower --min-frames keeps more clips, and each clip that it adds has less motion. When the value leaves out clips, the cut says how many, and how many of them each lower value keeps.

Name the people and things in the captions

A cast file names the people and things that a corpus shows, and gives the context of its sources. Without one, a caption says "a woman". With one, it can say "Linda" or her trigger word:

curu-caption ingest --source photos/ --out family/ --no-index
curu-caption cast add --corpus family/ --kind person --name Linda --class woman --description "the woman in the red dress" --trigger lnda
curu-caption cast list --corpus family/
curu-caption cut --corpus family/ --out linda/ --projection wan-t2v --names trigger --dry-run

cast add writes family/cast.toml and makes a new id for the entity. Add each entity with cast add, because an id that you write by hand must be a UUID. Write a context in the same file. You can also change a name, a trigger or the sources of an entity in the file:

[[entity]]
id = "0190e3c4-5b6d-7a8b-9c0d-1e2f3a4b5c6d"   # cast add makes it; never change it
kind = "person"            # person, character, animal, vehicle, structure, object or group
name = "Linda"
class = "woman"
description = "the woman in the red dress"
trigger = "lnda"           # optional
sources = ["party/*"]      # optional: the source files that get this entity

[[context]]
sources = ["party/*"]      # optional, the same rule
text = "A family birthday party, shot on an iPhone in portrait mode."   # for the binding step
caption = "A family birthday party."                                    # for each caption

A context needs a text, a caption, or both. cut --caption then does these steps for each item:

  1. It selects the entities and the contexts whose sources match the source file of the item. An entry with no sources goes to each item. In a glob, * also matches /. The source file is the path under the --source folder of ingest, for example party/birthday.mp4. When --source names one file, the source file is its name, for example birthday.mp4.
  2. The caption model fills in the claims about the frame, as with no cast file. It sees no name, no description and no context, so a cast cannot make it see a person.
  3. A separate binding step then gives the model each person or thing that the claims list, and the selected entities. The model tells which entity each one is, or that it is not sure (unclear). It can only name an entity that the claims hold. It cannot add one.
  4. The binding step gets the context text as background. The prompt says that the context does not prove that a thing is in the picture. When no entity is selected for an item, no model reads the context text.

The cut writes the context caption as written at the start of each caption of the item, after the --trigger word. No model reads it, so a change to it needs no model call.

--names says how a caption names a bound entity, that is, an entity that the model matched to the cast:

--names The caption says Use it for
name (the default) Linda A caption that a person reads, or a LoRA that learns the name
trigger lnda A LoRA for one identity. The cut stops before it captions if a selected entity has no trigger
class the woman, as with no cast The same set with no names

The corpus keeps the id of each bound entity, not its name. Thus a change to a name or a trigger needs no model call: the next cut uses the new word. A change to a description, a class, a context text or the sources makes the binding again, at the next cut --caption. The claims stay. When the model gives one entity to two people, both stay unbound. cut.json records the --names value and a short hash of the cast file (cast).

The cut reads cast.toml in the corpus when it exists. Give --cast other.toml to use another file. A cast file with a wrong key, a wrong kind or one id two times stops the cut with a message. Two entities with one name for the same item also stop it. The full reference is in docs/cut.md.

For a video, ingest it with --clips. A clip records its source file, and a frame of a video does not. Thus a frame gets only the entries with no sources. cut --dry-run shows how many items get an entity or a context, before any model call. It also names each entry whose sources match no item, and shows a source file to write the glob from. The steps for a video are in docs/cut.md.

curu-caption cast list --corpus family/

curu-caption cast add --help

Get the cast of a published film

Do not write the cast of a published film by hand. cast propose gets the credits from TMDB, IMDb or Wikidata. It writes a person for each member, and a character when the credits name one. It keeps a face picture of the person when the source gives a picture with exactly one face. When the credits picture shows two or more people, it tries up to 10 other pictures of the person from the same source:

curu-caption cast propose --corpus tos/ --published --work "Tears of Steel" --year 2012 --kind movie
curu-caption cast bindings --corpus tos/

Without --published, it sends no request. A person with a face picture gets a name only in a clip that shows that face. The model must also name the same person. A person with no face picture gets a name on the model answer, as before. cast bindings shows each name of each clip, and each unclear answer with its reason. The steps, the face rule and the reasons are in docs/cut.md. The settings of the credits sources are in docs/configuration.md.

Edit the cast with these commands. Each one keeps the ids:

Command What it does
cast set --corpus C --id ID --description "..." Changes a name, a class, a description, a trigger or the sources
cast set --corpus C --id ID --remove-picture SHA Removes one face picture from the entity. The file stays in references/
cast remove --corpus C --id ID Removes an entity and the character that it plays. cast propose does not add a removed member again
cast add ... --plays ID Adds a person who plays a character. The name mode then says Thom as Barley
cast add ... --reference face.jpg Copies a picture of one face into the corpus. Give --reference again for more pictures, at most 8. The entity then binds only when one of those faces is in the frame. It sends no request
cast cache Shows the shared cache of the face pictures. --clear empties it

A cast file can hold these keys too. cast propose writes them:

Key What it holds
plays The id of the character that this person or animal plays
billing The place in the credits, from 1
[entity.reference] pictures: a list of 1 to 8 SHA-256 values of face pictures in references/. page: the page of the person
[entity.origin] The source of the values (tmdb, imdb, wikidata or hand) and its producer
[[declined]] The page of each member that cast propose does not add again

Name the faces of a corpus

Give a name to each group of faces on a page, as in CVAT. cast faces page finds the faces of the corpus and groups them. Choose a name for each group on the page, and save the file. Then apply writes the cast file and the face pictures:

curu-caption cast faces page --corpus family/
curu-caption cast faces apply --corpus family/ --decisions ~/Downloads/face-decisions.json

The page is a file on this computer, and it sends no request. A group is a suggestion: nothing gets a name until you choose one. A face that matches the face pictures of an entity goes to the group of that entity. A second page shows only the faces with no decision. Each named group gives its best crops to the entity as face pictures, at most 8 for each person. The steps are in docs/cut.md.

To name the faces on a phone or a tablet, run cast faces serve --corpus family/ --host ADDR with the LAN address of this computer. Open the URL that it prints. Save to the corpus writes family/faces/face-decisions.json on this computer (docs/cut.md).

The face page

Make a bundle for amoral

--trainer amoral-av writes a training bundle for the omni model of amoral, which hears and sees together. The bundle has clips and derived clips, and no captions:

curu-caption cut --corpus clips-corpus/ --out bundle/ --trainer amoral-av \
    --golden golden-v1/ --estate-root media/ --want "two people talking" --limit 200 \
    --derive 1 --seed 0
  • The corpus must come from ingest --clips, which records the source file of each clip.
  • The cut writes nothing if a source file is also a source file of golden-v1, the evaluation set. It lists each such file. To keep these files out of the corpus, give ingest the option --golden golden-v1/ too.
  • --derive N makes N changed copies of each clip, for example with the audio of another clip.
  • --timeline adds timelines/<id>.jsonl for each clip: the sound events, the captions, the faces, the person detections, the SAM 3 tracks, the sync and the speaking. Each line holds the span of the claim, its producer and its gate: the measured entry, or null when its type has none (issue #205).
  • Open review.html in the bundle to look at and listen to each derived clip.

The bundle format, the five changes and the clips that the cut leaves out are in docs/amoral-av.md.

Add timelines to a bundle you already made

A bundle that was cut before the timeline existed gets its timelines without a new cut. The clips stay the clips that amoral's held-out rows name:

curu-caption timeline --bundle bundle/ --out bundle-timelines/
  • The command copies the bundle into the new folder, media byte for byte, and writes timelines/<id>.jsonl beside the copied rows.
  • --device cpu or --device cuda names where the face, person, sync and speaking models run.
  • The output's README names the source bundle and its manifest.sha256.

The detail is in docs/amoral-av.md.

Review a corpus or a cut

review opens a corpus or a cut in the terminal. Look at each item, correct its caption, and mark the items that you do not want:

curu-caption review --corpus corpus/
curu-caption review --corpus training/ --source corpus/
curu-caption cut --prune training/
┌ Corpus (2/6) ⚠ 1 empty ────┐┌ Preview ────────────────────────────────────┐
│[!]   frame_0000001000      ││                                             │
│      frame_0000002000      ││        [ frame_0000002000.png ]             │
│[X]   frame_0000003000      ││                                             │
│[clip] clip_001             ││                                             │
└────────────────────────────┘└─────────────────────────────────────────────┘
                              ┌ Caption ────────────────────────────────────┐
                              │ a woman turns from the window as the door   │
                              │ opens                                       │
                              └─────────────────────────────────────────────┘
 j/k ↑↓ nav  e edit  V visual  R find-replace  P prefix  S set  x exclude  ? help  q quit

The title says Corpus or Cut. What you opened sets what x (exclude) means:

You opened x means It applies to
a corpus "poor quality: do not show me this again" the item, and each future cut
a cut "correct, but not for this training set" this cut only
  • Reject in the corpus from a cut. Open the cut with --source, which names its corpus. Then X rejects the item in the corpus too.
  • Remove the rejected items. The trainer config names the full cut folder, so a marked file that is still in the folder still trains. cut --prune deletes the marked files and writes the config again.
  • Safe to prune. Each file in a cut is a copy, and cut-selection.json records the selection. cut --prune refuses a folder with no cut.json, because a corpus holds the only copy of its media.
  • ⚠ N empty in the title and [!] on a row show captions that are empty or duplicated.

Open a folder of corpora to work through each one in a queue. The keys, the batch editing and the queue are in docs/tui.md.

Caption a folder

caption captions each image and video in a folder, or one file, without a corpus. It writes a .txt file with the same name beside each file:

curu-caption caption photos/
curu-caption caption photos/ --dry-run --hint "a set of family birthday photos"
  • caption reads the images (.png, .jpg, .jpeg) and videos (.mp4, .mkv, .mov, .avi, .webm) in the folder. It captions a video from one frame.
  • It does not caption a file that has a caption of 10 characters or more. Use --force to caption it again.
  • --hint gives context for each caption in the run. --dry-run prints the captions and writes no file.
  • It shows the progress of each file. If one file fails, it continues. At the end, it exits with a code that is not 0.

Add WD14 tags, local and with no network, with --tags. With --no-prose, a caption has only the tags, and no caption model is necessary:

curu-caption caption photos/ --no-prose --tags

WD14 tags are short Danbooru-style tags, for example 1girl, outdoors, smile. With prose and tags, the .txt file has the prose, an empty line, and then the tags.

Find near-duplicates in a folder

curate reports the groups of near-duplicate images and clips in a folder. It does not change or delete a file:

curu-caption curate photos/
Found 1 near-duplicate group(s):
  Group 1: IMG_0001.jpg, IMG_0004.jpg
  • Two files are near-duplicates when their perceptual hashes differ by 5 bits or fewer. Set a different value with --threshold. A higher value puts more files in each group.
  • curate compares PNG and JPEG stills and clips in one pass. It compares a clip on its middle frame. A clip costs 150 to 200 times more than a still, so a few thousand clips take minutes.
  • curate skips caption files and manifests, and does not report them.
  • If all the files go in one group, the threshold is too high. Then curate says so, and reports no groups.

Judge a folder

judge asks the caption model to keep or reject each image against your criteria. It does not change a file:

curu-caption judge photos/ --criteria "no blurry shots, subject clearly visible"
Judged 4 image(s): 3 keep, 1 reject.

  KEEP   IMG_0001.jpg: <the reason of the model>
  REJECT IMG_0004.jpg: <the reason of the model>

Each line gives the verdict and the reason of the model. If the model rejects all the images, judge changes each verdict to keep and says so. Then the criteria are too strict or not clear.

judge sends a temperature of 0.1 with each request. caption sends the same value. The temperature controls how much the answers of the model change from one run to the next. A lower value gives answers that change less, but 0.1 does not make a verdict fixed.

Write dataset.yaml for a folder

dataset-config writes the dataset.yaml that AI-Toolkit trains from, for a folder of media and .txt captions:

curu-caption dataset-config photos/ --trigger-word ohwx

It writes photos/dataset.yaml:

datasets:
- folder_path: .
  caption_ext: txt
  num_frames: 1
  resolution:
  - 256
  - 256
  num_repeats: 1
  trigger_word: ohwx
  sample_prompts:
  - a test pattern, IMG_0001

folder_path is ., so run AI-Toolkit from the folder. --num-repeats sets the weight of the dataset, 1 by default. resolution is the size of the first image, or 512 × 512 when there is no image. sample_prompts holds up to five different captions from the folder.

Read a ComfyUI workflow

comfy inspect prints each node of the ComfyUI workflow in a generated PNG image:

curu-caption comfy inspect generated.png
Node 3 (KSampler)
  seed: 851616030078638
  steps: 20
  ...
Node 6 (CLIPTextEncode)
  text: masterpiece best quality girl
  clip: -> node 10 (output 1)

To use the text of a node as context for a caption, give its id to caption --comfy-node.

Run the models on a GPU computer

Keep the media and the corpus on your computer, and send the model work to a computer that has a GPU. curu-vision's model service runs the search index, the tags, the quality scores, the claim check and the sound and speech models. Ollama runs the caption model. To make a video training set with the two services:

export CURU_VISION_URL=http://gpu-box:8765
export CURU_VISION_TOKEN=...
export CURU_CAPTION_OLLAMA_TOKEN_FILE=~/.config/curu-caption/ollama-token
curu-caption ingest --source videos/ --out corpus/ --clips --interval 1
curu-caption cut --corpus corpus/ --out training/ --projection ltx --caption \
    --trigger ohwx --ollama-url http://gpu-box:11434
  • CURU_VISION_URL sends each model of curu-vision to the service. Your computer downloads no model, but it still decodes the audio, so it needs the audio extra.
  • The file of CURU_CAPTION_OLLAMA_TOKEN_FILE holds the bearer token of Ollama. Do not put a token on the command line.
  • The service and curu-caption must have the same curu-vision release. If not, the command stops with an error that names the two versions.
  • cut --caption checks Ollama before it selects or writes anything. If the model service does not answer, the command stops. There is no fallback to the models on your computer.
  • With a cast file that has an entity, the binding step also runs on that Ollama. A wan-i2v cut has no binding step.

To caption a folder with the Ollama of the GPU computer, give its address:

curu-caption caption photos/ --ollama-url http://gpu-box:11434

Each setting, HTTPS with a private certificate authority, SSH tunnels and RunPod pods are in docs/remote-captioning.md. To set up the model service, read docs/configuration.md.

Work on a network share

On a network share (NAS), add --stage-locally to ingest and cut. The command works on the local disk and copies the result to the share in one pass at the end:

curu-caption ingest --source videos/ --out corpus/ --stage-locally
  • A network share is slow for thousands of small reads and writes. Staging changes them into one copy.
  • Both commands show sync-back: <done>/<total> while they copy. If the counter stops, the mount has stopped.
  • caption stages its writes by default. --no-stage-writes stops this for a local folder.

The rules, the free disk space and the fix for a stopped macOS mount are in docs/nas.md.

Set the caption model and other settings

Most settings are options. Set the caption model one time for each command:

export CURU_CAPTION_CAPTION_MODEL=saracen9/amoral-qwen3.8-27b

The command-line option comes first, then the environment variable, then the configuration file ~/.config/curu-caption/config.toml, then the default:

# ~/.config/curu-caption/config.toml
[caption]
model = "saracen9/amoral-qwen3.8-27b"

[ort]
providers = "cpu"

To run the models on another computer, read Run the models on a GPU computer.

Each setting, environment variable and file on disk is in docs/configuration.md.

Handle errors

A command that cannot do its work stops before it writes, prints the reason, and exits with a code that is not 0:

curu-caption ingest --source photos/ --out photo-corpus/ --no-index
curu-caption ingest --source photos/ --out photo-corpus/ --no-index || echo "exit code $?"
curu-caption cut --prune photo-corpus/ || echo "exit code $?"
refusing: photo-corpus is not empty
exit code 1
Error: photo-corpus has no cut.json -- it is not a cut. Pruning a corpus would delete the only copy of its media, so this refuses rather than guesses.
exit code 1
  • Before the cost. cut --caption checks the caption endpoint before it selects, copies or captions. With --stage-locally, a command checks the free disk space before it copies.
  • One bad file. caption, curate and judge report a file that fails and continue. At the end, they exit with a code that is not 0.
  • Missing facts. cut reports an item that it cannot caption. It does not write a caption that it cannot check.
  • A failed encode. cut --trainer amoral-av writes each clip that it can encode. It shows the first 5 failures with the reason from ffmpeg, and the number of failures. Then it exits with 1.
  • Disk space. ingest stops to wait when the disk of the corpus has less than 2 GB free. It writes a message on stderr when the wait starts, and again each 30 seconds. The message gives the free space and the minimum. After 10 minutes, it stops with an error.

Limits

  • --tags does not work on clips. On a corpus made with --clips, the tags and rating facts fail for each clip (#170).
  • The sound fact is not heard. The caption model writes it from the sound captioner's caption, the words, and one frame. On 40 test clips with the default 9B caption model, 9 of 30 claims beyond "a voice speaks" were correct and 15 were false. Most false claims are sources that the captioner names wrongly, for example a siren, a horse or a cow. For h3, this text becomes the soundscape (overall_soundscape). Read it before you train, or train video-only with h3-prose (#93).
  • Dialogue does not say who speaks. Each line starts with Someone says:, so a clip with two speakers does not tell them apart. A fix needs speaker diarization in the captions.
  • The picture is checked, not proven. On 40 test frames, 88 of the 898 claims that the check kept were false (precision 0.90, against 0.81 for the old prose captions). Most errors are upper garments, the direction that a person faces, and headwear. The check of helmets is poor, and an invented person keeps its claims. That measurement is of persons only. The check of the other kinds, of the depiction and of the new space helmet value of headwear has no measurement yet.
  • --provider openrouter ignores the corpus prompts. It does not get the claims form or the motion and sound prompts. Use Ollama for the captions of a cut. cut --caption has no cloud provider.
  • review and clips. x on a clip in review does not stop cut from using the clip. X does not find a clip in a corpus of many sources (#87).
  • review does not sort by quality, because it cannot read the facts of a clip yet (#87).
  • review has no mouse (#101).
  • d1-3B is slow without CUDA. On a Mac, the quality scores and the claim check run in llama-server, unless CURU_VISION_URL names a model service with a CUDA GPU. On a 16 GB Apple M1, the quality scores take about 20 s for each item. A claim check of 101 questions about one frame takes about 3 minutes. On CUDA, each takes less than a second.
  • The claim check was measured on CUDA. A P(yes) is the probability that the answer is yes. The cut leaves out a claim when d1-3B gives a different value a P(yes) more than 0.2 higher (Know how a caption is made). That limit comes from the transformers engine. The gguf engine gives slightly different numbers. There is no measurement of the limit on that engine yet.
  • Nothing checks a name. The caption model alone matches an entity to the cast, and nothing measures how often it is correct. The claim check examines the clothes, the pose and the other claims of the entity, but never its name. Read the captions of a cut with names before you train. The binding fact keeps no name, so a new name keeps the old match, with no model call.
  • A name reaches the picture sentences only. The motion paragraph and the sound sentence come from other prompts, and they never use a name. Thus a wan-i2v caption has no names. A person whom the claims miss gets no name, because the binding step cannot add a person.
  • An older corpus has no source for a still. Ingest now records the source file of each photograph. In a corpus from an older version, only a cast entry with no sources reaches a still. Ingest the photographs again. A frame of a video that you ingest without --clips has no source either.
  • It does not train. curu-caption makes datasets. AI-Toolkit trains.

Technical notes

  • Licence. MIT (LICENSE).
  • Version. 3.18.0, set in pyproject.toml (project.version) and in Cargo.toml (workspace.package.version). The changes are in CHANGELOG.md.
  • Build. uv sync builds crates/curu-core into curu_caption._core with maturin. crates/curu-tui is the review program, and crates/curu-ondisk writes PNG text chunks. After a change to the Rust code of the extension, run uv sync --extra audio again. [tool.uv] cache-keys in pyproject.toml lists the files that cause a new build. On Linux, the extension contains its own copy of liblzma, a compression library, so it needs no system copy.
  • Platforms. macOS and Linux. On Apple silicon, WD14, EmbeddingGemma 2 and the audio models run on the CPU, because CoreML was 1.6 to 5.6 times slower for WD14. d1-3B runs in llama-server, on the GPU through Metal.
  • ffmpeg. On x86_64, the Rust core downloads ffmpeg when it is not on the PATH. On other platforms, install it.
  • Models. Each model downloads on first use, at a pinned revision. EmbeddingGemma 2 (1.8 GB) is the index, and d1-3B gives the quality scores and the claim check. d1-3B is 6.3 GB for the transformers engine and 3.5 GB for the gguf engine. WD14 (455 MB) gives the tags and the rating. These models and the audio models come from curu-vision, which checks the SHA-256 of each file. The tagger is wd-v1-4-swinv2-tagger-v2 by name, because the default tagger of curu-vision is another model. With CURU_VISION_URL, each of these models runs on the model service. Then this computer downloads no weights, only the tagger's list of tags. The caption model comes from Ollama or OpenRouter.
  • d1-3B facts. A quality or claim_check fact records the version of curu-vision and the engine. A quality fact also records a fingerprint of each question. A claim_check fact records one fingerprint of all its questions and how it asks them. Each curu-vision release pins the revision of each engine. After an update of curu-vision, the facts are stale, and index or cut --caption makes them again.
  • Two engines. A claim_check fact from one engine is stale for the other engine, and cut --caption makes it again. ingest and index make the quality fact again for the engine of the computer. Until then, cut uses the quality scores of the other engine, because they only sort review.
  • Caption model calls. Each request to Ollama or OpenRouter goes through the VLM interface of curu-vision (its vlm module). curu-vision limits the size of each picture before it sends it. The longer side is at most 1,024 px, or 448 px for the frames of a motion description. The visual, motion and sound facts record the version of this step. When it changes, the facts are stale. cut --caption makes them again for the items of that cut.
  • Audio models. All the audio models come from curu-vision, and download into its cache. The sound captioner (968 MB) writes the sound labels. AST (346 MB) is an audio tagger that gives a score from 0 to 1 for each AudioSet sound label. Speech comes from MOSS (1.8 GB) on a computer with CUDA, which labels speakers, and Parakeet (2.4 GB) on other computers.
  • Sound facts. The sound_labels and music facts record the version of curu-vision. After an update of curu-vision, the facts are stale, and cut --caption makes them again.
  • Silent audio. curu-vision does not give digital silence to the sound captioner or AST. Digital silence is audio in which each 100 ms part is below -70 dBFS. When all the audio of an item is digital silence, the sound_labels fact is empty, and the caption shows N/A for the music.
  • Tutorials. The records of real training runs use the commands of version 2.0, which do not exist now. They are in project-management/archive/tutorials-v2/.
  • Where it fits. curu-catalog finds media, curu-caption makes training data, curu generates, and curu-vision supplies shared models. See docs/ecosystem.md.
  • Decisions. The decisions are in project-management/ADRs/. The main ones:
    • Facts in the media file: ADR-083
    • The corpus and the cut: ADR-084
    • H3 through AI-Toolkit: ADR-085
    • The cull thresholds: ADR-080
    • Search ranks and has no threshold: ADR-081
    • AVDM, the scene document: ADR-088
    • EmbeddingGemma 2, the index: ADR-089
    • The quality scores sort and do not decide: ADR-090
    • Audio facts of the trained window: ADR-091
    • Captions from checked claims: ADR-092
    • The bundle for amoral: ADR-093
    • Speech from curu-vision: ADR-094
    • The user files under XDG: ADR-064
    • The local quality gate, with no CI: ADR-059

Develop

Run the quality gate before you push. There is no CI, so this local gate is the only gate:

uv tool install beacon-framework   # BEACON 1.18 or later: the docs check and beacon doctor
uv sync --extra audio
scripts/check.sh            # ruff, ty, cargo, the tests, the docs check and beacon doctor
scripts/check.sh --full     # also a build from a new clone, before a release or a merge
  • uv run pytest runs the default tests, with no model and no endpoint. uv run pytest -m model and uv run pytest -m vlm run the tests that need weights or Ollama.
  • Write README.md, docs/ and AGENTS.md to the standard in docs/WRITING.md. beacon docs check checks them.
  • The workflow, the tests and the release are in CONTRIBUTING.md. The rules for AI assistants are in AGENTS.md.
  • The project uses the BEACON framework and Spec Kit. The problem statement, the architecture, the decisions and the roadmap are in project-management/.

Glossary

  • AAC: a lossy audio format: the decoded audio is not the same as the audio before the encode. An MP4 file usually holds AAC audio.
  • AI-Toolkit: the trainer that reads a dataset.yaml or a job.yaml (ostris/ai-toolkit).
  • AST: an audio tagger that gives a score from 0 to 1 for each AudioSet sound label. A higher score means more evidence for the label. The music fact comes from it.
  • AUROC: the probability that a score puts a good item above a bad item. 0.5 is chance, and 1.0 is always correct.
  • AVDM: the scene document that each caption comes from (the avdm package).
  • Billing: the place of a member in the credits of a work, from 1.
  • Bound entity: a person or thing in a caption that the caption model matched to an entity of the cast file.
  • Cast file: the TOML file, cast.toml in a corpus, that names the known people and things of the corpus and the context of its sources.
  • Channel layout: the position of each audio channel. For example, 5.1 is front left, front right, centre, LFE (the low bass channel) and two rear channels. In 5.1(side), the last two channels are at the sides.
  • Claim check: d1-3B's yes or no answer to a question about each claim of the caption model.
  • Clip: an MP4 of one shot, with its audio as FLAC, made by ingest --clips.
  • Corpus: the folder that ingest makes. Each item holds its facts.
  • Cosine similarity: a measure of how close two embeddings are, from -1 to 1. A higher value is closer.
  • crawl4ai: a web crawler that you run on your own computer. cast propose reads the IMDb pages through it.
  • Credits: the cast of a published work: each person and the character that the person plays.
  • Cull: the step of ingest that removes near-duplicate and blank frames.
  • Cut: a training set that cut writes from a corpus. Each file in it is a copy.
  • d1-3B: a LiquidAI model that gives the quality scores and the claim check.
  • dBFS: the level of a sound sample in decibels (dB), where 0 dBFS is full scale. A lower (more negative) value is quieter.
  • Diarization: a step that finds who speaks when, in an audio track.
  • Digital silence: audio in which each 100 ms part is below -70 dBFS. curu-vision does not give it to the sound captioner or AST.
  • Embedding: a list of numbers for a picture or a text. Items with a similar meaning have similar embeddings.
  • Engine: the software that runs a model. For d1-3B, transformers on a CUDA GPU, or gguf (llama-server) on a CPU or Apple silicon. For EmbeddingGemma 2 and WD14, ONNX Runtime on a provider, for example onnx-cpu or onnx-cuda.
  • Face picture (the output says face reference): a picture of the face of one cast entity, in references/ of the corpus.
  • Fact: a value that a step measured or made for one item, with its provenance.
  • Fingerprint: the first 16 hexadecimal digits of the SHA-256 of a text. A change to the text changes the fingerprint.
  • FLAC: a lossless audio format. The decoded audio is the same as the audio before the encode.
  • Full scale: the loudest sample value that a digital audio format can hold. The format holds a louder sample at full scale, and you hear distortion.
  • IMDb, TMDB, Wikidata: three public databases of films. cast propose gets the credits from them.
  • Item: one frame, clip or photograph in a corpus.
  • Laplacian variance: a measure of the detail in a picture. A blank frame is near 0.
  • LoRA: a small set of extra weights that trains a model on one subject or style.
  • Model service: a curu-vision process that runs the models of curu-vision for other computers, over HTTP with a bearer token. CURU_VISION_URL names it.
  • musubi-tuner: the trainer that reads the files of --trainer musubi (kohya-ss/musubi-tuner).
  • Near-duplicate: a frame or file that looks almost the same as another.
  • Ollama: the local program that runs the caption model.
  • Perceptual hash (pHash): a 64-bit summary of how a picture looks. Similar pictures have hashes that differ in few bits.
  • Projection: the form of caption and media that one model trains on.
  • Provenance: the record of which producer made a fact, and with which parameters.
  • SearXNG: a search engine that you run on your own computer. cast propose finds the IMDb page of a work with it.
  • SFace: a model that makes a face vector. Two vectors of one person have a high similarity.
  • Staging: work on the local disk, then one copy to the destination.
  • Temperature: a setting of the model, usually from 0 to 2. A lower value makes the answers change less from one run to the next.
  • Trigger word: the word at the start of each caption that calls the LoRA, for example ohwx.
  • VLM: a vision-language model, here the caption model in Ollama or OpenRouter.
  • WD14 rating: four scores from the WD14 tagger, general, sensitive, questionable and explicit, each from 0 to 1. Each score is the probability that the picture has that content rating, from general (safe) to explicit.
  • WD14 tags: short Danbooru-style tags from the local WD14 tagger.
  • YuNet: a model that finds the faces in a picture.

Metadata

Release files for curu-caption 3.18.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for curu-caption 3.18.0
File Size Uploaded Provenance Actions
curu_caption-3.18.0.tar.gz 1.6 MB With provenance Details for curu_caption-3.18.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for curu-caption 3.18.0
File Interpreter ABI Platform Actions
curu_caption-3.18.0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.12 abi3 Linux glibc 2.17+ x86-64 Details for curu_caption-3.18.0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
curu_caption-3.18.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for curu_caption-3.18.0-cp312-abi3-macosx_11_0_arm64.whl
curu_caption-3.18.0-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details for curu_caption-3.18.0-cp312-abi3-macosx_10_12_x86_64.whl

Total release size: 26.9 MB

Release files / curu_caption-3.18.0.tar.gz

Download URL curu_caption-3.18.0.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
dd9527646e7d66b431482fce9c94ec1d263a9bc60c3116efa2e586773404d202
BLAKE2b-256 checksum
How to use checksums
fcea1e465d915368adc5e1e8c1a772c4fd922fdd23effe13cc6c4b35dc46b7a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / curu_caption-3.18.0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL curu_caption-3.18.0-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 10.6 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
1ecad5d8b9d1fec92de9429f4abda510e5ddc72e0b1f56bf79a8ac7d7b7ec5ec
BLAKE2b-256 checksum
How to use checksums
76d2760c5969c80feeb98ef26e1ccabe9710290434c14bc583774cf05e68ca32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / curu_caption-3.18.0-cp312-abi3-macosx_11_0_arm64.whl

Download URL curu_caption-3.18.0-cp312-abi3-macosx_11_0_arm64.whl
Size 7.2 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
969376ae343f68db9645d346d921f852f280ed45f00ec5cf995aadbc879e6cd0
BLAKE2b-256 checksum
How to use checksums
b111a793fbd5af19943c38ef5ced3ca2c8184726fd17070c7fc59dbf2723e4ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / curu_caption-3.18.0-cp312-abi3-macosx_10_12_x86_64.whl

Download URL curu_caption-3.18.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 7.5 MB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d32af97649ed27c944741c1e6b9f344416097f5eb3fa60f81585972e51398702
BLAKE2b-256 checksum
How to use checksums
2a02c3a994b9aa6b1a20076feca9e7378888f7361485e9a71ec538e70a66d4d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for curu-caption 3.18.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for curu_caption-3.18.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.18.0 This release

4 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page