{
"prompt": "A portrait of an Asian woman with neon green lights in the background, shallow depth of field.",
"aspect_ratio": "1:1"
}curl --location --request POST 'https://api.302.ai/302/submit/imagen-4-preview' \
--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": "1:1"
}'{
"images": [
{
"url": "https://file.302.ai/gpt/imgs/20260112/98f9e05a28794e4fb51d30e5d222b0d1.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
}