Request
Example:Bearer {{YOUR_API_KEY}}
Body Params application/json
num_inference_steps
integer
optional{
"prompt": "a woman speaking onstage from google,white background with corporate logos blurred out, tech conference",
"image_size": {
"width": 1024,
"height": 768
},
"num_inference_steps": 28,
"guidance_scale": 3.5
}
Request samples
curl --location --request POST 'https://api.302.ai/302/submit/flux-realism' \
--header 'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "a woman speaking onstage from google,white background with corporate logos blurred out, tech conference",
"image_size": {
"width": 1024,
"height": 768
},
"num_inference_steps": 28,
"guidance_scale": 3.5
}'
Responses
application/json {
"completed_at": "",
"created_at": "",
"error": "",
"id": "",
"model": "",
"output": "",
"started_at": "",
"status": ""
}
Modified at 2024-11-21 10:59:24