Lumina-Image-V2(Image generated)
Run in Apifox
302.AI's API, comes from the model we deploy ourselves on cloud GPUs. Some of the models are open-source, and some of them are fine-tuned or developed by ourselves. Used for image generation, from: https://github.com/Alpha-VLLM/Lumina-Image-2.0/tree/main The average running time is 5-10sPrice: 0.1 PTC/call Request Body Params application/json
{
"prompt" : "A dog" ,
"negative_prompt" : "" ,
"image_size" : {
"width" : 1024 ,
"height" : 768
} ,
"num_inference_steps" : 40 ,
"guidance_scale" : 4.5 ,
"output_format" : "jpeg"
} Request Code Samples
curl --location --request POST 'https://api.302.ai/302/submit/lumina-image-v2' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "A dog",
"negative_prompt": "",
"image_size": {
"width": 1024,
"height": 768
},
"num_inference_steps": 40,
"guidance_scale": 4.5,
"output_format": "jpeg"
}' Responses application/json Generate Code
{
"images" : [
{
"url" : "https://file.302.ai/gpt/imgs/20260113/4106a8433fcddad20bf69ca0189614f1.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
} Modified at 2026-01-13 03:10:13