vllm_omni.model_extras ¶
Modules:
| Name | Description |
|---|---|
bagel | |
registry | |
sensenova_u1 | |
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_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.