ImageGenTool Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Image generation tool.
public class ImageGenTool : Azure.AI.AgentServer.Responses.Models.Tool, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.ImageGenTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.ImageGenTool>
type ImageGenTool = class
inherit Tool
interface IJsonModel<ImageGenTool>
interface IPersistableModel<ImageGenTool>
Public Class ImageGenTool
Inherits Tool
Implements IJsonModel(Of ImageGenTool), IPersistableModel(Of ImageGenTool)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ImageGenTool() |
Initializes a new instance of ImageGenTool. |
Properties
| Name | Description |
|---|---|
| Action |
Whether to generate a new image or edit an existing image. Default: |
| Background |
Background type for the generated image. One of |
| Description |
Optional user-defined description for this tool or configuration. |
| InputFidelity |
Gets or sets the InputFidelity. |
| InputImageMask |
Optional mask for inpainting. Contains |
| Model |
Gets or sets the Model. |
| Moderation |
Moderation level for the generated image. Default: |
| Name |
Optional user-defined name for this tool or configuration. |
| OutputCompression |
Compression level for the output image. Default: 100. |
| OutputFormat |
The output format of the generated image. One of |
| PartialImages |
Number of partial images to generate in streaming mode, from 0 (default value) to 3. |
| Quality |
The quality of the generated image. One of |
| Size |
The size of the generated image. One of |