paidf-cosmos-predict
Installation
SKILL.md
PAIDF Cosmos Predict Generation
Prepare and run PAIDF Cosmos Predict generation for media samples. The skill emits a JSONL handoff that maps each input id to the original media path and generated video path.
Purpose
Use this skill when a DEFT workflow already has media samples and needs synthetic/generated videos from PAIDF Cosmos Predict. This skill does not start the VLM captioning service. A reachable OpenAI-compatible base URL for the model used to caption input media must be provided at runtime.
Prerequisites
- Docker with NVIDIA GPU support and
nvidia-container-toolkit. - Access to the PAIDF augmentation image declared by
images.metropolis_sdg.paidf_augmentationinversions.yaml. - A running VLM captioning service with an OpenAI-compatible API base URL. The base URL must be provided by the user or upstream workflow at runtime; reuse that exact base URL for every
--vlm-captioning-endpointargument. Do not include/modelsinVLM_CAPTIONING_ENDPOINT. HF_TOKENin the run environment when Cosmos model downloads require HuggingFace access — exported, or in a user-approved env file (bareKEY=valuelines) that the run block sources.VLM_API_KEYin the run environment the same way when the VLM captioning endpoint requires authentication.- Input media paths that are absolute paths on the host under the required media directory. Pass the host media directory with
--media-dir; the skill mounts it into the PAIDF container at the exact same path.