22 Jun
2022
22 Jun
'22
10:26 p.m.
i forgot to _call_ the json function
type(generation) <class 'method'> generation = generation() type(generation) <class 'dict'>
then it works.
type(generation) <class 'dict'> generation.keys() dict_keys(['images', 'version']) type(generation['images']) <class 'list'> len(generation['images']) 9 type(generation['images'][0]) <class 'str'>
i can infer it returns 9 base64 encoded things, likely image data, maybe image urls