|
3 | 3 |
|
4 | 4 | ## Fields |
5 | 5 |
|
6 | | -| Field | Type | Required | Description | |
7 | | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | |
8 | | -| `prompt` | *str* | :heavy_check_mark: | Text prompt(s) to guide image generation. Separate multiple prompts with '\|' if supported by the model. | |
9 | | -| `model_id` | *Optional[str]* | :heavy_minus_sign: | Hugging Face model ID used for image generation. | |
10 | | -| `height` | *Optional[int]* | :heavy_minus_sign: | The height in pixels of the generated image. | |
11 | | -| `width` | *Optional[int]* | :heavy_minus_sign: | The width in pixels of the generated image. | |
12 | | -| `guidance_scale` | *Optional[float]* | :heavy_minus_sign: | Encourages model to generate images closely linked to the text prompt (higher values may reduce image quality). | |
13 | | -| `negative_prompt` | *Optional[str]* | :heavy_minus_sign: | Text prompt(s) to guide what to exclude from image generation. Ignored if guidance_scale < 1. | |
14 | | -| `safety_check` | *Optional[bool]* | :heavy_minus_sign: | Perform a safety check to estimate if generated images could be offensive or harmful. | |
15 | | -| `seed` | *Optional[int]* | :heavy_minus_sign: | Seed for random number generation. | |
16 | | -| `num_inference_steps` | *Optional[int]* | :heavy_minus_sign: | Number of denoising steps. More steps usually lead to higher quality images but slower inference. Modulated by strength. | |
17 | | -| `num_images_per_prompt` | *Optional[int]* | :heavy_minus_sign: | Number of images to generate per prompt. | |
| 6 | +| Field | Type | Required | Description | |
| 7 | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 8 | +| `prompt` | *str* | :heavy_check_mark: | Text prompt(s) to guide image generation. Separate multiple prompts with '\|' if supported by the model. | |
| 9 | +| `model_id` | *Optional[str]* | :heavy_minus_sign: | Hugging Face model ID used for image generation. | |
| 10 | +| `loras` | *Optional[str]* | :heavy_minus_sign: | A LoRA (Low-Rank Adaptation) model and its corresponding weight for image generation. Example: { "latent-consistency/lcm-lora-sdxl": 1.0, "nerijs/pixel-art-xl": 1.2}. | |
| 11 | +| `height` | *Optional[int]* | :heavy_minus_sign: | The height in pixels of the generated image. | |
| 12 | +| `width` | *Optional[int]* | :heavy_minus_sign: | The width in pixels of the generated image. | |
| 13 | +| `guidance_scale` | *Optional[float]* | :heavy_minus_sign: | Encourages model to generate images closely linked to the text prompt (higher values may reduce image quality). | |
| 14 | +| `negative_prompt` | *Optional[str]* | :heavy_minus_sign: | Text prompt(s) to guide what to exclude from image generation. Ignored if guidance_scale < 1. | |
| 15 | +| `safety_check` | *Optional[bool]* | :heavy_minus_sign: | Perform a safety check to estimate if generated images could be offensive or harmful. | |
| 16 | +| `seed` | *Optional[int]* | :heavy_minus_sign: | Seed for random number generation. | |
| 17 | +| `num_inference_steps` | *Optional[int]* | :heavy_minus_sign: | Number of denoising steps. More steps usually lead to higher quality images but slower inference. Modulated by strength. | |
| 18 | +| `num_images_per_prompt` | *Optional[int]* | :heavy_minus_sign: | Number of images to generate per prompt. | |
0 commit comments