vllm_omni.model_extras ¶
Modules:
| Name | Description |
|---|---|
audiox | |
bagel | |
cosmos3 | |
helios | |
magi_human | |
mammothmodal2_preview | |
ming_flash_omni | |
registry | |
sensenova_u1 | |
vace | |
build_image_to_image_prompt ¶
build_image_to_image_prompt(
model_class_name: str | None,
prompt: str,
negative_prompt: str | None,
input_image: Image | list[Image],
height: int | None = None,
width: int | None = None,
) -> dict[str, Any]
build_image_to_video_prompt ¶
build_image_to_video_prompt(
model_class_name: str | None,
prompt: str,
negative_prompt: str | None,
media_inputs: Mapping[str, Any],
height: int | None = None,
width: int | None = None,
num_frames: int | None = None,
) -> dict[str, Any]
build_text_to_image_prompt ¶
build_text_to_image_prompt(
model_class_name: str | None,
prompt: str,
negative_prompt: str | None,
height: int | None = None,
width: int | None = None,
) -> dict[str, Any]
get_extra_output_params ¶
get_model_class_name ¶
Extract model_class_name from an Omni/AsyncOmni instance.
This hides the internal ODConfig plumbing from example scripts.