Hello, I am having an issue with the image variations endpoint. I will have my body posted below of information, but I am guessing it has something to do with the file not being sent right somehow. I keep getting the error message, { “error”: { “code”: null, “message”: “‘image’ is a required property”, “param”: null, “type”: “invalid_request_error” } }
Any information on this would be appreciated, but I cannot exactly figure out what is wrong here.
Content-Disposition: form-data; name=“image”; filename=“image.png”
Content-Type: image/png
Content-Transfer-Encoding: binary
�PNG
IHDR�?1heXIfMM*�|)&��POpenAI–581f3ecd5ee2e21fc153faa26121f740Made with OpenAI DALL-EL���IDATx+��~(+
���������������������������������������������������()58) ������������������������������������������������������������������������ e
����������������������������������������������������������������������������������������������������������������������������������������!"���������������������������������������������������������������������������������������������������������������������������������������������������a�� !�������������������������������������������������������������������������������������������������������������������������������������������aaa���
��������������������������������������������������������������������������������������������������������������������������������������������� ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
��������������������������������������
������������������������������������������������������������������������������������������������������������������a
a����������������������������������
������&&#a���������34;%#(ee�aaa���������������������������������������������������������������������������������������������������������������������������������������������������a ���������������������������������a
e
a ������e������e�����������IHP������
a�����24��������������������������������������������������������������������������������������������������������������������������������
�������������������
a���������������������
!$ (! $
aa
a a������
������ a������
e�������������eY40������������������
aa���
� #"�����������������������������������������������������������������������������������������������������������������������������������
����������������%((5%&1+,-�aa�������� ������('����������������������?G���������
�������
����������������� $ aa�����������������������������������������������������������������������������������������������������������aaa���������������������aaa��������������� *e
,)9
������������
���������������a�������������
DCBOD������('&,
�������������e������ $������
a��� ���$76<�������ĸ�����������������������������������������������������������������������������������������a��������������������������������������� !)'199B//7������a���������������
� ���a�!������Ŀ�TSY���������MP>
����a���**1��ٹ��fgd������������
# ����
A#"%����������������������������������������������������������������������������z���������������������������������������������
#FGOJIG ���������������a�����������������aa���������
e����������
?B4������,G7;&a��������� ���EEH���������������
����������������Ƹ��������������������������������������������������������������������������������������"?<N=<K
����a����
���!������a��
������
������
�������
��
KOO������LNP
���68B� �����
WZP������a���������’&0974���������� ������,+3#]*��������������������������������������������������������������������������������������������������������
,-:IIV"#,������ �������������a
���a�a
���������!���
�������������
a����������ILG������!!"������$% .0/��������
�����������������������43>+,*±&����Ǿ��������������������������������������������������������������������������������������������##/GGW67>���e�������26-���
���������a�������������� ��������������������������CE-47&������
e���VWT�����������’+������
���������������������qq{e������������������������������������������������������������������������a�������������������������������������e??KDFM��a,0a���
������ a����������������������������������������#$7 ���./#��������妧����@@ �
a��������IL?����������������e<�������
���������
NM[������������������������������������������������������������������������������������������
(&8FDQ897aa
aaa������!!��������
45.���
���������
a����������������������a������aa������" ���
������ ;;5���
���������26.���#*(( ����
���(‘������
�������41>�����������������������������������������������������������������������������a��������������
0,;ABL#!$’%"a
���
�����
�a��������-/)'��������a���������������$&'���
������������
QN=
���
�������������������������������������
a ��������� a
a���!“������$.-:����������������������������������������������������������������������������
�������������=8FB@K"
���
������DE!a���
aa���dca����������������� ��������������
A></3(������$ ����a
��丷����������������%���������&*��� ���������������”&$������
&'���
���� 11.���FEQ�� ������������������������������������������������������������������������
����������������(+8PO[2-0
a�����
a������228������������������ ������
���
������
���������
���������������05k
�����a������8;8�����
**��
���a�����*&(�������������.3�����������������"%
a���e����������������������������������������������������������������������������������������������
������������ 22G`bh&'$ ��aa���������������G������������������a !������������
RUH
a������
e���������
�����a��������#���������!
�
���������
a
�����������������
�����
a���$ #��������������������������������������������������������������������������������aaaa������������������
����.+8fbp!$ ��������e��� �������������������e��� �����������a11,(! ������!�������������a����������#%# 6&��AC*
��� �������������! ��������������a
a
�����������! .-.++/��÷��������������������������������������������������������������������� ��������������+VUb’'$��� a���
����e ��������� ������e
������#"!
���44+
aaa
������//.������������������������������NN<e�� �������������a������������
!���!����������� e1/;!���������������������������������������������������������� aa
(cant fit all of the information into this prompt but this is gist of data of image)
–ChpTFsjzjxS3XL6TQwiM1fMXbUf6wqPINqOr84xo
Content-Disposition: form-data; name=“size”
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
256x256
–ChpTFsjzjxS3XL6TQwiM1fMXbUf6wqPINqOr84xo
Content-Disposition: form-data; name=“n”
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
1