Single image generated by the AI image generator.
| Name | Type | Description | Notes |
|---|---|---|---|
| url | str | Temporary URL of the generated image, valid until the `expires_at` time of the result | |
| width | int | Image width in pixels | |
| height | int | Image height in pixels | |
| content_type | str | MIME type of the image |
from hostinger_api.models.word_press_v1_content_generated_image_resource import WordPressV1ContentGeneratedImageResource
# TODO update the JSON string below
json = "{}"
# create an instance of WordPressV1ContentGeneratedImageResource from a JSON string
word_press_v1_content_generated_image_resource_instance = WordPressV1ContentGeneratedImageResource.from_json(json)
# print the JSON string representation of the object
print(WordPressV1ContentGeneratedImageResource.to_json())
# convert the object into a dict
word_press_v1_content_generated_image_resource_dict = word_press_v1_content_generated_image_resource_instance.to_dict()
# create an instance of WordPressV1ContentGeneratedImageResource from a dict
word_press_v1_content_generated_image_resource_from_dict = WordPressV1ContentGeneratedImageResource.from_dict(word_press_v1_content_generated_image_resource_dict)