Flux-1-SRPO(Image-to-Image Generation)
Run in Apifox
Flux-1-SRPO, Tencent’s latest research, designed to address the “AI look” problem in traditional AI image generation Average runtime: 5-10s Price: 0.03 PTC per request
Request Body Params application/json
{
"prompt" : "french bulldog" ,
"image_size" : {
"width" : 1024 ,
"height" : 1024
} ,
"num_inference_steps" : 28 ,
"guidance_scale" : 4.5
} Request Code Samples
curl --location --request POST 'https://api.302.ai/302/submit/flux-1-srpo' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "french bulldog",
"image_size": {
"width": 1024,
"height": 1024
},
"num_inference_steps": 28,
"guidance_scale": 4.5
}' Responses application/json Generate Code
{
"images" : [
{
"url" : "https://file.302ai.cn/gpt/imgs/b0f367d98a83293dbcd9068a8dff22ac.jpg" ,
"content_type" : "image/jpeg" ,
"file_size" : 0 ,
"width" : 1024 ,
"height" : 1024
}
] ,
"seed" : 278092851 ,
"has_nsfw_concepts" : [
false
] ,
"debug_latents" : null ,
"debug_per_pass_latents" : null
} Modified at 2025-09-19 02:37:55