Image artifact
ImageArtifact
Bases: MediaArtifact
ImageArtifact is a type of MediaArtifact representing an image.
Attributes:
Name | Type | Description |
---|---|---|
value |
Raw bytes representing media data. |
|
media_type |
str
|
The type of media, defaults to "image". |
format |
str
|
The format of the media, like png, jpeg, or gif. |
name |
str
|
Artifact name, generated using creation time and a random string. |
model |
str
|
Optionally specify the model used to generate the media. |
prompt |
str
|
Optionally specify the prompt used to generate the media. |