/302/gpt-image-creative/mode_list
)拿到模板id与请求传参信息req_params,body上的参数详情见req_params里的字段。/v1/images/generations
和/v1/images/edits
){
"image": "https://file.302ai.cn/gpt/imgs/20250509/d11364148a0744618d6db819abd4bc58.jpg",
"headline": "Taylor Swift",
"subtitle": "Superstar",
"accessories": "Microphone"
}
curl --location --request POST 'https://api.302.ai/302/gpt-image-creative/generate/19' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"image": "https://file.302ai.cn/gpt/imgs/20250509/d11364148a0744618d6db819abd4bc58.jpg",
"headline": "Taylor Swift",
"subtitle": "Superstar",
"accessories": "Microphone"
}'
{
"image": "string"
}