curl --location --request POST 'https://api.302.ai/302/submit/gemini-2.5-flash-image' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "A portrait of an Asian woman with neon green lights in the background, shallow depth of field.",
"aspect_ratio": "16:9"
}'{
"images": [
{
"url": "https://file.302.ai/gpt/imgs/20260112/a4275220d7269e0f47f93fc59d6b7dad.png",
"content_type": "image/png",
"file_size": 0,
"width": 0,
"height": 0
}
],
"seed": 0,
"has_nsfw_concepts": null,
"debug_latents": null,
"debug_per_pass_latents": null
}