{
"prompt": "A dog",
"negative_prompt": "",
"image_size": {
"width": 1024,
"height": 768
},
"num_inference_steps": 25,
"guidance_scale": 3,
"output_format": "jpeg"
}curl --location --request POST 'https://api.302.ai/302/submit/omnigen-v1' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "A dog",
"negative_prompt": "",
"image_size": {
"width": 1024,
"height": 768
},
"num_inference_steps": 25,
"guidance_scale": 3,
"output_format": "jpeg"
}'{
"images": [
{
"url": "https://file.302.ai/gpt/imgs/20260113/bf62ac5db71ee6fa9f20df3191ba55d4.jpg",
"content_type": "image/jpeg",
"file_size": 0,
"width": 1024,
"height": 768
}
],
"seed": 0,
"has_nsfw_concepts": [
false
],
"debug_latents": null,
"debug_per_pass_latents": null
}