Authorization: Bearer ********************{
"model": "gpt-image-2.5-flare",
"prompt": "Change the red circle to green and keep the blue square unchanged.",
"images": [
{
"image_url": "data:image/png;base64,iVBORw0KGgo..."
}
],
"response_format": "url",
"async": true
}curl --location 'https://luanapi.xingluan.cn/v1/images/edits' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-image-2.5-flare",
"prompt": "Change the red circle to green and keep the blue square unchanged.",
"images": [
{
"image_url": "data:image/png;base64,iVBORw0KGgo..."
}
],
"response_format": "url",
"async": true
}'{
"id": "task_xxx",
"model": "gpt-image-2.5-flare",
"object": "image.edit",
"progress": "0%",
"status": "queued"
}