Run in Apifox
Created by black forest labs, founded by former Stability.ai members, for image generation, from: https://blackforestlabs.ai/ Average runtime 5-10s Request
Example: Bearer {{YOUR_API_KEY}}
Body Params application/json
num_inference_steps
integer
optional
{
"prompt" : "Blueberry" ,
"image_size" : {
"width" : 1024 ,
"height" : 1024
} ,
"num_inference_steps" : 28 ,
"guidance_scale" : 3.5
}
Request samples curl --location --request POST 'https://api.302.ai/302/submit/flux-pro-v1.1' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "Blueberry",
"image_size": {
"width": 1024,
"height": 1024
},
"num_inference_steps": 28,
"guidance_scale": 3.5
}'
Responses application/json Generate Code
{
"completed_at" : "" ,
"created_at" : "" ,
"error" : "" ,
"id" : "" ,
"model" : "" ,
"output" : "" ,
"started_at" : "" ,
"status" : ""
}
Modified at 2024-10-18 08:55:17