Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.5 KB

WordPressV1ContentGeneratedImageResource.md

File metadata and controls

33 lines (24 loc) · 1.5 KB

WordPressV1ContentGeneratedImageResource

Single image generated by the AI image generator.

Properties

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

Example

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)

[Back to Model list] [Back to API list] [Back to README]