Images#
ImageFeatures#
- class asyncdagpi.ImageFeatures(value: str, description: str)[source]#
Base ImageFatures that asyncdagpi has
- classmethod five_guys_one_girl() IF [source]#
No I have never heard of this meme. Takes in 2 Image URL. Needs:
url
url2
- classmethod why_are_you_gay() IF [source]#
The infamous Why are you gay. Takes in 2 Image URL. Needs:
url
url2
- classmethod pride() IF [source]#
Pride flag overlay Needs:
- flag (one of these flags):
asexual
bisexual
gay
genderfluid
genderqueer
intersex
lesbian
nonbinary
progress
pan
trans
agender
ally
polysexual
- classmethod discord() IF [source]#
Generated a realistic Discord Message Needs:
text
image
username
dark (boolean) default is true
- classmethod youtube() IF [source]#
Generated a realistic Yutube comment Needs:
text
image
username
dark (boolean) default is true
Image Response#
- class asyncdagpi.Image(byt: bytes, image_format: str, process_time: str, original_url: str)[source]#
An AsyncDagpi Image Returned This has special properties that can enhance the experience.
Attributes
- image:
io.BytesIO
BytesIO object with Image
- format:
str
String containing Image Format Either PNG or GIF
- process_time:
str
String for Time Taken by API to process Request
- original_image:
str
URL for the image passed to the API
- image: