{
"prompt": "A colorful sunset over the mountains",
"n": 1,
"model": "dall-e-3",
"size": "1024x1024"
}
curl --location --request POST 'https://api.302.ai/v1/images/edits' \
--header 'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "A colorful sunset over the mountains",
"n": 1,
"model": "dall-e-3",
"size": "1024x1024"
}'
{
"created": 1589478378,
"data": [
{
"url": "https://..."
},
{
"url": "https://..."
}
]
}