This interface supports prompt word expansion, and the underlying algorithm supports SD and SDXL
Request
Body Params application/json
{
"mode": 0,
"sourcePrompt": "a girl",
"businessTaskId": "1008699601"
}
Request samples
curl --location --request POST 'https://api.zhiqite.com/AIGCImgOpenServ/saas/tool/prompts/expand' \
--header 'X-Request-req-accessKeyId;' \
--header 'X-Request-req-accessKeySecret;' \
--header 'Content-Type: application/json' \
--data-raw '{
"mode": 0,
"sourcePrompt": "a girl",
"businessTaskId": "1008699601"
}'
Responses
application/json {
"code": "200",
"msg": "success",
"data": {
"status": 0,
"prompts": [
"masterpiece, (photorealistic:1.4), best quality, beautiful lighting, 1 girl, solo, highly detailed face, detailed eyes, delicate features, looking at viewer, ultra-detailed, UHD, HDR"
],
"taskId": "pre1715773856999364951840",
"toolTask": "sd_prompts"
}
}
Modified at 2024-08-29 10:05:25