Create flux_dev text-to-image task
Create flux_dev text-to-image task
Price: 0.03 PTC/time
Request
Example:Bearer {{YOUR_API_KEY}}
Body Params application/json
num_inference_steps
integer
optional{
"prompt": "string",
"guidance_scale": 0,
"num_inference_steps": 0,
"image_height": 0,
"image_width": 0
}
Request samples
curl --location --request POST 'https://api.302.ai/302/v2/flux/flux_dev/task' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "string",
"guidance_scale": 0,
"num_inference_steps": 0,
"image_height": 0,
"image_width": 0
}'
Modified at 2025-07-24 06:48:39