Views
No views yet
Cosmos3DistilledTextEncoderStep)
negative_prompt is not exposed and the unconditional branch is derived from an empty prompt.Cosmos3DistilledAutoVaeEncoderStep)
Cosmos3DistilledVisionCoreDenoiseStep)
Cosmos3VideoDecodeStep)
AutoTokenizer)AutoencoderKLWan)VideoProcessor)Cosmos3OmniTransformer)FlowMatchEulerDiscreteScheduler)prompt (str): The text prompt that guides Cosmos3 generation.num_frames (int, optional): Number of frames to generate.prompt (str): The text prompt that guides Cosmos3 generation.prompt (str): The text prompt that guides Cosmos3 generation.image (None, optional): Reference image for image-to-video conditioning.prompt (str): The text prompt that guides Cosmos3 generation.video (None, optional): Reference video for video-to-video conditioning.prompt (str): The text prompt that guides Cosmos3 generation.num_frames (int, optional): Number of frames to generate.height (int, optional): Height of the generated video or image in pixels.width (int, optional): Width of the generated video or image in pixels.fps (float, optional, defaults to 24.0): Frame rate of the generated video.use_system_prompt (bool, optional, defaults to True): Whether to prepend the Cosmos3 system prompt.add_resolution_template (bool, optional, defaults to True): Whether to add resolution metadata to the prompt.add_duration_template (bool, optional, defaults to True): Whether to add duration metadata to the prompt.video (None, optional): Reference video for video-to-video conditioning.condition_frame_indexes_vision (tuple | list, optional, defaults to (0, 1)): Latent-frame indexes to preserve from the conditioning video.condition_video_keep (str, optional, defaults to first): Which end of a longer conditioning video to use: first or last.image (None, optional): Reference image for image-to-video conditioning.x0_tokens_vision (Tensor, optional): Vision latents encoded from the conditioning image or video.vision_condition_frames (list, optional): Latent-frame indexes fixed by visual conditioning.latents (Tensor, optional): Pre-generated noisy vision latents.generator (Generator, optional): Torch generator for deterministic generation.num_inference_steps (int, optional): The number of denoising steps.guidance_scale (float, optional): Unused for distilled checkpoints; classifier-free guidance is baked into the weights and the scale is forced to 1.0. Passing a value other than 1.0 raises an error.**denoiser_input_fields (None, optional): conditional model inputs for the denoiser: e.g. prompt_embeds, negative_prompt_embeds, etc.output_type (str, optional, defaults to pil): Output format: 'pil', 'np', 'pt'.videos (list): The generated videos.